.Roboto-regular {
    font-family: "Roboto", serif;
    font-weight: 200;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
}

.form-control:focus,
.btn:focus,
.form-control:focus-visible,
.btn:focus-visible,
.form-control:active,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
}

p {
    color: #7e7e7e;
}

/* Top Bar Styling */
.top-bar {
    background-color: #003359; /* Blue background */
    color: #fff; /* White text color */
    font-size: 14px; /* Font size */
}

/* Navbar Styling */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.0); /* Semi-transparent background */
}

.navbar .nav-link {
    color: #fff; /* White nav links */
    transition: color 0.3s ease-in-out;
}

.active {
    color: #f8d210 !important; /* Highlight on hover */
}

.navbar .nav-link:hover {
    color: #f8d210 !important; /* Highlight on hover */
}

.navbar .navbar-brand h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

/* Fullscreen Video Section */
.video-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 10px; /* For mobile padding */
}

.video-overlay h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 1rem;
}

.page-title {
    font-size: 60px !important;
}

/* Button Styling */
.btn-custom {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f8d210;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #f8d210;
    color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

p {
    margin: 0px;
}

/* Swiper CSS */
.swiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.swiper-wrapper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer {
    background: #222;
    color: white;
}

footer a:hover {
    color: #ffc107 !important;
    text-decoration: underline;
}

footer h5 {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.nev-container {
    margin-top: 53px !important;
}

/* Layout colors */
.text_primary {
    color: #5C93C1 !important;
}

.text-primary {
    color: #003359 !important;
}

.bg-primary {
    color: #003359 !important;
}

.text-warning {
    color: #f8d210 !important;
}

.bg-warning {
    color: #f8d210 !important;
}

/* End layout colors */

.mega-menu {
    background: #e6e6e6;
    width: 800px;
    border-top: #f8d210;
}

/* Mobile Adjustments */
.service-card {
    position: relative; /* Required for pseudo-element positioning */
    height: 230px;
    color: #fff !important; /* Default white text color */
    overflow: hidden; /* Prevents the overlay from spilling out */
}

.service-card a {
    text-decoration: none; /* Removes underline */
    color: inherit;
}

.service-card::before {
    content: ""; /* Adds a blank overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Default transparent */
    transition: background-color 0.3s ease; /* Smooth transition effect */
    z-index: 1; /* Keeps it above the image */
}

.service-card:hover::before {
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay on hover */
}

.service-card:hover a {
    color: #f8d210; /* Text color on hover */
}

.service-card a {
    position: relative;
    z-index: 2; /* Keeps the text above the overlay */
    margin: 0; /* Removes default margin */
    transition: color 0.3s ease; /* Smooth text color transition */
}

.d-none-sm {
    display: block;
}

.d-block-sm {
    display: none;
}

.triangle-wrapper {
    width: 120px;
    height: 55px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.triangle-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 60px solid #003359;
    z-index: 0;
}

.triangle-wrapper i {
    color: white;
    font-size: 24px;
    z-index: 1;
}
.lazy-img {
    filter: blur(10px);
    transition: filter 0.3s ease-in-out;
}

.lazy-img.loaded {
    filter: blur(0);
}

@media (max-width: 961px) {
    .navbar {
        background: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
    }

    .page-title {
        font-size: 50px !important;
    }

    .d-none-sm {
        display: none;
    }

    .d-block-sm {
        display: block;
    }

    /* Hide mega menu and child items on mobile */
    .mega-box, .mega-links, .sub-menu {
        display: none !important;
    }

    /* Ensure parent menu items act as direct links */
    .nav-links li {
        position: relative;
    }

    .nav-links li a.desktop-item, .nav-links li a.mobile-item {
        pointer-events: auto !important;
    }

    .nav-links li input[type="checkbox"], .nav-links li label {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .topbar-sm-center {
        text-align: center !important;
    }

    .navbar .nav-link {
        font-size: 0.9rem;
    }

    .video-overlay h1 {
        font-size: 1.8rem;
    }

    .video-overlay p {
        font-size: 0.9rem;
    }

    .btn-custom {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .video-section {
        position: relative;
        width: 100%;
        height: 60vh;
        overflow: hidden;
    }

    .nev-container {
        margin-top: 65px !important;
    }

    .page-title {
        font-size: 40px !important;
    }

    .triangle-wrapper {
        width: 80px;
        height: 40px;
    }

    .triangle-wrapper::before {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 40px solid #003359;
    }

    .triangle-wrapper i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .navbar .navbar-brand h1 {
        font-size: 1.2rem;
    }

    .video-overlay h1 {
        font-size: 1.5rem;
    }

    .video-overlay p {
        font-size: 0.8rem;
    }

    .btn-custom {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .video-section {
        position: relative;
        width: 100%;
        height: 50vh;
        overflow: hidden;
    }

    .page-title {
        font-size: 30px !important;
    }
}