/* ═══════════════════════════════════════════════════════════════
   SocialSharmaJi — Complete Stylesheet
   Matching theme1.png pixel-perfect
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables / Design Tokens ───────────────────────────── */
:root {
    --red-primary: #DC2626;
    --red-dark: #B91C1C;
    --red-light: #FEE2E2;
    --theme-bg: #FCF5F5;
    --theme-card: #FFF0F0;
    --dark-bg: #0F0F1A;
    --dark-bg-2: #1A1A2E;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --gray-50: #F3F4F6;
    --gray-100: #E5E7EB;
    --gray-200: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --gold: #EAB308;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', 'Poppins', sans-serif;
}

/* ─── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--theme-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline-red {
    background: transparent;
    color: var(--red-primary);
    border: 2px solid var(--red-primary);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 1: TOP BAR
   ═══════════════════════════════════════════════════════════════ */
.top-bar {
    background: var(--red-primary);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--white);
}

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

.top-bar-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-social span {
    font-weight: 500;
    margin-right: 4px;
}

.top-bar-social a {
    display: flex;
    align-items: center;
    opacity: 0.9;
    transition: var(--transition);
}

.top-bar-social a:hover {
    opacity: 1;
    transform: scale(1.15);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 2: NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    background: var(--white);
    padding: 6px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-social {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff;
}

.logo-sharmaji {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #FACC15;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-tagline, .footer-tagline {
    font-size: 0.72rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: #111;
    color: #F5C300;
    padding: 3px 8px 3px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 4px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--red-primary);
    white-space: nowrap;
}

.tag-social {
    color: #ffffff;
    font-style: italic;
}

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--gray-700);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

/* ─── Dropdown Menu ────────────────────────────────────────────── */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1050;
    border: 1px solid var(--gray-100);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    color: var(--gray-800) !important;
    border-radius: 0 !important;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--red-light) !important;
    color: var(--red-primary) !important;
}

.badge-coming {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.badge-active {
    background: var(--red-primary);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
        border: none;
        background: transparent;
        display: none;
    }
    .has-dropdown:hover .dropdown-menu,
    .has-dropdown:focus-within .dropdown-menu {
        display: block;
    }
}


.btn-download-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.btn-download-nav:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: var(--transition);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 3: HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    background-image: url('/static/images/hero.png');
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 26, 0.60) 0%,
        rgba(26, 26, 46, 0.50) 50%,
        rgba(45, 27, 61, 0.35) 100%
    );
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 560px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title .highlight {
    color: var(--red-primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-feature-item .material-icons-outlined {
    font-size: 28px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-left: -50px;
}

.hero-image img {
    width: 100%;
    max-width: 560px;
    height: 100%;
    max-height: 580px;
    position: relative;
    z-index: 2;
    border-radius: 0 0 0 0;
    object-fit: contain;
    object-position: bottom left;
}

.hero-image-glow {
    position: absolute;
    bottom: 0;
    left: 200px;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-badge {
    position: absolute;
    bottom: 80px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    z-index: 3;
    font-size: 1.1rem;
}

.badge-social {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.badge-sharmaji {
    color: var(--red-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Decorative Elements */
.hero-decor {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.3;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-decor-book {
    top: 30px;
    left: 45%;
}

.hero-decor-monument {
    top: 50px;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 4: STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.stats-bar {
    background: var(--gray-50);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}

.stats-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.stat-icon {
    font-size: 28px;
    color: var(--red-primary);
    background: var(--red-light);
    padding: 10px;
    border-radius: 50%;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--red-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 5: COURSES
   ═══════════════════════════════════════════════════════════════ */
.courses-section {
    padding: 45px 0;
    background: var(--theme-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
}

.section-header h2 .highlight {
    color: var(--red-primary);
}

.section-underline {
    width: 60px;
    height: 4px;
    background: var(--red-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.view-all-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 600;
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--red-primary);
}

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

.course-card {
    background: var(--theme-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red-primary);
}

.course-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.course-class {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red-primary);
    margin-bottom: 2px;
}

.course-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.course-subjects {
    margin-bottom: 16px;
    flex: 1;
}

.course-subjects li {
    font-size: 0.85rem;
    color: var(--gray-600);
    padding: 3px 0;
    position: relative;
    padding-left: 14px;
}

.course-subjects li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray-400);
    font-weight: 700;
}

.course-card-image {
    flex: 0 0 160px;
    overflow: hidden;
    position: relative;
}

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

.course-card:hover .course-card-image img {
    transform: scale(1.08);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 6: DEMO VIDEOS
   ═══════════════════════════════════════════════════════════════ */
.videos-section {
    padding: 60px 0;
    background: var(--theme-bg);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    background: var(--theme-card);
    border: 1px solid var(--red-light);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--dark-bg);
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
    opacity: 0.85;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--red-primary);
}

.video-play-btn svg {
    margin-left: 3px;
    width: 22px;
    height: 22px;
}

.video-subject-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--red-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.video-duration-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.video-info {
    padding: 14px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.video-meta .material-icons-outlined {
    font-size: 14px;
}

.video-subject {
    font-size: 0.78rem;
    color: var(--gray-500);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 6: WHY CHOOSE US
   ═══════════════════════════════════════════════════════════════ */
.why-choose-us-section {
    padding: 48px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.wcu-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wcu-compact-card {
    background: white;
    padding: 20px 16px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wcu-compact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.12);
    border-color: var(--red-primary);
}

.wcu-compact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.wcu-compact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #FEF2F2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.wcu-compact-card:hover .wcu-compact-icon {
    transform: scale(1.15) rotate(-6deg);
}

.wcu-compact-header h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.25;
}

.wcu-compact-card p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.45;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.wcu-compact-highlight {
    background: linear-gradient(135deg, var(--red-primary) 0%, #B91C1C 100%) !important;
    border-color: transparent !important;
    color: white !important;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.25) !important;
}

.wcu-compact-highlight:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.35) !important;
}

.wcu-compact-btn {
    display: inline-block;
    color: var(--red-primary);
    background: white;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: auto;
}

.wcu-compact-btn:hover {
    background: #FEF2F2;
    transform: translateX(3px);
}

@media (max-width: 1100px) {
    .wcu-compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wcu-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wcu-compact-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-us-section {
        padding: 50px 0;
    }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 8: TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials-section {
    padding: 48px 0;
    background: var(--theme-bg);
}

.section-title-left {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 12px;
    text-align: center;
}

.section-title-left .highlight {
    color: var(--red-primary);
}

.testimonials-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
    position: relative;
}

.results-card {
    flex: 0 0 240px;
    background: var(--theme-card);
    border: 2px solid var(--red-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.results-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 12px;
    width: 100%;
}

.results-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.result-stat {
    display: flex;
    flex-direction: column;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--red-primary);
    line-height: 1.2;
}

.result-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
}

.results-trophy {
    font-size: 2rem;
}

.testimonials-slider {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--theme-card);
    border: 1px solid var(--red-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--red-light);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.star {
    color: #FBBF24;
    font-size: 1.1rem;
}

.testimonial-content-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex: 1;
}

.testimonial-avatar .avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-primary), #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.testimonial-text strong {
    color: var(--red-primary);
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.testimonial-author strong {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

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

.slider-prev {
    left: -18px;
}

.slider-next {
    right: -18px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 9: APP DOWNLOAD
   ═══════════════════════════════════════════════════════════════ */
.app-download {
    background: linear-gradient(135deg, var(--red-primary) 0%, #B91C1C 50%, #991B1B 100%);
    padding: 50px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.app-download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.app-mockup {
    flex: 0 0 200px;
}

.phone-frame {
    width: 180px;
    height: 320px;
    background: var(--dark-bg);
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.phone-screen {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 18px;
    height: 100%;
    padding: 28px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-logo-small {
    text-align: center;
    margin-bottom: 8px;
}

.app-logo-small .logo-social {
    font-size: 0.85rem;
    color: #ffffff !important;
}

.app-logo-small .logo-sharmaji {
    font-size: 0.85rem;
    color: #FACC15 !important;
}

.app-menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-menu-item {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.65rem;
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
}

.app-info {
    flex: 1;
}

.app-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.highlight-white {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
    text-underline-offset: 4px;
}

.app-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.app-feature-chip {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-900);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.google-play-btn:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.google-play-btn small {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    opacity: 0.8;
}

.google-play-btn strong {
    font-size: 1rem;
    display: block;
}

.app-qr {
    flex: 0 0 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-box {
    background: var(--white);
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 10: FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: var(--gray-900);
    padding: 50px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 40px;
}

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

.footer-logo .logo-social {
    font-size: 1.5rem;
    color: #ffffff !important;
}

.footer-logo .logo-sharmaji {
    font-size: 1.5rem;
    color: #FACC15 !important;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-yt { background: #FF0000; }
.social-ig { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045); }
.social-fb { background: #1877F2; }
.social-tg { background: #0088cc; }

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--red-primary);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.contact-list .material-icons-outlined {
    font-size: 18px;
    color: var(--red-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.heart {
    color: var(--red-primary);
}


/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-image {
        flex: 1;
        justify-content: center;
        margin-left: 0;
    }

    .hero-image img {
        max-width: 380px;
        object-position: bottom center;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        justify-content: center;
    }

    .feature-divider {
        display: none;
    }

    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .testimonial-card {
        scroll-snap-align: start;
        flex: 0 0 280px;
    }

    .stat-divider:nth-child(6),
    .stat-divider:nth-child(8) {
        display: none;
    }

    .navbar-inner { gap: 14px; }
    .nav-links { gap: 12px; }
    .nav-links li a { font-size: 0.9rem; padding: 6px 10px; }
    .top-bar-inner { gap: 8px; }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .top-bar-text {
        font-size: 0.7rem;
    }

    .top-bar-social span {
        display: none;
    }

    /* Navbar mobile */
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .btn-download-nav {
        display: none;
    }

    /* Hero mobile */
    .hero {
        padding: 40px 0 0;
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

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

    .hero-image {
        flex: none;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .hero-image img {
        max-width: 280px;
        margin: 0 auto;
        object-position: bottom center;
    }

    .hero-image-glow {
        left: 50%;
    }

    /* Stats mobile */
    .stats-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 calc(50% - 16px);
        justify-content: center;
    }

    /* Courses mobile */
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .view-all-link {
        position: static;
        transform: none;
        display: block;
        margin-top: 8px;
    }

    /* Videos mobile */
    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* Features mobile */
    .features-grid {
        flex-direction: column;
    }

    /* Testimonials mobile */
    .testimonials-wrapper {
        flex-direction: column;
    }

    .results-card {
        flex: none;
    }

    .testimonial-card {
        flex: 0 0 260px;
    }

    .slider-btn {
        display: none;
    }

    /* App download mobile */
    .app-download-inner {
        flex-direction: column;
        text-align: center;
    }

    .app-mockup {
        flex: none;
    }

    .app-features-list {
        justify-content: center;
    }

    .app-info h2 {
        font-size: 1.5rem;
    }

    /* Footer mobile */
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2,
    .section-title-left {
        font-size: 1.5rem;
    }

    .stat-item {
        flex: 0 0 100%;
    }

    .hero-feature-item {
        flex: 0 0 calc(50% - 12px);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .app-features-list {
        flex-direction: column;
        align-items: stretch;
    }

    .app-feature-chip {
        text-align: center;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .section-header h2,
    .section-title-left {
        font-size: 1.35rem;
    }

    .hero-feature-item {
        flex: 0 0 100%;
    }

    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 4px 0;
    }
}

/* Official Google Play Badge */
.official-play-badge {
    height: 68px;
    width: auto;
    transition: transform 0.25s ease, filter 0.25s ease;
    display: block;
    margin-left: -10px;
}

.official-play-badge:hover {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    animation: floatUpDown 2.5s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 44px;
    height: 44px;
    margin: 0;
}

@keyframes floatUpDown {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float svg {
        width: 38px;
        height: 38px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM PAGE STYLES (Glassmorphism & Orbs)
   ═══════════════════════════════════════════════════════════════ */
.premium-hero {
    position: relative;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-bg-2) 50%, #2D1B3D 100%);
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/static/images/india-gate.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: float-orb 10s ease-in-out infinite alternate;
}
.glow-orb-1 { width: 300px; height: 300px; background: var(--red-primary); top: 5%; left: -50px; }
.glow-orb-2 { width: 400px; height: 400px; background: #6B21A8; bottom: -100px; right: -100px; animation-delay: -5s; }
.glow-orb-3 { width: 350px; height: 350px; background: #2563EB; top: 40%; right: -50px; animation-delay: -2s; opacity: 0.3; }

@keyframes float-orb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.2); }
}

.premium-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.premium-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.premium-title.flex-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.premium-title span.text-gradient {
    background: linear-gradient(to right, #F5C300, #FCA5A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-subtitle {
    color: var(--gray-200);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    max-width: 800px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(220, 38, 38, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.glass-card h2, .glass-card h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 16px;
}
.glass-card h2 { font-size: 2rem; color: #FCA5A5; margin-top: 20px; }
.glass-card h3 { font-size: 1.5rem; }

.glass-card ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}
.glass-card li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .premium-title { font-size: 2.0rem; }
    .glass-card { padding: 25px; }
}

@media (max-width: 480px) {
    .premium-hero { padding: 80px 14px 40px; }
    .premium-title { font-size: 1.6rem; }
    .premium-subtitle { font-size: 0.95rem; }
    .glass-card { padding: 20px 16px; border-radius: 18px; }
    .glass-card h2 { font-size: 1.6rem; }
    .glass-card h3 { font-size: 1.25rem; }
}

@media (max-width: 360px) {
    .premium-title { font-size: 1.4rem; }
    .glass-card { padding: 16px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   COURSE PORTAL & SUBJECT THUMBNAILS RESPONSIVE SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.yt-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

@media (max-width: 1024px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .yt-videos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .thumbnails-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .yt-videos-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
}

@media (max-width: 576px) {
    .thumbnails-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .chapter-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px 16px !important;
    }
    .chapter-row > div:last-child {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }
    .chapter-row > div:last-child .btn,
    .chapter-row > div:last-child span {
        flex: 1 !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 9px 12px !important;
        font-size: 0.82rem !important;
    }
    .chapters-panel > div:first-child,
    .videos-panel > div:first-child {
        padding: 18px 16px !important;
        gap: 12px !important;
    }
    .chapters-panel > div:first-child h3,
    .videos-panel > div:first-child h3 {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 360px) {
    .chapter-row > div:last-child {
        flex-direction: column !important;
    }
    .chapter-row > div:last-child .btn,
    .chapter-row > div:last-child span {
        width: 100% !important;
    }
}

