/* Root color variables */
@import url('https://fonts.googleapis.com/css2?family=Moderustic:wght@300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;

}

:root {
    --primary-color: #0d3db8;
    --secondary-color: #dc3545;
    --highlight-color: #00174f;
    --hover-color: #f8f9fa;
    --footer-bg: #0d6efd;
}

/* Font settings */
body {
    font-family: 'Moderustic', sans-serif !important;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif !important;
}

/* Navbar brand logo */
.navbar-brand img {
    width: 90%;
}

/* Nav link base styling */
.menu nav ul li a {
    font-size: 16px;
    font-weight: 500;
    color: #222222;
    margin-left: 36px;
}



/* Nav link hover/active */
.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Dropdown hover behavior */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-item {
    margin-left: 5px !important;
}

.dropdown-item:hover {
    color: #a10000;
    background-color: #f4f4f4 !important;
}

/* Dropdown menu styling */
.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.2s ease-in-out;
}

/* Track button styling */
.btn-track {
    background-color: var(--highlight-color);
    color: #fff;
    border-radius: 5px;
    padding: 8px 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-track:hover,
.read-more-btn:hover {
    background-color: var(--secondary-color);
    color: #fff !important;
}

/* Optional: Dropdown fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    transition: opacity 0.8s ease-in-out;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--secondary-color);
    background-color: transparent !important;
}

.hero-overlay {
    background-color: #fff;
    border-radius: 0 30px 0 30px;
    padding: 12px 18px 21px 30px;
    /* Extra bottom padding for button */
    max-width: 600px;
    margin-right: 16%;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sea-overlay {
    justify-content: flex-start;
    align-items: center;
    transition: opacity 0.8s ease-in-out;
}

.sea-overlay_1 {
    margin-left: 20%;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #002F87;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 1rem;
    color: #2b2b2b;
    margin-bottom: 10px;
}

.read-more-btn {
    position: absolute;
    bottom: -18px;
    right: 30px;
    background-color: var(--highlight-color);
    color: white;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 5px;
    border: none;
    z-index: 3;
    transition: background-color 0.3s ease;
}

/* Arrows Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    background-size: 50% 50%;
    border-radius: 50%;
    padding: 20px;
}

.about-section {
    padding: 60px 0;
    background-color: #fff;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: end;
}

.about-section .about-image img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-section .about-content h2 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.about-section .about-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-section .about-content {
        margin-top: 30px;
    }
}

.feature-box {
    padding: 20px;
    text-align: center;
}

.feature-img {
    width: 116px;
    height: 116px;
    object-fit: fill;
    object-fit: cover;

    /* Red border */
    border-radius: 50%;
    padding: 10px;
    background-color: white;
}

/* Optional: Add hover effect */
.feature-box:hover .feature-img {
    transform: scale(1.05);
    transition: 0.3s;
}

.services-section {
    background-color: #0d2466;
    /* same dark blue background */
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: #01174d;
    /* border: 5px solid #001f60; */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card {
    min-height: 369px;
}

.service-icon {
    height: 50px;
    object-fit: contain;
}

.sec-bg {
    background-image: url('imgs/gb-21.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 0;
}

.client-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.client-carousel-track {
    display: flex;
    animation: scroll-carousel 40s linear infinite;
    width: max-content;
}

.client-carousel {
    display: flex;
    gap: 40px;
}

.client-logo {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.footer-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: black;
    color: white;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
}

.footer-icon:hover {
    background-color: var(--secondary-color);
    color: white;
}

.footer {
    border-top: 2px solid #f9cb51 !important;
}

.footer img {
    height: 30%;
}

.privacy-hero {
    background: url('imgs/breadcrum-bg.jpg') center center/cover no-repeat;
    height: 27vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.privacy-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.privacy-content {
    margin: 40px auto;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-content a {
    color: #0041c2;
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 6px solid #ffffff;
    box-shadow: inset rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}

.service-section {
    margin-bottom: 70px;
}

.ser-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.Contact-hero {
    background: url('imgs/contact-bg.jpg') center center/cover no-repeat;
    height: 30vh;
    display: flex;
    align-items: center;

    color: white;

    background-size: cover;
    background-position: center;
}

.Contact-hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    color: #5ea3ec;
    font-size: 24px;
    margin-right: 26px;
}

.contact-info p {
    font-size: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    color: #000;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #5ea3ec;
}

.contact-form label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #5ea3ec;
    border-radius: 0;
    font-size: 14px;
}

.contact-form button {
    background-color: #001850;
    color: #fff;
    padding: 5px 30px;
    border: none;
    font-weight: bold;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #002470;
}

.map {
    padding: 50px 0px;
    border-top: 2px solid rgb(75 151 209);
}

/* Responsive adjustments */
@media screen and (max-width: 991.98px) {

    /* Stack menu items vertically and center them */
    .menu nav ul.navbar-nav {
        flex-direction: column;
        align-items: start;
        margin-top: 15px;
    }


    .menu nav ul li a {
        margin-left: 0;
        margin-bottom: 10px;
    }


    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 5px;
    }

    /* Align track button below menu */
    .btn-track {

        margin-top: 10px;
        margin-left: 0;

        text-align: center;
    }

    /* Dropdown hover removed for touch devices */
    .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: transparent;
    }

    .dropdown-item {
        background-color: #fff !important;
        padding-left: 15px;
    }

    .hero-section,
    .carousel-item {
        height: 50vh;
    }

    .hero-overlay {
        max-width: 90%;
        margin: 0 auto;
        padding: 20px;
        border-radius: 0 30px 0 30px;
        text-align: center;
    }

    .read-more-btn {
        bottom: -13px;
        right: 25%;
        transform: translateX(50%);
        padding: 8px 20px;
        font-size: 14px;
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
    }

    .sea-overlay_1 {
        max-width: 80%;
        margin: 0 auto;
        padding: 20px;
        border-radius: 0 30px 0 30px;
        text-align: center;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 12px;
    }

    .about-image {
        justify-content: center;
        margin-bottom: 30px;
    }

    .about-section .about-image img {
        width: 100%;
        height: auto;
    }

    .about-content {
        text-align: center;
    }

    .about-section .about-content h2 {
        font-size: 2rem;
    }

    .about-section .about-content p {
        font-size: 14px;
        text-align: justify;
    }

    .service-section {
        flex-direction: column;
        text-align: center;
    }

    .service-section .col-lg-5 {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-section h2 {
        font-size: 1.75rem;
    }

    .service-section p,
    .service-section ul {
        font-size: 15px;
        text-align: justify;
    }

    .service-image {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .Contact-hero h1 {
        font-size: 32px;
    }

    .Contact-hero {
        height: 18vh
    }

    .service-card {
        min-height: auto;
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 575.98px) {

    /* Logo scaling for small screens */
    .navbar-brand img {
        width: 75%;
    }

    .hero-section p br {
        display: none;
    }

    .btn-track {
        font-size: 14px;
        padding: 6px 12px;
    }

    .sea-overlay_1 {
        margin-left: auto;
    }

    .navbar-toggler {
        font-size: 1rem;
    }

    .menu nav ul li a {
        font-size: 15px;
    }

    .hero-section,
    .carousel-item {
        height: 45vh;
    }

    .hero-overlay h1 {
        font-size: 1.5rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
    }

    .read-more-btn {
        font-size: 14px;
        padding: 8px 20px;
    }

    .service-card {
        min-height: auto;
        margin-top: 20px;
    }

    .about-section {
        padding: 40px 20px;
    }

    .about-section .about-content h2 {
        font-size: 1.75rem;
    }

    .about-section .about-content p {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .row.gap-3 {
        gap: 1rem !important;
    }

    .privacy-hero h1 {
        font-size: 28px;
    }

    .privacy-hero {
        background: url(imgs/breadcrum-bg.jpg) center center / cover no-repeat;
        height: 15vh
    }

    .service-section h2 {
        font-size: 1.5rem;
    }

    .service-section p,
    .service-section ul {
        font-size: 14px;
    }

    .service-section {
        margin-bottom: 20px;
    }

    .service-image {
        border-width: 4px;
        border-radius: 6px;
    }

    .Contact-hero h1 {
        font-size: 28px;
    }

    .Contact-hero {
        height: 15vh
    }
}

@media screen and (max-width: 767.98px) {

    .footer .text-md-start,
    .footer .text-md-end {
        text-align: center !important;
    }

    .footer .mb-md-0 {
        margin-bottom: 1rem !important;
    }

    .footer img {
        height: auto;
        max-width: 150px;
    }

    .footer p {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 20px;
    }

    .footer .mt-5 {
        margin-top: 20px !important;
    }

    .footer .me-3 {
        margin-right: 15px !important;
    }

    .footer-icon {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 14px;
        margin: 0 4px;
    }

    .service-card {
        min-height: auto !important;
        margin-top: 20px !important;
    }
}