/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFC107; /* Light Amber */
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Logo */
.logo img {
    height: 50px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.nav-links a:hover {
    color: white;
}

/* Language Switcher */
.language-switcher {
    font-size: 14px;
    cursor: pointer;
}

.language-switcher .lang-option {
    padding: 5px;
}

.language-switcher .active {
    font-weight: bold;
    text-decoration: underline;
}

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

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

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #FFC107;
    }

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

    .nav-links li {
        text-align: center;
        padding: 10px;
    }
}
/* Sections */
.section {
    height: 100vh; /* Makes each section full height of viewport */
    padding: 50px;
    text-align: center;
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

/* Extra space at the bottom for scrolling */
.spacer {
    height: 300px;
}

/* Hero Section */

.hero-content h1, 
.hero-content p, 
.hero-content .btn {
    opacity: 0; /* Ensures text is hidden before animation */
}

#hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full-screen height */
    background: url("../assets/images/top-sec.jpeg") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Dark overlay to improve text readability */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    transform: translateY(20%); /* Moves text slightly down */
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: #FFC107; /* Light Amber */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}


/* CTA Button */
.btn {
    display: inline-block;
    background: #FFC107;
    color: black;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}


/* About Us Section */
.about-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef); /* Subtle gradient */
    padding: 100px 0;
    display: flex;
    justify-content: center;
}

.about-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 90%;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.about-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.about-text strong {
    color: #FFC107;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

    .about-image img {
        max-width: 100%;
        margin-top: 20px;
    }
}


/* ===== Updated School Section Circles ===== */
/* ===== Updated School Section Circles (Aligned) ===== */
.school-section {
    padding: 100px 20px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    gap: 40px;
}

.school-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.school-text {
    flex: 1;
}

.school-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.school-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.school-details-circles {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 40px;
    align-items: flex-end; /* This ensures circles align vertically at bottom */
}

.detail-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
}

.circle-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    min-height: 40px; /* This sets a fixed height, ensuring alignment */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.detail-circle {
    background-color: #FFC107;
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    padding: 10px;
}

.detail-circle:hover {
    transform: translateY(-5px);
}

/* Button Adjustments */
.school-btn {
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .school-container {
        flex-direction: column;
        text-align: center;
    }

    .school-image img {
        max-width: 80%;
        margin-bottom: 30px;
    }

    .school-details-circles {
        flex-wrap: wrap;
        justify-content: center;
    }

    .detail-circle-container {
        width: 45%; /* two per row */
        margin-bottom: 20px;
    }
}





/* 🎥 Team Section */
.team-section {
    position: relative;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: white;
}

/* 🎬 Video Background */
.team-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 🎥 Video Styling */
.team-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%); /* Keep video clear but slightly darker */
}

/* 🔥 Subtle Gradient Overlay */
.team-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)); 
    z-index: 0;
}

/* 📝 Text Styling */
.team-overlay {
    position: absolute;
    bottom: 15%;
    width: 80%;
    max-width: 900px;
    text-align: center;
    z-index: 2;
}

.team-overlay h2 {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #FFC107; /* Gold Accent */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Shadow for readability */
}

.team-overlay p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Light shadow for readability */
    margin-bottom: 10px;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .team-section {
        height: 60vh;
    }
    .team-overlay {
        width: 90%;
        bottom: 10%;
    }
    .team-overlay h2 {
        font-size: 26px;
    }
    .team-overlay p {
        font-size: 14px;
    }
}




/* 🎯 Services Section */
#services {
    scroll-margin-top: 80px; /* Adjust this value as needed */
}

.services-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
}

/* 🔹 Consistent Section Title Styling */
.services-section h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 📦 Services Container - Adjusted for better alignment */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ✅ Centers boxes neatly */
    gap: 20px; /* ✅ Slightly reduced for tighter appearance */
    max-width: 1200px;
    margin: auto;
}

/* 📦 Service Box */
.service-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 23%; /* ✅ Flexible width, ensuring 4 per row */
    min-width: 220px;
    max-width: 280px; /* ✅ Prevent boxes from stretching too much */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.service-box:hover {
    transform: translateY(-5px);
    background: #ffcc57; /* Slightly darker amber */
}

/* 🏆 Service Icon */
.service-icon {
    width: 75px;
    height: 75px;
    background: #FFC107;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.service-icon i {
    font-size: 50px;
}

/* 🏷 Service Titles */
.service-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

/* 📝 Service Descriptions */
.service-box p {
    font-size: 15px;
    color: #555;
}

/* 📞 Call Us Button */
.services-button {
    margin-top: 50px;
}

.services-button .btn {
    background: #FFC107;
    color: white;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
}

.services-button .btn:hover {
    background: #ffa000;
    transform: scale(1.05);
}

/* 📱 Responsive Adjustments */
@media (max-width: 1024px) {
    .service-box {
        flex: 1 1 45%; /* 2 boxes per row on tablets */
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    .service-box {
        width: 90%; /* Full width for mobile screens */
        max-width: none;
    }
}



/* 🎨 Gallery Section */
.gallery-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
}

/* 🖼️ Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

/* 🖼️ Gallery Images */
.gallery-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

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

/* 🔍 Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* ✉️ Contact Section */
.contact-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
}

.contact-section h2 {
    margin-bottom: 30px;
    font-size: 32px;
}






/* ✉️ Contact Section */
.contact-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    font-family: "Poppins", sans-serif; /* Ensure font consistency */
}

.contact-section h2 {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
}

/* 📦 Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

/* 📞 Contact Box */
.contact-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px; /* Increased width */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    line-height: 1.8; /* Increased line spacing */
}

.contact-box:hover {
    transform: translateY(-5px);
    background: #ffe082; /* Light Amber on hover */
}

/* ✉️ Contact Section */
.contact-section {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
    font-family: "Poppins", sans-serif;
}

.contact-section h2 {
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 600;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px; /* Increased spacing under "Turite klausimų?" */
}

/* 📦 Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap; /* Keep boxes in one row */
    max-width: 1000px;
    margin: auto;
}

/* 📞 Contact Box */
.contact-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px; /* Adjusted to fit all content */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    line-height: 1.8;
}

.contact-box:hover {
    transform: translateY(-5px);
    background: #ffe082;
}







/* 🏆 Contact Icon */
.contact-icon {
    width: 70px;
    height: 70px;
    background: #FFC107;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px auto;
}

.contact-icon i {
    font-size: 32px;
}

/* 📞 Contact Links */
.contact-box a {
    color: #333;
    font-weight: bold;
    text-decoration: none;
    display: block;
    word-wrap: break-word;
}

.contact-box a:hover {
    color: #FFC107;
}

/* 📜 Footer */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}

/* 📱 Responsive (Only stack on smaller screens) */
@media (max-width: 1024px) {
    .contact-container {
        flex-wrap: wrap;
    }
    .contact-box {
        width: 45%; /* Two per row */
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-box {
        width: 90%; /* Full width */
    }
}
