﻿* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

header {
    background-color: #E0EFFE;
    color: black;
}

    header .container {
        margin: 0 auto;
        display: flex;
        /*justify-content: space-evenly;*/
        align-items: center;
        width:80%;
        padding-top:2%;
        padding-bottom:2%;
    }

    header .title {
        text-align: center;
        font-size: 1.5rem;
        font-family: "Asap Condensed", sans-serif;
        font-weight:500;
        line-height: 1.3;
        width: 65%;
    }

    header .img1 {
        width: 20%;
        
    }

main {
    width: 80%;
    margin: 30px auto;
}

.slider-container {
    position: relative;
    width: 91vw;
    height: 100vh;
    right: 83px;
    overflow: hidden;
    margin: 20px auto;
    border-radius: 20px;
}

.btn_Submit {
    padding: 5px 10px;
    border-radius: 4px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    width: 100vw;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.prev {
    left: 10px;
    height:60px;
    width:60px;
}

.next {
    right: 10px;
    height: 60px;
    width: 60px;
}

section {
    margin: 50px 0;
}

#services {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 350px;
    display: flex;
    flex-direction: column;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .service-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.ser-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin: 15px 20px;
    flex-grow: 0;
}

.service-card p {
    font-size: smaller;
    color: #666;
    margin: 0 20px 20px;
    flex-grow: 1;
    overflow: hidden;
}

a {
    text-decoration: none;
}


.cards-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 85px;
}

.card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-img-container {
    max-width: 381px;
    max-height: 280px;
}

.school-card-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pro-content-descr {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

.two-img-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #f4f4f9;
}

.temp-container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.img-container1, .img-container2 {
    flex: 1;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-card-img {
    width: 100%;
    height: 228px;
    max-width: 391px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*.subnv-title {
    flex: 2;
    text-align: center;
}

    .subnv-title{
        font-size: 2rem;
        font-weight: 600;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 10px;
    }*/

.desc {
    text-align: center;
}

.img-content-descr {
    margin-top: 20px;
}

.img-content-descr {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-top: 10px;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
}

.banner-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #007bff, #003366);
    color: #fff;
    min-height: 350px;
    text-align: center;
}

.banner-container {
    width: 100%;
    max-width: 1200px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.banner-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.banner-img-container {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
}

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.banner-content {
    padding: 20px 0;
}

.banner-content-descr {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f1f1f1;
    font-family: 'Arial', sans-serif;
}

.banner-img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}


footer {
    background-color: #c19dbe7a;
    color: red;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

    footer p {
        font-size: 1em;
    }

/* Responsive Design */
@media (max-width: 1200px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .slider-container {
        width: 100%;
        height: 50vh;
        margin-left: 90px;
    }

    .services {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .section-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        width: 90%;
    }

    header .img1 {
        height: 110px;
        width: 200px;
        margin-right: 62px;
    }

    header h1 {
        font-size: 1.5em;
        margin-top: 73px;
    }

    header .title {
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #333;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-align: center;
        margin-bottom: 31px;
    }

    .slider-container {
        width: 100%;
        height: 60vh;
        margin-left: 82px;
    }

        .slider-container button {
            visibility: hidden;
        }

    .services {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 3px;
    }

    .nav-links .subnav li {
        display: block;
        margin-right: 200px;
        right: 86px;
    }

    .mobile-menu {
        display: flex;
        height: 20px;
        margin-top: -9px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .product-img-container {
        max-width: 100%;
    }

    .school-card-img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .slider-container {
        width: 100%;
        height: 40vh;
        margin-left: 83px;
    }

        .slider-container button {
            visibility: hidden;
        }

    .service-card img {
        width: 100%;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-img-container {
        width: 90%;
    }
}


.navbar {
    background-color: #7CC6FD;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: "Asap Condensed", sans-serif;
    /*border-radius: 8px;*/
    position: relative;
    z-index: 10;
}


.navbar-container{

    margin:0 auto;
    width:80%;
    justify-content:center;
}

.nav-links ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    margin-right: 3px;
    position: relative;
    left: 2px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-links li:hover > a {
    transform: scale(1.05);
    color:midnightblue;
}

.nav-links .subnav {
    display: none;
    position: absolute;
    background-color: white;
    list-style-type: none;
    padding: 10px 0;
    margin-top: 5px;
    border-radius: 5px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    width: 220px;
    z-index: 9999;
}

.nav-links li:hover .subnav {
    display: block;
}

.nav-links .subnav li {
    display: block;
    
}

    .nav-links .subnav li a {
        color: black;
        padding: 10px 30px;
        text-decoration: none;
        font-size: 15px;
        transition: background-color 0.3s ease;
    }

        .nav-links .subnav li a:hover {
            background-color: #E0EFFE;
            border-radius: 4px;
        }

.mobile-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    width: 30px;
    height: 30px;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 20;
}

    .mobile-menu .bar {
        width: 25px;
        height: 4px;
        background-color: white;
        border-radius: 2px;
    }

/* Responsive Layout */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #6edbdb;
        z-index: 9;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
            margin: 10px 0;
        }

            .nav-links li a {
                padding: 15px;
                width: 100%;
                border-bottom: 1px solid #444;
            }

            .nav-links li:last-child a {
                border-bottom: none;
            }

            .nav-links li.active > .subnav {
                display: block;
            }

            .nav-links li.active > a {
                background-color: #9ae3d2;
                transform: scale(1.05);
            }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 14px;
        padding: 12px;
    }
}
