/* ==========================================================================
   TALENTIVA INDIA - Institute of Technology and Management
   Style System - Premium modern education website
   ========================================================================== */

/* 1. Imports and Font Families */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* 2. Custom Properties (Theme Engine) */
:root {
    /* Color Palette (Exact Brand Colors Integration) */
    --primary: #071B63;            /* Royal Navy Blue */
    --primary-hover: #102A7A;      /* Deep Blue */
    --secondary: #102A7A;          /* Deep Blue */
    --secondary-hover: #071B63;    /* Royal Navy Blue */
    --accent: #D9A13A;             /* Premium Gold */
    --accent-hover: #F0C15A;       /* Light Gold */
    
    --bg-base: hsl(0, 0%, 100%);
    --bg-subtle: hsl(227, 60%, 98%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-footer: #030a24;          /* Deep Navy Base Footer */
    
    --text-primary: #0a1128;       /* Dark Navy Text */
    --text-secondary: #4a5578;     /* Slate Blue Text */
    --text-light: hsl(0, 0%, 100%);
    
    --border-color: rgba(7, 27, 99, 0.08);
    --border-glass: rgba(255, 255, 255, 0.5);
    --bg-glass: rgba(255, 255, 255, 0.75);
    
    --shadow-sm: 0 2px 8px rgba(7, 27, 99, 0.04);
    --shadow-md: 0 10px 30px rgba(7, 27, 99, 0.06);
    --shadow-lg: 0 20px 40px rgba(7, 27, 99, 0.12);
    
    --gradient-soft: linear-gradient(135deg, #f0f3fd 0%, #fefcf3 100%); /* Soft brand blue to brand light gold */
    --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-overlay: linear-gradient(to right, rgba(3, 10, 36, 0.95) 0%, rgba(3, 10, 36, 0.5) 100%);
    
    /* Layout & Durations */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-full: 9999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Override (Luxurious Brand Effects) */
[data-theme="dark"] {
    --bg-base: #040a21;            /* Deepest Navy Base */
    --bg-subtle: #071133;          /* Darker Navy Panel */
    --bg-card: #0a1744;            /* Soft Navy Card */
    --text-primary: #f4f6fc;
    --text-secondary: #a8b4e0;
    --border-color: rgba(217, 161, 58, 0.15); /* Gold tinted borders */
    --border-glass: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(4, 10, 33, 0.7);
    --gradient-soft: linear-gradient(135deg, #03081a 0%, #061133 100%);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

/* 4. Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-padding {
    padding: 100px 0;
}

.section-light {
    background: var(--gradient-soft);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.grid {
    display: grid;
    gap: 30px;
}

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

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

/* 5. Typography and Headings */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 6px 16px;
    border-radius: var(--border-radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
}
.badge-primary { background-color: var(--primary); color: var(--text-light); }
.badge-secondary { background-color: var(--secondary); color: var(--text-light); }
.badge-accent { background-color: var(--accent); color: var(--text-light); }

/* 6. Buttons & Interactive States */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--secondary-hover);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}
.btn-accent:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}
.btn-outline:hover {
    background: var(--text-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-text {
    font-weight: 600;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.btn-text .arrow {
    margin-left: 6px;
    transition: transform 0.3s;
}
.btn-text:hover .arrow {
    transform: translateX(4px);
}

.btn-primary-text { color: var(--primary); }
.btn-secondary-text { color: var(--secondary); }
.btn-accent-text { color: var(--accent); }

.btn-full-width {
    width: 100%;
}
.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}
.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* 7. Announcement Bar & Sticky Header */
.announcement-bar {
    background: linear-gradient(90deg, #03081e 0%, var(--primary) 50%, #03081e 100%);
    color: var(--text-light);
    font-size: 0.82rem;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-weight: 600;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    border-bottom: 1.5px solid rgba(217, 161, 58, 0.25); /* Subtle gold divider line */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.marquee-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
}
/* Shading mask on edges for premium fading effect */
.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #03081e 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #03081e 0%, transparent 100%);
}
.marquee-content {
    display: inline-flex;
    gap: 70px;
    animation: smoothMarquee 32s linear infinite; /* Slightly slower speed for high readability */
    padding-right: 70px;
}
.marquee-content:hover {
    animation-play-state: paused; /* Pause on hover so users can easily read */
    cursor: pointer;
}
.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}
.marquee-content span strong {
    color: var(--accent); /* Premium Gold for high visual hierarchy */
    font-weight: 700;
}
.marquee-content span .highlight-badge {
    background: linear-gradient(135deg, var(--accent) 0%, #f0c15a 100%);
    color: #030a24;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(217, 161, 58, 0.4);
    animation: badgePulse 2s infinite ease-in-out;
}
@keyframes badgePulse {
    0%, 100% { opacity: 0.95; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}
.announcement-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
    z-index: 3;
    background-color: var(--text-primary); /* Overlap shadows */
    padding-left: 15px;
}
.announcement-links a:hover {
    color: var(--accent);
}

@keyframes smoothMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.header-container {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: flex-start;
}
.brand-blue {
    color: #071B63; /* Royal Navy Blue */
    transition: color 0.3s ease;
}
.brand-tm {
    font-size: 0.6rem;
    font-weight: 700;
    color: #D9A13A; /* Premium Gold */
    vertical-align: super;
    margin-top: -3px;
    margin-left: 1px;
}
.brand-gold {
    color: #D9A13A; /* Premium Gold */
    transition: color 0.3s ease;
}
.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4a5578; /* Slate Blue Text */
    margin-top: 3px;
    transition: color 0.3s ease;
}

/* Navigation Links */
.nav-list {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}
.theme-toggle:hover {
    color: var(--text-primary);
    background-color: var(--bg-subtle);
}

/* Hamburger mobile menu button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}
.hamburger .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-primary);
    border-radius: var(--border-radius-full);
    transition: all 0.3s ease;
}

/* 8. Hero Slider Section */
.hero-section {
    position: relative;
    height: 600px;
    width: 100%;
    overflow: hidden;
    background: #030a24;
}

/* Background tech classroom overlay - highly visible, rich colors */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/tech_classroom.png');
    background-size: cover;
    background-position: center;
    opacity: 0.85; /* Highly visible in high definition */
    pointer-events: none;
    z-index: 1;
}

/* Linear-gradient overlay protecting text readability on the left */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(3, 10, 36, 0.98) 0%, rgba(3, 10, 36, 0.7) 45%, rgba(3, 10, 36, 0.1) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Glowing Ambient Tech Lights (Glassmorphism glows) */
.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: var(--border-radius-full);
    filter: blur(120px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 2;
    animation: slowGlowFloat 10s ease-in-out infinite alternate;
}
.glow-1 {
    top: -80px;
    right: 15%;
    background: var(--accent); /* Glowing Gold Accent */
}
.glow-2 {
    bottom: -80px;
    left: 10%;
    background: var(--primary-hover); /* Glowing Deep Blue Accent */
    animation-delay: -5s;
}

@keyframes slowGlowFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, 30px) scale(1.15); }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3; /* Float above glow and watermark */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Remove solid simulated dark overlays */
.slide[data-bg="courses"],
.slide[data-bg="internship"],
.slide[data-bg="franchise"] {
    background: transparent;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Transparent overlay */
    z-index: 1;
}

.slide-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 650px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-light); /* Crisp white text */
    margin: 16px 0 24px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(3, 10, 36, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85); /* Highly readable soft white text */
    margin-bottom: 36px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(3, 10, 36, 0.3);
}

.slide-actions {
    display: flex;
    gap: 16px;
}

/* Beautiful White Outline Button on dark background */
.slide .btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}
.slide .btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

/* Micro animations on slider elements */
.slide-content .animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .animated-element {
    opacity: 1;
    transform: translateY(0);
}

.slide.active .animated-element:nth-child(1) { transition-delay: 0.1s; }
.slide.active .animated-element:nth-child(2) { transition-delay: 0.2s; }
.slide.active .animated-element:nth-child(3) { transition-delay: 0.3s; }
.slide.active .animated-element:nth-child(4) { transition-delay: 0.4s; }

/* Slider controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.slider-control:hover {
    background: var(--text-light);
    color: var(--text-primary);
}
.slider-control.prev { left: 30px; }
.slider-control.next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--border-radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.slider-dots .dot.active {
    background: var(--text-light);
    width: 30px;
}

/* 9. Card Framework & Hover Animations */
.card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 36px;
    transition: var(--transition-smooth);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

/* Services Cards details */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.icon-primary { background: rgba(79, 70, 229, 0.08); color: var(--primary); }
.icon-secondary { background: rgba(168, 85, 247, 0.08); color: var(--secondary); }
.icon-accent { background: rgba(6, 182, 212, 0.08); color: var(--accent); }

.service-card .card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-card .card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.service-features {
    margin-bottom: 24px;
}
.service-features li {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}
.icon-check {
    color: #10b981;
    margin-right: 6px;
    font-weight: bold;
}

/* 10. About Us section details */
.about-visual {
    position: relative;
    height: 380px;
    width: 100%;
}
.about-card-back {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 90%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    opacity: 0.15;
}
.about-card-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-lg);
}

.brand-emphasis {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.pulse-indicator {
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: var(--border-radius-full);
    position: absolute;
    top: 24px;
    right: 24px;
    box-shadow: 0 0 0 rgba(6, 182, 212, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.mini-metrics {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.metric-item {
    display: flex;
    flex-direction: column;
}
.metric-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}
.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.about-narrative {
    padding-left: 20px;
}

/* Tabs */
.tabs {
    margin-top: 30px;
}
.tab-triggers {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}
.tab-trigger {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
}
.tab-trigger.active {
    color: var(--primary);
}
.tab-trigger.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}
.tab-content {
    display: none;
    font-size: 0.95rem;
    color: var(--text-secondary);
    animation: fadeIn 0.5s ease;
}
.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.strength-list {
    margin-top: 10px;
}
.strength-list li {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

/* 11. Feature Cards layout */
.feature-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: var(--border-radius-md);
}
.feature-icon {
    font-size: 2rem;
}
.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
}
.feature-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 12. Course Cards layout */
.course-card {
    padding: 0;
    overflow: hidden;
}
.course-img-container {
    height: 170px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-subtle);
}
.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.course-card:hover .course-img {
    transform: scale(1.08);
}
.course-body {
    padding: 24px;
}
.course-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
}
.course-name {
    font-size: 1.35rem;
    margin: 10px 0 8px;
}
.course-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-bottom: 20px;
}

/* 13. Internship & Certificate mockup */
.domain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.domain-pill {
    background: var(--bg-subtle);
    padding: 8px 16px;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}
.feature-bullets {
    margin-top: 12px;
}
.feature-bullets li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.certificate-preview-container {
    padding-left: 20px;
}
.certificate-frame {
    border: 10px solid #d4af37; /* Royal gold border mockup */
    border-radius: var(--border-radius-sm);
    padding: 30px;
    position: relative;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
}

.cert-gold-seal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    line-height: 1;
}

.cert-header {
    text-align: center;
    border-bottom: 2px double var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.cert-org {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary);
}
.cert-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.cert-body {
    text-align: center;
}
.cert-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.cert-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.cert-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 6px 0;
}
.cert-domain {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 1px solid var(--text-primary);
    margin-bottom: 10px;
    color: var(--primary);
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}
.cert-sign {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sign-line {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--text-secondary);
    width: 120px;
    padding-bottom: 4px;
}
.sign-title {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.cert-id {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* 14. Franchise details Section */
.franchise-detail-card {
    padding: 30px;
}
.franchise-icon-bg {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.franchise-process-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
}
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.process-step {
    flex: 1;
    text-align: center;
}
.step-num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--gradient-accent);
    color: var(--text-light);
    font-weight: 700;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}
.process-step h5 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.process-step p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.arrow-indicator {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.franchise-cta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}
.franchise-cta-info {
    max-width: 60%;
}
.franchise-cta-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.franchise-cta-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 15. Dynamic Statistics */
.stats-section {
    background: var(--gradient-accent);
    color: var(--text-light);
}
.stat-card {
    text-align: center;
    padding: 20px;
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}
.plus-sign {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 2px;
}
.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
    margin-top: 8px;
}
.stats-section h2, .stats-section p {
    color: var(--text-light);
}

/* 16. Gallery Section Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 10, 36, 0.85) 15%, rgba(3, 10, 36, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0.95;
    transition: var(--transition-smooth);
}
.gallery-overlay h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.gallery-overlay span {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* 17. Testimonials section layout */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-rating {
    font-size: 1rem;
    margin-bottom: 12px;
}
.testimonial-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
}
.author-info h5 {
    font-size: 0.95rem;
}
.author-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* 18. Contact Form & Google Map Container */
.contact-info-card {
    padding: 40px;
    height: 100%;
}
.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.detail-icon {
    font-size: 1.5rem;
    line-height: 1.2;
}
.detail-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}
.detail-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-links-container {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 24px;
}
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    font-size: 1.1rem;
}
.social-icon:hover {
    background: var(--gradient-accent);
    color: var(--text-light);
    transform: translateY(-2px);
}

.simulated-map-container {
    height: 180px;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.map-graphic-bg {
    width: 100%;
    height: 100%;
    background-color: var(--bg-subtle);
    background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px), radial-gradient(var(--border-color) 1.5px, var(--bg-subtle) 1.5px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.6;
}
.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    padding: 20px;
}
.map-overlay h4 {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Form Styles */
.lead-form-container {
    padding: 40px;
}
.lead-form-container h3 {
    margin-bottom: 24px;
    font-size: 1.6rem;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 4px;
    position: absolute;
}
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.02);
}
.form-group.invalid .error-msg {
    display: block;
}

.form-success-box {
    display: none;
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}
.success-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: bold;
}
.form-success-box h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.form-success-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 19. Footer Styling */
.footer-section {
    background-color: var(--bg-footer);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.footer-brand .logo-title {
    font-size: 1.5rem;
    font-weight: 800;
}
.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-legal {
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.footer-links ul li {
    margin-bottom: 12px;
}
.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.8;
}
.footer-bottom-links a {
    margin-left: 20px;
}
.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* 20. Back to Top & WhatsApp Widgets */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.08) rotate(5deg);
    background-color: #20ba5a;
}
.wa-tooltip {
    position: absolute;
    left: 75px;
    background-color: var(--text-primary);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}
.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: var(--text-light);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    transition: var(--transition-smooth);
    font-size: 1.3rem;
    font-weight: bold;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

/* 21. Modal Systems */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-glass);
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card-wide {
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Stepper Stepping Indicators */
.registration-brand-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(79, 166, 229, 0.1);
    color: #4fa6e5;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.modal-title-bold {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 8px;
}

.stepper-progress-container {
    margin: 24px 0 32px;
    width: 100%;
}

.progress-bar-base {
    height: 6px;
    background-color: var(--border-color);
    border-radius: var(--border-radius-full);
    width: 100%;
    position: relative;
    margin-bottom: 16px;
}

.progress-bar-fill {
    height: 100%;
    background: #4fa6e5;
    border-radius: var(--border-radius-full);
    transition: width 0.4s ease;
}

.stepper-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.step-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.step-pill span {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: var(--border-radius-full);
    border: 2px solid var(--border-color);
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.step-pill.active {
    color: #4fa6e5;
}

.step-pill.active span {
    background-color: #4fa6e5;
    border-color: #4fa6e5;
    color: var(--text-light);
}

.step-pill.completed span {
    background-color: #10b981;
    border-color: #10b981;
    color: var(--text-light);
}

/* Stepper Form Panels toggles */
.form-step-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step-panel.active {
    display: block;
}

.step-desc-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Custom Radio pill selectors */
.radio-pill-group {
    display: flex;
    gap: 16px;
    align-items: center;
    height: 48px;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1.5px solid var(--border-color);
    padding: 8px 20px;
    border-radius: var(--border-radius-full);
    transition: var(--transition-smooth);
    background-color: var(--bg-base);
    user-select: none;
}

.radio-pill input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-pill:hover {
    border-color: #4fa6e5;
}

.radio-pill:has(input:checked) {
    border-color: #4fa6e5;
    background-color: rgba(79, 166, 229, 0.05);
    color: #4fa6e5;
}

/* Password wrappers */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--text-secondary);
}

/* Payment Layout Summary */
.payment-summary-box {
    background-color: var(--bg-subtle);
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-top: 16px;
}

.payment-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4fa6e5;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-lbl {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-val {
    font-size: 2rem;
    font-weight: 800;
    color: #4fa6e5;
}

/* Consent Checkbox */
.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.consent-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.stepper-footer-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Support green alert boxes (Matching screen specifications) */
.support-channels-box {
    border: 1px solid #c2f0d5;
    background-color: #f0fdf4;
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.support-call-info {
    font-size: 0.9rem;
    color: #166534;
}

.support-call-info strong {
    font-size: 1.1rem;
    color: #15803d;
    display: block;
    margin-bottom: 4px;
}

.support-call-info .call-link {
    color: #15803d;
    border-bottom: 1.5px solid #15803d;
    font-weight: 700;
}

.btn-green-channel {
    background-color: #22c55e;
    color: var(--text-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
}

.btn-green-channel:hover {
    background-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3);
}

.btn-green-channel svg {
    flex-shrink: 0;
}

.support-hindi-sub {
    font-size: 0.72rem;
    color: #166534;
    padding-top: 8px;
    border-top: 1px solid rgba(22, 163, 74, 0.1);
    width: 100%;
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}
.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 24px;
}
.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}
.modal-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-success-box {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* ==========================================================================
   22. Responsive Breakpoints (Media Queries)
   ========================================================================== */

/* Tablet & Smaller Devices (992px) */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    
    .about-visual { margin-bottom: 40px; }
    .about-narrative { padding-left: 0; }
    
    .certificate-preview-container { padding-left: 0; margin-top: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .franchise-cta-bar { flex-direction: column; text-align: center; gap: 24px; }
    .franchise-cta-info { max-width: 100%; }
}

/* Mobile Devices & Smaller (768px) */
@media (max-width: 768px) {
    .header-container { height: 75px; }
    .logo-title { font-size: 1.4rem; }
    .logo-subtitle { font-size: 0.65rem; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    /* Navigation system responsive */
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--bg-card);
        z-index: 998;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 30px;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Hero Section Responsive */
    .hero-section { height: 500px; }
    .slide-content h1 { font-size: 2.2rem; }
    .slide-content p { font-size: 1rem; margin-bottom: 24px; }
    .slide-actions { flex-direction: column; gap: 12px; }
    
    /* Process flowchart responsive */
    .process-flow { flex-direction: column; gap: 20px; }
    .arrow-indicator { transform: rotate(90deg); margin: 5px 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
    .footer-bottom-links a { margin: 0 10px; }
    
    /* Adjust margins and layouts */
    .about-card-front { padding: 24px; }
    .about-card-back { display: none; }
    
    .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* Extra small mobile screen (480px) */
@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .announcement-bar { display: none; } /* Hide on super small screen for space */
    .logo-title { font-size: 1.25rem; }
    .logo-subtitle { font-size: 0.6rem; letter-spacing: 0.5px; }
    
    .lead-form-container { padding: 24px; }
    .modal-card { padding: 24px; }
    .certificate-frame { padding: 16px; border-width: 6px; }
    .cert-org { font-size: 1.2rem; }
    .cert-name { font-size: 1.2rem; }
}

/* ==========================================================
   Student Showcase & Testimonials
   ========================================================== */
.students-showcase-section {
    background-color: var(--bg-subtle);
    position: relative;
    overflow: hidden;
}
.students-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}
.student-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.student-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.15);
}
.student-img-wrapper {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3.5px solid var(--accent);
    box-shadow: var(--shadow-md);
}
.student-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.student-details {
    text-align: left;
}
.student-details h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 700;
}
[data-theme="dark"] .student-details h3 {
    color: var(--text-light);
}
[data-theme="dark"] .brand-blue {
    color: #ffffff; /* Crisp white for dark mode */
}
[data-theme="dark"] .brand-gold {
    color: #F0C15A; /* Light gold for high contrast */
}
[data-theme="dark"] .brand-tm {
    color: #F0C15A;
}
[data-theme="dark"] .logo-subtitle {
    color: #a8b4e0; /* Light slate blue for dark mode */
}
.student-course {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}
.student-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 991px) {
    .student-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    .student-details {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .students-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================
   Receipt & Printing Styles
   ========================================================== */
.receipt-container {
    background: #ffffff;
    color: #0a1128;
    border: 2px dashed #D9A13A; /* Gold dashed border */
    border-radius: 12px;
    padding: 24px;
    margin: 20px auto;
    max-width: 480px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    font-family: 'Inter', sans-serif;
}
.receipt-header {
    text-align: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.receipt-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #071B63;
    display: block;
}
.receipt-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a5578;
    display: block;
    margin-top: 2px;
}
.receipt-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #D9A13A;
    letter-spacing: 1px;
    margin-top: 10px;
    border: 1px solid #D9A13A;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    background-color: rgba(217, 161, 58, 0.05);
}
.receipt-body {
    font-size: 0.9rem;
}
.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    line-height: 1.4;
}
.receipt-label {
    color: #4a5578;
    font-weight: 500;
}
.receipt-value {
    color: #0a1128;
    font-weight: 600;
    text-align: right;
}
.receipt-divider {
    border: 0;
    border-top: 1px dashed #e2e8f0;
    margin: 12px 0;
}
.total-row {
    font-size: 1.05rem;
    margin-top: 5px;
}
.receipt-value.highlight {
    color: #071B63;
    font-size: 1.15rem;
    font-weight: 800;
}
.success-badge {
    background-color: #10b981;
    color: #ffffff !important;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.receipt-footer {
    text-align: center;
    border-top: 1px solid #f0f2f5;
    padding-top: 12px;
    margin-top: 15px;
    font-size: 0.7rem;
    color: #718096;
    line-height: 1.4;
}
.receipt-date {
    display: block;
    font-weight: 600;
    margin-top: 6px;
    color: #4a5578;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    #printableReceipt, #printableReceipt * {
        visibility: visible !important;
    }
    #printableReceipt {
        position: absolute;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        width: 100%;
        max-width: 480px;
        border: 2px dashed #000000 !important;
        box-shadow: none !important;
        padding: 20px !important;
        margin: 0 !important;
        background: #ffffff !important;
        color: #000000 !important;
    }
    .receipt-logo {
        color: #000000 !important;
    }
    .receipt-title {
        border-color: #000000 !important;
        background: none !important;
        color: #000000 !important;
    }
    .receipt-value.highlight {
        color: #000000 !important;
    }
    .success-badge {
        border: 1px solid #000000 !important;
        color: #000000 !important;
        background: none !important;
        text-shadow: none !important;
    }
}

/* Animated Pulse Button */
.btn-animated-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-accent); /* Gold gradient */
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(217, 161, 58, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: buttonPulse 2.5s infinite;
}
.btn-animated-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}
.btn-animated-pulse:hover::before {
    left: 100%;
}
.btn-animated-pulse:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(217, 161, 58, 0.5);
    background: var(--gradient-accent-hover);
}
.btn-animated-pulse svg {
    transition: transform 0.3s ease;
}
.btn-animated-pulse:hover svg {
    transform: translateX(5px);
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 161, 58, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(217, 161, 58, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 161, 58, 0);
    }
}

/* ==========================================================================
   23. Live Google Map & Accreditations Styles
   ========================================================================== */

/* Live Google Map Container */
.google-map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
    transition: var(--transition-smooth);
}
.google-map-container:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}
.map-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-color);
}
.map-title-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.directions-link-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: 1.5px solid var(--accent);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
}
.directions-link-btn:hover {
    background-color: var(--accent);
    color: #ffffff !important;
    transform: translateY(-1px);
}
.map-iframe-wrapper {
    height: 250px;
    width: 100%;
    position: relative;
}
.map-iframe-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Regulatory Accreditations Section */
.accreditations-section {
    padding: 60px 0;
    background: var(--gradient-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.accreditations-header {
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.accreditations-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.accreditations-desc {
    font-size: 1rem;
    color: var(--text-secondary);
}

.accreditation-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}
.accreditation-marquee-wrapper::before, .accreditation-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.accreditation-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-base) 0%, transparent 100%);
}
.accreditation-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-base) 0%, transparent 100%);
}
.accreditation-marquee-content {
    display: inline-flex;
    gap: 40px;
    animation: accreditationScroll 35s linear infinite;
    padding-right: 40px;
}
.accreditation-marquee-content:hover {
    animation-play-state: paused;
    cursor: pointer;
}
.accreditation-card {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}
.accreditation-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.accreditation-icon-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accreditation-icon-wrapper svg {
    display: block;
    transition: var(--transition-smooth);
}
.accreditation-card:hover .accreditation-icon-wrapper svg {
    transform: scale(1.08) rotate(3deg);
}
.accreditation-text {
    text-align: left;
}
.accreditation-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}
[data-theme="dark"] .accreditation-text h4 {
    color: var(--text-light);
}
.accreditation-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

@keyframes accreditationScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .accreditations-title {
        font-size: 1.8rem;
    }
    .accreditation-card {
        padding: 12px 20px;
        gap: 15px;
    }
    .accreditation-text h4 {
        font-size: 0.95rem;
    }
    .accreditation-text span {
        font-size: 0.75rem;
    }
}
