/* Divider marquee between hero and about */
.divider-marquee {
    width: 100%;
    height: 60px;
    background: #328079; /* green */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center; /* vertical center */
}

.divider-track {
    display: flex;
    width: max-content;
    color: #fff;
    font-weight: 700;
    font-size: 1.6rem; /* larger text */
    letter-spacing: 2px;
    animation: marquee 14s linear infinite;
    line-height: 60px; /* match bar height for perfect vertical center */
    flex-wrap: nowrap; /* force single line */
}

.divider-seq { 
    display: inline-flex; 
}

.divider-seq span {
    margin-right: 2rem;
    white-space: nowrap; /* prevent wrapping per item */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* move exactly one sequence width */
}
/* Background image for About section */
.about {
    background: url('../img/bg2.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.about .container,
.about-content,
.about-text {
    position: relative;
    z-index: 1;
}

.about .section-title,
.about .about-description {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Gotham, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    text-transform: uppercase;
}

/* Hide website content during video opening */
body.video-loading {
    overflow: hidden;
}

body.video-loading > *:not(#videoOpening) {
    visibility: hidden;
    opacity: 0;
}

/* Video Opening Screen */
.video-opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #328079;
    z-index: 10000;
    opacity: 1;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    border: none;
    outline: none;
}

.video-opening.hidden {
    opacity: 0;
    visibility: hidden;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 600px;
    aspect-ratio: 16/9;
    border-radius: 0;
    overflow: hidden;
    background: #328079;
    border: none;
    outline: none;
    box-shadow: none;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
    background: #328079;
    display: block;
}

.video-overlay {
    display: none;
}


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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: Gotham, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2E7D76; /* primary green */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    font-family: Gotham, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* increase spacing between nav links */
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 0; /* merged into nav-menu, spacing handled by gap */
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-option.active {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.parallax-bg {
    width: 100%;
    height: 120%;
    background: url('../img/banner.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 1400px;
    padding: 0 5vw; /* allow text to span wider to the edges */
}

.hero-title {
    font-size: 7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 2.5rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: white;
    color: #2E7D76;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background: url('../img/bg2.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; /* vertical center */
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
   
}

.about-description {
    font-size: 2rem;
    line-height: 2.0;
    margin-bottom: 2.5rem;
    color: #111;
    text-transform: uppercase; /* force caps as requested */
    letter-spacing: 1.5px;
}

.vision-mission {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vm-item h3 {
    color: #2E7D76;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.vm-item p {
    color: #666;
    line-height: 1.6;
}

.vm-item ul {
    list-style: none;
    padding-left: 0;
}

.vm-item li {
    color: #666;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.vm-item li::before {
    content: '•';
    color: #2E7D76;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-image { display: none; }

.about-centered {
    max-width: 800px;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-content {
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Vision & Mission Section */
.vision-mission-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.parallax-bg-vision {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2E7D76;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 125, 118, 0.85); /* green overlay to match theme */
    z-index: -1;
}

.vision-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.vision-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.vision-card, .mission-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-card h3, .mission-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-card p, .mission-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 20px;
}

.mission-card li::before {
    content: '→';
    color: white;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 27, 42, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(13, 27, 42, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #2E7D76, #3C8F88);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    color: #2E7D76;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: white;
}

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

.team-member {
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid #2E7D76;
    transition: all 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.3);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2E7D76, #3C8F88);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.team-member h3 {
    color: #2E7D76;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    color: #666;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #2E7D76;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-title {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: #2E7D76;
    transform: translateY(-2px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #2E7D76;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    border-radius: 15px;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-media {
        justify-content: center;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .language-menu {
        position: fixed;
        top: 70px;
        right: 20px;
        left: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .vision-card,
    .mission-card {
        padding: 1.5rem;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2E7D76;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2B6B65; /* secondary green */
}

/* Text transform exceptions */
.about-description,
.vm-item p,
.vm-item li,
.service-card p,
.team-member p,
.contact-description,
.contact-item p,
.footer p {
    text-transform: none;
}

/* Keep uppercase for specific elements */
.hero-title,
.hero-subtitle,
.hero-description,
.section-title,
.nav-link,
.cta-button,
.submit-btn,
.social-link {
    text-transform: uppercase;
}
