/* ==========================================================================
   CAREER COACH - Brand Stylesheet (TSPSC Groups Coaching Institute Website)
   Vanilla CSS3 - Premium, Modern, and Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. DESIGN SYSTEM & DESIGN VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary-bg: #FFFFFF;
    --color-secondary-bg: #F3F7FA;
    --color-main-text: #102A43;
    
    /* Brand Accent Colors */
    --color-accent-teal: #008C95;
    --color-accent-teal-hover: #006E75;
    --color-accent-yellow: #F4B400;
    --color-accent-yellow-hover: #D9A000;
    --color-success-green: #2E7D32;
    --color-academic-blue: #1565C0;
    --color-light-cyan: #E0F7FA;
    --color-soft-grey: #E5E7EB;
    --color-grey-dark: #486581;
    --color-navy-dark: #0A1C2A;
    --color-navy-light: #1F3A52;
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #128C7E;
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-headings: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout Constants */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-sticky: 70px;
    
    /* Shadows & Border Radii */
    --shadow-sm: 0 2px 4px rgba(16, 42, 67, 0.04);
    --shadow-md: 0 6px 18px rgba(16, 42, 67, 0.08);
    --shadow-lg: 0 16px 36px rgba(16, 42, 67, 0.12);
    --shadow-teal: 0 8px 24px rgba(0, 140, 149, 0.15);
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. BASE RESET & ACCESSIBILITY
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-main-text);
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* Focus indicator for keyboard users */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent-teal);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. UTILITIES & REUSABLE LAYOUT COMPONENTS
   -------------------------------------------------------------------------- */
.section-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 16px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

@media (max-width: 991px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Section Header Styles */
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-label {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-teal);
    background-color: var(--color-light-cyan);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-main-text);
}

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

/* Buttons Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    min-height: 46px; /* Tap Target Size minimum */
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent-teal);
    color: var(--color-white);
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    background-color: var(--color-accent-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 140, 149, 0.25);
}

.btn-secondary {
    background-color: var(--color-accent-yellow);
    color: var(--color-main-text);
}

.btn-secondary:hover {
    background-color: var(--color-accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 180, 0, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent-teal);
    border: 2px solid var(--color-accent-teal);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-rating {
    background-color: var(--color-accent-yellow);
    color: var(--color-main-text);
    border: none;
}

/* --------------------------------------------------------------------------
   3. HEADER / STICKY NAVBAR
   -------------------------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(16, 42, 67, 0.05);
}

/* Header state when scrolled down */
.navbar-header.scrolled {
    height: var(--header-height-sticky);
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Area */
.logo-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-main-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* On transparent navbar header at start, logo text should stay readable */
.logo-title {
    color: var(--color-main-text);
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Desktop Links */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-main-text);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-teal);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-accent-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-accent-teal);
}

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

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1020;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-main-text);
    border-radius: var(--border-radius-full);
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Hamburger active transformation */
.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

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

/* Hamburger adjustments on transparent header styles */
.navbar-header:not(.scrolled) .nav-link {
    color: var(--color-main-text);
}

/* Default state for transparent start */
.navbar-header:not(.scrolled) {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer (Slide-in from right)
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 1010;
    padding: 80px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 2rem;
    color: var(--color-main-text);
    line-height: 1;
    padding: 4px;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: auto;
}

.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-main-text);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-soft-grey);
    display: block;
}

.mobile-nav-link:hover {
    color: var(--color-accent-teal);
    padding-left: 8px;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
}

.mobile-cta {
    width: 100%;
}

.mobile-menu-hours {
    font-size: 0.85rem;
    text-align: center;
    color: var(--color-grey-dark);
    font-weight: 500;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 28, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Navbar Display logic */
@media (max-width: 991px) {
    .desktop-nav,
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

/* --------------------------------------------------------------------------
   4. HERO SECTION WITH IMAGE & OVERLAY
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    background-image: url('assets/images/hero-classroom.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 42, 67, 0.96) 30%, rgba(0, 140, 149, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    color: var(--color-white);
}

.hero-label {
    display: inline-block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-yellow);
    background-color: rgba(244, 180, 0, 0.15);
    padding: 6px 14px;
    border-radius: var(--border-radius-full);
    margin-bottom: 20px;
}

.hero-heading {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-white);
}

.highlight-text {
    color: var(--color-accent-yellow);
    position: relative;
    display: inline-block;
}

.hero-subheading {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 620px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

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

/* Hero Right: Interactive Floating Mini Cards */
.hero-side-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    position: relative;
}

.mini-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    transform: translateZ(0);
}

.mini-card:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: translateX(-5px) translateZ(0);
    border-color: rgba(255, 255, 255, 0.3);
}

.mini-card-icon {
    font-size: 1.75rem;
}

.mini-card-info h3 {
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.mini-card-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   5. ANTI-GRAVITY FLOATING EFFECTS (Professional Physics Parallax)
   -------------------------------------------------------------------------- */
.anti-gravity-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.float-item {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.85;
    animation: floatAnimation 8s ease-in-out infinite alternate;
}

.float-tag {
    margin-top: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    background-color: rgba(16, 42, 67, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Float Mini-Cards */
.float-mini-card {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 4px solid var(--color-accent-teal);
    animation: floatAnimation 12s ease-in-out infinite alternate-reverse;
}

.float-mini-card.style-success {
    border-left-color: var(--color-success-green);
}

.fm-icon {
    font-size: 1.1rem;
}

.fm-text {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-main-text);
    white-space: nowrap;
}

/* Individual Coordinate Placements for floating objects */
.float-book      { top: 15%; left: 8%; animation-delay: 0.2s; animation-duration: 6s; }
.float-notebook  { top: 60%; left: 5%; animation-delay: 1.5s; animation-duration: 8s; }
.float-pen       { top: 80%; left: 25%; animation-delay: 0.8s; animation-duration: 5s; }
.float-qpaper    { top: 22%; left: 42%; animation-delay: 2.2s; animation-duration: 9s; }
.float-asheet    { top: 75%; left: 45%; animation-delay: 1.1s; animation-duration: 7s; }
.float-badge     { top: 12%; left: 88%; animation-delay: 0s; animation-duration: 8s; }
.float-target    { top: 52%; left: 85%; animation-delay: 1.7s; animation-duration: 7.5s; }

.float-calendar  { top: 18%; left: 62%; animation-delay: 0.5s; }
.float-mtest     { top: 38%; left: 52%; animation-delay: 1.9s; }
.float-caffairs  { top: 48%; left: 8%; animation-delay: 2.5s; }
.float-smaterial { top: 82%; left: 78%; animation-delay: 1.2s; }
.float-sbadge    { top: 72%; left: 60%; animation-delay: 0.3s; }
.float-timer     { top: 30%; left: 20%; animation-delay: 2.8s; }
.float-checklist { top: 64%; left: 32%; animation-delay: 1.4s; }

/* Physics Floater Keyframe Animation */
@keyframes floatAnimation {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
    100% {
        transform: translateY(5px) rotate(-3deg);
    }
}

/* Responsive Adaptations for Hero Section */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-subheading,
    .hero-badges,
    .hero-ctas {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-side-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        margin-top: 20px;
    }
    
    .mini-card:hover {
        transform: translateY(-3px) translateZ(0);
    }
    
    .anti-gravity-container {
        display: none; /* Turn off floaters to preserve performance on mobile views */
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   6. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--color-white);
}

.about-image-wrapper {
    position: relative;
    padding: 10px;
}

.about-img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-main-text);
    color: var(--color-white);
    padding: 20px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 4px solid var(--color-accent-teal);
}

.exp-num {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent-yellow);
    line-height: 1;
}

.exp-stars {
    color: var(--color-accent-yellow);
    font-size: 1.1rem;
    margin: 4px 0;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.highlight-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 480px) {
    .highlight-points-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.point-item {
    display: flex;
    gap: 12px;
}

.point-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.point-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.point-info p {
    font-size: 0.85rem;
    color: var(--color-grey-dark);
}

/* Stats Bar */
.about-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid var(--color-soft-grey);
    padding-top: 24px;
    margin-top: 30px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent-teal);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-grey-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .about-img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* --------------------------------------------------------------------------
   7. COURSES SECTION (GRID CARDS)
   -------------------------------------------------------------------------- */
.courses-section {
    background-color: var(--color-secondary-bg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-teal);
}

.course-card:hover h3 {
    color: var(--color-accent-teal);
}

/* Course Image Block */
.course-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-navy-dark);
}

.course-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Course Card Badges */
.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    border-radius: 4px;
}

.badge-premium { background-color: var(--color-academic-blue); }
.badge-popular { background-color: var(--color-accent-yellow); color: var(--color-main-text); }
.badge-essential { background-color: var(--color-success-green); }

/* Course Card Content Body */
.course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-icon-tag {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.course-card-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.course-card-body p {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    line-height: 1.5;
    margin-bottom: 24px;
}

.course-card-footer {
    margin-top: auto;
}

.course-card-footer .btn {
    width: 100%;
}

/* --------------------------------------------------------------------------
   8. WHY CHOOSE US SECTION (STRENGTHS GRID)
   -------------------------------------------------------------------------- */
.why-us-section {
    background-color: var(--color-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.why-card {
    background-color: var(--color-secondary-bg);
    border: 1px solid var(--color-soft-grey);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: all var(--transition-normal);
}

.why-card:hover {
    background-color: var(--color-white);
    border-color: var(--color-accent-yellow);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. MOCK TEST SECTION (GRID SPLIT)
   -------------------------------------------------------------------------- */
.mock-tests-section {
    background-color: var(--color-secondary-bg);
}

.mock-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 480px) {
    .mock-features {
        grid-template-columns: 1fr;
    }
}

.mock-feature-card {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--color-accent-teal);
}

.mfc-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.mock-feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.mock-feature-card p {
    font-size: 0.8rem;
    color: var(--color-grey-dark);
    line-height: 1.4;
}

.mock-image {
    position: relative;
    padding: 10px;
}

.mock-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.mock-img-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: var(--color-accent-teal);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.mib-title {
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 700;
}

.mib-desc {
    font-size: 0.75rem;
    color: var(--color-light-cyan);
}

.mock-cta-btn {
    width: fit-content;
}

@media (max-width: 991px) {
    .mock-img {
        height: 360px;
    }
}

/* --------------------------------------------------------------------------
   10. STUDY MATERIAL SECTION
   -------------------------------------------------------------------------- */
.study-material-section {
    background-color: var(--color-white);
}

.sm-image {
    padding: 10px;
}

.sm-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.sm-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 480px) {
    .sm-features {
        grid-template-columns: 1fr;
    }
}

.sm-item {
    display: flex;
    gap: 12px;
}

.sm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sm-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sm-info p {
    font-size: 0.85rem;
    color: var(--color-grey-dark);
}

@media (max-width: 991px) {
    .sm-img {
        height: 380px;
    }
}

/* --------------------------------------------------------------------------
   11. CLASSROOM GALLERY SECTION (GRID LAYOUT)
   -------------------------------------------------------------------------- */
.gallery-section {
    background-color: var(--color-secondary-bg);
}

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

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

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(16, 42, 67, 0.95) 10%, rgba(16, 42, 67, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-info {
    color: var(--color-white);
    transform: translateY(20px);
    transition: transform var(--transition-slow);
}

.gallery-info h3 {
    color: var(--color-accent-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.btn-gallery-enquiry {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--color-accent-teal);
    color: var(--color-white);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.btn-gallery-enquiry:hover {
    background-color: var(--color-accent-teal-hover);
}

/* Hover effects */
.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

/* Mobile specific styling: Overlay titles should always display on mobile */
@media (max-width: 768px) {
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(16, 42, 67, 0.9) 20%, rgba(16, 42, 67, 0.1) 100%);
    }
    
    .gallery-info {
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   12. RESULTS / SUCCESS SECTION
   -------------------------------------------------------------------------- */
.results-section {
    background-color: var(--color-white);
}

.results-image {
    position: relative;
    padding: 10px;
}

.results-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.results-img-overlay-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-left: 4px solid var(--color-success-green);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.results-img-overlay-card h4 {
    font-size: 1.1rem;
    color: var(--color-main-text);
    margin-bottom: 4px;
}

.results-img-overlay-card p {
    font-size: 0.8rem;
    color: var(--color-grey-dark);
}

.results-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 30px 0;
}

@media (max-width: 480px) {
    .results-features {
        grid-template-columns: 1fr;
    }
}

.rfc-card {
    display: flex;
    gap: 12px;
}

.rfc-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rfc-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.rfc-card p {
    font-size: 0.85rem;
    color: var(--color-grey-dark);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .results-img {
        height: 380px;
    }
}

/* --------------------------------------------------------------------------
   13. DESIGN / LEARNING PROCESS TIMELINE SECTION
   -------------------------------------------------------------------------- */
.process-section {
    background-color: var(--color-secondary-bg);
}

.timeline-container {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
}

/* Timeline Horizontal Axis Line */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 4%;
    right: 4%;
    height: 4px;
    background-color: var(--color-soft-grey);
    z-index: 1;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-full);
    background-color: var(--color-white);
    border: 3px solid var(--color-soft-grey);
    color: var(--color-main-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.timeline-item:hover .step-number {
    background-color: var(--color-accent-yellow);
    border-color: var(--color-accent-teal);
    transform: scale(1.15);
}

.timeline-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-main-text);
}

.timeline-content p {
    font-size: 0.75rem;
    color: var(--color-grey-dark);
    line-height: 1.4;
}

/* Mobile responsive timeline: Horizontal to Vertical */
@media (max-width: 1024px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 30px;
    }
    
    /* Create vertical line */
    .timeline-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 22px;
        width: 4px;
        background-color: var(--color-soft-grey);
        z-index: 1;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
        position: relative;
        z-index: 2;
    }
    
    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}

/* --------------------------------------------------------------------------
   14. REVIEWS SECTION
   -------------------------------------------------------------------------- */
.reviews-section {
    background-color: var(--color-white);
}

.review-rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.rating-num {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-main-text);
}

.rating-stars {
    color: var(--color-accent-yellow);
    font-size: 1.2rem;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--color-grey-dark);
}

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

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

@media (max-width: 767px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background-color: var(--color-secondary-bg);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.student-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    background-color: var(--color-accent-teal);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
}

.student-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-main-text);
}

.student-status {
    font-size: 0.75rem;
    color: var(--color-grey-dark);
}

.review-stars {
    color: var(--color-accent-yellow);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--color-main-text);
    font-style: italic;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. CONTACT SECTION (GRID MAP & DETAILS)
   -------------------------------------------------------------------------- */
.contact-section {
    background-color: var(--color-secondary-bg);
}

.contact-card-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-column {
    padding: 60px;
    background-color: var(--color-white);
}

@media (max-width: 575px) {
    .contact-info-column {
        padding: 30px 20px;
    }
}

.contact-branch-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-main-text);
    margin-bottom: 4px;
}

.contact-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.info-items-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item-block {
    display: flex;
    gap: 20px;
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-item-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-item-block p {
    font-size: 0.95rem;
    color: var(--color-grey-dark);
}

.located-in {
    font-size: 0.85rem;
    margin-top: 6px;
    color: var(--color-main-text);
}

.contact-link:hover {
    color: var(--color-accent-teal);
}

/* Right side actions column */
.contact-actions-column {
    padding: 60px;
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 575px) {
    .contact-actions-column {
        padding: 40px 20px;
    }
}

.action-column-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent-yellow);
    margin-bottom: 12px;
}

.action-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.contact-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-action-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-action-btn:hover {
    transform: translateY(-2px);
}

.btn-whatsapp-now {
    background-color: var(--color-whatsapp);
}

.btn-whatsapp-now:hover {
    background-color: var(--color-whatsapp-dark);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-call-now {
    background-color: var(--color-academic-blue);
}

.btn-call-now:hover {
    background-color: #0d47a1;
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.25);
}

.btn-directions-now {
    background-color: var(--color-accent-teal);
}

.btn-directions-now:hover {
    background-color: var(--color-accent-teal-hover);
    box-shadow: 0 8px 20px rgba(0, 140, 149, 0.25);
}

/* Local Map Info Box styling */
.map-placeholder-box {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.map-icon-marker {
    font-size: 1.8rem;
}

.map-text-detail strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-accent-yellow);
    margin-bottom: 2px;
}

.map-text-detail p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   16. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer-section {
    background-color: var(--color-navy-dark);
    color: rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--color-accent-teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 50px;
}

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

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 60px;
    }
}

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.1;
}

.footer-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-hours {
    font-size: 0.85rem;
    color: var(--color-accent-yellow);
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent-teal);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-teal);
    padding-left: 6px;
}

.footer-contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-contact-phone {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-contact-phone a:hover {
    color: var(--color-accent-teal);
}

.footer-whatsapp-btn {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    width: fit-content;
}

.footer-whatsapp-btn:hover {
    background-color: var(--color-whatsapp-dark);
}

/* Footer Copyright footer border and tagline info */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

@media (max-width: 575px) {
    .footer-copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.footer-tagline {
    color: var(--color-accent-yellow);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. FLOATING WHATSAPP WIDGET
   -------------------------------------------------------------------------- */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-normal);
}

.floating-whatsapp-widget::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-full);
    background-color: var(--color-whatsapp);
    opacity: 0.4;
    z-index: -1;
    animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.floating-whatsapp-widget:hover {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-dark);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Adjustments on mobile to avoid covering CTA zones */
@media (max-width: 768px) {
    .floating-whatsapp-widget {
        bottom: 24px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .floating-whatsapp-widget svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   18. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top-widget {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    color: var(--color-main-text);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-soft-grey);
}

.back-to-top-widget:hover {
    background-color: var(--color-secondary-bg);
    color: var(--color-accent-teal);
    transform: translateY(0) scale(1.05);
}

.back-to-top-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top-widget {
        bottom: 85px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* --------------------------------------------------------------------------
   19. SCROLL REVEAL ANIMATIONS (WITHOUT LIBRARIES)
   -------------------------------------------------------------------------- */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-step {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Timeline animations delays */
.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }
.timeline-item:nth-child(5) { transition-delay: 0.5s; }
.timeline-item:nth-child(6) { transition-delay: 0.6s; }
.timeline-item:nth-child(7) { transition-delay: 0.7s; }
.timeline-item:nth-child(8) { transition-delay: 0.8s; }

/* Support preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden,
    .reveal-left,
    .reveal-right,
    .reveal-step {
        opacity: 1;
        transform: none !important;
        transition: none !important;
    }
    
    .float-item,
    .float-mini-card {
        animation: none !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}
