/* This will applicable for all */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* start header  */
header {
    background-color: rgb(79, 79, 250);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.container nav a {
    display: flex;
    align-items: center;
    gap: 10px;
}

#name a h2 {
    font-family: "Nosifer", sans-serif;
    font-weight: 400;
    font-style: normal;
}


#name nav a h2,
#name nav a {
    color: white;
    text-decoration: none;
}

/* Logo + Name responsiveness */
#name nav a .logo{
    width: 70px;
    /* default desktop */
    height: auto;
}

.site-name img {
    width: 180px;
    height: auto;
}
#name nav a h2 {
    font-size: 28px;
    white-space: nowrap;
    /* prevent breaking into two lines */
}

/* Default: Desktop view me navigation normal dikhana */
.navigation {
  display: block;
}

.navigation ul {
    display: flex;
    list-style: none;
}

.navigation ul li a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    font-size: 18px;
}

.navigation ul li a:hover {
    background-color: #ececf9;
    border-radius: 8px;
    color: black;
    text-decoration: underline;
}

.container .btn button {
    background-color: transparent;
    padding: 10px 15px;
    border: 2px solid white;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: ease-out 0.5s;
    box-shadow: inset 0 0 0 0 #ffffff;
    font-size: 15px;
}

.container .btn button:hover {
    box-shadow: inset 0 -100px 0 0 #ffffff;
    color: rgb(0, 0, 0);
}

.container .btn button:focus {
    transform: translatey(-8px);
}



/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Responsive navigation */
@media screen and (max-width: 768px) {
    .navigation {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: rgb(79, 79, 250);
        padding: 15px;
        border-radius: 8px;     
        z-index: 9999;  /* 👈 yeh sabse important */
    }



    .navigation.active {
        display: block;
    }

    .services-list {
        width: 80%;
        margin: 0 auto;
        /* centers the container */
    }

    .hamburger {
        display: flex;
    }

    .navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        display: none;
        /* Hide booking button if needed, can also move it inside nav */
    }


}


/* add more styles here for responsiveness if needed */
@media screen and (max-width: 480px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    #name nav a {
        gap: 6px;
        /* reduce gap between logo and name */
    }

    #name nav a img {
        width: 70%;
    }
    #name nav a .logo{
        width: 50px;
    }

    #name nav a h2 {
        font-size: 16px;
    }
}

/* end header */

/* start main */
main {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
/* details */



/* our services */

#container1 {
    color: white;
    position: relative;
    color: white;
    padding: 100px 20px;
    background: url(resources/bg2) no-repeat center center/cover;
    z-index: 1;



}

#container1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* yaha 0.5 opacity ka black overlay */
    z-index: -1;
}

#container1 h2 {
    font-size: 50px;
    margin-bottom: 15px;
    color: rgb(255, 255, 255);
}

#container1 p {
    font-size: 20px;
    color: rgb(255, 255, 255);
}

#container1 button {
    background-color: rgb(79, 79, 250);
    color: white;
    padding: 10px 80px;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px 0px;
    padding: 15px 30px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #cb0606;
}

#container1 button:hover {
    box-shadow: inset 400px 0 0 0 #e00404;
    color: white;
}

#container1 button:active {
    transform: scale(0.9);
}

#contact h4 {
    color: rgb(255, 255, 255);
    font-size: 22px;
}

#contact p {
    color: rgb(255, 255, 255);
    font-size: 18px;
    margin: 10px 0px;
}

#contact a {
    text-decoration: none;
    color: rgb(0 158 255);
    font-weight: 600;
}

#contact a:hover {
    text-decoration: underline;
    color: rgb(143, 148, 5);
}


/* Services css */
#service {
    margin: 15px 0px;

}

#service h2 {
    color: rgb(79, 79, 250);
    font-size: 35px;
    margin-bottom: 15px;
}

#service p {
    color: rgb(83, 83, 84);
    font-size: 18px;
    margin-bottom: 30px;
}

.services-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    line-height: 32px;
    font-size: 18px;
}

.services-list ul {
    list-style: none;
    border: 1px solid rgb(201, 201, 201);
    padding: 25px;
    /* slightly more padding */
    width: 350px;
    height: fit-content;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    /* slightly rounder corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: start;
    background-color: #fff;
    /* ensure background on hover looks clean */
    cursor: pointer;
}

.services-list ul:hover {
    transform: translateY(-10px) scale(1.03);
    /* slight lift + scale */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    /* bigger shadow */
    background-color: #f0f4ff;
    /* subtle highlight */
    border-color: rgb(79, 79, 250);
    /* accent border color */
}

.services-list ul li {
    margin: 12px 0px;
    font-size: 1rem;
    color: #333;
}
.services-list ul li:hover {
    color: rgb(79, 79, 250);
    font-weight: 600;
    transition: color 0.3s ease;
}
.lists-of-ser-docs{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


#pricing {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#pricing .pricing-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

#pricing .pricing-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff4b2b;
    /* Highlight color */
}

.card .oldprice {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    color: #918e8e;
}

.card .oldprice {
    text-decoration: line-through;
    /* strikethrough effect */
    opacity: 0.7;
    /* slightly faded */

}

.card .price {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.card .newprice {
    font-size: 2rem;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.card ul li {
    margin: 10px 0;
    color: #555;
    font-size: 0.95rem;
}
.card a {
     text-decoration: none;
}
}

.card .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4b2b;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.card .btn:hover {
    background-color: #ff7844;
}

/* Book Button CSS */

.book-btn a button {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgb(79, 79, 250);
    color: white;
    margin: 20px 0;
    /* top-bottom 15px spacing */
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid rgb(79, 79, 250);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.book-btn a button:hover {
    background-color: white;
    color: rgb(79, 79, 250);
    border: 2px solid rgb(79, 79, 250);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.book-btn a button:active {
    transform: scale(0.95);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}



/* About css */
/* About Us Section */
#About {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
}

.about-para h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: rgb(79, 79, 250);
}

.highlight-line {
    width: 80px;
    height: 4px;
    background-color: rgb(79, 79, 250);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.about-para p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* About detail flex layout */
.about-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-detail img {
    width: 60px;
    height: 60px;
}

.about-detail h3 {
    color: rgb(79, 79, 250);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.about-detail p {
    color: #555;
    line-height: 1.5;
    text-align: left;
}


/* Founders Section */

.founders .he2 {
    text-align: center;
    color: rgb(79, 79, 250);
    font-size: 30px;
    margin: 15px 0px;
}

.founders .grids {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* centers all boxes horizontally */
    gap: 40px;
    align-items: center;
    /* vertically aligns boxes if needed */
}

.founders .grid1 {
    background-color: rgba(79, 79, 250, 0.1);
    padding: 30px;
    border-radius: 20px;
    max-width: 300px;
    min-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    /* centers text inside each box */
    display: flex;
    /* use flex to align content */
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    align-items: center;
    /* horizontal center */
    height: 220px;
}

.founders .grid1 img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid rgb(79, 79, 250);
}

.founders .grid1 h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: rgb(79, 79, 250);
}

.founders .grid1 p {
    color: #555;
    font-size: 1.1rem;
}


.founders .grid1:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .founders .grids {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

.hidden {
    display: none;
}





/* FAQ css */
/* Frequently Asked Question */

.FAQ {
    margin: 50px 0px;
    background-color: #e6f0ff;
    padding: 50px 20px;
    text-align: start;

}

.FAQ h2 {
    margin: 15px 0px;
}

.FAQ .he1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.faq-para div {
    margin: 10px 0px;
}

.faq-para .q1 p {
    color: rgb(80, 79, 79);

}

/* What Student Say */
.feedback .he2 {
    text-align: center;
    color: rgb(79, 79, 250);
    font-size: 30px;
    margin-bottom: 15px;
}

.feedback .grids {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.grids {
    display: flex;
    flex-direction: row;
    /* row me arrange hoga */
    justify-content: space-around;
    /* equal spacing */
    align-items: stretch;
    /* height equal */
    gap: 20px;
    /* gap between boxes */
    margin-top: 20px;
    flex-wrap: wrap;
    /* agar screen chhoti ho to niche chale jayenge */
}

.grid1 {
    flex: 1;
    max-width: 300px;
    /* box ki max width */
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.grid1 img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    /* round profile */
    margin-bottom: 10px;
}

.grid1 h4 {
    margin: 10px 0px 5px 0px;
    color: #7b0fd3;

}



.testimonials {
    text-align: center;
    padding: 40px 20px;
    /* background: #f9f9f9; */
}

.testimonial-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    font-size: 1.1rem;
    background: #fff;
    padding: 40px 20px;
    /* arrows ke liye padding thoda extra */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.testimonial.active {
    display: block;
}


/* CTA */
/* CTA Section with Pricing */
.cta-card h3{
    text-decoration: none;
}
.cta-pricing {
    background-color: #e6f0ff;
    color: #000000;
    text-align: center;
    padding: 50px 20px;
}

.cta-message h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-message p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #d000ff;
    color: rgb(255, 255, 255);
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #404040;

}

.cta-pricing-cards a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    gap: 30px;
}
.anc {
    text-decoration: none;
    color: #000000;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.771);
    padding: 20px 30px;
    border-radius: 15px;
    min-width: 120px;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-card:hover {
    background-color: rgba(106, 100, 100, 0.2);
    transform: translateY(-5px);
}

.cta-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cta-card .oldprice {
    font-size: 1.5rem;
    font-weight: bold;
}
.anc .cta-card:hover{
    text-decoration: underline;
    color: blue;
}


/* Footer CSS */
#footer {
    background: linear-gradient(135deg, #4f4ffa, #6c6cff, #a58cff);
    /* bright gradient */
    color: #f0f0f0;
    padding: 50px 20px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-section p,
.footer-section ul li {
    color: #e0e0ff;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #dcdcff;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffeb3b;
    /* bright yellow on hover */
    text-decoration: underline;
}

.footer-section-contact p a {
    text-decoration: none;
    color: rgb(221, 220, 220);

}

.footer-section-contact p a:hover {
    text-decoration: underline;
}


.socials a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, filter 0.3s;
}


.socials a img {
    width: 30px;
    height: 30px;
}

.socials a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px #ffeb3b);
    /* subtle glow */
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #e0e0ff;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

/* Responsive Footer */
@media(max-width:768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .socials {
        margin-top: 10px;
    }
}