:root {
    --primary-color: #4d1c6e;
    --secondary-color: #a4157e;
    --tertiary-color: #ffffff;
}

/* ========================================== */
body {
    background: linear-gradient(to right, rgba(252, 250, 250, 0.82), rgba(210, 182, 255, 0.651));
    font-family: 'Poppins', sans-serif;
}

/* ========================================== */
/* Hero Section Base */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero img {
    height: 500px;
    width: 100%;
    object-fit: contain;
}
@media screen and (max-width: 576px) {
    .hero img {
        height: unset;
    }
    
}
/* Overlay (for full-banner style) */
.carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-family: 'Times New Roman', Times, serif;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); */
    color: var(--tertiary-color);
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.125rem;
    max-width: 600px;
    color: var(--tertiary-color);
    margin-bottom: 1.5rem;
}

/* Button Custom */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Carousel Controls Styling */
.hero .carousel-control-next,
.hero .carousel-control-prev {
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

/* Title Utility */
.title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero .carousel-control-next,
    .hero .carousel-control-prev {
        width: 30px;
        height: 30px;
    }
}

/* ========================================== */
.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;
}

/* ===================================== */
.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 */
}

/* ====================================================== */


.service-card {
    background: var(--tertiary-color);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ==================================== */
.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);
}

/* =============================================== */
.service-box {
    background-color: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    cursor: pointer;
    border-radius: 50px;
}

.service-box:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* =============================================== */
.our-services {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}