/* ========================= Custom Section Animations ========================= */
.fade-in {
    animation: fadeInSection 1.2s ease both;
}
@keyframes fadeInSection {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: none; }
}

.slide-left {
    animation: slideLeftSection 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes slideLeftSection {
    0% { opacity: 0; transform: translateX(80px); }
    100% { opacity: 1; transform: none; }
}

.slide-right {
    animation: slideRightSection 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes slideRightSection {
    0% { opacity: 0; transform: translateX(-80px); }
    100% { opacity: 1; transform: none; }
}

.zoom-in {
    animation: zoomInSection 1.1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes zoomInSection {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

.rotate-in {
    animation: rotateInSection 1.1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes rotateInSection {
    0% { opacity: 0; transform: rotate(-8deg) scale(0.95); }
    100% { opacity: 1; transform: none; }
}

.bounce-in {
    animation: bounceInSection 1.2s cubic-bezier(0.68,-0.55,0.27,1.55) both;
}
@keyframes bounceInSection {
    0% { opacity: 0; transform: translateY(60px) scale(0.95); }
    60% { opacity: 1; transform: translateY(-18px) scale(1.03); }
    80% { transform: translateY(6px) scale(0.98); }
    100% { opacity: 1; transform: none; }
}

/* Floating effect for all sections */
.float-animate {
    animation-name: floatSection;
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.hero-entrance,
.about-entrance,
.courses-entrance,
.why-us-entrance,
.placements-entrance,
.support-entrance,
.programs-entrance,
.logo-entrance,
.gallery-entrance,
.faq-entrance,
.contact-entrance,
.map-entrance {
    animation-duration: 1.2s, 4s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-fill-mode: both, both;
    animation-iteration-count: 1, infinite;
    animation-delay: 0s, 0s;
}

.hero-entrance { animation-name: heroEntrance, floatSection; }
.about-entrance { animation-name: aboutEntrance, floatSection; }
.courses-entrance { animation-name: coursesEntrance, floatSection; }
.why-us-entrance { animation-name: whyUsEntrance, floatSection; }
.placements-entrance { animation-name: placementsEntrance, floatSection; }
.support-entrance { animation-name: supportEntrance, floatSection; }
.programs-entrance { animation-name: programsEntrance, floatSection; }
.logo-entrance { animation-name: logoEntrance, floatSection; }
.gallery-entrance { animation-name: galleryEntrance, floatSection; }
.faq-entrance { animation-name: faqEntrance, floatSection; }
.contact-entrance { animation-name: contactEntrance, floatSection; }
.map-entrance { animation-name: mapEntrance, floatSection; }

@keyframes heroEntrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes aboutEntrance {
    0% { opacity: 0; transform: translateX(-70px) rotate(-2deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes coursesEntrance {
    0% { opacity: 0; transform: translateY(70px) skewY(2deg); }
    100% { opacity: 1; transform: translateY(0) skewY(0); }
}

@keyframes whyUsEntrance {
    0% { opacity: 0; transform: translateX(-50px) rotate(-3deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes placementsEntrance {
    0% { opacity: 0; transform: translateY(80px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes supportEntrance {
    0% { opacity: 0; transform: translateX(60px) skewX(-3deg); }
    100% { opacity: 1; transform: translateX(0) skewX(0); }
}

@keyframes programsEntrance {
    0% { opacity: 0; transform: scale(0.96) rotate(-2deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes logoEntrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes galleryEntrance {
    0% { opacity: 0; transform: translateY(50px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes faqEntrance {
    0% { opacity: 0; transform: translateY(60px) rotate(-1deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes contactEntrance {
    0% { opacity: 0; transform: translateX(-70px) scale(0.98); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes mapEntrance {
    0% { opacity: 0; transform: translateY(50px) rotate(-1deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes floatSection {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* ========================= NEW TEXT & CARD ANIMATIONS ========================= */

/* Heading Slide-Up Animation */
.section-title {
    animation: slideUpHeading 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slideUpHeading {
    0% { 
        opacity: 0; 
        transform: translateY(60px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Subheading Slide-Up Animation */
.section-subtitle {
    animation: slideUpSubheading 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.15s;
}
@keyframes slideUpSubheading {
    0% { 
        opacity: 0; 
        transform: translateY(50px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Alternating Left to Right Slide Animation */
.slide-in-left {
    animation: slideInFromLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Alternating Right to Left Slide Animation */
.slide-in-right {
    animation: slideInFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Image Text Masking Hover Effect */
.image-mask-hover {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.image-mask-hover img {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.6s ease;
    transform: scale(1);
}

.image-mask-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(37, 99, 235, 0.3) 50%, transparent 100%);
    opacity: 0;
    transform: translateX(-100%) skewX(-20deg);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 1;
}

.image-mask-hover:hover::before {
    opacity: 1;
    transform: translateX(100%) skewX(-20deg);
}

.image-mask-hover:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

/* Smooth animation for card entries with alternating pattern */
.card-slide-animation {
    animation: cardSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Stagger animation delays for card grid items */
.card-slide-animation:nth-child(1) { animation-delay: 0s; }
.card-slide-animation:nth-child(2) { animation-delay: 0.1s; }
.card-slide-animation:nth-child(3) { animation-delay: 0.2s; }
.card-slide-animation:nth-child(4) { animation-delay: 0.3s; }
.card-slide-animation:nth-child(5) { animation-delay: 0.4s; }
.card-slide-animation:nth-child(6) { animation-delay: 0.5s; }
.card-slide-animation:nth-child(7) { animation-delay: 0.6s; }
.card-slide-animation:nth-child(8) { animation-delay: 0.7s; }

/* ==========================================================================
   SynchroServe Web Design Stylesheet - Premium & High-Aesthetic
   ========================================================================== */

/* 1. CSS Custom Properties / Design Tokens */
:root {
    /* Brand Colors */
    --primary: #2563eb;         /* Vibrant Blue */
    --primary-hover: #1d4ed8;   /* Darker Blue */
    --primary-light: #eff6ff;   /* Softest Tint */
    --secondary: #4f46e5;       /* Tech Purple/Indigo */
    --secondary-hover: #4338ca; /* Darker Purple */
    --accent: #60a5fa;          /* Sky Highlight Blue */
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;    /* Clean Slate Light */
    --bg-dark: #0f172a;         /* Dark Slate 900 */
    --bg-dark-card: #1e293b;    /* Dark Slate 800 */
    
    /* Typography & Text */
    --text-main: #1e293b;       /* Slate 800 */
    --text-muted: #475569;      /* Slate 600 */
    --text-light: #64748b;      /* Slate 500 */
    --text-white: #ffffff;
    
    /* Layout Details */
    --border-color: rgba(226, 232, 240, 0.8);
    --border-color-dark: rgba(51, 65, 85, 0.5);
    --radius-sm: 0.5rem;        /* 8px */
    --radius-md: 0.75rem;       /* 12px */
    --radius-lg: 1rem;          /* 16px */
    --radius-xl: 1.5rem;          /* 24px */
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px -10px rgba(37, 99, 235, 0.08);
    --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.15);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Resets & Basics */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    -webkit-font-smoothing: antialiased;
}

main {
    scroll-snap-type: y mandatory;
}

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

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

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

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* 3. Reusable Aesthetic Components */

/* Section headers */
.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: slideUpSubheading 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

/* Gradient highlight texts */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--secondary) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-divider.wave-divider {
    overflow: hidden;
    line-height: 0;
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(180deg, rgba(243, 244, 246, 1) 0%, rgba(71, 85, 105, 0.1) 100%);
}

.section-divider.wave-divider .wave-svg {
    display: block;
    width: 100%;
    height: 110px;
    transform: translateY(-2px);
}

.section-divider.wave-divider .wave-svg path {
    fill: #475569;
    filter: drop-shadow(0 18px 30px rgba(71, 85, 105, 0.18));
    animation: waveFadeIn 1.2s ease both;
}

.section-divider.wave-divider.alt-1,
.section-divider.wave-divider.alt-2,
.section-divider.wave-divider.alt-3,
.section-divider.wave-divider.alt-4,
.section-divider.wave-divider.alt-5,
.section-divider.wave-divider.alt-6,
.section-divider.wave-divider.alt-7,
.section-divider.wave-divider.alt-8,
.section-divider.wave-divider.alt-9,
.section-divider.wave-divider.alt-10,
.section-divider.wave-divider.alt-11 {
    background: linear-gradient(180deg, rgba(243, 244, 246, 1) 0%, rgba(71, 85, 105, 0.1) 100%);
}

@keyframes waveFadeIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-muted);
}

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

.btn-large {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-full {
    width: 100%;
}

/* Glassmorphism containers */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Scroll reveal transition configurations */
.reveal-on-scroll {
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
    opacity: 1;
    transform: none;
    filter: none;
}

.reveal-on-scroll.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Floating animation for sections */
.float-animate {
    animation: floatSection 4s ease-in-out infinite;
}

.hero-entrance.revealed { animation: heroEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.about-entrance.revealed { animation: aboutEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.courses-entrance.revealed { animation: coursesEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.why-us-entrance.revealed { animation: whyUsEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.placements-entrance.revealed { animation: placementsEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.support-entrance.revealed { animation: supportEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.programs-entrance.revealed { animation: programsEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.logo-entrance.revealed { animation: logoEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.gallery-entrance.revealed { animation: galleryEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.faq-entrance.revealed { animation: faqEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.contact-entrance.revealed { animation: contactEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }
.map-entrance.revealed { animation: mapEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes heroEntrance {
    0% { opacity: 0; filter: blur(16px) saturate(0.4); }
    100% { opacity: 1; filter: none; }
}

@keyframes aboutEntrance {
    0% { opacity: 0; filter: blur(14px) grayscale(0.5); }
    100% { opacity: 1; filter: none; }
}

@keyframes coursesEntrance {
    0% { opacity: 0; filter: blur(12px) brightness(0.9); }
    100% { opacity: 1; filter: none; }
}

@keyframes whyUsEntrance {
    0% { opacity: 0; filter: blur(10px) contrast(0.8); }
    100% { opacity: 1; filter: none; }
}

@keyframes placementsEntrance {
    0% { opacity: 0; filter: blur(12px) brightness(0.85); }
    100% { opacity: 1; filter: none; }
}

@keyframes supportEntrance {
    0% { opacity: 0; filter: blur(10px) saturate(0.5); }
    100% { opacity: 1; filter: none; }
}

@keyframes programsEntrance {
    0% { opacity: 0; filter: blur(14px) hue-rotate(-15deg); }
    100% { opacity: 1; filter: none; }
}

@keyframes logoEntrance {
    0% { opacity: 0; filter: blur(12px) grayscale(1); }
    100% { opacity: 1; filter: none; }
}

@keyframes galleryEntrance {
    0% { opacity: 0; filter: blur(12px) contrast(0.75); }
    100% { opacity: 1; filter: none; }
}

@keyframes faqEntrance {
    0% { opacity: 0; filter: blur(10px) grayscale(0.7); }
    100% { opacity: 1; filter: none; }
}

@keyframes contactEntrance {
    0% { opacity: 0; filter: blur(12px) brightness(0.8); }
    100% { opacity: 1; filter: none; }
}

@keyframes mapEntrance {
    0% { opacity: 0; filter: blur(14px) saturate(0.6); }
    100% { opacity: 1; filter: none; }
}

@keyframes floatSection {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* 4. Sticky Header Navigation Bar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition-smooth);
}

.navbar-container {
    justify-content: space-between;
    flex-wrap: nowrap;
}

.main-header.scrolled {
    padding: 0.6rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.9);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
    transition: var(--transition-smooth);
    gap: 2rem;
}

.main-header.scrolled .navbar-container {
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 2rem;
}

.main-logo {
    height: 84px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

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

/* Nav Menu with Moving Indicator */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    height: 100%;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0.2rem;
    position: relative;
}

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

.active-indicator {
    position: absolute;
    bottom: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 99px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 99px;
    transition: var(--transition-smooth);
}

/* 5. Hero Section (Vibrant & Tech-Focused) */
.hero-section {
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}

.hero-content,
.hero-visual {
    width: 100%;
    min-width: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

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

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
    animation: slideUpSubheading 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: slideUpHeading 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: slideUpSubheading 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.15s;
}

.hero-ctas {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.play-icon {
    margin-right: 0.5rem;
    fill: transparent;
}

/* Hero Stats Row */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
}

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

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual & Overlaid Badge */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(37,99,235,0.1) 100%);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: var(--shadow-lg);
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Interactive float animations */
.badge-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    max-width: 280px;
    animation: float 5s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.85rem;
}

.badge-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.badge-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 6. About Section */
.about-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.image-wrapper-about {
    position: relative;
}

.about-img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.circular-badge {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    border: 4px solid var(--bg-secondary);
}

.badge-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
}

.badge-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 80px;
}

/* Features List */
.about-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.feature-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 7. Popular Programs / Courses Grid */
.courses-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

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

.course-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.25);
}

.course-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

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

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.course-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.course-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.course-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-skills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.course-skills li {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* 8. Why Choose Us Grid */
.why-us-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.why-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.why-icon-box.bg-blue { background-color: rgba(37, 99, 235, 0.1); color: #2563eb; }
.why-icon-box.bg-indigo { background-color: rgba(79, 70, 229, 0.1); color: #4f46e5; }
.why-icon-box.bg-purple { background-color: rgba(147, 51, 234, 0.1); color: #9333ea; }
.why-icon-box.bg-pink { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }
.why-icon-box.bg-teal { background-color: rgba(20, 184, 166, 0.1); color: #14b8a6; }
.why-icon-box.bg-orange { background-color: rgba(249, 115, 22, 0.1); color: #f97316; }

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.why-img-box {
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.why-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* 9. Record Breaking Placements */
.placements-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

/* Grayscale Infinite scrolling logos */
.logos-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0 5rem 0;
}

.logos-carousel::before,
.logos-carousel::after {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}

.logos-carousel::before {
    left: 0;
    background: linear-gradient(to right, white 0%, rgba(255,255,255,0) 100%);
}

.logos-carousel::after {
    right: 0;
    background: linear-gradient(to left, white 0%, rgba(255,255,255,0) 100%);
}

.logos-slide {
    display: inline-block;
    animation: infinite-scroll 25s linear infinite;
}

.logo-item {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 3rem;
    filter: grayscale(1);
    opacity: 0.65;
    transition: var(--transition-smooth);
    cursor: default;
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--primary);
    transform: scale(1.08);
}

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Placement Stats & Placed Students grid block */
.placements-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.placements-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.p-stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.p-stat-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.p-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.p-stat-label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.p-stat-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Student Showcase Cards */
.placements-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.student-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.student-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.student-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.student-details .role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.placement-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.placed-at {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.package-badge {
    background-color: #dcfce7;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
}

/* 10. Career Acceleration Support Section */
.support-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.support-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.support-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.support-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 11. Testimonials Section */
.testimonial-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
    background: radial-gradient(circle at 10% 10%, var(--primary-light) 0%, #ffffff 80%);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.quote-decor {
    position: absolute;
    top: 1rem;
    left: 2.5rem;
    font-size: 8rem;
    font-family: 'Outfit', sans-serif;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.t-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.t-info h4 {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
}

.t-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 12. Institute Gallery Section */
.gallery-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

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

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:320px;
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.gallery-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:25px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4),
        transparent
    );
}

.gallery-overlay h4{
    color:#fff;
    font-size:28px;
    margin-bottom:10px;
    font-weight:700;
}

.gallery-overlay p{
    color:#8ec5ff;
    font-size:16px;
    line-height:1.6;
}

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

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

/* 13. FAQs Accordion Section */
.faq-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(37, 99, 235, 0.25);
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.faq-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 2rem 1.75rem 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-content {
    border-top-color: var(--border-color);
}

/* 14. Let's Connect (Contact details & Glass form) */
.contact-section {
    padding: 120px 0;
    background: radial-gradient(circle at 10% 80%, var(--primary-light) 0%, #ffffff 60%);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.c-detail-item {
    display: flex;
    gap: 1.25rem;
}

.c-icon-wrapper {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.c-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Social link circles */
.social-links-container {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-circle-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-circle-link:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Glassmorphic Contact Form */
.contact-form-wrapper {
    position: relative;
}

.glass-form {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.65rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

/* 15. Vector Grid map styling */
.map-section {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.map-outer-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.map-mock-bg {
    position: relative;
    background-color: #f8fafc;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-svg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-floating-pin-label {
    position: absolute;
    top: 40px;
    left: 45%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.pin-marker {
    position: relative;
    font-size: 2.25rem;
}

.pin-pulsate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background-color: rgba(37, 99, 235, 0.2);
    border-radius: 50%;
    animation: pulsate 2s infinite ease-out;
    z-index: -1;
}

@keyframes pulsate {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.pin-box {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
}

.pin-box strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.pin-box span {
    opacity: 0.75;
}

/* 16. Footer (Elegant Slate 900 styling) */
.footer-section {
    background-color: var(--bg-dark);
    color: #94a3b8; /* Slate 400 */
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--border-color-dark);
    position: relative;
}

.footer-grid,
.footer-links,
.newsletter-form,
.social-links-container {
    min-width: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.87fr 0.87fr 0.87fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-flex;
}

.text-white {
    color: var(--text-white);
}

.text-blue {
    color: var(--accent);
}

.footer-brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-newsletter h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
}

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-white);
    flex-grow: 1;
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-links-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color-dark);
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* Floating Back-To-Top button */
.back-to-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* ==========================================================================
   17. Responsive Media Queries
   ========================================================================== */

/* Laptop / Small Desktop refinement */
@media (max-width: 1180px) {
    .navbar-container {
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .logo {
        margin-right: 0.75rem;
    }

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

    .hero-container {
        gap: 3rem;
    }

    .about-container {
        gap: 3rem;
    }

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

    .programs-grid,
    .program-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet & Mobile Screens (Large to Medium Tablets) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: 2.15rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .placements-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Phones & Medium Screens (Small Tablets & Mobile Phones) */
@media (max-width: 768px) {
    /* Sticky nav transformations on mobile */
    .navbar-container {
        min-height: 72px;
    }

    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .active-indicator {
        display: none; /* Deactivate animation on mobile */
    }
    
    .main-header.scrolled .nav-menu {
        top: 64px;
        height: calc(100vh - 64px);
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-btn {
        display: none; /* Hide top bar button on smaller viewport */
    }
    
    /* Hamburger Active states */
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero scaling */
    .hero-section {
        padding: 140px 0 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content,
    .hero-visual {
        align-items: center;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-box {
        padding: 2.5rem;
    }
    
    .testimonial-text {
        font-size: 1.15rem;
    }
    
    .faq-trigger {
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
    }
    
    .faq-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .glass-form {
        padding: 2rem;
    }

    .course-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .main-logo {
        height: 58px;
        max-width: 170px;
    }

    .hero-title {
        font-size: 2.15rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .placements-stats {
        grid-template-columns: 1fr;
    }
    
    .student-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .placement-details {
        align-items: flex-start;
        width: 100%;
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .t-avatar {
        width: 50px;
        height: 50px;
    }

    .badge-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }

    .c-detail-item {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        min-height: 44px;
        width: 100%;
    }
}

/* Extra refinement for very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.9rem;
    }

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

    .stat-item {
        padding: 0.5rem 0;
    }
}
/* =========================
   PROGRAMS SECTION
========================= */

.programs-section {
    padding: 120px 0;
    background: #f8fbff;
}

.program-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 60px;
    margin-bottom: 70px;
}

.program-stat-card {
    background: white;
    padding: 35px;
    border-radius: 24px;
    text-align: center;

    box-shadow:
        0 10px 30px rgba(37, 99, 235, 0.08);

    transition: all 0.4s ease;
}

.program-stat-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 40px rgba(37, 99, 235, 0.15);
}

.program-stat-card h3 {
    font-size: 2.4rem;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 800;
}

.program-stat-card p {
    color: #64748b;
    font-size: 1rem;
}

/* GRID */

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

/* CARD */

.program-card {
    background: white;

    padding: 40px 30px;

    border-radius: 28px;

    position: relative;

    overflow: hidden;

    transition: all 0.4s ease;

    border: 1px solid rgba(37, 99, 235, 0.08);

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.05);
}

.program-card:hover {
    transform: translateY(-12px);

    box-shadow:
        0 25px 50px rgba(37, 99, 235, 0.15);
}

.program-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #4f46e5
    );
}

.program-icon{
    width: 100%;
    height: 120px;

    background: transparent;
    border: none;
    box-shadow: none;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    overflow: hidden;
}

.program-icon img{
    width: 100%;
    max-width: 220px;
    height: auto;

    object-fit: contain;
    display: block;
}
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    box-shadow: none;
    border: none;
}
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;

    color: white;

    margin-bottom: 25px;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
}

.program-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

/* TABLET */

@media (max-width: 1024px) {

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

}

/* MOBILE */

@media (max-width: 768px) {

    .programs-section {
        padding: 80px 0;
    }

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

    .program-card {
        padding: 30px 24px;
    }

    .program-stat-card {
        padding: 25px;
    }

}
/* =========================
   PROGRAM LOGOS SECTION
========================= */

.program-logo-section {
    padding: 120px 0;
    background: #f8fbff;
}

.program-logo-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 40px;

    margin-top: 70px;
}

.program-logo-item {

    background: white;

    border-radius: 28px;

    padding: 40px;

    height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.4s ease;

    border: 1px solid rgba(37, 99, 235, 0.08);

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.05);

    overflow: hidden;
}

.program-logo-item:hover {

    transform: translateY(-10px) scale(1.02);

    box-shadow:
        0 25px 50px rgba(37, 99, 235, 0.15);
}

.program-logo-item img {

    max-width: 100%;
    max-height: 180px;

    object-fit: contain;

    transition: all 0.4s ease;
}

.program-logo-item:hover img {

    transform: scale(1.05);
}

/* TABLET */

@media (max-width: 1024px) {

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

}

/* MOBILE */

@media (max-width: 768px) {

    .program-logo-section {
        padding: 80px 0;
    }

    .program-logo-grid {
        grid-template-columns: 1fr;
    }

    .program-logo-item {
        height: 220px;
        padding: 25px;
    }

}
.program-icon img{
    width: 140px;   /* increase size */
    height: auto;
    object-fit: contain;
    display: block;
}
.pin-box {
    background: #fff;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 420px;
    line-height: 1.6;
}

.pin-box strong {
    display: block;
    font-size: 18px;
    color: #0a58ca;
    margin-bottom: 10px;
}

.pin-box span {
    color: #555;
    font-size: 14px;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #0a58ca;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}
.map-floating-pin-label{
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: auto;
    border-radius: 30px;
    overflow: hidden;
}

/* MAP */
.google-map-container iframe{
    width: 100%;
    height: 500px;
    display: block;
    filter: grayscale(10%);
}

/* FLOATING CARD */
.pin-box{
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    
    background: white;
    padding: 30px;
    width: 420px;

    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);

    z-index: 10;
}

/* TITLE */
.pin-box strong{
    display: block;
    font-size: 34px;
    line-height: 1.4;
    color: #0d5bd7;
    margin-bottom: 18px;
    font-weight: 700;
}

/* ADDRESS */
.pin-box span{
    display: block;
    color: #666;
    line-height: 1.8;
    font-size: 19px;
}

/* BUTTON */
.map-link{
    display: inline-block;
    margin-top: 20px;
    background: #0d5bd7;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 16px;
}

.map-link:hover{
    background: #0847aa;
}

/* PIN */
.pin-marker{
    position: absolute;
    top: -18px;
    left: -18px;

    width: 55px;
    height: 55px;

    background: #ff3b6b;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    color: white;

    box-shadow: 0 10px 25px rgba(255,59,107,0.4);
}

/* PULSE EFFECT */
.pin-pulsate{
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,59,107,0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse{
    0%{
        transform: scale(1);
        opacity: 1;
    }
    100%{
        transform: scale(1.8);
        opacity: 0;
    }
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){

    .google-map-container iframe{
        height: 600px;
    }

    .pin-box{
        width: 85%;
        right: 50%;
        top: auto;
        bottom: 30px;
        transform: translateX(50%);
        padding: 22px;
    }

    .pin-box strong{
        font-size: 24px;
    }

    .pin-box span{
        font-size: 15px;
    }
}
/* MAP SECTION */
.map-section {
    padding: 100px 0;
    background: #f8fbff;
}

.google-map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.google-map-container iframe {
    width: 100%;
    display: block;
}

.location-card {
    margin-top: 30px;
    background: white;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.location-icon {
    font-size: 32px;
}

.location-text h3 {
    margin-bottom: 10px;
    color: #2563eb;
}

.location-text p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.map-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s ease;
}

.map-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}
/* HEADER LOGO */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -20px;
}

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

/* =========================
   Section Divider Shapes
========================= */
section {
    position: relative;
    overflow: visible;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-margin-top: 100px;
}

section > * {
    position: relative;
    z-index: 1;
}

section + section {
    margin-top: 0;
}

section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 160px;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    background: var(--bg-secondary);
    clip-path: polygon(0 36%, 9% 26%, 18% 39%, 27% 24%, 36% 40%, 45% 22%, 54% 38%, 63% 24%, 72% 40%, 81% 26%, 90% 38%, 100% 30%, 100% 100%, 0 100%);
}

.about-section::after {
    background: var(--bg-primary);
    clip-path: polygon(0 30%, 10% 50%, 20% 30%, 30% 52%, 40% 28%, 50% 50%, 60% 30%, 70% 52%, 80% 26%, 90% 48%, 100% 32%, 100% 100%, 0 100%);
}

.courses-section::after {
    background: var(--bg-secondary);
    clip-path: polygon(0 44%, 17% 22%, 34% 46%, 51% 24%, 68% 48%, 85% 26%, 100% 40%, 100% 100%, 0 100%);
}

.why-us-section::after {
    background: var(--bg-primary);
    clip-path: polygon(0 35%, 12% 52%, 24% 34%, 36% 58%, 48% 30%, 60% 50%, 72% 32%, 84% 55%, 96% 35%, 100% 43%, 100% 100%, 0 100%);
}

.placements-section::after {
    background: var(--bg-secondary);
    clip-path: polygon(0 30%, 20% 20%, 40% 36%, 60% 16%, 80% 34%, 100% 28%, 100% 100%, 0 100%);
}

.support-section::after {
    background: #f8fbff;
    clip-path: polygon(0 42%, 14% 30%, 28% 44%, 42% 26%, 56% 50%, 70% 28%, 84% 46%, 100% 34%, 100% 100%, 0 100%);
}

.programs-section::after {
    background: #f8fbff;
    clip-path: polygon(0 28%, 10% 40%, 20% 28%, 30% 46%, 40% 32%, 50% 48%, 60% 30%, 70% 42%, 80% 34%, 90% 50%, 100% 28%, 100% 100%, 0 100%);
}

.program-logo-section::after {
    background: var(--bg-primary);
    clip-path: polygon(0 40%, 12% 32%, 24% 42%, 36% 30%, 48% 46%, 60% 28%, 72% 42%, 84% 31%, 96% 48%, 100% 36%, 100% 100%, 0 100%);
}

.gallery-section::after {
    background: var(--bg-secondary);
    clip-path: polygon(0 36%, 15% 20%, 30% 38%, 45% 24%, 60% 42%, 75% 22%, 90% 38%, 100% 30%, 100% 100%, 0 100%);
}

.faq-section::after {
    background: #f8fbff;
    clip-path: polygon(0 24%, 12% 48%, 24% 26%, 36% 52%, 48% 28%, 60% 50%, 72% 24%, 84% 46%, 96% 30%, 100% 44%, 100% 100%, 0 100%);
}

.contact-section::after {
    background: #f8fbff;
    clip-path: polygon(0 30%, 8% 46%, 16% 30%, 24% 48%, 32% 28%, 40% 50%, 48% 26%, 56% 48%, 64% 32%, 72% 50%, 80% 28%, 88% 46%, 96% 30%, 100% 40%, 100% 100%, 0 100%);
}

.map-section::after {
    background: var(--bg-secondary);
    clip-path: polygon(0 40%, 10% 26%, 20% 44%, 30% 28%, 40% 48%, 50% 24%, 60% 46%, 70% 30%, 80% 42%, 90% 22%, 100% 40%, 100% 100%, 0 100%);
}
