/* ===============================
   Base Typography & Colors
================================ */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* ===============================
   Section Titles
================================ */
.section-title {
    font-family: 'Montserrat', sans-serif;
    color: #1a202c;
}

/* ===============================
   Service Card Styles
================================ */
.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ===============================
   Header Styles (Transparent & Scrolled)
================================ */
header.transparent-header {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Hero Banner
================================ */
.hero-banner {
    background-image: url('images/team.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-banner h2 {
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* ===============================
   About Image Styling
================================ */
.about-image {
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===============================
   Hero Slider
================================ */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slide {
    position: relative;
    flex: 0 0 100%;
    height: 85vh;
    scroll-snap-align: start;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 0.75rem;
    max-width: 700px;
    text-align: center;
    animation: fadeInText 1.5s ease-out;
}

.slide-text h2 {
    font-size: 3.5rem;
    margin: 0 0 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.slide-text p {
    font-size: 1.4rem;
    line-height: 1.8;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ===============================
   Responsive Styles
================================ */
@media (max-width: 768px) {
    .slide-text {
        padding: 1.5rem;
        max-width: 90%;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        top: unset;
    }

    .slide-text h2 {
        font-size: 2rem;
    }

    .slide-text p {
        font-size: 1rem;
    }

    .mobile-menu-button {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 64px;
        left: 0;
        background-color: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    nav ul li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }
}

/* ===============================
   Mobile Menu Button
================================ */

/* ===============================
   Footer Styles
================================ */
#footer {
    background-color: #1a202c;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/footer-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

#footer .container {
    position: relative;
    z-index: 1;
}

#footer h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #d1d5db;
}

#footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #415beb;
}

#footer ul li a,
#footer p,
#footer a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

#footer ul li a:hover,
#footer a:hover {
    color: #cbd5e0;
}

#footer .social-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

#footer .social-icons a:hover {
    color: #415beb4d;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    width: 100%;
}

.newsletter-input::placeholder {
    color: #a0aec0;
}

.newsletter-button {
    background-color: #415beb;
    color: #1a202c;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: #415beb;
}
