/* --- Design System (Light Theme) --- */
:root {
    --primary-gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --bg-main: #fcfcfc;
    --bg-secondary: #ffffff;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-alt: 'Outfit', sans-serif;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* --- Scroll Progress --- */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-gold);
    width: 0%;
    z-index: 2000;
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary-gold);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 50px;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 10px 20px var(--gold-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--gold-glow);
}

.btn-outline {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 13px 33px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: #fff;
}

.btn-primary-mini {
    background: var(--primary-gold);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* --- Navigation --- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#main-nav.scrolled {
    backdrop-filter: blur(15px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

.nav-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.close-menu {
    display: none;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-gold);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: var(--transition);
}

/* --- Hero Slider --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #fdfdfd;
}

.hero-bg-anim {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('hero-bg.png') center/45% no-repeat;
    opacity: 0.45; /* Higher visibility as requested */
    z-index: 1;
    animation: rotate-bg 120s linear infinite;
}

@keyframes rotate-bg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 800px;
    padding: 0 40px;
    margin: 0 auto;
    text-align: center;
    transform: translateY(30px);
    transition: transform 1s ease-out;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin: 20px 0;
    color: var(--text-main);
}

.slide p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.slider-controls button:hover {
    background: var(--primary-gold);
    color: #fff;
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-gold);
    width: 30px;
    border-radius: 10px;
}

/* --- Stats Bar --- */
.stats-section {
    padding: 40px 0;
    background: #fff;
    border-bottom: 1px solid var(--glass-border);
}

.stats-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.stat-info h3 {
    font-size: 2rem;
    font-family: var(--font-alt);
    margin: 0;
}

.stat-info p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.img-frame img {
    border-radius: 20px;
}

.exp-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: var(--text-main);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    border-bottom: 4px solid var(--primary-gold);
    z-index: 10;
}

.exp-badge span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-gold);
}

.exp-badge p {
    font-size: 0.8rem;
    font-weight: 700;
}

.about-details {
    margin: 30px 0;
}

.about-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-details i {
    color: var(--primary-gold);
}

/* --- Specializations --- */
.spec-section {
    background: #fafafa;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.spec-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.spec-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
}

/* Process Section & SVGs */
.svg-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-gold);
    margin-bottom: 20px;
    background: #fff7e6;
    padding: 15px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.process-icon {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-gold);
}

.service-img {
    margin: -40px -30px 25px -30px; /* Stretch image to the top edges of the card */
    height: 250px;
    display: flex;
    justify-content: center;
    background: #fdfdfd;
    overflow: hidden;
    border-radius: 25px 25px 0 0; /* Match card top border radius */
}

.service-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05); /* Add a nice zoom effect on hover */
}

.btn-service {
    margin-top: 30px;
    display: inline-block;
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--primary-gold);
}

.more-services {
    margin-top: 60px;
}

.btn-more {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btn-more i {
    font-size: 1.8rem;
    color: #25D366;
}

/* --- Books --- */
.books-section {
    background: #fafafa;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.book-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.book-img {
    /* Adjusted from fixed height and object-fit cover to show complete book */
    height: 350px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4; /* Subtle background in case of transparent borders */
    overflow: hidden;
}

.book-img img {
    height: 100%;
    width: 100%;
    object-fit: contain; /* CRUCIAL FIX to show entire book */
    transition: var(--transition);
}

.book-card:hover .book-img img {
    transform: scale(1.05);
}

.btn-book {
    margin-top: 20px;
    display: block;
    background: var(--bg-main);
    color: var(--text-main);
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid #ddd;
}

.btn-book:hover {
    background: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
}

/* --- Process --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.process-item {
    text-align: center;
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.step {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.process-item h4 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.process-item p {
    position: relative;
    z-index: 2;
    color: var(--text-muted);
}

/* --- Testimonials / Google Reviews --- */
.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.google-review-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: var(--transition);
}

.google-review-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: #1a73e8; /* Google Blue */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #202124;
}

.reviewer-info span {
    font-size: 0.85rem;
    color: #70757a;
}

.google-g-icon {
    width: 24px;
    height: 24px;
}

.review-stars {
    color: #fbbc04; /* Google Star Yellow */
    margin-bottom: 15px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    color: #3c4043;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.accordion-header {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    color: var(--text-muted);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-bottom: 25px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

/* --- Contact & WhatsApp Form --- */
.contact-section {
    background: #fafafa;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item i {
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: #fff;
}

/* Custom WhatsApp Form */
.whatsapp-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-hover);
    border-top: 5px solid #25D366; /* WhatsApp Line */
}

.whatsapp-card i.fa-whatsapp {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 20px;
}

.direct-contact-form {
    margin-top: 30px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: #f9f9f9;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #25D366;
    background: #fff;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.1);
}

.btn-whatsapp {
    width: 100%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* --- Modern Footer --- */
.modern-footer {
    background: #050510;
    color: #e0e0e0;
    padding-top: 80px;
    margin-top: 60px;
    border-top: 3px solid var(--primary-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: var(--primary-gold);
}

.brand-section p {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.8;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo .logo-text {
    color: #fff;
}

.footer-socials {
    margin-top: 25px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; 
    box-shadow: none;
}

.footer-socials a:hover {
    background: var(--primary-gold);
    color: #000;
}

.links-section ul li {
    margin-bottom: 15px;
}

.links-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    transition: var(--transition);
}

.links-section ul li a i {
    font-size: 0.8rem;
    color: var(--primary-gold);
    transition: var(--transition);
}

.links-section ul li a:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

.contact-info-section .footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #b0b0b0;
    line-height: 1.6;
}

.contact-info-section .footer-contact-list i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-bottom {
    background: #020205;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Reveals for grids */
.services-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.5s; }

.spec-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.spec-grid .reveal:nth-child(2) { transition-delay: 0.3s; }
.spec-grid .reveal:nth-child(3) { transition-delay: 0.5s; }

.books-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.books-grid .reveal:nth-child(2) { transition-delay: 0.3s; }
.books-grid .reveal:nth-child(3) { transition-delay: 0.5s; }

/* --- Floating WhatsApp Button --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: wa-pulse 2s infinite;
}

.floating-wa:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Mobile Queries --- */
@media (max-width: 992px) {
    .about-grid, .contact-grid, .spec-grid, .services-grid, .books-grid, .process-grid, .google-reviews-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
/* Full Screen Animated Nav */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%; /* Full screen */
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 2000;
    }
    
    .nav-links.nav-active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.nav-active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Nav link stagger delays */
    .nav-links.nav-active li:nth-child(1) { transition-delay: 0.2s; }
    .nav-links.nav-active li:nth-child(2) { transition-delay: 0.3s; }
    .nav-links.nav-active li:nth-child(3) { transition-delay: 0.4s; }
    .nav-links.nav-active li:nth-child(4) { transition-delay: 0.5s; }
    .nav-links.nav-active li:nth-child(5) { transition-delay: 0.6s; }
    .nav-links.nav-active li:nth-child(6) { transition-delay: 0.7s; }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main);
    }

    .close-menu {
        display: block;
    }
    
    .burger { display: block; }
    .nav-cta { display: none; }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix Stats section layout */
    .stats-section .container {
        flex-direction: column;
        align-items: center; /* Center the stacked stats strings */
        gap: 40px;
    }
    
    .stat-card {
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }

    /* Fix horizontal overflow in Hero */
    .slide-content {
        padding: 0 15px; /* Reduce side padding so content fits */
    }
    
    .hero-btns {
        flex-direction: column; /* Stack buttons vertically on small screens */
        gap: 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    
    .slide h1 {
        font-size: 2.2rem; /* Ensure huge font sizes don't break viewport */
    }
}
