/* Reset and Base Styles */
:root {
    /* Premium Palette */
    --primary-green: #006a4e; /* Bangladesh Green */
    --primary-red: #f42a41;   /* Bangladesh Red */
    --deep-green: #004d38;    /* Darker, richer green */
    --deep-red: #c91e32;      /* Darker, richer red */
    
    --accent-gold: #D4AF37;   /* Metallic Gold for elegance */
    --text-dark: #2c3e50;     /* Charcoal, softer than pure black */
    --text-light: #ecf0f1;    /* Off-white */
    --text-muted: #7f8c8d;    /* Grey for secondary text */
    
    --bg-light: #f9f9f9;      /* Very light grey for backgrounds */
    --bg-white: #ffffff;
    
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0; /* More breathing room for elegance */
}

.section-title {
    text-align: center;
    font-size: 3.2rem; /* Larger title */
    margin-bottom: 80px;
    color: var(--primary-green);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px; /* Shorter line */
    height: 3px; /* Thinner line */
    background: var(--primary-red);
    margin: 25px auto 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.section-title:hover::after {
    width: 120px;
}

/* Global Background Pattern */
body {
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Section Styles */
.section-vision {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); /* Soft Green */
    position: relative;
    z-index: 1;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    padding: 150px 0; /* Adjust padding for clip-path */
    margin-top: -50px; /* Overlap previous section */
}

/* Add small geometric accent with image to Vision Section */
.section-vision::after {
    content: '';
    display: block; /* Ensure it's displayed */
    position: absolute;
    bottom: 20px;
    right: 5%;
    width: 40px;
    height: 40px;
    background: url('../images/gapotaka.webp') center/cover no-repeat;
    transform: rotate(15deg);
    opacity: 0.8;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.section-vision::before { display: none; }

.section-videos {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%); /* Soft Pink/Red */
    position: relative;
    z-index: 2; /* Layer on top */
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    padding: 150px 0;
    margin-top: -50px;
}

/* Add small geometric accent with image to Videos Section */
.section-videos::after {
    content: '';
    display: block;
    position: absolute;
    top: 40px;
    left: 5%;
    width: 30px;
    height: 30px;
    background: url('../images/gapotaka.webp') center/cover no-repeat;
    transform: rotate(-10deg);
    opacity: 0.8;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.section-videos::before { display: none; }

.section-contact {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); /* Another soft green variation */
    position: relative;
    z-index: 1;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    padding-top: 150px;
    margin-top: -50px;
}

.section-contact::before { display: none; }

/* Section Title Geometric Decor */
.section-title::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Diamond shape */
    width: 25px;
    height: 25px;
    background: url('../images/gapotaka.webp') center/cover no-repeat; /* Fill with gapotaka.webp */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Add shadow for depth */
    opacity: 1; /* Remove transparency so image is visible */
    z-index: 1; /* Bring to front if needed */
    border: 2px solid white; /* Optional: Add border to make it pop */
}

.text-green { color: var(--primary-green); }
.text-red { color: var(--primary-red); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.btn-green {
    background-color: var(--primary-green);
    color: white;
    background-image: linear-gradient(to right, var(--primary-green), var(--deep-green));
}

.btn-green:hover {
    transform: translateY(-3px);
    background-color: var(--primary-red);
    background-image: linear-gradient(to right, var(--primary-red), var(--deep-red));
    box-shadow: 0 10px 25px rgba(244, 42, 65, 0.4);
}

.btn-red {
    background-color: var(--primary-red);
    color: white;
    background-image: linear-gradient(to right, var(--primary-red), var(--deep-red));
}

.btn-red:hover {
    transform: translateY(-3px);
    background-color: var(--primary-green);
    background-image: linear-gradient(to right, var(--primary-green), var(--deep-green));
    box-shadow: 0 10px 25px rgba(0, 106, 78, 0.4);
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Slightly taller for elegance */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ripple Effect */
.preloader-content::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 106, 78, 0.1); /* Greenish ripple */
    border-radius: 50%;
    animation: ripple 2s infinite ease-out;
    z-index: -1;
}

.preloader-content::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(244, 42, 65, 0.1); /* Reddish ripple delay */
    border-radius: 50%;
    animation: ripple 2s infinite ease-out 1s;
    z-index: -1;
}

#preloader img {
    width: 150px; /* Bigger size */
    height: auto;
    animation: breathe 2s infinite ease-in-out;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

@keyframes breathe {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Hero Section */
.hero {
    margin-top: 90px;
    position: relative;
    height: 700px; /* Adjust height as needed */
    overflow: hidden;
    background: white; /* White background */
    color: white;
}

/* Slicing Animation Styles */
.slice {
    position: absolute;
    top: 0;
    height: 100%;
    width: 33.5%; /* Slight overlap to prevent gaps */
    background-image: url('../images/NationalFlag.gif');
    background-size: 300% 100%; /* Scale width to cover full hero width across 3 slices */
    background-repeat: no-repeat;
    z-index: 0;
    visibility: hidden; /* Hidden initially, GSAP will handle visibility */
}

.slice-left {
    background-position: left center;
    left: 0;
}

.slice-center {
    background-position: center center;
    left: 33.33%;
}

.slice-right {
    background-position: right center;
    left: 66.66%;
}

/* Ensure content is hidden initially for GSAP */
.hero-content {
    opacity: 0;
    position: relative;
    z-index: 2;
}

/* Geometric Overlay for Hero */
.hero {
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    padding-bottom: 0; /* Remove extra padding */
}

.hero::after { display: none; }


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0, 106, 78, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-figure {
    flex: 1.1; /* Slightly wider */
    display: flex;
    justify-content: flex-start; /* Align figure to the left */
    align-items: flex-end;
    height: 100%;
    padding-left: 20px;
    padding-right: 0;
    margin-bottom: 0;
}

.hero-figure img {
    max-height: 100%; /* Allow full height */
    width: auto;
    max-width: 120%; /* Allow it to be wider */
    object-fit: contain;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.5));
}

.hero-text {
    flex: 1;
    padding-right: 20px;
    padding-left: 0;
    text-align: left;
    padding-bottom: 30px;
}

.hero-text {
    flex: 1.2;
    padding-right: 20px;
    text-align: left;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 35px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    letter-spacing: 0.5px;
}

/* Animation Keyframes */
/* Removed float animation */

/* Tablet & Small Desktop Responsive */
@media (max-width: 1024px) {
    .navbar .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        visibility: hidden; /* Controlled by GSAP */
        opacity: 0;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0; /* For stagger animation */
        transform: translateY(20px);
    }

    .nav-links a {
        font-size: 1.5rem; /* Larger font for mobile */
        font-weight: 700;
        color: var(--text-dark);
    }
    
    .hamburger {
        display: block;
        z-index: 1000; /* Above the menu */
        position: relative;
    }

    .hero-text h1 { font-size: 3rem; }
    
    .container {
        padding: 0 30px;
    }

    /* Force Mobile Layout on Tablet */
    .hero {
        height: auto;
        min-height: auto;
        background-position: center center;
        padding-top: 80px;
        padding-bottom: 0; /* Bottom align fix */
        overflow: hidden;
    }
    .hero-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch; /* Full height stretch */
        text-align: left;
        padding-bottom: 0;
    }
    .hero-figure {
        flex: 0 0 45%;
        max-width: 45%;
        justify-content: center;
        padding-left: 0;
        padding-right: 10px;
        height: auto;
        max-height: 50vh;
        margin-top: 0;
        margin-bottom: 0;
        display: flex;
        align-items: flex-end; /* Force image to bottom */
    }
    .hero-figure img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        object-fit: contain;
    }
    .hero-text {
        flex: 1;
        padding-right: 0;
        padding-left: 15px; /* More breathing room on tablet */
        text-align: left;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text vertically */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Reduced padding for mobile */
    }
    
    .hero-figure {
        flex: 0 0 35%; /* Reduced width to give text more space */
        max-width: 35%;
        justify-content: flex-start; /* Left most */
        max-height: 40vh; /* Reduced height */
        margin-bottom: 0; /* Reset margin */
    }

    .hero-text {
        padding-left: 10px;
    }

    .hero-text h1 { 
        font-size: 1.5rem; /* Slightly larger for readability */
        margin-bottom: 10px;
        line-height: 1.2;
    }
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons to save width */
        gap: 8px;
        align-items: flex-start;
    }
    .hero-buttons .btn { 
        margin-left: 0 !important;
        padding: 8px 20px; /* Compact buttons */
        font-size: 0.8rem;
    }

    /* Maintain geometric shapes for mobile but adjust for smaller screens */
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); /* Slightly less steep for mobile */
        padding-bottom: 50px; /* Add padding back */
    }

    .section-vision, .section-videos, .section-contact {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); /* Less steep angles */
        padding: 100px 0; /* Restore padding */
        margin-top: -30px; /* Restore overlap but smaller */
    }

    /* About Section Mobile Fix */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        min-height: 300px;
        width: 100%;
    }
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: stretch; /* Stretch to equal height */
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 400px; /* Fixed minimum height */
    position: relative; /* For absolute positioning of image if needed */
}

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

.about-placeholder {
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.about-image:hover {
    transform: scale(1.02);
}

/* Vision Section */
.vision-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Cards */
.card {
    flex: 1;
    background: white;
    padding: 50px 30px; /* Increased padding */
    border-radius: 20px 0 20px 0; /* Geometric shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Very subtle shadow */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03); /* Subtle border */
    min-width: 280px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-green), var(--primary-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-15px) rotate(1deg); /* Slight rotation */
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.card i {
    font-size: 3.5rem; /* Larger icon */
    margin-bottom: 30px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.card:hover i {
    transform: scale(1.1);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.icon-green { color: var(--primary-green); }
.icon-red { color: var(--primary-red); }

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Increased gap */
}

.gallery-item {
    height: 280px; /* Taller items */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Default shadow */
}

.gallery-placeholder {
    background-color: #f0f2f5;
    border: 2px dashed #d1d5db;
}

.gallery-placeholder i {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.gallery-placeholder:hover i {
    color: var(--primary-green);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Video Gallery Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-green);
    font-weight: 700;
}

.video-info .date {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Section */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Utilities */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* Events Section */
.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.event-date-header {
    background: var(--primary-green);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-date-header.completed {
    background: var(--primary-red);
}

.event-date-header .date-large {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.event-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-content h3 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.event-meta {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: white;
    color: var(--primary-green);
}

.badge.completed {
    background: #eee;
    color: #777;
}

/* Footer */
footer {
    background-color: #1a252f; /* Deep charcoal */
    color: var(--text-light);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--accent-gold);
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Page Header for Inner Pages */
.page-header {
    background-color: var(--primary-green) !important;
    background-image: linear-gradient(135deg, var(--primary-green) 0%, var(--deep-green) 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    margin-top: 90px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
}

/* Google Translate Styling */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid #ddd !important;
    padding: 5px 10px !important;
    border-radius: 4px;
    font-family: 'Lato', sans-serif !important;
    transition: all 0.3s ease;
}

.goog-te-gadget-simple:hover {
    border-color: var(--primary-green) !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: #333 !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: #333 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

/* Hide Google Branding */
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

/* Language Toggle Button */
#lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid var(--primary-red);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#lang-toggle-btn:hover {
    background-color: var(--primary-red);
    color: white !important;
}

#lang-toggle-btn i {
    font-size: 1.1rem;
}

/* Lenis Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Hide original Google Translate widget */
.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0 !important;
}

/* Completely hide Google Translate top frame */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
    position: static !important;
}

/* Google Translate Robust Fixes */
iframe.goog-te-banner-frame {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important; 
    position: static !important; 
    margin-top: 0 !important;
}

html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
