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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0d0c8;
}

nav {
    background-color: rgba(100, 100, 100, 0.56);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.language-select {
    position: relative;
    margin-left: 20px;
    display: inline-block;
}

.language-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 6px 30px 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.language-select::after {
    content: '▼';
    font-size: 8px;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.language-select select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.language-select select option {
    background: #2a2a2a;
    color: white;
    font-size: 14px;
}

.logo {
    font-weight: bold;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-select {
    position: relative;
    margin-left: 15px;
    display: inline-block;
}

.language-select select {
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 25px 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.language-select::after {
    content: '▼';
    font-size: 10px;
    color: white;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.language-select select:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-select select option {
    background: #4a4a4a;
    color: white;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
    padding-top: 104px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    z-index: 0;
}

.hero h1 {
    /* Font Style */
    font-family: 'Roboto Mono', monospace;
    /* Bold (Regular) */
    font-weight: 400;
    /* Size */
    font-size: 120px;
    /* Line height */
    line-height: 110%;
    /* Letter spacing (-3%) */
    letter-spacing: -0.03em;
    /* Italics (implied False) */
    font-style: normal;
}

.hero p {
    font-size: 1.2em;
    /* Font Style */
    font-family: 'Roboto Mono', monospace;
    /* Bold (Regular) */
    font-weight: 400;
    /* Line height */
    line-height: 140%;
    /* Letter spacing (-3%) */
    letter-spacing: -0.03em;
    /* Italics (implied False) */
    font-style: normal;
}

.cards-container {
    padding: 80px 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #5fc3c9 0%, #4a9fa5 100%);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    background: linear-gradient(135deg, #f5c6e8 0%, #e8b5d8 100%);
    border-radius: 15px;
    height: 200px;
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
}

.card-title {
    color: white;
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 300;
}

.card-description {
    color: rgba(255,255,255,0.9);
    font-size: 0.95em;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 1000;
}

.overlay.active {
    background: rgba(0,0,0,0.8);
    opacity: 1;
    pointer-events: all;
}

.overlay-content {
    background: linear-gradient(135deg, #5fc3c9 0%, #4a9fa5 100%);
    border-radius: 30px;
    padding: 50px;
    max-width: 1200px;
    width: 90%;
    display: flex;
    gap: 40px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    position: relative;
}

.overlay.active .overlay-content {
    transform: scale(1);
}

/* 🔑 MODIFIED: Setting carousel container properties */
/* ... (existing CSS) ... */

.overlay-image-carousel {
    /* Retain original layout properties */
    background: linear-gradient(135deg, #f5c6e8 0%, #e8b5d8 100%);
    border-radius: 20px;
    width: 45%;
    min-height: 400px; /* Or a fixed height, depending on your design */
    
    position: relative; /* Essential for positioning the nav buttons */
    overflow-x: hidden; /* Hide the scrollbar */
    overflow-y: hidden;
    white-space: nowrap; /* Keep images in a single line */
}

.image-wrapper {
    display: flex;
    /* 🔑 FIX: Ensure wrapper takes full height of its parent (the carousel) */
    height: 100%; 
    /* Important for smooth scrolling with JS */
    scroll-behavior: smooth; /* Make smooth scrolling work */
}




.image-wrapper img {
    /* 🔑 FIX: Make images fill the height and width of the carousel view */
    height: 100%; 
    width: 100%; /* Each image takes the full width of the viewable area */
    flex-shrink: 0; /* Prevent images from shrinking */
    object-fit: cover; /* Crop images to cover the area without stretching */
}

/* Navigation Button Styles - No changes needed here, they are fine */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-right: 10px;
    padding-left: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 0;
}



.nav-btn:hover {
    color: #000;
}

.nav-btn.prev {
    left: 40px;
}

.nav-btn.next {
    left: 512px;
}

/* ... (rest of your CSS) ... */

.overlay-text {
    flex: 1;
    color: white;
}

.overlay-text h2 {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 30px;
}

.overlay-text h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 400;
}

.overlay-text p {
    font-size: 1.1em;
    line-height: 1.6;
    font-weight: 300;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5em;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

footer {
    background-color: #4a4a4a;
    color: white;
    padding: 30px 50px;
}

footer p {
    margin: 5px 0;
    font-size: 0.9em;
}