body {
    scroll-behavior: smooth;
}

header.hero {
    background: url('img/Aviotrax-Banner3.jpg') center no-repeat;
    background-size: cover;
    color: #ffffff;
    position: relative;
    height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}

    header.hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1;
    }

    header.hero .content {
        position: relative;
        z-index: 2;
    }

.topbar {
    background: #1f2937;
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .topbar .left-info i {
        margin-right: 0.5rem;
    }

    .topbar .left-info a,
    .topbar .right-info a {
        margin-right: 0.75rem;
        display: inline-flex;
        align-items: center;
    }

    .topbar .right-info {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .topbar .social-icons a {
        margin-left: 0.5rem;
        color: #94a3b8;
        transition: color 0.3s;
    }

        .topbar .social-icons a:hover {
            color: #60a5fa;
        }


.navbar {
    background: #ffffff;
    color: #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .navbar a {
        color: #1f2937;
        font-weight: 500;
    }

        .navbar a:hover {
            color: #1e40af;
        }

    .navbar .menu {
        display: flex;
        gap: 1rem;
    }

    .navbar .menu-toggle {
        display: none;
    }

.menu {
    display: none;
}

    .menu.show {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }


.menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    z-index: 1000;
}

    .menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
        text-align: center;
        color: #1f2937;
    }

        /*.menu a:hover {
            color: #1e40af;
            background: #f3f4f6;
            border-radius: 0.5rem;
        }*/

    .menu.hidden {
        display: none;
    }

    .menu.show {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }


.slider-item img {
    width: 200px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s, transform 0.3s;
}

    .slider-item img:hover {
        filter: grayscale(0%);
        transform: scale(1.10);
    }

.slider-container {
    display: flex;
    justify-content: center;
}

.slider {
    width: 100%;
    margin: 0 auto;
}

.slick-slide {
    display: flex !important;
    justify-content: center;
}

.slick-track {
    display: flex !important;
    align-items: center;
}

.service-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }

    .service-card i {
        color: #1e40af;
    }

.about-pattern {
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
}

.testimonial {
    background: #f9f9f9;
    border-left: 4px solid #1e40af;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    font-style: italic;
}

footer {
    background-color: #1f2937;
    color: #fff;
}

    footer a:hover {
        color: #60a5fa;
    }

.footer-icons a {
    margin-right: 0.75rem;
    color: #94a3b8;
    transition: color 0.3s;
}

    .footer-icons a:hover {
        color: #60a5fa;
    }

.btn-primary {
    background-color: #1e40af;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #1d4ed8;
    }

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
}

#contactForm .error {
    border-color: #dc2626;
}

#formMessage {
    font-size: 0.9rem;
}

    #formMessage.error {
        color: #dc2626;
    }

    #formMessage.success {
        color: #16a34a;
    }

#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 999;
    font-size: 18px;
    background-color: #1e40af;
    color: white;
    border: none;
    outline: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

    #scrollToTopBtn:hover {
        background-color: #1d4ed8;
    }


@media (max-width: 1024px) {
    .navbar .menu {
        display: none;
    }

    .navbar .menu-toggle {
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        text-align: center;
    }

    .service-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    header.hero h1 {
        font-size: 1.75rem;
    }

    header.hero p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 640px) {
    header.hero .content {
        padding: 0 1rem;
        text-align: center;
    }

        header.hero .content .btn-primary,
        header.hero .content a {
            display: inline-block;
            width: auto;
            margin: 0.25rem;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
        }
}

@media (max-width: 768px) {
    #services .service-card {
        margin-left: 0.75rem;
        margin-right: 0.75rem;
    }
}

@media (max-width: 768px) {
    .slider {
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    .navbar .menu {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        background: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 1023px) {
    .navbar .menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        z-index: 1000;
    }

        .navbar .menu.show {
            display: flex !important;
        }
}

@media (min-width: 1024px) {
    .navbar .menu {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0 !important;
        gap: 0 !important;
    }

        .navbar .menu a {
            padding: 0 !important;
        }
}
