:root {
    --primary-color: #205086;
    --secondary-color: #ffe351;
    --tertiary-color: #ffffff;
}

/* ========================================== */
body {
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

/* ========================================== */
.hero {
    height: 100vh;
}

.carousel-item {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    animation: zoomIn 5s ease forwards;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.slide-content {
    height: 100%;
    top: 20% !important;
    position: relative;
    z-index: 2;
}

/* Zoom Animation */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Responsive Fix */
@media screen and (max-width: 576px) {
    .display-4 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }
}


/* ========================================== */
.head-title {
    margin-bottom: 20px;
}

.head-title h2 {
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Times New Roman', Times, serif;
}

.text-justify {
    text-align: justify;
}

.title {
    color: var(--primary-color);
}

/* ===================================== */
.counter-section {
    background: var(--primary-color);
    transition: all 0.3s ease-in-out;
    color: var(--tertiary-color);
}

.counter-section:hover {
    transform: translateY(-5px);
}


/* ============button======================= */
.feature-card {
    background-color: var(--tertiary-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.crevix-features li {
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
}

.head-title h2 span {
    color: var(--secondary-color);
    /* e.g., #0047AB */
}

/* ====================================================== */

.services-section .service-card img {
    height: 200px;
    object-fit: cover;
}

/* ==================================== */
.list-group-item {
    background-color: aliceblue;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px;
    border: 10px;
    margin-bottom: 10px;
}

/* ================================= */
.border-start,
.border-end {
    border-color: var(--primary-color) !important;
    border-width: 5px !important;
    border-radius: 10px;
}

/* Image hover animation: open from center */
.service-img-wrapper {
    overflow: hidden;
    position: relative;
}

.service-img-wrapper img {
    transition: transform 1s ease-in-out, clip-path 1s ease-in-out;
    transform: scale(1.1);
    /* clip-path: inset(0 50% 0 50%); */
}

.service-img-wrapper:hover img {

    clip-path: inset(0 0% 0 0%);
    transform: scale(1);
}

/* ================================================== */
.client-logo img {
    filter: grayscale(100%);
    transition: all 0.4s ease;
    transform: scale(1);
}

.client-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* =============================================== */
.meeting {
    background: var(--primary-color);
}

/* ============================================== */
.s-title {
    color: var(--primary-color);
}

/* =============================================== */

/* =============================================== */
.our-services {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================================== */
.btn-submit {
    background-color: var(--primary-color, #0d6efd);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-submit:hover {
    background-color: #084298;
    transform: translateY(-2px);
    color: var(--tertiary-color);
}

/* ================================================================== */
/* Active Tab */
.nav-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    font-weight: 600;
    border-color: var(--primary-color) var(--primary-color) transparent;
    position: relative;
    z-index: 1;
}

/* Hover Effect */
.nav-tabs .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    /* subtle hover */
    color: var(--primary-color);
}

/* Default Tab */
.nav-tabs .nav-link {
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background-color: #f8f9fa;
    transition: all 0.3s ease-in-out;
    padding: 10px 20px;
    font-weight: 500;
}

/* Remove gap below tabs */
.nav-tabs {
    border-bottom: 2px solid var(--primary-color);
    gap: 5px;
}

/* Optional: Add smooth tab content transition */
.tab-content>.tab-pane {
    transition: opacity 0.3s ease-in-out;
}

/* Responsive improvement (optional) */
@media (max-width: 576px) {
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}