@import url('variables.css');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global High-End Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.5px;
    /* Tighter for elegance */
}

h2 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--dark-text), #555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    color: var(--light-text);
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-black {
    background-color: var(--dark-text);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
}

.highlight {
    color: var(--dark-text);
    /* Or specific highlight color if needed */
}

/* Navbar */
.navbar {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--dark-text);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    padding: 10px 0;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 10px;
    /* This creates the gap */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Invisible bridge to handle the gap */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    /* Covers the margin-top gap */
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    padding: 10px 20px;
    display: block;
    text-transform: none;
    /* Keep dropdown items normal case if preferred, or inherit */
    color: var(--dark-text);
    font-weight: 400;
}

.dropdown-content li a:hover {
    background-color: var(--off-white);
    color: var(--primary-color);
    padding-left: 25px;
    /* Subtle slide */
}

.hamburger {
    display: none;
}

/* High-End Split Hero */
.hero.section-split {
    padding: 120px 0 160px;
    /* Extra bottom padding for overlap */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%);
    margin-top: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-xxl);
}

.hero-text-content {
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    /* Specific to split layout */
    font-family: 'Avenir 95 Black', 'Avenir Black', 'Avenir', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
    color: var(--dark-text);
    text-transform: capitalize;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 500px;
    margin-bottom: var(--spacing-xl);
    color: var(--light-text);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--dark-text);
    color: var(--dark-text);
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background: var(--dark-text);
    color: var(--white);
    transform: translateY(-3px);
}

/* Visual Side */
.hero-visual-content {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shape-pill {
    position: absolute;
    border-radius: 200px;
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1), -20px -20px 60px rgba(255, 255, 255, 0.8);
}

.pill-1 {
    width: 240px;
    height: 480px;
    transform: rotate(15deg);
    z-index: 2;
    left: 20%;
    border: 8px solid var(--white);
}

.pill-2 {
    width: 200px;
    height: 400px;
    background-color: var(--secondary-color);
    transform: rotate(15deg);
    z-index: 1;
    left: 55%;
    top: 50px;
    opacity: 0.9;
}

.decorative-circle {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 10%;
    right: 15%;
    z-index: 0;
}

/* Floating Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(15deg);
    }

    50% {
        transform: translateY(-20px) rotate(15deg);
    }

    100% {
        transform: translateY(0px) rotate(15deg);
    }
}

.float-animation-slow {
    animation: float 6s ease-in-out infinite;
}

.float-animation-fast {
    animation: float 4s ease-in-out infinite;
}

.float-animation-medium {
    animation: float 5s ease-in-out infinite;
}

/* Entrance Animations */
.reveal-side {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 1s ease forwards;
}

.reveal-side.delay-200 {
    /* Visual side comes from right */
    transform: translateX(30px);
    animation: slideInRight 1s ease 0.2s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

/* Programs Section */
.programs {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-xxl);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-align: center;
    padding-bottom: var(--spacing-lg);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 200px;
    background-color: #eee;
    margin-bottom: var(--spacing-md);
}

.img-1 {
    background-color: #b3e5fc;
}

.img-2 {
    background-color: #c8e6c9;
}

.img-3 {
    background-color: #ffe0b2;
}

.card-content {
    padding: 0 var(--spacing-lg);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.btn-pill {
    display: inline-block;
    padding: 8px 24px;
    background-color: var(--dark-text);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: var(--spacing-md);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.image-wrapper-circle {
    width: 400px;
    height: 400px;
    position: relative;
    z-index: 1;
}

.circle-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ccc;
    border-radius: 50%;
    background-image: url('../assets/midaas_hero_image.png');
    background-size: cover;
    background-position: center;
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
}

.about-btns {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Stats */
.stats {
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer */
footer {
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    background-color: var(--white);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid #eee;
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-col ul li a {
    color: var(--light-text);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Global High-End Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.5px;
    /* Tighter for elegance */
}

h2 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--dark-text), #555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Updates Section (High-End) */
.updates-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--off-white);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.updates-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.update-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, deep shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.update-card::after {
    /* Shine effect */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.update-card:hover::after {
    left: 100%;
    transition: 0.5s;
}

/* Programs Section (High-End) */
.programs {
    background-color: var(--white);
    position: relative;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    padding-bottom: var(--spacing-lg);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 104, 56, 0.15);
    /* Colored glow */
    border-color: transparent;
}

.card-image {
    height: 220px;
    background-color: #eee;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    position: relative;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.program-card:hover .card-image {
    background-size: 110%;
    /* Zoom effect hack via CSS variable or direct bg manipulation if possible, typically needs inner element */
    /* Since we use inline style for bg image, we can't easily animate background-size smoothly without a pseudo or inner div. 
       Let's assume we target the div directly or its pseudo if we moved the image there. 
       For now, let's keep the lift. */
}

.btn-pill {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 28px;
    transition: all 0.3s ease;
}

.btn-pill:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 104, 56, 0.3);
}


/* Stats Section (High-End Dark) */
.stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d2a 100%);
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.stats-container {
    flex-direction: column;
    gap: var(--spacing-lg);
}

.stats h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.stats p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer (High-End Dark) */
footer {
    padding: 80px 0 40px;
    background-color: #1a1a1a;
    color: #fff;
    margin-top: 0;
}

.footer-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* 4 columns */
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.brand-col p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/* --- Homepage Expansion Styles --- */

/* 1. Trust & Social Proof */
.trust-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
    border-bottom: 1px solid #eee;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
    margin-top: 30px;
}

.trust-logo {
    height: 40px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.trust-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* 2. Benefit Blocks */
.benefits-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--primary-color);
}

/* 3. Three-Step Process */
.process-section {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    gap: 30px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--dark-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px var(--white);
}

/* Connecting line (Desktop only) */
@media (min-width: 768px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 25px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: #eee;
        z-index: 1;
    }
}

/* 4. Meet the Founder */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(to right, #f9f9f9 50%, var(--white) 50%);
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.founder-image {
    flex: 1;
    height: 500px;
    background-color: #ddd;
    /* Placeholder */
    border-radius: var(--radius-lg);
    box-shadow: 20px 20px 0 var(--secondary-color);
    background-size: cover;
    background-position: center;
}

.founder-content {
    flex: 1;
}

.quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .founder-section {
        background: var(--off-white);
    }

    .founder-container {
        flex-direction: column;
    }

    .founder-image {
        width: 100%;
        height: 350px;
    }
}

/* --- RE-DESIGNED SECTIONS --- */

/* 5. Who We Serve (Light Theme - Big Card) */
.serve-section {
    padding: 100px 0;
    background-color: var(--off-white);
    position: relative;
    z-index: 10;
}

.serve-big-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    /* High-end soft shadow */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative touch for the big card */
.serve-big-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.serve-section .section-header h2 {
    color: var(--dark-text);
    background: linear-gradient(90deg, var(--dark-text), #555);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.serve-section .section-header p {
    color: var(--light-text);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.serve-card {
    background: #f8f9fa;
    /* Very light grey */
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #eee;
    height: 100%;
}

.serve-card:hover {
    transform: translateY(-8px);
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.serve-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    display: inline-block;
    filter: none;
    /* Remove drop shadow from dark mode */
}

/* Animated icon on hover */
.serve-card:hover .serve-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.serve-card h3 {
    color: var(--dark-text);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.serve-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 2. Benefit Blocks (Zig-Zag Layout) */
.benefits-section {
    padding: 100px 0;
    background-color: var(--off-white);
    overflow: hidden;
}

.benefits-zigzag {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.benefit-row:nth-child(even) {
    flex-direction: row-reverse;
}

.benefit-visual {
    flex: 1;
    height: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--secondary-color);
    position: relative;
}

.benefit-visual::after {
    /* Decorative shape */
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: 2px solid var(--secondary-color);
    top: 15px;
    left: 15px;
    z-index: -1;
    opacity: 0.3;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

@media (max-width: 768px) {

    .benefit-row,
    .benefit-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .benefit-visual {
        width: 100%;
        height: 250px;
    }
}


/* 3. Our Programs (Immersive Image Overlays) */
.programs {
    padding: 100px 0;
    background-color: var(--white);
}

.program-grid-immersive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.program-card-immersive {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
}

.program-card-immersive:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.program-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.program-card-immersive:hover .program-bg {
    transform: scale(1.05);
}

.program-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    transition: background 0.3s ease;
}

.program-card-immersive:hover .program-overlay {
    background: linear-gradient(to top, rgba(0, 50, 20, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
    /* Green tint on hover */
}

.program-content-inner {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.program-card-immersive:hover .program-content-inner {
    transform: translateY(0);
}

.program-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.program-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
    max-height: 0;
    /* Hide initially */
    overflow: hidden;
}

.program-card-immersive:hover p {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    /* Reveal on hover */
}

.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.program-card-immersive:hover .btn-link {
    opacity: 1;
}

.footer-bottom {
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-chat-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background-color: var(--secondary-color);
    color: var(--dark-text);
}

.floating-chat-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}