body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #f4f7ff;
    color: rgb(46, 131, 216);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header nav a {
    color: rgb(36, 100, 228);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s, text-shadow 0.3s;
}

header nav a:hover {
    font-weight: bold;
    color: #3e70fc;
    text-shadow: 0 0 10px #60bae7;
}

header .login-btn:hover {
    font-weight: bold;
    color: #343a40;
    text-shadow: 0 0 10px #60bae7;
}

header .login-btn {
    background-color: #28a745;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    border: none;
    color: white;
}

h2 {
    color: #2e83d8;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.logo {
    margin-right: 20px;
}

.menu {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

.container {
    padding-top: 70px;
}

section {
    padding: 50px 20px;
    text-align: center;
}

#home {

    color: white;
    height: auto;
    justify-content: center;
    align-items: center;
}

#company,
#service,
#offices,
#gallery,
#contact {
    background: white;
    color: #333;
}

.company-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.info-box {
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 45%;
    min-width: 300px;
    text-align: center;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
}

.service-card {
    background-color: #f4f4f4;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 30%;
    min-width: 200px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.service-card a {
    color: #296192;
    text-decoration: none;
    font-weight: bold;
}

.service-card a:hover {
    text-decoration: underline;
}

.offices-container {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    text-align: center;
}

.office-address {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 45%;
    text-align: center;
    margin: 10px;
}

.video-container {
    position: relative;
    padding-bottom: 35%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-gallery-container {
    position: relative;
    display: flex;
    align-items: center;
}

.image-gallery {
    display: flex;
    overflow-x: hidden;
    /* Hide the default scrollbar */
    scroll-behavior: smooth;
    width: calc(100% - 60px);
    /* Adjust width considering arrow buttons */
    margin: 0 30px;
    /* Space for arrows */
}

.image-gallery img {
    margin-right: 10px;
    flex-shrink: 0;
    /* Prevent images from shrinking */
}

.arrow {
    position: absolute;
    cursor: pointer;
    font-size: 2rem;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

#gallery .image-gallery {
    background-color: #e0e0e0;
    /* Slightly darker gray background for the image gallery */
    padding: 20px;
    /* Add padding for spacing */
    margin: 20px;
    /* Add margin for spacing */
    border-radius: 10px;
    /* Optional: rounded corners */
    display: flex;
    /* Flexbox for horizontal scrolling */
    overflow-x: auto;
    /* Enable horizontal scrolling */
}

#gallery .image-gallery img {
    margin-right: 10px;
    /* Space between images */
    height: 500px;
    /* Set a consistent height for images */
}


/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (image text) - Optional */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* --------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #296192;
    color: white;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
    }

    .profile-box {
        width: 80%;
        margin-bottom: 20px;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .menu a {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .info-box,
    .service-card {
        width: 80%;
    }

    .service-card {
        width: 80%;
    }

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

    .office-address {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* menu :active css  */
header nav a.active {
    text-decoration: underline;
    font-weight: bold;
    color: #2d61ef;
}
