/* Navbar */
.navbar {
    background-color: white;
    border-bottom: 2px solid #ddd;
    height: 110px;
    position: fixed; /* Make navbar stick at the top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* High z-index to stay above carousel */
}

.navbar-brand img {
    height: 90px;
    margin-top: -5px;
    width: 300px;
    margin-left: 25px;
}


.navbar-nav > li > a {
    margin-top: 30px;
    font-size: 18px;
    color: black !important;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.navbar-nav > li > a:hover {
    color: red !important;
}

.navbar-toggle {
    margin-top: 33px;
    margin-right: 25px;
}


/* Contact Button */
.contact-button {
    position: fixed;
    z-index: 2;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: red;
    color: white;
    padding: 25px 15px;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    writing-mode: vertical-rl;
    transition: background 0.3s;
}

.contact-button a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.contact-button:hover {
    background-color: darkred;
}

/* Carousel */
.carousel{
    margin-top: 150px;
}
.carousel-inner > .item > img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 36px;
    margin-top: 75px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1.5s ease-in-out;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}
.mobile-intro {
    display: none;
}
.intro-section, .services-section {
    background: linear-gradient(to bottom, #fdfdfd, #f5f7fa);
    text-align: center;
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-in-out;
}
.intro-text {
    text-align: justify;
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    font-weight: 400;
}
.section-title {
    font-size: 36px;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}
.photo-section {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa; 
}
.team-photo {
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    height: 550px;
    animation: fadeIn 1s ease-in-out forwards;
}
.team-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #007bff;
}
.info li{
    font-family: 'Poppins', sans-serif;
}
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.service-box h4 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}
/* Map Section */
.map-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.map-title {
    font-size: 32px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.map-description {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.footer {
    background-color: #1c1c1c;
    color: #e0e0e0; 
    padding: 50px 0;
    border-top: 3px solid rgba(255, 255, 255, 0.1); 
    font-family: 'Poppins', sans-serif;
}
.footer .container {
    display: flex;
    text-align: left;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}
.footer .col-md-3 {
     
    
    flex: 1;
    min-width: 250px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}
.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}
.footer a:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer p {
    font-size: 14px;
    line-height: 1.6;
    color: #c2c2c2;
}


@media (max-width: 768px) {
    
    .desktop-intro {
        display: none;
    }
    #navbar-menu{
        background-color: white;
    }
    .mobile-intro {
        display: block;
        padding: 0 15px;
        text-align: justify;
        font-size: 16px;
        line-height: 1.6;
        color: #444;
    }
    .navbar-brand img {
        height: 50px;
        width: auto;
        margin-top: 10px;
    }

    .carousel-inner > .item > img {
        height: 300px;
    }

    .contact-button {
        display: none;
    }

    .footer .container {
        flex-direction: column;
        align-items: center;
    }

    /* Updated styles for mobile */
    .carousel-caption{
        text-align: center;
    }
    .carousel-caption h1 {
        font-size: 24px;
        margin-top: -20px;
        padding: 0 0px;
    }

    .intro-section, .services-section {
        padding: 40px 15px;
    }

    .intro-text {
        padding: 0 15px;
        text-align: justify;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .photo-section {
        padding: 20px 10px;
    }

    .team-photo {
        width: 100%;
        height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-box {
        padding: 20px;
    }

    .service-box h4 {
        font-size: 20px;
    }

    .service-box p {
        font-size: 15px;
    }

    .container {
        width: 90%;
    }
}
