.hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    padding-left: 80px;
    overflow: hidden;
    color: white;
}

/* Image Styling */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* important */
    z-index: 1;
}

/* Optional Dark Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 50, 0.6);
    z-index: 2;
}

/* Text Content */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 20px;
}


.map-section {
    background: #f2f2f2;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    
}

.map-container {
    width: 90%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 20px;
}

.map{
border-radius: 20px;
}


@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        height: 220px;
        padding-left: 20px;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

    /* Map Section */
    .map-section {
        padding: 30px 0;
    }

    .map-container {
        width: 95%;
        border-radius: 15px;
    }

    .map {
        height: 250px;
        border-radius: 15px;
    }
}


/* Full screen preloader */
#preloader {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff; /* background color */
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

/* Preloader content */
.preloader-content {
    text-align:center;
}

/* Logo */
#preloader-logo {
    width:500px; /* logo size */
    opacity:0.5; /* initial opacity */
    transition: opacity 0.3s ease;
    margin-bottom:20px;
}

/* Loading bar container */
.loading-bar {
    width:200px;
    height:8px;
    background:#ccc;
    border-radius:4px;
    overflow:hidden;
    margin:0 auto;
}

/* Loading progress */
.loading-progress {
    width:0%;
    height:100%;
    background:#033386; /* progress color */
    transition: width 0.1s linear;
}