/* ==========================================================================
   SRUSHTI ENGINEERING ACADEMY - PREMIUM STYLING
   ========================================================================== */

/* 1. Design System & Variables */
:root {
    --primary-bg: #FFFFFF;
    --secondary-bg: #F2F7FF;
    --text-main: #102A43;
    --text-muted: #486581;
    --color-blue: #0057B8;
    --color-blue-dark: #004494;
    --color-blue-light: #E1EFFF;
    --color-orange: #F97316;
    --color-orange-dark: #EA580C;
    --color-green: #2E7D32;
    --color-green-light: #E8F5E9;
    --color-red: #D62828;
    --color-gold: #F4B400;
    --color-grey-light: #F8FAFC;
    --color-grey-border: #E2E8F0;
    
    /* Layout Constants */
    --max-width: 1200px;
    --header-height: 80px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px -2px rgba(16, 42, 67, 0.08);
    --shadow-medium: 0 10px 30px -5px rgba(16, 42, 67, 0.12);
    --shadow-premium: 0 20px 40px -10px rgba(0, 87, 184, 0.15);
    
    /* Typography Constants */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

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

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

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.uppercase {
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.w-full {
    width: 100%;
}

.mt-6 {
    margin-top: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 15px;
    min-height: 48px;
}

.btn-primary {
    background-color: var(--color-blue);
    color: #FFFFFF;
    box-shadow: 0 4px 14px 0 rgba(0, 87, 184, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 87, 184, 0.4);
}

.btn-secondary {
    background-color: #FFFFFF;
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-secondary:hover {
    background-color: var(--color-blue-light);
    transform: translateY(-2px);
}

.btn-directions {
    background-color: var(--color-grey-light);
    border-color: var(--color-grey-border);
    color: var(--text-main);
}

.btn-directions:hover {
    background-color: #FFFFFF;
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-icon {
    margin-right: 8px;
}

/* Sections Global Structure */
section {
    padding: 100px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--secondary-bg);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-orange);
    background-color: rgba(249, 115, 22, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   1. HEADER / NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-grey-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    box-shadow: var(--shadow-soft);
    background-color: #FFFFFF;
}

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

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

.logo-badge {
    background-color: var(--color-blue);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

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

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.brand-subtitle {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-orange);
    font-weight: 600;
    letter-spacing: 1px;
}

.desktop-navbar {
    display: block;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--color-blue);
}

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

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

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

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    justify-content: center;
    z-index: 1100;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hamburger Open Animation */
.hamburger-menu.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger-menu.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: #FFFFFF;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav {
    margin-bottom: auto;
}

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

.mobile-link {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    display: block;
    padding: 8px 0;
}

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

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(16, 42, 67, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

/* ==========================================================================
   2. HERO SECTION & ANTI-GRAVITY CANVAS
   ========================================================================== */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    background: radial-gradient(circle at top right, rgba(225, 239, 255, 0.8), #FFFFFF 60%);
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.highlight-text-blue {
    color: var(--color-blue);
    position: relative;
}

.brand-text {
    color: var(--color-blue);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Badges Wrap */
.hero-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-grey-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

.badge-icon {
    font-size: 16px;
}

.star-icon {
    color: var(--color-gold);
}

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

.cta-svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Hero Right Visual Column */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 4px solid #FFFFFF;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-main);
}

.badge-value {
    font-size: 12px;
    color: #FFFFFF;
    background-color: var(--color-orange);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Floating Technical Cards in Hero */
.floating-tech-card {
    position: absolute;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-grey-border);
    animation: ft-float 4s ease-in-out infinite alternate;
    z-index: 15;
}

.ft-card-icon {
    font-size: 24px;
}

.ft-card-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.ft-card-desc {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.ft-card-1 {
    top: 40px;
    left: -30px;
    animation-delay: 0s;
}

.ft-card-2 {
    bottom: 80px;
    right: -20px;
    animation-delay: 1.5s;
}

.ft-card-3 {
    bottom: -10px;
    left: 20px;
    animation-delay: 3s;
}

@keyframes ft-float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-10px) rotate(2deg); }
}

/* ==========================================================================
   3. ANTI-GRAVITY BACKGROUND LAYER
   ========================================================================== */
.anti-gravity-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-item {
    position: absolute;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.float-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.5);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    white-space: nowrap;
}

.svg-inline {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

/* Coordinate positioning of floating elements */
.float-book { top: 10%; left: 8%; }
.float-calc { top: 75%; left: 5%; }
.float-ruler { top: 30%; left: 45%; }
.float-pencil { top: 48%; left: 3%; }
.float-circuit { top: 8%; left: 55%; }
.float-exam { top: 65%; left: 38%; }
.float-answers { top: 85%; left: 45%; }
.float-badge { top: 22%; right: 48%; }
.float-testcard { top: 15%; right: 8%; }
.float-gear { top: 45%; right: 45%; }
.float-struct { top: 58%; right: 5%; }
.float-bolt { top: 82%; right: 8%; }
.float-brackets { top: 35%; right: 2%; }
.float-rank { top: 2%; left: 35%; }
.float-checklist { top: 92%; left: 25%; }
.float-calendar { top: 70%; right: 38%; }

/* ==========================================================================
   4. ABOUT SECTION
   ========================================================================== */
.about-visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.img-frame {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    box-shadow: var(--shadow-medium);
    border: 8px solid #FFFFFF;
}

.about-img {
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    height: auto;
}

.frame-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--text-main);
    color: #FFFFFF;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
}

.frame-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-gold);
}

.frame-desc {
    font-size: 11px;
    color: var(--color-grey-border);
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-description {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.highlight-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.list-bullet {
    color: var(--color-green);
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

.list-text {
    font-size: 15px;
    color: var(--text-main);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 16px;
}

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

.stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-blue);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   5. COURSES SECTION
   ========================================================================== */
.courses-grid {
    grid-template-columns: repeat(3, 1fr);
}

.course-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-grey-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.course-card-head {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
}

.badge-orange { background-color: var(--color-orange); }
.badge-blue { background-color: var(--color-blue); }
.badge-green { background-color: var(--color-green); }

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

.course-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.course-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-course-enquiry {
    width: 100%;
    background-color: var(--color-grey-light);
    color: var(--color-blue);
    border: 1.5px dashed var(--color-blue);
    padding: 10px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
}

.btn-course-enquiry:hover {
    background-color: var(--color-blue);
    color: #FFFFFF;
    border-style: solid;
}

/* ==========================================================================
   6. E-CET SPECIAL & TESTS & MATERIALS
   ========================================================================== */
.ecet-section, .tests-section, .material-section {
    overflow: hidden;
}

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

.ecet-feature-item, .material-feature {
    display: flex;
    gap: 12px;
}

.ecet-icon, .material-icon {
    font-size: 20px;
    flex-shrink: 0;
    background-color: var(--color-grey-light);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecet-feature-item h4, .material-feature h5 {
    font-size: 14px;
    margin-bottom: 4px;
}

.ecet-feature-item p, .material-feature p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.card-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 6px solid #FFFFFF;
    background-color: #FFFFFF;
}

.ecet-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.card-caption {
    padding: 16px;
}

.card-caption strong {
    font-size: 14px;
    display: block;
    color: var(--color-orange);
    margin-bottom: 4px;
}

.card-caption p {
    font-size: 11px;
    color: var(--text-muted);
}

.tests-img, .material-img {
    border-radius: 20px;
    width: 100%;
    box-shadow: var(--shadow-medium);
    border: 6px solid #FFFFFF;
}

.tests-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.test-list-item {
    display: flex;
    gap: 16px;
}

.test-list-icon {
    font-size: 24px;
    background-color: var(--color-blue-light);
    color: var(--color-blue);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.test-list-item h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.test-list-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   7. BRANCH-WISE COACHING SECTION
   ========================================================================== */
.branches-grid {
    grid-template-columns: repeat(3, 1fr);
}

.branch-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--color-grey-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-grey-border);
    transition: var(--transition-smooth);
}

.border-orange-hover:hover::before { background-color: var(--color-orange); }
.border-blue-hover:hover::before { background-color: var(--color-blue); }
.border-green-hover:hover::before { background-color: var(--color-green); }

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.branch-icon-wrapper {
    font-size: 32px;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-orange { background-color: rgba(249, 115, 22, 0.08); color: var(--color-orange); }
.color-blue { background-color: rgba(0, 87, 184, 0.08); color: var(--color-blue); }
.color-green { background-color: rgba(46, 125, 50, 0.08); color: var(--color-green); }

.branch-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.branch-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.btn-branch-cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.btn-branch-cta:hover {
    color: var(--color-orange);
}

/* ==========================================================================
   10. HIGHLIGHTS & POSTERS
   ========================================================================== */
.highlights-grid {
    grid-template-columns: repeat(2, 1fr);
}

.highlight-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-grey-border);
    box-shadow: var(--shadow-soft);
}

.poster-frame {
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

.highlight-card:hover .poster-img {
    transform: scale(1.03);
}

.poster-caption {
    padding: 24px;
}

.poster-caption h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.highlight-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-orange);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.poster-caption p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   11. WHY CHOOSE US
   ========================================================================== */
.why-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.why-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--color-grey-border);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-orange);
}

.why-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 12px;
}

.why-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.why-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   12. LEARNING PROCESS & TIMELINE
   ========================================================================== */
.timeline-container {
    position: relative;
    margin-top: 60px;
    width: 100%;
}

.timeline-line {
    position: absolute;
    top: 24px;
    left: 4%;
    right: 4%;
    height: 4px;
    background-color: var(--color-grey-border);
    z-index: 1;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 4px solid var(--color-grey-border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: var(--transition-smooth);
}

.timeline-item.active .timeline-dot {
    border-color: var(--color-blue);
    background-color: var(--color-blue);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 87, 184, 0.4);
}

.timeline-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   13. GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(16, 42, 67, 0.9) 20%, rgba(16, 42, 67, 0.2) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.gallery-category {
    font-size: 11px;
    color: var(--color-orange);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-title {
    font-size: 16px;
    color: #FFFFFF;
}

/* ==========================================================================
   14. REVIEWS SECTION
   ========================================================================== */
.rating-display {
    margin-top: 10px;
}

.rating-value-big {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-heading);
    display: block;
    color: var(--text-main);
}

.rating-stars {
    color: var(--color-gold);
    font-size: 24px;
    display: block;
    margin-bottom: 4px;
}

.rating-count {
    font-size: 13px;
    color: var(--text-muted);
}

.reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
}

.review-card {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--color-grey-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-blue-light);
    color: var(--color-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 700;
}

.reviewer-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.review-stars {
    color: var(--color-gold);
    font-size: 14px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    font-style: italic;
}

/* ==========================================================================
   15. CONTACT SECTION
   ========================================================================== */
.contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
}

.contact-info-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--color-grey-border);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-academy-name {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--color-blue);
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    font-size: 20px;
}

.contact-detail-text strong {
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 13.5px;
    color: var(--text-muted);
}

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

.contact-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.contact-map-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 6px solid #FFFFFF;
    height: 450px;
}

.contact-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer-area {
    background-color: var(--text-main);
    color: #FFFFFF;
    padding-top: 80px;
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
    gap: 40px;
}

.brand-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    background-color: var(--color-blue);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    padding: 6px 14px;
    border-radius: 8px;
    align-self: flex-start;
    margin-bottom: 20px;
}

.footer-brand-title {
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.footer-brand-subtitle {
    font-size: 11px;
    color: var(--color-orange);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--color-grey-border);
    line-height: 1.5;
}

.footer-col-title {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 24px;
    position: relative;
}

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

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

.footer-links a {
    font-size: 13.5px;
    color: var(--color-grey-border);
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 4px;
}

.footer-contact-text {
    font-size: 13px;
    color: var(--color-grey-border);
    margin-bottom: 12px;
    line-height: 1.4;
}

.footer-whatsapp-link {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.footer-whatsapp-link:hover {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.footer-bottom {
    padding: 24px 0;
    background-color: #0b1e30;
    font-size: 12px;
    color: var(--color-grey-border);
}

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

.copyright-text {
    font-weight: 500;
}

.disclaimer-text {
    font-size: 11px;
    color: #829ab1;
}

/* ==========================================================================
   17. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-widget-svg {
    width: 32px;
    height: 32px;
    fill: #FFFFFF;
}

.floating-whatsapp-widget:hover {
    transform: scale(1.1);
    background-color: #20BA5A;
}

.whatsapp-tooltip {
    position: absolute;
    right: 76px;
    background-color: var(--text-main);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.floating-whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   18. BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 105px;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border: 1px solid var(--color-grey-border);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

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

.top-btn-svg {
    width: 24px;
    height: 24px;
    fill: var(--text-main);
    transition: var(--transition-smooth);
}

.back-to-top:hover {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.back-to-top:hover .top-btn-svg {
    fill: #FFFFFF;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .float-item {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* 1. Large Screens & Desktops (1024px and above) - handled by layout */

/* 2. Tablets (768px to 1023px) */
@media screen and (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-layout {
        gap: 32px;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-map-card {
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3. Small Mobile Devices (320px to 767px) */
@media screen and (max-width: 768px) {
    /* Navbar Hamburger */
    .desktop-navbar {
        display: none;
    }
    
    .nav-cta {
        display: none; /* Hide on mobile navbar, open via drawer */
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Layouts Stacked */
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    
    .hero-badges-wrapper {
        justify-content: center;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    /* Hide floating items on mobile to save performance & prevent layout breaking */
    .anti-gravity-container {
        display: none;
    }
    
    .floating-tech-card {
        display: none;
    }
    
    /* About */
    .about-visual {
        order: 2;
        justify-content: center;
    }
    
    .img-frame {
        border-width: 4px;
    }
    
    .frame-badge {
        right: 10px;
        bottom: -10px;
        padding: 10px 18px;
    }
    
    /* Grids to single column */
    .courses-grid,
    .branches-grid,
    .highlights-grid,
    .gallery-grid,
    .reviews-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .ecet-features-grid, .material-features-grid {
        grid-template-columns: 1fr;
    }
    
    .ecet-visual {
        order: 2;
    }
    
    .material-visual {
        order: 2;
    }
    
    /* Timeline turning Vertical */
    .timeline-line {
        left: 20px;
        top: 0;
        bottom: 0;
        width: 4px;
        height: 100%;
    }
    
    .timeline-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .timeline-item {
        display: flex;
        text-align: left;
        padding: 0;
        width: 100%;
        gap: 20px;
    }
    
    .timeline-dot {
        margin: 0;
        flex-shrink: 0;
    }
    
    .timeline-content {
        flex-grow: 1;
    }
    
    /* Gallery overlays always visible on mobile */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(16, 42, 67, 0.95) 40%, rgba(16, 42, 67, 0.4) 100%);
    }
    
    /* Contact */
    .contact-info-card {
        padding: 24px;
    }
    
    .contact-action-buttons .btn {
        width: 100%;
        min-height: 48px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    /* Floating widgets layout */
    .floating-whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-widget-svg {
        width: 26px;
        height: 26px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 85px;
        width: 44px;
        height: 44px;
    }
    
    .top-btn-svg {
        width: 20px;
        height: 20px;
    }
}

/* 4. Very Small Devices (320px to 380px) */
@media screen and (max-width: 380px) {
    body {
        font-size: 15px; /* Minimum body text sizing */
    }
    
    .logo-area {
        gap: 6px;
    }
    
    .brand-name {
        font-size: 13px;
    }
    
    .brand-subtitle {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}
