* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* hides unwanted horizontal scroll */
    width: 100%;
}


.background-blue {
    background: linear-gradient(to right bottom, #000000, #003f7d);
}

.navbar {
    margin-bottom: 30px;
    padding: 10px 20px;
}

/* @media (max-width:576px) {
    .navbar-toggler-icon {
        font-size: 40px;
        margin-left: 500px;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-phone {
        margin-left: 340px !important;
    }
}

@media (max-width:768px) {
    .navbar-toggler-icon {
        font-size: 40px;
        margin-left: 500px;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-phone {
        margin-left: 340px !important;
    }
}


@media (max-width:1024px) {
    .navbar-toggler-icon {
        font-size: 40px;
        margin-left: 500px;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-phone {
        margin-left: 50px;
    }
} */
@media (max-width:1024px) {

    .navbar-brand span,
    .ue-logo {
        margin-bottom: 30px !important;
    }

    .navbar-toggler-icon {
        filter: invert(100%) brightness(200%);
    }
}

.navbar-brand {
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    margin-left: 30px;
    margin-right: 40px;
}

.navbar-brand span {
    margin-top: 5px;
    color: white;
    font-size: 25px;
    align-items: center;
}

.navbar-brand img {
    height: 45px;
    width: 45px;
    margin-right: 8px;
}

.nav-link {
    color: white !important;
    font-size: 17px;
}

.navbar-nav .nav-item {
    margin-right: 15px;
    /* Adjust as needed */
}

.nav-link.active {
    font-weight: bold;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: Smooth transition */
.dropdown-menu {
    display: none;
    transition: all 0.3s ease-in-out;
}

.btn-phone {
    /* background-color: black; */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    /* Subtle white border */
    border-radius: 50px;
    padding: 12px 24px;
    height: 55px;
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    /* Slightly bigger text */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-phone i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-phone::before {
    content: "";
    position: absolute;
    inset: 0px;
    /* Ensures border doesn't overlap */
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-phone:hover {
    background-color: #FFD700;
    color: black;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}


.services {
    text-align: center;
}


.service-container {
    background-color: #000;
}

.service-card {
    background: linear-gradient(to right bottom, #000000, #003f7d);
    border: none;
    border-radius: 20px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.service-card:hover {
    transform: scale(1.02);
    background: linear-gradient(to right bottom, #003f7d, #0252a3);
}

.card-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-list {
    list-style: disc inside;
    padding-left: 0;
    font-size: 18px;
    line-height: 1.7;
}

.service-img {
    width: 70%;
    height: auto;
    border-radius: 20px;
    max-width: 320px;
    /* Appropriate max width for images */
    object-fit: cover;
    /* Ensures image covers the container */
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Adjustments for smaller screens */
@media (max-width: 767px) {
    .service-card {
        padding: 15px;
        /* Adjust padding on smaller screens */
        margin-bottom: 15px;
        /* Space between cards on mobile */
    }

    .card-title {
        font-size: 24px;
        /* Slightly smaller title */
    }

    .service-list {
        font-size: 16px;
        /* Smaller list items */
    }

    .service-img {
        max-width: 100%;
        /* Make images take full width on smaller screens */
        margin-top: 10px;
        /* Reduce margin for smaller screens */
    }
}

@media (min-width: 768px) {
    .service-card {
        padding: 25px;
        /* Restore padding for larger screens */
    }

    .service-img {
        max-width: 320px;
        /* Ensure the image isn't too large */
    }
}

@media (min-width: 992px) {
    .service-card {
        padding: 30px;
        /* Increased padding on larger screens */
    }

    .service-img {
        max-width: 350px;
        /* Slightly larger max-width on medium screens */
    }
}


/* Timeline Item Styling */
.timeline-item {
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
    color: white;
}

.timeline p {
    font-size: 20px;
    color: white;
    text-align: justify;
    margin-left: 15px;
}

.timeline-list {
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.8;
}

.timeline-item li {
    font-size: 18px;
    color: white;

}

/* Center the entire container for large screens */
.container-infra {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Responsive Adjustments for Small Screens */
@media (max-width: 767px) {
    .container-infra {
        margin: 0;
        display: block;
    }

    .timeline-item {
        margin-left: 0;
    }

    .timeline p {
        font-size: 18px;
        margin-left: 0;
    }

    .timeline-list {
        padding-left: 10px;
    }

    .timeline-item li {
        font-size: 16px;
    }
    .timeline-txt{
        padding: 15px;
    }
    .timeline-item h5{
        padding: 15px;
    }
}


.foo-bg {
    background: linear-gradient(to right bottom, #000000, #003f7d);

}

/* @media (max-width:768px) {
.foo{
    width: 1000px;
}
} */