:root {
    /* Updated Brand Colors to match "Deep Ocean" Theme */
    --primary-color: #1e3a8a; /* Deep Royal Blue (Matches Vanta Rich Blue) */
    --secondary-color: #172554; /* Dark Navy (Matches Vanta Darkest) */
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --light-bg: #f3f4f6;
    --dark-bg: #111827;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px; /* Adjusted space for compact fixed footer */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

/* Promo Section */
.promo-section {
    background-color: var(--white);
    overflow: hidden;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.promo-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.promo-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.promo-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px; /* Reduced width to prevent excessive height on desktop */
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background-color: #000;
    aspect-ratio: 9/16; /* Force wrapper to be 9:16 */
}

.promo-video {
    width: 100%;
    height: 100%; /* Fill the wrapper */
    display: block;
    object-fit: cover; /* Ensure content covers the area */
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .promo-content {
        order: 1; /* Text first */
        text-align: center;
    }
    
    .promo-video-wrapper {
        order: 2; /* Video second */
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.75rem 1.2rem;
    display: inline-block;
    font-size: 1rem;
    white-space: nowrap;
}

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

/* Hero Section */
.hero {
    /* 
       Professional "Clean" Look
       Light Blue / White gradient fallback.
       Represents freshness, water, and hygiene.
    */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Space for fixed header */
    flex-direction: column;
    justify-content: center;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

/* Hero Marquee Styles */
.hero-marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 0;
    margin-top: auto; /* Push to bottom if using flex column */
}

.hero-marquee-content {
    display: inline-flex;
    animation: scrollHero 40s linear infinite;
}

.hero-marquee-item {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-marquee-item:hover img {
    transform: scale(1.1);
}

@keyframes scrollHero {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-170px * 11)); } /* (150px width + 20px margin) * 11 items */
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
    color: #ffffff; /* White text for Dark Vanta Background */
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    color: #f8fafc; /* Very Light Slate/White for contrast */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px; /* Allow it to be taller */
    object-fit: contain; /* Show full image without cropping */
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); /* Shadow follows the transparent shape */
    /* Removed border and radius for transparent cutout look */
}

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

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        display: none; /* Hide hero image on mobile to save space, or show if essential */
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--white);
}

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

/* Services */
.services {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

/* Gallery / Marquee Section */
.gallery-section {
    background-color: var(--white);
    padding: 4rem 0;
    overflow: hidden; /* Hide overflow for marquee */
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
}

.gallery-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 4)); /* Width + Margin * Number of unique items (4) */
    }
}

/* About Section */
.about-section {
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px; /* Restricted width as requested */
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Unused legacy container - kept or removed? replacing with grid styles above */
/* .contact-container { ... } replaced by .contact-grid usage in HTML */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer (Original - will be overridden by fixed footer below) */
/*
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
}
*/

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #d1d5db;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-image {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .gallery-tab {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}



/* Dynamic Gallery Styles */
.dynamic-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 0.5rem 1.5rem;
    background: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.gallery-tab.active, .gallery-tab:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid.active {
    display: grid;
}

.dynamic-image-card {
    background: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    position: relative;
}

.dynamic-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.dynamic-image-wrapper {
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio by default, overridden by JS or inline style if needed */
    position: relative;
    background: #f0f0f0;
}

.dynamic-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dynamic-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.dynamic-image-card:hover .dynamic-image-overlay {
    opacity: 1;
}

.dynamic-image-title {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Fixed Footer Styles (Compact) */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--primary-color);
    padding: 0.3rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    z-index: 997;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

footer p {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

footer .footer-brand {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.1rem;
    text-transform: uppercase;
}

footer .social-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
}

footer .social-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

footer .copyright {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    font-size: 0.6rem;
    color: #6b7280;
    width: 100%;
}

.footer-lock {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: block;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.footer-lock:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 600px) {
    .footer-lock {
        position: static;
        transform: none;
        margin-bottom: 0.5rem;
    }
    
    .footer-lock:hover {
        transform: scale(1.1);
    }
}

/* Enhanced Modal Styles */
.password-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65); /* Darker, modern slate overlay */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px); /* Frosted glass backdrop */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-modal-overlay.active {
    display: flex;
    opacity: 1;
    animation: overlayFadeIn 0.3s forwards;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.password-modal {
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25), 
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transform: scale(0.9);
    opacity: 0;
}

.password-modal-overlay.active .password-modal {
    animation: modalPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalPopIn {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.password-modal h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    margin-bottom: 0.5rem !important;
    text-align: center;
    letter-spacing: -0.025em;
}

.password-modal p {
    text-align: center;
    color: #64748b !important;
    font-size: 1.1rem;
    margin-bottom: 2rem !important;
    line-height: 1.5;
}

.password-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.password-modal-close:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: rotate(90deg);
}

.password-modal-reset {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s ease;
}

.password-modal-reset:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.1);
}

.password-modal-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #334155;
    text-align: center;
    letter-spacing: 2px;
}

.password-modal-input::placeholder {
    letter-spacing: normal;
    color: #94a3b8;
}

.password-modal-input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.password-modal-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: #fee2e2;
    border-radius: 0.75rem;
    display: none;
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

.password-modal-error.show {
    display: block;
}

.password-modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-modal-btn {
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.password-modal-btn.cancel {
    background-color: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.password-modal-btn.cancel:hover {
    background-color: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

.password-modal-btn.submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.password-modal-btn.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

/* Gallery Grid Specifics */
.gallery-1x1 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.gallery-1x1 .gallery-item {
    aspect-ratio: 1 / 1;
}

.gallery-3x4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.gallery-3x4 .gallery-item {
    aspect-ratio: 3 / 4;
}

.gallery-16x9 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.gallery-16x9 .gallery-item {
    aspect-ratio: 16 / 9;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    color: #fff;
    z-index: 1001;
}

.close-modal:hover {
    opacity: 1;
}

.nav-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* Aspect Label for Gallery Items */
.aspect-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #fff;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .aspect-label {
    opacity: 1;
}

/* Gallery Subsection Styles */
.gallery-subsection {
    margin-bottom: 3rem;
}

.gallery-subsection h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.gallery-subsection h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Recruitment Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    width: max-content;
    animation: carouselScroll 60s linear infinite;
}

.carousel-track img {
    height: 100%;
    width: auto; /* Maintain aspect ratio */
    min-width: 400px; /* Ensure images aren't too thin */
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75); /* Dark blue/slate overlay for text readability */
    z-index: 1;
}

@keyframes carouselScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Recruitment Hero Specifics */
.recruitment-hero .hero-container {
    z-index: 2; /* Ensure text is above carousel */
    justify-content: center !important; /* Force center */
    flex-direction: column;
}

.recruitment-hero .hero-content {
    flex: 0 1 auto !important; /* Don't stretch */
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center !important;
}

.recruitment-hero .hero-content h1,
.recruitment-hero .hero-content p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
