:root {
    --primary: #B71C1C;
    --primary-dark: #8E1616;
    --primary-light: #FF5252;
    --secondary: #121212;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --text-gray: #666;
    --bg-light: #FFFFFF;
    --bg-soft: #F8F9FA;
    --bg-dark: #121212;
    --header-bg: rgba(255, 255, 255, 0.9);
    --card-bg: #FFFFFF;
    --border-color: #EEEEEE;
    --container: 1200px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --text-dark: #F5F5F5;
    --text-light: #1A1A1A;
    --text-gray: #AAAAAA;
    --bg-light: #0A0A0A;
    --bg-soft: #121212;
    --bg-dark: #000000;
    --header-bg: rgba(10, 10, 10, 0.9);
    --card-bg: #1A1A1A;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Mukta', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 40px 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    min-height: 52px;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    min-height: 40px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(183, 28, 28, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: var(--bg-soft);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.h-contact-overlay:hover {
    transform: translateX(-50%) translateY(-5px);
    background: var(--h-bg);
    border-color: var(--h-primary);
    box-shadow: 0 10px 30px rgba(183, 28, 28, 0.2);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
}

.header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.header.scrolled .top-bar {
    display: none;
}

.nav {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.4s ease;
}

.header.scrolled .nav {
    height: 70px;
}

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

.nav-logo {
    height: 65px;
    /* Adjusted for better visibility */
    width: auto;
    /* Natural aspect ratio */
    object-fit: contain;
    border-radius: 0;
    /* Removing circle */
    border: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
    /* Increased gap */
    margin-left: auto;
    /* Pushes to the right completely */
}

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

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    /* Slightly smaller */
}

.h-nav-links a:hover {
    color: var(--h-primary);
}

.h-nav-links a.btn:hover {
    color: white !important;
}

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

.nav-links a.btn:hover {
    color: white !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Control Elements */
.theme-toggle,
.lang-select {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    height: 42px;
}

.theme-toggle {
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.lang-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary);
    pointer-events: none;
    z-index: 2;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-select {
    padding: 0 35px 0 38px;
    /* Adjusted for icon */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-soft);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B71C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    min-width: 110px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
}

.lang-wrapper:hover .lang-select {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.lang-wrapper:hover i {
    color: white;
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary);
}


/* --- Hero --- */
.hero {
    min-height: auto;
    padding: 140px 0 20px;
    background: radial-gradient(circle at 90% 10%, rgba(183, 28, 28, 0.05) 0%, transparent 40%);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.0rem;
    /* Reduced size as requested, but still mast */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--primary);
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(183, 28, 28, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 3.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 25px;
    border-radius: 16px;
    color: white;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 190px;
}

/* Play Store Button - Sleek Dark Gradient (Sync with App Store) */
.store-btn.play-store {
    background: linear-gradient(135deg, #1e1e1e 0%, #000000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* App Store Button - Sleek Dark Gradient */
.store-btn.app-store {
    background: linear-gradient(135deg, #1e1e1e 0%, #000000 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.store-btn.disabled {
    background: linear-gradient(135deg, #666 0%, #444 100%);
    opacity: 0.9;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.store-btn i {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.store-btn .btn-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.1;
}

.store-btn .small-text {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
}

.store-btn .big-text {
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 2px;
}

/* Glow Effect on Hover */
.store-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: 0.5s;
    opacity: 0;
}

.store-btn:hover::after {
    opacity: 1;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px; /* Increased from 0 to move it lower */
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.slider-nav:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -70px;
}

.slider-nav.next {
    right: -70px;
}

@media (max-width: 1200px) {
    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    /* Increased from 550px */
}

.app-mockup-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    padding: 15px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    font-weight: 700;
    z-index: 10;
    border: 1px solid var(--border-color);
    animation: float 5s ease-in-out infinite;
}

.card-1 {
    top: 15%;
    left: -30px;
    color: #4CAF50;
}

.card-2 {
    bottom: 25%;
    right: -30px;
    color: var(--primary);
    animation-delay: 2.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* --- Mission --- */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.mission-card {
    padding: 45px;
    background: var(--card-bg);
    border-radius: 25px;
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.mission-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
}

.icon-box {
    width: 85px;
    height: 85px;
    background: rgba(183, 28, 28, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: 22px;
    margin: 0 auto 25px;
}

.mission-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.mission-card p {
    color: var(--text-gray);
}

/* --- Features --- */
.bg-light {
    background: var(--bg-soft);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.features-img img {
    border-radius: 40px;
    box-shadow: var(--shadow);
}

/* --- Modern Features Grid --- */
.features-modern-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.features-modern-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-modern-img img {
    max-width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.logo-glow-bg {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(183, 28, 28, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.features-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .features-modern-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-modern-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

.feature-modern-card {
    background: white;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-modern-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-modern-card:hover .feature-icon-bg {
    transform: rotateY(360deg);
}

.feature-modern-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-modern-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1.05rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(183, 28, 28, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-modern-card:hover .card-glow {
    opacity: 1;
}

/* --- Modern Mentor Section --- */
.mentor-modern-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 60px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.mentor-art-frame {
    position: relative;
    z-index: 1;
}

.mentor-img-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    z-index: 2;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mentor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mentor-modern-card:hover .mentor-img-wrapper img {
    transform: scale(1.05);
}

.frame-decoration {
    position: absolute;
    border-radius: 30px;
    z-index: 0;
}

.deco-1 {
    top: -30px;
    left: -30px;
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0.08;
    transform: rotate(-3deg);
}

.deco-2 {
    bottom: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 2px solid var(--primary);
    opacity: 0.15;
    transform: rotate(2deg);
}

.mentor-badge {
    background: rgba(183, 28, 28, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
}

.mentor-modern-info h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.mentor-qualification {
    font-size: 1.4rem;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 25px;
}

.mentor-divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin-bottom: 30px;
    border-radius: 2px;
}

.mentor-quote-modern {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 40px;
    font-family: 'Mukta', sans-serif;
}

.helpline-modern {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #f8f9fa;
    padding: 25px 35px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.helpline-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(183, 28, 28, 0.2);
}

.helpline-link {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.helpline-subtext {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
}

@media (max-width: 992px) {
    .mentor-modern-card {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 50px;
    }

    .mentor-modern-info h2 {
        font-size: 2.5rem;
    }

    .mentor-art-frame {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* --- Leaders --- */
.bg-dark {
    background: var(--bg-dark);
    color: white;
}

.text-white {
    color: white;
}

.text-gray {
    color: #888;
}

.leaders-slider {
    display: flex;
    gap: 35px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.leaders-slider::-webkit-scrollbar {
    display: none;
}

.leader-card {
    flex: 0 0 400px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.leader-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
}

.leader-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid var(--primary);
}

.leader-card h4 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* --- CTA Banner (Enhanced) --- */
.cta-banner {
    background: linear-gradient(135deg, #B71C1C 0%, #880E4F 100%);
    color: white;
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: ctaFloat 10s infinite alternate ease-in-out;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.cta-circle-2 {
    width: 450px;
    height: 450px;
    bottom: -200px;
    left: -150px;
    background: rgba(255, 255, 255, 0.03);
    animation-delay: -5s;
}

@keyframes ctaFloat {
    from {
        transform: translateY(0) rotate(0);
    }

    to {
        transform: translateY(30px) rotate(10deg);
    }
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    font-weight: 900;
}

.cta-banner p {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 500;
}

.btn-lg {
    padding: 1.2rem 3.5rem;
    font-size: 1.25rem;
}

.cta-banner .btn-white {
    background: white;
    color: #B71C1C;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-banner .btn-white:hover {
    transform: translateY(-8px) scale(1.05);
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 80px 0;
    }

    .cta-banner h2 {
        font-size: 2.5rem;
    }

    .cta-banner p {
        font-size: 1.1rem;
    }
}

/* --- Footer (Clean & Optimized) --- */
.footer {
    padding: 70px 0 30px;
    background: #FFFFFF;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand img {
    height: 90px;
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

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

.footer-links ul li a {
    color: var(--text-gray);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Footer contact row — used in Deesha footer */
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(183, 28, 28, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
}

.footer-contact-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.footer-contact-text span {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px) rotate(8deg);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(183, 28, 28, 0.3);
}

.footer-bottom {
    text-align: center;
    padding: 20px 15px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Animations --- */
.animate-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Nav Refinement --- */

/* Hamburger: hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1100;
    border-radius: 10px;
    padding: 5px;
    border: 1px solid var(--border-color);
    background: var(--bg-soft);
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Animated X when open */
.hamburger.toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay behind drawer */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Close button inside drawer */
.nav-close-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-close-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        order: 2;
    }

    .nav {
        justify-content: space-between;
    }

    .nav-close-btn {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100dvh;
        height: 100vh;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 40px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1100;
        overflow-y: auto;
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.15);
        border-left: 1px solid var(--border-color);
        display: flex !important;
    }

    .nav-right.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: 30px;
        align-items: flex-start;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:first-child {
        border-top: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--text-dark);
        width: 100%;
    }

    .nav-links .btn-primary {
        display: block;
        margin: 20px 0 0 0 !important;
        text-align: center;
        border-radius: 50px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 15px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    /* Core layout stacking */
    .hero-grid,
    .features-wrapper,
    .features-modern-wrapper {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}



@media (max-width: 1024px) {

    .hero-grid,
    .features-wrapper,
    .features-modern-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        height: 65px;
    }

    .nav-logo {
        height: 38px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 7vw, 2rem);
        text-align: center;
    }

    .hero-content p {
        text-align: center;
    }

    .section-title h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    /* Deesha footer: single column, centered */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .footer {
        padding: 55px 0 25px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
        margin: 0 auto;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 35px;
    }

    .h-store-btns {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 20px auto 0 !important;
    }

    .h-store-card {
        width: 100% !important;
        max-width: 250px !important;
        padding: 10px 15px !important;
        justify-content: center !important;
        display: flex !important;
        margin: 0 auto !important;
    }

    .footer-links ul {
        padding: 0 !important;
        list-style: none;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer-links li {
        margin-bottom: 15px;
        text-align: center !important;
    }

    .footer-contact {
        text-align: center;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-contact h4 {
        text-align: center;
        width: 100%;
    }

    /* Center footer-contact-row items on mobile */
    .footer-contact-row {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 310px !important;
        /* Definitive width for icon alignment */
        margin: 0 auto 15px !important;
        text-align: left !important;
    }

    .social-links {
        justify-content: center;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    .cta-banner p {
        font-size: 1rem;
    }

    .hero-image,
    .features-img {
        display: none;
    }

    /* Footer bottom text */
    .footer-bottom {
        padding: 20px 15px 5px;
        font-size: 0.82rem;
    }

    /* Helpline Modern Mobile Fix */
    .helpline-modern {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
        gap: 15px !important;
    }

    .helpline-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin: 0 auto !important;
    }

    .helpline-link {
        font-size: 1.6rem !important;
        /* Scaled down for mobile */
        margin: 8px 0 !important;
        line-height: 1.2 !important;
    }

    .mentor-modern-card {
        padding: 20px !important;
        flex-direction: column !important;
    }

    .mentor-img-wrapper {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto 20px !important;
    }

    .mentor-modern-info h2 {
        font-size: 2rem !important;
    }

    .mentor-quote-modern {
        font-size: 1.2rem !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat h3 {
        font-size: 1.6rem;
    }

    .footer-product-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-deesha-link {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: #94A3B8;
        transition: color 0.3s;
    }

    .footer-deesha-link img {
        height: 24px;
        width: auto;
    }

    .footer-deesha-link:hover {
        color: white;
    }

    /* Footer single col very small screen */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer {
        padding: 45px 0 20px;
    }

    /* CTA section padding on tiny screens */
    .cta-banner {
        padding: 60px 0;
    }

    .cta-banner h2 {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }

    .cta-banner p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    /* Section title smaller */
    .section-title h2 {
        font-size: 1.5rem;
    }
}