/* =========================================================
   Advance Odisha Academy Solutions — Stylesheet (cleaned)
   ========================================================= */

/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ---------- Global Container ---------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px;
    margin-right: 12px;
}

.logo-text h1 {
    font-size: 1.1rem;
    color: #0d1b2a;
}

.logo-text p {
    font-size: 0.75rem;
    color: #666;
}

.adv a {
    text-decoration: none;
    color: #2c3e50;
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #009688;
}

/* ---------- Hamburger (mobile menu toggle) ---------- */
.hamburger {
    display: none; /* hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00796b;
    transition: 0.3s;
    display: block;
}

/* Animate hamburger into an "X" when menu is open */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Hero Section
   ========================================================= */
.hero {
    background: url('images/hero.avif') no-repeat center center/cover;
    height: 60vh;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary {
    background: #009688;
    color: #fff;
    margin-right: 15px;
}

.btn-secondary {
    background: #fff;
    color: #333;
}

.cta-white {
    background: #fff;
    color: #009688;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 25px;
}

/* =========================================================
   Features Section (Home)
   ========================================================= */
.features {
    padding: 80px 0;
    text-align: center;
    background: #fdfdfd;
}

.features h2 {
    margin-bottom: 50px;
    font-size: 2rem;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 2.5rem;
    color: #009688;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* =========================================================
   Stats Section
   ========================================================= */
.stats {
    background: #009688;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    padding: 20px;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

/* =========================================================
   CTA Section
   ========================================================= */
.cta {
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.footer-cta {
    background: #009688;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
    background: #0d1b2a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bdc3c7;
    text-decoration: none;
}

.socials {
    margin-top: 20px;
}

.socials a {
    font-size: 1.2rem;
    margin-right: 25px;
}

.socials p {
    background: #0d1b2a;
    color: #fff;
    padding: 10px 0 20px;
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1b263b;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #bdc3c7;
}

/* =========================================================
   About Page
   ========================================================= */
.about-hero {
    background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.our-story {
    padding: 80px 0;
}

.our-story h2 {
    font-size: 2.2rem;
    color: #0d1b2a;
    margin-bottom: 30px;
}

.story-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-vision {
    padding: 60px 0;
    background: #f9f9f9;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mvv-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.teal-bg { background: #e0f2f1; color: #009688; }
.green-bg { background: #e8f5e9; color: #4caf50; }
.light-teal-bg { background: #f1f8e9; color: #8bc34a; }

.apart {
    padding: 20px 0;
}

.apart h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.apart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.apart-item {
    display: flex;
    align-items: flex-start;
}

.step-num {
    background: #009688;
    color: white;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.apart-item h4 {
    margin-bottom: 8px;
    color: #0d1b2a;
}

.apart-item p {
    color: #666;
    font-size: 1rem;
}


}
/* =========================================================
   Courses Page
   ========================================================= */
.course-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-icon {
    font-size: 2rem;
    color: #00796b;
    margin-bottom: 15px;
}

.course-meta {
    font-size: 0.85rem;
    color: #666;
    margin: 10px 0;
    display: flex;
    gap: 15px;
}

.tags {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-grow: 1;
}

.tags span {
    background: #e0f2f1;
    color: #00796b;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.enroll-btn {
    text-align: center;
    background: #009688;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
}

.get-section {
    padding: 20px 0 25px 0;
    text-align: center;
}

.get-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.get-item i {
    font-size: 2.5rem;
    color: #80cbc4;
    margin-bottom: 20px;
}

/* =========================================================
   Contact Page
   ========================================================= */
.contact-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item:last-child { margin-bottom: 0; }

.info-icon {
    background: #e0f2f1;
    color: #009688;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #0d1b2a;
}

.info-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.hours-card {
    background: #009688;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
}

.hours-card h4 { margin-bottom: 15px; }
.hours-card p { font-size: 0.9rem; margin-bottom: 8px; opacity: 0.9; }

.form-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.form-card h3 { margin-bottom: 30px; color: #0d1b2a; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    background: #fafafa;
}

.submit-btn {
    background: #009688;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-btn:hover { background: #00796b; }

.map-section {
    padding: 60px 0 100px;
    text-align: center;
}

.map-placeholder {
    background: #e9ecef;
    height: 350px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    margin-top: 40px;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* =========================================================
   WhatsApp Floating Button
   ========================================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, background-color 0.3s;
    animation: pulse-animation 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-float .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    right: 125%; /* to the left of the button */
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}








/* =========================================================
   Nav Dropdown (Courses)
   ========================================================= */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-toggle a {
    display: inline-block;
}

.dropdown-caret {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #333;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.nav-dropdown.active .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: #e0f2f1;
    color: #009688;
}

/* Desktop: open on hover */
@media (min-width: 993px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile/tablet: tap-to-expand accordion inside the slide-in menu */
@media (max-width: 992px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-dropdown-toggle {
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .dropdown-caret {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        background: #f4f9f8;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        transform: none;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        visibility: visible;
        max-height: 400px;
        padding: 8px 0;
    }

    .dropdown-menu a {
        padding: 10px 0;
        font-size: 0.85rem;
    }
}









/* =========================================================
   Responsive Breakpoints
   ========================================================= */

/* ---- Tablet & below (≤992px) ---- */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%; /* hidden off-screen by default */
        top: 70px;
        background: #fff;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-top: 50px;
        transition: 0.4s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links.active {
        right: 0; /* slide in */
    }

    .course-grid,
    .mvv-grid,
    .features .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        margin: 0;
        width: 80%;
    }
}

/* ---- Small mobile (≤650px) ---- */
@media (max-width: 650px) {
    .course-grid,
    .mvv-grid,
    .features .container {
        grid-template-columns: 1fr;
    }

    .card,
    .course-card {
        padding: 20px;
    }
}

/* ---- Extra small mobile (≤600px) ---- */
@media (max-width: 600px) {
    .logo-text h1 {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .apart-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}



/* ===========================
   FAQ Accordion
=========================== */

.faq {
    padding: 50px 20px;
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    color: #0d47a1;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.faq-item summary {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    font-size: 20px;
    color: #0056b3;
    transition: 0.3s;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 16px 14px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}







