/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffa500;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* EU Funding Banner (white background layout from user) */
.eu-funding-banner {
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    margin-top: 100px; /* Space below fixed navbar */
    position: relative; /* Not sticky */
}

.eu-funding-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.eu-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eu-flag {
    width: 72px;
    height: auto;
    border-radius: 4px;
}

/* Large banner image from edu-school style */
.eu-main {
    max-width: 420px;
    width: 100%;
    height: auto;
    display: block;
}

.eu-text {
    color: #0052a5;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.eu-text strong {
    font-size: 11px;
    color: #0070c0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.eu-text span {
    font-size: 20px;
    font-weight: 800;
    color: #003e7e;
    margin-top: 2px;
}

.gov-logo {
    width: 90px;
    height: auto;
}

.gov-main {
    width: 70px;
    max-width: 90px;
    height: auto;
    display: block;
    object-fit: contain;
}

.eu-funding-bottom {
    text-align: center;
    margin-top: 25px;
}

.project-title {
    font-size: 18px;
    color: #777;
    margin-bottom: 5px;
}

.project-description {
    font-size: 16px;
    color: #777;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.5;
}

/* (removed duplicate small-screen block) */

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link { text-decoration: none; color: var(--text-color); font-weight: 600; padding: 8px 6px; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.nav-link::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.25s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.mobile-menu-toggle .bar { width: 28px; height: 3px; background: var(--secondary-color); display: block; border-radius: 2px; margin: 5px 0; transition: transform 0.25s ease, opacity 0.25s ease; }

/* Burger menu animation when active */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Desktop: show inline menu */
@media (min-width: 769px) {
    .mobile-menu-toggle { display: none; }
    .nav-menu { display: flex !important; position: static; background: transparent; padding: 0; box-shadow: none; }
}

/* Mobile styles: toggle and fixed dropdown */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.75rem 0;
    }

    .logo {
        height: 55px;
    }

    .mobile-menu-toggle { display: flex; flex-direction: column; align-items: center; gap: 0; }
    .nav-menu { display: none; }
    .nav-menu.active { display: flex; }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .nav-menu .nav-link { 
        padding: 14px 20px; 
        font-size: 1.05rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link::after {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('WhatsApp Image 2026-02-06 at 12.43.06 (2).jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-height: 260px;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.25rem;
    margin: 0.4rem 0 0.6rem 0;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0 0.5rem;
}

.service-divider {
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    margin: 0.8rem auto;
}

/* Service CTA button */
.service-cta {
    display: inline-block;
    margin-top: auto;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(255,165,0,0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.service-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    opacity: 0.98;
}

/* Make CTA smaller on mobile */
@media (max-width: 480px) {
    .service-cta {
        padding: 0.45rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Gallery Section */
.gallery {
    background: var(--white);
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-video-container {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: var(--bg-light);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 165, 0, 0.95);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
}

.gallery-video {
    cursor: default;
}

.gallery-video:hover .video-label {
    opacity: 0;
}

.gallery-video:hover img {
    transform: none;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.75rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 165, 0, 0.9);
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

/* Contact actions (buttons) */
.contact-actions {
    margin-top: 0.4rem;
}

.contact-actions .btn {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.btn.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.contact-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .contact-map iframe {
        height: 220px;
    }
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.eu-funding-text {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.eu-funding-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.eu-funding-text p:last-child {
    margin-bottom: 0;
}

.eu-funding-text strong {
    color: var(--white);
    font-weight: 600;
}

.eu-funding-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.eu-funding-text a:hover {
    text-decoration: underline;
    color: #ffb733;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .eu-funding-banner {
        padding: 12px 16px;
    }

    .eu-funding-top {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }

    .eu-flag {
        width: 70px;
    }

    .gov-logo {
        width: 80px;
    }

    .eu-text strong {
        font-size: 13px;
    }

    .eu-text span {
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

   

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-main-image {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-video-container {
        max-width: 100%;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .eu-main { max-width: 300px; }
    .gov-main { width: 60px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-description { font-size: 0.95rem; }

    .gallery-images {
        grid-template-columns: 1fr;
    }

    /* Final consolidated mobile header rules: EU left, gov right, middle text truncated */
    .eu-funding-banner {
        margin-top: 70px; /* adjusted for mobile navbar height */
        padding: 6px 6px !important;
    }

    .eu-funding-top {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 0 6px !important;
        flex-wrap: nowrap !important;
    }

    .eu-left {
        align-items: center !important;
        gap: 8px !important;
        min-width: 0;
        flex: 1 1 auto;
    }

    .eu-flag { width: 34px !important; height: auto !important; flex: 0 0 auto; }

    .eu-text {
        display: flex !important;
        flex-direction: column !important;
        font-size: 12px !important;
        color: #0052a5 !important;
        margin-left: 6px !important;
        max-width: calc(100% - 88px) !important;
    }

    .eu-text strong { font-size: 11px; font-weight: 700; color: #0052a5; display: block; }
    .eu-text span { font-size: 13px; font-weight: 700; color: #0052a5; display: block; }

    .eu-right { flex: 0 0 auto; }
    .gov-logo { width: 34px !important; height: auto !important; }

    .eu-funding-bottom { display: none !important; }
}

@media (max-width: 480px) {
    .eu-main { max-width: 180px; }
    .gov-main { width: 34px; }
    
    .logo {
        height: 45px;
    }
    
    .nav-content {
        padding: 0.6rem 0;
    }
    
    .mobile-menu-toggle .bar {
        width: 25px;
    }
}
/* Removed stray characters */