* {
    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 !important;
    padding: 10px 20px !important;
}

@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 !important;
    color: white;
    display: flex;
    align-items: center !important;
    margin-left: 30px !important;
    margin-right: 40px !important;
}

.navbar-brand span {
    margin-top: 5px;
    color: white;
    font-size: 25px;
    align-items: center;
}

.navbar-brand img {
    height: 45px;
    width: 45px;
    margin-right: 8px !important;
}

.nav-link {
    color: white !important;
    font-size: 17px !important;
    font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-item {
    margin-right: 15px !important;
    /* 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 !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 12px 24px !important;
    height: 55px !important;
    width: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    position: relative !important;
    overflow: hidden;
    font-family: 'Poppins', sans-serif !important;
}

.btn-phone i {
    margin-right: 10px !important;
    font-size: 1.2rem !important;
}

.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) !important;
}

.btn-phone:hover {
    background-color: #FFD700 !important;
    color: black;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50px;
}


/* @media (max-width:768px) {
    .abc {
        width: 100vh !important;
    }

    .custom-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 800px !important;
        margin-left: 100px !important;
    }

    .custom-card-image {
        width: 700px !important;
        height: 400px !important;
    }
}

@media (max-width:1024px) {

    .abc {
        width: 1000px !important;
    }

    .custom-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 800px !important;
        margin-left: 100px !important;
    }

    .custom-card-image {
        width: 700px !important;
        height: 470px !important;
    }

    .heading-section h1 {
        font-size: 3rem;
        font-weight: bold;
        color: white;
    }

    .heading-section {
        position: relative;
        display: inline-block;
        margin-top: 30px;
    }

    .container {
        font-size: 22px;
        font-family: 'Inter', sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
} */

.subtext {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 180px;
    display: block;
}

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 5px;
    background-color: blue;
    animation: underline-animation 3s ease-in-out forwards;
}

/* Keyframes for left-to-right animation */
@keyframes underline-animation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        /* Start from 50px below */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.animated-text {
    animation: slideUp 1.5s ease-out;
}


.container {
    margin-top: -70px;
}

.row {
    gap: 80px !important;
    /* Ensures spacing between columns */
}

/* @media (max-width:1024px) {
    .custom-cards {
        width: 700px !important;
        margin-left: 0px !important;
    }

    .card-title2,
    .card-li,
    .card-title2-2 {
        font-size: 20px !important;
        margin-left: 30px !important;
    }

    .application-images-grid {
        margin-left: 50px !important;
    }

    .manfc-img {
        width: 680px !important;
        height: 800px !important;
        margin-left: -30px !important;
    }

    .card-title {
        font-size: 30px !important;
    }
} */

.mt-5 {
    margin-left: 300px;
}

.custom-cards {
    background: linear-gradient(to right bottom, #000000, #003f7d);
    border: none;
    border-radius: 20px !important;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    color: white;
    width: 1050px;
    height: 500px;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

.custom-cards:hover {
    transform: scale(0.98);
    background: linear-gradient(to right bottom, #003f7d, #023f85);
}

.card-title {
    color: white !important;
    font-weight: 600;
    font-size: 40px;
    text-align: center;
    margin-bottom: 15px;
}

.card-title2 {
    color: white;
    font-weight: 800;
    font-size: 30px;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 150px;
}

.card-li {
    color: #ffffff !important;
    font-size: 25px;
    text-align: left;
    padding-left: 20px;
    list-style-type: disc;
    line-height: 2;
    margin-bottom: 15px;
    margin-left: 150px;
}

.application-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    /* for responsiveness */
}

.application-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.application-images-grid img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.application-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.application-images img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    padding: 5px;
}

.application-text {
    flex: 1;
    min-width: 250px;
}

.card-title2-2 {
    color: white;
    font-weight: 800;
    font-size: 30px;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 150px;
    margin-top: 50px;
}

.application-images-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.application-images-vertical img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.application-images4 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.application-images4 img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    padding: 5px;
}

.application-images-vertical4 {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.application-images-vertical4 img {
    width: 230px;
    height: 230px;
    object-fit: contain;
}

.application-images-vertical5 img {
    margin-top: 50px;
    width: 230px;
    height: 230px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .custom-cards img {
        width: 70%; /* Adjust image size for 1200px screens */
        height: auto;
        margin: 0 auto;
        display: block; /* Ensure image is centered */
    }

    .application-images img {
        width: 150px; /* Adjust smaller image size */
        height: 200px;
    }

    .application-images4 img {
        width: 130px; /* Adjust smaller image size */
        height: 200px;
    }
}

@media (max-width: 992px) {
    .card-title2, .card-title2-2 {
        margin-left: 0; /* Remove margin-left on smaller screens */
        font-size: 1.25rem; /* Reduce font size */
    }

    .custom-cards {
        width: 100%;
        margin: 15px auto;
    }

    .card-title {
        font-size: 1.5rem; /* Adjust font size */
    }

    .application-section {
        flex-direction: column; /* Stack items vertically */
    }

    .application-images img {
        width: 120px; /* Adjust smaller image size for 992px screens */
        height: 170px;
    }

    .application-images4 img {
        width: 100px; /* Adjust smaller image size */
        height: 170px;
    }

    .application-images-vertical img {
        width: 100%;
        height: auto;
    }

    .card-li {
        font-size: 1.2rem; /* Slightly reduce font size */
        padding-left: 0; /* Remove padding-left */
        margin-left: 0; /* Remove margin-left */
        text-align: left; /* Center the list items */
    }

    /* Adjust images within the card */
    .custom-cards img {
        width: 60%; /* Further reduced image size for 992px screens */
        height: auto;
        margin: 0 auto;
        display: block; /* Ensure image is centered */
    }
}


@media (max-width: 768px) {
    .card-title2, .card-title2-2 {
        margin-left: 0; /* Remove margin-left on smaller screens */
        font-size: 1.25rem; /* Reduce font size */
    }

    .custom-cards {
        width: 100%;
        margin: 15px auto;
    }

    .card-title {
        font-size: 1.5rem; /* Adjust font size */
    }

    .application-section {
        flex-direction: column; /* Stack items vertically */
    }

    .application-text, .application-images-vertical {
        margin-left: 0;
    }

    .application-images img, .application-images4 img {
        width: 100%; /* Make images responsive */
        height: auto;
    }

    .application-images-vertical img {
        width: 100%;
        height: auto;
    }

    .card-li {
        font-size: 1.2rem; /* Slightly reduce font size */
        padding-left: 0; /* Remove padding-left */
        margin-left: 0; /* Remove margin-left */
        text-align: left; /* Center the list items */
    }

    /* Adjust images within the card */
    .custom-cards img {
        width: 60%; /* Further reduced image size for 768px */
        height: auto;
        margin: 0 auto;
        display: block; /* Ensure image is centered */
    }
}


@media (max-width: 480px) {
    .card-title {
        font-size: 1.25rem; /* Reduce font size for smaller screens */
    }

    .card-li {
        font-size: 1.2rem; /* Reduce list item font size */
        padding-left: 10px; /* Adjust padding */
    }

    .application-images img {
        width: 120px; /* Smaller image sizes */
        height: 170px !important;
    }

    .application-text {
        margin-left: 0; /* Remove left margin */
    }

    .application-images4 img {
        width: 100px; /* Reduce image size */
        height: 170px !important;
    }

    .card-li {
        font-size: 1.2rem; /* Slightly reduce font size */
        padding-left: 0; /* Remove padding-left */
        margin-left: 0; /* Remove margin-left */
        text-align: left; /* Center the list items */
    }

    /* Adjust images within the card */
    .custom-cards img {
        width: 60%; /* Further reduce image size for 480px */
        height: auto;
        margin: 0 auto;
        display: block; /* Ensure image is centered */
    }
}



.foo-bg {
    background: linear-gradient(to right bottom, #000000, #003f7d);

}

