/********** Template CSS **********/
:root {
    --primary: #691c40da;
    --light: #EFF5FF;
    --dark: #511b2b;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}
/* 
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
} */
#back-to-top {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #3f3e3e75;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  width: 50px;
  height: 50px;
  text-align: center;
  transition: opacity 0.3s;
}

#back-to-top:hover {
  background-color: #333;
}

   #spinner {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
        z-index: 99999;
        background-color: #571b3c;
        color: #127a20a8;
    }

    #spinner.show {
        transition: opacity 0.5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }

    @keyframes pulse {
        0% { transform: scale(0.95); opacity: 0.8; }
        50% { transform: scale(1.05); opacity: 1; }
        100% { transform: scale(0.95); opacity: 0.8; }
    }

    /* Spinner color customization */
    .spinner-border {
        color: #722334dc; /* Change this to your desired spinner color */
        width: 2.5rem;
        height: 2.5rem;
        border-width: 0.25em;
    }
    .spinner-pink {
    color: #77233f;
  }
/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #4b1b2dcb;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/* Topbar Background */
.container-fluid.bg-light {
    background-color: #ffffff; /* White background */
}

/* Topbar Text and Icons */
.container-fluid.bg-light small {
    color: #333333 !important; /* Dark text for contrast on white */
}

.fa-map-marker-alt.text-primary,
.far.fa-clock.text-primary,
.fa-phone-alt.text-primary {
    color: #3d6138 !important; /* Green icon color */
}
 .hover-effect {
        transition: all 0.2s ease;
        transform: scale(1);
    }
    
    .hover-effect:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .btn-sm-square {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Individual icon hover colors */
    .hover-effect:hover.fa-facebook-f {
        background-color: #65f76cde !important;
        color: white !important;
    }
    
    .hover-effect:hover.fa-twitter {
        background-color: #65f76cde !important;
        color: white !important;
    }
    
    .hover-effect:hover.fa-linkedin-in {
        background-color: #65f76cde !important;
        color: white !important;
    }
    
    .hover-effect:hover.fa-instagram {
        background-color: #65f76cde !important;
        color: white !important;
    }
/* Social Media Buttons */
.btn-sm-square.rounded-circle {
    background-color: #3d6138 !important; /* Green button background */
    border: none;
    color: #ffffff !important; /* White icon inside button */
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-sm-square.rounded-circle:hover{
    background-color: #bfd3c5;
}
/*** Modified Navbar CSS ***/
.sticky-top {
  height: 70px;
  line-height: 20px;
  top: -100px;
  transition: top 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

  .custom-navbar {
            height: 70px; /* Reduced height */
            background-color: #f8f9fa;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 0;
        }

        .navbar-brand {
            padding: 0;
            margin-left: 25px;
        }

        .navbar-brand img.logo-img {
            height: 60px; /* Adjusted logo size */
            transition: all 0.3s;
        }

        .navbar-brand:hover img.logo-img {
            transform: scale(1.05);
        }

        /* Navbar links */
        .navbar .navbar-nav .nav-link {
            margin-right: 20px;
            padding: 23px 0; /* Adjusted padding for reduced height */
            color: rgb(129, 12, 77);
            font-size: 15px;
            font-weight: 600;
            text-transform: uppercase;
            transition: 0.3s;
            font-family: Georgia, 'Times New Roman', Times, serif;
        }

        .navbar .navbar-nav .nav-link:hover,
        .navbar .navbar-nav .nav-link.active {
            color: rgb(104, 155, 63);
        }

/* Remove default Bootstrap background for active nav links */
.navbar .nav-link.active,
.nav-item.dropdown .nav-link.dropdown-toggle.active,
.dropdown-menu .dropdown-item.active {
    background-color: transparent !important; /* remove sky-blue background */
    color: rgb(104, 155, 63) !important;      /* your active text color */
}

/* Active top-level links */
.navbar .nav-link.active,
.dropdown-menu .dropdown-item.active {
    color: rgb(104, 155, 63) !important;
}

/* Active dropdown parent link */
.nav-item.dropdown .nav-link.dropdown-toggle.active {
    color: rgb(104, 155, 63) !important;
}


        /* Dropdown styling */
        .dropdown:hover .dropdown-menu {
            display: block;
            margin-top: 0;
            border: none;
            border-radius: 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .dropdown-menu {
            border: none;
            border-radius: 0;
            padding: 0;
        }

        .dropdown-item {
            padding: 12px 20px;
            font-size: 14px;
            color: #333;
            border-bottom: 1px solid #f1f1f1;
            transition: all 0.3s;
        }

        .dropdown-item:hover {
            background-color: rgb(104, 155, 63);
            color: white;
        }

        /* Toggler styling */
        .navbar-toggler {
            border: none;
            padding: 0;
            width: 30px;
            height: 30px;
            position: relative;
            margin-right: 15px;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            background-image: none;
            width: 40px;
            height: 3px;
            background-color: rgb(129, 12, 77);
            display: block;
            position: relative;
            transition: all 0.3s;
        }

        .navbar-toggler-icon::before,
        .navbar-toggler-icon::after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background-color: rgb(129, 12, 77);
            left: 0;
            transition: all 0.3s;
        }

        .navbar-toggler-icon::before {
            transform: translateY(-8px);
        }

        .navbar-toggler-icon::after {
            transform: translateY(8px);
        }

        /* Toggler animation when expanded */
        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
            background-color: transparent;
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
            transform: rotate(45deg);
        }

        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
            transform: rotate(-45deg);
        }

        /* Mobile menu centering */
 @media (max-width: 991px) {
    .custom-navbar {
        height: 160px; /* Increased height for mobile/tablet */
        transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Only transition these properties */
        will-change: auto; /* Remove will-change to prevent zoom issues */
    }
    
    .custom-navbar.scrolled {
        transform: none !important; /* Remove any transform that causes zoom */
        background-color: rgba(255, 255, 255, 0.93);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .navbar-collapse {
        position: fixed;
        top: 160px; /* height of your navbar */
        left: 0;
        width: 100vw;
        background-color: #fff;
        z-index: 1050;
        padding-top: 20px;
        transition: height 0.6s ease !important;
        overflow: hidden;
    }
    
    .navbar-brand img.logo-img {
        height: 110px; /* Larger logo for mobile/tablet */
        transition: none !important; /* Prevent logo scaling */
    }
    
    /* Adjust padding for the toggler to align properly */
    .navbar-toggler {
        margin-top: 15px;
        transform: none !important; /* Prevent toggler scaling */
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: -10px !important;
        background-color: #f8f9fa;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
        transform: none !important; /* Prevent nav items scaling */
    }
    
    .dropdown-menu {
        margin-top: -20px;
        text-align: center;
        background-color: rgba(248, 249, 250, 0.9);
        transform: none !important; /* Prevent dropdown scaling */
    }
}

    

/* General Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.2;
}
/* Remove right-side gap from carousel */
.header-carousel,
.header-carousel .owl-carousel-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Make sure background images cover full screen */
.header-carousel .owl-carousel-item {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}


    /* Header Styles */
    .header {
        position: relative;
        overflow: hidden;
    }
    
    .header-carousel {
        position: relative;
    }
   .header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex !important; /* Force show */
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.header-carousel .owl-prev, 
.header-carousel .owl-next {
    background: rgba(255, 255, 255, 0.4) !important;
    color: #681014 !important;
    font-size: 28px !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 11;
}
 
    .owl-carousel-item {
        height: 100vh;
        min-height: 600px;
        position: relative;
        display: flex;
        align-items: center;
    }
    
    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* background: rgba(48, 46, 46, 0.089); */
    }
    
    .main-title {
        font-size: 3.5rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .tagline {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .stat-box {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        padding: 5px;
        border-radius: 20px;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .stat-box:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-5px);
    }
    
    .stat-number {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 5px;
    }
    .stat-number {
    display: inline-block;
    min-width: 60px; /* Prevents width jumping during animation */
}
    .stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0;
    }
    
    .owl-carousel-text {
        position: absolute;
        bottom: 60px;
        right: 60px;
    }
    
    .carousel-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        background: rgba(0, 0, 0, 0.4);
        padding: 10px 20px;
        border-radius: 5px;
    }
    
    /* Owl Carousel Navigation */
    .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        z-index: 10;
    }
    
    .owl-prev, .owl-next {
        width: 50px;
        height: 50px;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #792b3e !important;
        font-size: 24px !important;
        transition: all 0.3s ease;
    }
    
    .owl-prev:hover, .owl-next:hover {
        background: rgba(240, 236, 236, 0.849) !important;
    }
    
    /* Owl Carousel Dots */
    .owl-dots {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 10;
    }
    
    .owl-dot span {
        background: rgba(104, 37, 54, 0.911) !important;
    }
    
    .owl-dot.active span {
        background: #681014 !important;
    }
    /* Animation for text sliding in from left */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-80px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation for text sliding in from right */
@keyframes slideInFromRight {
    0% {
        transform: translateX(50px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply animations to specific elements */
.slide-in-left {
    animation: slideInFromLeft 0.9s ease-out forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.9s ease-out forwards;
}

/* Delays for staggered animation */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}
    /* Floating Icons - Improved */
   .floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

.floating-icons i {
    position: absolute;
    color: rgba(143, 28, 28, 0.5); /* White with opacity */
    font-size: 28px;
    animation: floatUp 18s linear infinite;
    bottom: -50px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120vh) rotate(100deg);
        opacity: 0;
    }
}

/* Optional: Smaller icons on mobile */
@media (max-width: 768px) {
    .floating-icons i {
        font-size: 30px;
    }
}
    /* Fade Left */
@keyframes fadeOutLeftCustom {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50px);
  }
}

@keyframes fadeInRightCustom {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade Right */
@keyframes fadeOutRightCustom {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(50px);
  }
}

@keyframes fadeInLeftCustom {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.owl-animate-in.fadeInRightCustom {
  animation: fadeInRightCustom 0.5s forwards;
}
.owl-animate-out.fadeOutLeftCustom {
  animation: fadeOutLeftCustom 0.5s forwards;
}
.owl-animate-in.fadeInLeftCustom {
  animation: fadeInLeftCustom 0.5s forwards;
}
.owl-animate-out.fadeOutRightCustom {
  animation: fadeOutRightCustom 0.5s forwards;
}

    @keyframes float {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 0.5;
        }
        90% {
            opacity: 0.5;
        }
        100% {
            transform: translateY(-100vh) rotate(360deg);
            opacity: 0;
        }
    }
    
    /* Responsive Styles */
    @media (max-width: 992px) {
        .owl-carousel-item {
            height: auto;
            min-height: 500px;
            padding: 60px 0;
        }
        
        .main-title {
            font-size: 2.5rem;
        }
        
        .tagline {
            font-size: 1rem;
        }
        
        .owl-carousel-text {
            bottom: 30px;
            right: 30px;
        }
        
        .carousel-title {
            font-size: 1.8rem;
        }
        
        .owl-prev, .owl-next {
            width: 40px;
            height: 40px;
            font-size: 20px !important;
        }
    }
    
    @media (max-width: 768px) {
        .owl-carousel-item {
            min-height: 400px;
        }
        
        .main-title {
            font-size: 2rem;
        }
        
        .owl-carousel-text {
            position: relative;
            bottom: auto;
            right: auto;
            text-align: center;
            margin-top: 20px;
        }
        
        .carousel-title {
            font-size: 1.5rem;
            display: inline-block;
        }
        
        .stat-box {
            padding: 10px;
        }
        
        .stat-number {
            font-size: 1.5rem;
        }
        
        .owl-nav {
            display: none;
        }
    }
    
    @media (max-width: 576px) {
        .main-title {
            font-size: 1.8rem;
        }
        
        .stat-box {
            margin-bottom: 15px;
        }
    }

/* About Section Enhancements */
.feature-box {
    border-left: 4px solid #8d2f49; /* Changed from var(--primary) */
}

/* Icon Colors */
.fa-flask,
.fa-shield-alt,
.fa-microscope,
.fa-check-circle,
.fa-plus-circle,
.fa-award,
.fa-atom,
.fa-user-graduate,
.fa-globe-asia,
.fa-history {
    color: #8d2f49 !important; /* Force color override */
}

/* Modal Header Accent */
.modal-body h2::after {
    background: #8d2f49; /* Changed from var(--primary) */
}

/* Hover Effects */
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(141, 47, 73, 0.2); /* Color-matched shadow */
}

.btn-outline:hover {
    background-color: #8d2f49;
    color: white !important;
}

/* Icon Enhancements */
.fa-2x {
    width: 40px;
    text-align: center;
}
:root {
            --primary-color: #8d2f49;
            --secondary-color: #f8f9fa;
            --accent-color: #d39e00;
        }
        
       body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;                /* remove outer spacing */
    padding: 0;               /* reset padding */
    background: linear-gradient(to bottom, #f9f9f9, #fff);
}

        /* Reduce section spacing */
/* ===== ABOUT US SECTION CSS ===== */

/* Reduce section spacing */
section,
.container-xxl.py-5,
.about-index {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.about-index {
    margin: 4%;
}

/* Animation Classes (Desktop only) */
.autoShowLeft {
    animation: left-appear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.autoShowRight {
    animation: right-appear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

@keyframes left-appear {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes right-appear {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Button Styling ===== */
.btn-view {
    position: relative;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    background: linear-gradient(45deg, #4b1027 0%, #77104cb2 100%);
    color: white;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(180, 18, 107, 0.4);
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #5e1539 0%, #cb1193 100%);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-view:hover::before {
    width: 100%;
}

.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 129, 53, 0.6);
}

.btn-view:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(9, 136, 47, 0.4);
}

.btn-view i {
    transition: transform 0.3s ease;
    color: white !important;
}

.btn-view:hover i {
    transform: rotate(90deg);
    color: white !important;
}

/* ===== Mobile Fixes for About Us Section ===== */
@media (max-width: 768px) {

    /* Reduce padding on mobile */
    section,
    .container-xxl.py-5,
    .about-index {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .about-index {
        margin: 2%;
    }

    /* Center align all text content */
    .about-index .col-lg-6.autoShowRight {
        text-align: center !important;
        margin: 0 auto;
    }

    /* Force About Us badge + heading to center */
    .about-index .autoShowRight h6,
    .about-index .autoShowRight h3 {
        display: block;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Disable animations on mobile */
    .autoShowLeft,
    .autoShowRight {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Image container: stack neatly */
    .about-img-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Big image full width */
    .about-img-container img:first-child {
        width: 100% !important;
        max-width: 1000px;
        height: auto;
        margin-left: 30%;
    }

    /* Small image overlaid bottom-right */
    .about-img-container img:last-child {
        position: absolute;
        bottom: 10%;
        right: 5%;
        width: 50% !important;
        border: 4px solid #fff;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
}

        /* Modal Styling */
        .modal-content {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
        }
        
        .modal-header {
            position: relative;
            padding: 0;
            border: none;
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .feature-icon {
            color: var(--primary-color);
            font-size: 1.8rem;
            min-width: 50px;
        }
        
        /* Custom badge styling */
        .custom-badge {
            border-color: var(--primary-color) !important;
            color: var(--primary-color);
            font-weight: 500;
            background: rgba(141, 47, 73, 0.1);
        }
        
        /* Feature box styling */
        .feature-box {
            background-color: var(--secondary-color);
            border-left: 4px solid var(--primary-color);
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            
            .modal-dialog {
                max-width: 95%;
                margin: 1.75rem auto;
            }
            
            .modal-header img:first-child {
                height: 200px !important;
            }
            
            .position-absolute img {
                height: 180px !important;
                width: 200px !important;
            }
            
            /* Reorder for mobile - text first, then image */
            .about-index .row {
                flex-direction: column-reverse;
            }
            
            
        }
        
        @media (max-width: 768px) {
            .modal-header img:first-child {
                height: 150px !important;
            }
            
            .position-absolute img {
                height: 130px !important;
                width: 150px !important;
            }
            
            .feature-box p {
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 576px) {
            .modal-dialog {
                margin: 0.5rem auto;
                max-width: 95%;
            }
            
            .modal-body {
                padding: 1rem;
            }
            
            .modal-header img:first-child {
                height: 120px !important;
            }
            
            .position-absolute img {
                height: 100px !important;
                width: 120px !important;
                padding: 5px !important;
            }
            
            .btn-close {
                font-size: 0.8rem;
                padding: 0.5rem;
            }
        }
        
        /* Image styling */
        .img-overlap {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 5px solid white;
        }
        
        /* Section spacing - FIXED the gap issue */
        .about-index {
            padding: 3rem 0;
        }
        
        .container-xxl.py-5 {
            padding-top: 2rem !important;
            padding-bottom: 2rem !important;
        }
        
        /* Text styling */
        h3 {
            color: #333;
            font-weight: 700;
            margin-bottom: 1.5rem;
            margin-top: 1rem;
        }
        
        p {
            color: #555;
            line-height: 1.7;
        }
        
        /* Modal footer button styling */
        .modal-footer .btn-outline {
            border-color: var(--primary-color);
            color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .modal-footer .btn-outline:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .modal-footer .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .modal-footer .btn-primary:hover {
            background-color: #77243e;
            border-color: #77243e;
            transform: translateY(-2px);
        }
        
        
.autoShow{
    animation: text-appear both;
    animation-timeline: view();
    animation-range: entry 0% cover 100vh;
}
@keyframes text-appear {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    
}

   .mv-index {
      background: linear-gradient(to bottom, #f9f9f9, #fff);
      padding: 60px 0;
    }

    .mv-badge {
      border-color: #8d2f49 !important;
      color: #8d2f49 !important;
      font-weight: 600;
    }

    .mv-title {
      color: #333;
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    /* Cards */
    .mv-card {
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      border-left: 4px solid #8d2f49;
      height: 100%;
    }

    .mv-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
      background: #fff7f9;
    }

    .mv-card-icon {
      width: 55px;
      height: 55px;
      background: rgba(141, 47, 73, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
      color: #8d2f49;
      font-size: 1.4rem;
      transition: 0.3s ease;
    }

    .mv-card:hover .mv-card-icon {
      background: #8d2f49;
      color: #fff;
      transform: scale(1.15) rotate(10deg);
    }

    .mv-card h4 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #333;
    }

    .mv-card p {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.6;
    }

    /* Right Column */
    .mv-image-wrapper {
      width: 100%;
      height: 240px;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .mv-main-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.5s ease;
    }

    .mv-image-wrapper:hover .mv-main-image {
      transform: scale(1.08);
    }

    .mv-content-box {
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      margin-top: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .mv-excel-title {
      color: #8d2f49;
      font-weight: 700;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
    }

    .mv-highlight {
      background: rgba(141, 47, 73, 0.05);
      padding: 10px 15px;
      border-left: 3px solid #8d2f49;
      border-radius: 0 5px 5px 0;
      font-weight: 500;
      margin-bottom: 12px;
    }

    /* Process + Certifications Row */
    .mv-extra {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 15px;
      flex-wrap: wrap;
    }

    .mv-process h5, .mv-certifications h5 {
      color: #8d2f49;
      font-weight: 700;
      margin-bottom: 10px;
      font-size: 1rem;
    }

    .mv-step {
      display: flex;
      gap: 8px;
      font-size: 0.9rem;
      margin-bottom: 8px;
    }

    .mv-step-number {
      width: 22px;
      height: 22px;
      background: #8d2f49;
      color: #fff;
      border-radius: 50%;
      font-size: 0.75rem;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mv-cert-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .mv-cert-badge {
      background: rgba(141, 47, 73, 0.1);
      color: #8d2f49;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      transition: 0.3s ease;
    }

    .mv-cert-badge:hover {
      background: #8d2f49;
      color: #fff;
      transform: translateY(-2px);
    }

    /* Animations */
    @keyframes fadeLeft { from {opacity:0; transform:translateX(-40px);} to {opacity:1; transform:translateX(0);} }
    @keyframes fadeRight { from {opacity:0; transform:translateX(40px);} to {opacity:1; transform:translateX(0);} }
    @keyframes fadeUp { from {opacity:0; transform:translateY(40px);} to {opacity:1; transform:translateY(0);} }
    @keyframes zoomIn { from {opacity:0; transform:scale(0.9);} to {opacity:1; transform:scale(1);} }

    .animate-on-scroll { opacity: 0; }
    .animate-on-scroll.active { opacity: 1; }
    .fade-left.active { animation: fadeLeft 0.8s ease forwards; }
    .fade-right.active { animation: fadeRight 0.8s ease forwards; }
    .fade-up.active { animation: fadeUp 0.8s ease forwards; }
    .zoom-in.active { animation: zoomIn 0.8s ease forwards; }

    /* Responsive */
    @media (max-width: 767.98px) {
      .mv-image-wrapper { height: 300px; } /* bigger on mobile */
      .mv-card { text-align: center; }
      .mv-card-icon { margin: 0 auto 12px auto; }
      .mv-extra { flex-direction: column; align-items: center; text-align: center; }
    }
/*** Service ***/
/* Service Section Enhancements */
.service-item {
    transition: all 0.5s ease;
    border: none !important;
    color: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
}

.service-item > *:not(.service-img) {
    position: relative;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.service-item:hover .service-img {
    opacity: 0.8;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    border-radius: 40px;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid #8d2f49 !important;
}

.service-item:hover .btn {
    width: 140px;
    background: #8d2f49 !important;
    color: white !important;
}

.service-item:hover .btn i {
    color: white !important;
}

.service-item h4 {
    color: white;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.unsplash-credit a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.unsplash-credit a:hover {
    text-decoration: underline;
    color: #f8f9fa !important;
}
/*** Feature ***/
/* Feature Section */
   .kl-feature-section {
            position: relative;
            padding: 100px 0;
            background: linear-gradient(
                rgba(0, 0, 0, 0.3),
                rgba(0, 0, 0, 0.3)
            ), url('../img/032.webp') center/cover no-repeat fixed;
            min-height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        /* Content Box */
        .kl-feature-inner {
            position: relative;
            z-index: 2;
            background: rgba(255, 255, 255, 0.9);
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(3px);
        }

        /* Badge */
        .kl-feature-badge {
            display: inline-block;
            padding: 10px 24px;
            margin-bottom: 20px;
            color: #fff;
            background: linear-gradient(to right, #a32052, #5d1454);
            border-radius: 30px;
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* Text */
        .kl-feature-description {
            color: #555;
            font-size: 16px;
            margin-bottom: 30px;
        }

        /* Image Container */
        .kl-image-container {
            position: relative;
            height: 500px;
        }

        /* Image Styling */
        .kl-image-container img {
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.4s ease;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            border: 6px solid #fff;
            width: 350px;
            height: auto;
            object-fit: cover;
        }

        /* Top Image */
        .kl-top-image {
            position: absolute;
            top: 0;
            right: -30px;
            width: 350px;
            /* transform: rotate(-6deg); */
            z-index: 2;
        }

        /* Bottom Image */
        .kl-bottom-image {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 380px;
            z-index: 1;
        }

        /* Hover Effect */
        .kl-top-image:hover {
            /* transform: rotate(0deg) scale(1.05); */
            z-index: 3;
        }

        /* Responsive tweaks */
       @media (max-width: 1199.98px) {
            .kl-feature-section {
                padding: 80px 0;
            }
            
            .kl-feature-inner {
                padding: 40px;
            }
            
            .kl-image-container {
                height: 550px;
            }
            
            .kl-top-image {
                width: 420px;
            }
            
            .kl-bottom-image {
                width: 440px;
            }
        }

        @media (max-width: 991.98px) {
            /* .kl-feature-section {
                padding: 40px 15px;
                background: #5a062a !important;
                min-height: auto;
            } */
            .kl-feature-section {
        background: linear-gradient(
            rgba(0,0,0,0.3),
            rgba(0,0,0,0.3)
        ), url('../img/032.webp') center center no-repeat;
        background-size: cover;
        background-attachment: fixed; /* keeps image fixed */
        min-height: 300px; /* set smaller height for mobile */
        padding: 40px 15px; /* adjust padding */
    }

            .kl-feature-inner {
                padding: 30px 25px;
                width: 100%;
                margin-bottom: 30px;
            }

            .kl-image-container {
                margin-top: 0;
                height: 550px;
                width: 100%;
                overflow: visible;
        position: relative;
            }

           .kl-top-image {
                width: 1270px !important;
                height: 1240px !important;
                right: -850px;
            }
            
            .kl-bottom-image {
                width: 1080px !important;
                height: 380px !important;
                left: 100px;
            }
            
            .row.align-items-center {
                flex-direction: column;
            }
            
            .col-lg-6 {
                width: 100%;
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .kl-feature-section {
                padding: 30px 10px;
            }
            
            .kl-feature-inner {
                padding: 25px 20px;
                border-radius: 15px;
            }
            
            .kl-image-container {
                height: auto;
                min-height: 350px;
                margin-top: 30px;
                margin-bottom: 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
            
            .kl-top-image,
            .kl-bottom-image {
                width: 85% !important;
                max-width: 300px;
                position: relative;
                margin-bottom: 25px;
                transform: rotate(0deg);
                left: auto;
                right: auto;
                top: auto;
                bottom: auto;
            }
            
            .kl-top-image:hover {
                transform: scale(1.05);
            }
            
            h2.fw-bold {
                font-size: 1.75rem;
            }
            
            .kl-feature-description {
                font-size: 15px;
            }
        }

        @media (max-width: 576px) {
             .kl-feature-section {
        min-height: 250px; /* even smaller height */
        padding: 30px 10px;
    }
            
            .kl-feature-inner {
                padding: 20px 15px;
                border-radius: 12px;
            }

            .kl-feature-badge {
                font-size: 12px;
                padding: 8px 16px;
                margin-bottom: 15px;
            }
            
            h2.fw-bold {
                font-size: 1.5rem;
            }
            
            .kl-feature-description {
                font-size: 14px;
                margin-bottom: 20px;
            }

            .kl-image-container {
                height: auto;
                min-height: 300px;
            }

            .kl-top-image,
            .kl-bottom-image {
                width: 90% !important;
                max-width: 260px;
                margin-bottom: 20px;
            }
            
            .d-flex.align-items-start.mb-3 {
                margin-bottom: 15px !important;
            }
            
            .fa-2x {
                font-size: 1.5em;
            }
        }
        
        .kl-icon-primary {
            color: #4e0d1ed7;
        }

/*** Team ***/

/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 1;
    transition: .5s;
    z-index: 1;
    color: #1a5c2b;
}
@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: auto;
        bottom: -20px; /* Position below carousel */
        width: 100px;
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        font-size: 30px;
        color: #521b3d;
    }
}
.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: rgb(80, 31, 56);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/* Add to your CSS file */
.text-green {
    color: #237a38d0 !important;
}

.bg-green {
    background-color: #237a38d0 !important;
}

.btn-green {
    background-color: #237a38d0;
    color: white;
}

.btn-green:hover {
    background-color: #1a5c2b;
    color: white;
}
/* Form Styles */
.appointment-form .form-control,
.appointment-form .form-select {
    height: 55px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.appointment-form textarea {
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.appointment-form .btn-submit {
    background-color: #237a38d0;
    color: white;
    border-radius: 5px;
    border: none;
    transition: all 0.3s;
    padding: 12px 0;
}

.appointment-form .btn-submit:hover {
    background-color: #1a5c2b;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background-color: #237a38d0;
}

.contact-icon i {
    color: white;
}

     .clients {
            padding: 80px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            position: relative;
            overflow: hidden;
        }
        
        .clients::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #118b40 0%, #dd5b8d 100%);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }
        
        .section-header h4 {
            font-size: 1.8rem;
            font-weight: 400;
            color: #0a7439be;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-header h4::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #076d26b7 0%, #066d0fb0 100%);
            border-radius: 2px;
        }
        
        .section-header p {
            font-size: 1.1rem;
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .client-carousel {
            position: relative;
            padding: 20px 0;
        }
        
        .client-carousel .client-item {
            padding: 25px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 180px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            margin: 10px;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .client-carousel .client-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }
        
        .client-logo {
            width: auto;
            max-width: 100%;
            height: auto;
            max-height: 120px;
            transition: all 0.3s ease;
            object-fit: contain;
            padding: 15px;
            filter: grayscale(50%) opacity(85%);
        }
        
        .client-logo:hover {
            filter: grayscale(0%) opacity(100%) !important;
            transform: scale(1.05);
        }
        
        .owl-carousel .owl-stage {
            display: flex;
            align-items: center;
        }
        
        .owl-nav {
            display: none;
        }
        
        /* Updated class names for stats section */
        .achievements-wrapper {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 60px;
            padding: 30px 0;
        }
        
        .achievement-card {
            text-align: center;
            padding: 25px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            min-width: 200px;
            transition: transform 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .achievement-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
        }
        
        .achievement-card:hover {
            transform: translateY(-5px);
        }
        
        .achievement-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: #4b6cb7;
            margin-bottom: 10px;
        }
        
        .achievement-label {
            font-size: 1rem;
            color: #7f8c8d;
            font-weight: 600;
        }
        
        
        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2.2rem;
            }
            
            .client-logo {
                max-height: 100px;
            }
            
            .client-carousel .client-item {
                height: 150px;
            }
            
            .achievement-card {
                min-width: 150px;
                padding: 20px;
            }
            
            .achievement-value {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .client-logo {
                max-height: 80px;
            }
            
            .client-carousel .client-item {
                height: 130px;
                padding: 15px;
            }
            
            .achievements-wrapper {
                gap: 15px;
            }
            
            .achievement-card {
                min-width: 120px;
                padding: 15px;
            }
            
            .achievement-value {
                font-size: 1.8rem;
            }
        }
/*** Footer ***/
   .footer {
            position: relative;
            overflow: hidden;
            background: linear-gradient(rgba(0, 0, 0, 0.589), rgba(0, 0, 0, 0.8)), 
                        url('../img/019.webp') fixed center center;
            background-size: cover;
                background-attachment: scroll; /* avoid fixed on mobile */

            padding-top: 4rem !important;
        }
        
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #2c8540, #a3e635, #2c8540);
        }
        
        .footer-logo {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.979);
            padding: 12px 25px;
            border-radius: 0 0 15px 15px;
            z-index: 1;
            /* backdrop-filter: blur(5px); */
        }
        
        .footer-logo img {
            height: 85px;
            /* filter: brightness(0) invert(1); */
        }
        
        .footer-content {
            margin-top: 50px;
        }
        
        .footer-section {
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            margin-bottom: 1.5rem;
        }
        
        .footer-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .footer h5 {
            font-size: 1.25rem;
            margin-bottom: 1.2rem;
            padding-bottom: 0.5rem;
            position: relative;
            display: inline-block;
            font-weight: 600;
            color: white !important;
        }
        
        .footer h5::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background: #a3e635;
        }
        
        /* Hover effects */
        .footer .btn-link {
            display: block;
            margin-bottom: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            padding-left: 0;
            text-align: left;
            width: 100%;
            opacity: 0.9;
            color: white !important;
        }
        
        .footer .btn-link:hover {
            padding-left: 12px;
            color: #a3e635 !important;
            opacity: 1;
        }
        
        .footer .btn-link:hover::before {
            /* content: '➞'; */
            position: absolute;
            left: 0;
        }
        
        .btn-social {
            transition: all 0.3s ease;
            color: white !important;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }
        
        .btn-social:hover {
            background-color: #a3e635 !important;
            border-color: #a3e635 !important;
            transform: translateY(-3px);
            color: white;
        }
        
        .btn-social i {
            color: white !important;
        }
        
        .map-container iframe {
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        
        .map-container iframe:hover {
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
            transform: scale(1.02);
        }
        
        .copyright {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 20px;
            margin-top: 20px;
        }
        
        .copyright a {
            transition: all 0.3s ease;
            text-decoration: none;
            color: white !important;
        }
        
        .copyright a:hover {
            color: #a3e635 !important;
            text-decoration: underline;
        }
        
        .contact-info p {
            margin-bottom: 0.8rem;
            display: flex;
            align-items: flex-start;
            color: white !important;
        }
        
        .contact-info i {
            margin-top: 5px;
            margin-right: 12px;
            min-width: 16px;
            color: white;
        }
        
        /* Social icons container */
        .social-icons-container {
            margin-top: 1rem;
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 992px) {
           .footer {
        background-size: cover; /* maintain aspect ratio and no repeat */
        background-position: center top; /* focus top part of image */
        background-repeat: no-repeat; /* prevent repeating */
        background-attachment: scroll; /* fix mobile behavior */
        padding-top: 6rem; /* adjust padding */
    }
            .footer-section {
                text-align: center;
            }
            .footer-section .d-flex {
        justify-content: flex-start; /* aligns items to the start (left) */
        justify-content: center; /* fallback if needed */
        gap: 10px; /* space between icons */
        margin-left: 30%; /* shifts icons slightly right */
    }
            .footer h5::after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer .btn-link {
                text-align: center;
            }
            
              .contact-info {
        display: flex;
        margin-left: 30%;
        flex-direction: column; /* stack items vertically */
        align-items: flex-start; /* align all text + icons to left */
        text-align: left;
        gap: 5px; /* optional spacing between lines */
    }

    .contact-info p {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* icons + text start from left */
        margin: 0;
        gap: 6px; /* space between icon and text */
    }

    .contact-info i {
        margin-right: 6px; /* space between icon and text */
        min-width: auto;
        font-size: 14px; /* adjust icon size if needed */
    }
            /* Social icons - center on mobile */
            .social-icons-container .d-flex {
                justify-content: center !important;
                margin-left: 30% !important;
            }
        }
        
        @media (max-width: 768px) {
            .footer-logo {
                padding: 8px 20px;
            }
             .footer-section .d-flex {
        justify-content: flex-start;
        margin-left: 25%; /* adjust this value to move icons slightly more to the right */
    }
            
            .footer-logo img {
                height: 40px;
            }
            
            .footer-content {
                margin-top: 40px;
            }
            
            .footer h5 {
                font-size: 1.1rem;
            }
            
            .contact-info p {
        justify-content: center;
        text-align: center;
    }

    .contact-info i {
        margin-right: 4px !important;   /* much smaller gap */
        min-width: auto !important;     /* remove forced width */
        font-size: 13px;                /* smaller icon to match text */
    }
            
            /* Ensure proper spacing for social icons on mobile */
            .social-icons-container {
                margin-top: 1.5rem;
            }
        }
        
        @media (max-width: 576px) {
           .footer {
        background-size: cover; /* keeps it full width without repeating */
        background-position: center top;
        background-repeat: no-repeat;
        padding-top: 6rem;
    }
            .footer-logo {
                padding: 6px 15px;
            }
            
            .footer-logo img {
                height: 35px;
            }
            
            .contact-info p {
                font-size: 0.9rem;
            }
        }
.back-to-top {
    background-color:  hsla(330, 50%, 29%, 0.745) !important;/* Green background */
    color: #ffffff !important; /* White arrow */
    border: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #21883794 !important; /* Slightly darker green on hover */
    color: #ffffff !important;
}
   
       /* Floating chat widget styles */
   .chat-widget {
            position: fixed;
            bottom: 100px;
            right: 30px;
            z-index: 1000;
        }

        .chat-main-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #6e8efb, #a777e3);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            position: relative;
            z-index: 10;
        }

        .chat-main-icon:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        .chat-main-icon i {
            color: white;
            font-size: 29px;
            transition: transform 0.3s ease;
        }

        .chat-main-icon.active i {
            transform: rotate(45deg);
        }

        .chat-options {
            position: absolute;
            width: 180px;
            height: 180px;
            bottom: -60px;
            left: -60px;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.5);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }

        .chat-options.active {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        .option {
            position: absolute;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: all 0.3s ease;
            transform: translate(0, 0);
        }

        .option:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }

        .option:nth-child(1) {
            background: #E4405F;
            top: 20px;
            left: 0;
        }

        .option:nth-child(2) {
            background: #3b5998;
            top: 0;
            left: 50px;
        }

        .option:nth-child(3) {
            background: #25D366;
            top: 120px;
            left: 30px;
        }

        .option:nth-child(4) {
            background: #0077B5;
            top: 70px;
            left: 0;
        }

        .option i {
            color: white;
            font-size: 20px;
        }

        .help-prompt {
            position: absolute;
            bottom: 80px;
            right: 20px;
            background: white;
            padding: 12px 18px;
            border-radius: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            width: 180px;
            text-align: center;
            font-size: 14px;
            color: #4a5568;
        }

        .help-prompt.active {
            opacity: 1;
            visibility: visible;
            animation: bounce 2s infinite;
        }

        .help-prompt:after {
            content: '';
            position: absolute;
            bottom: -8px;
            right: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid white;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        /* Mobile styles */
        @media (max-width: 768px) {
            .chat-widget {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                bottom: auto;
                right: auto;
                z-index: 1000;
                animation: float 3s ease-in-out infinite;
            }
            
            .chat-main-icon {
                width: 90px;
                height: 90px;
            }
            
            .chat-main-icon i {
                font-size: 38px;
            }
            
            .chat-options {
                width: 200px;
                height: 200px;
                bottom: -70px;
                left: -70px;
            }
            
            .option {
                width: 60px;
                height: 60px;
            }
            
            .option i {
                font-size: 24px;
            }
            
            .help-prompt {
                bottom: 90px;
                right: 50%;
                transform: translateX(50%);
                width: 200px;
                font-size: 15px;
                padding: 14px 20px;
            }
            
            .help-prompt:after {
                right: 50%;
                transform: translateX(50%);
            }
        }

        @keyframes float {
            0% {
                transform: translate(-50%, -50%);
            }
            50% {
                transform: translate(-50%, -55%);
            }
            100% {
                transform: translate(-50%, -50%);
            }
        }

          /* Floating appointment widget styles */
      .bookappointment-float {
      position: fixed;
      top: 30%;
      right: 20px;
      transform: translateY(-50%);
      z-index: 1000;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .bookappointment-text {
      background: linear-gradient(135deg, #237a38, #34c759);
      color: white;
      padding: 6px 12px;
      border-radius: 20px;
      margin-right: 10px;
      font-weight: 400;
      font-size: 14px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      white-space: nowrap;
      animation: textPulse 2s ease-in-out infinite;
      transform-origin: center;
    }

    .bookappointment-main-icon {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, #237a38, #34c759);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
      animation: floating 3s ease-in-out infinite, heartbeat 1.5s ease-in-out infinite;
    }

    .bookappointment-main-icon i {
      color: #fff;
      font-size: 30px;
    }

    @keyframes floating {
      0% { transform: translateY(0px); }
      50% { transform: translateY(10px); }
      100% { transform: translateY(0px); }
    }

    @keyframes heartbeat {
      0% { transform: scale(1); }
      5% { transform: scale(1.1); }
      10% { transform: scale(1); }
      15% { transform: scale(1.15); }
      20% { transform: scale(1); }
      100% { transform: scale(1); }
    }

    @keyframes textPulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    /* Popup Form */
    .bookappointment-form-popup {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.9);
      width: 95%;
      max-width: 700px;
      background: #fff;
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
    }

    .bookappointment-form-popup.active {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, -50%) scale(1);
    }

    .form-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      border-bottom: 1px solid #eee;
      padding-bottom: 10px;
    }

    .form-header h3 {
      color: #237a38;
      font-weight: bold;
      margin: 0;
    }

    .close-btn {
      background: none;
      border: none;
      font-size: 28px;
      color: #888;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close-btn:hover {
      color: #000;
    }

    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1500;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Form fields uniform look */
    .form-control, .form-select {
      height: 55px;
      border-radius: 6px;
      border-color: #ced4da;
    }

    textarea.form-control {
      height: auto;
      min-height: 100px;
    }

    /* Button */
    .submit-btn {
      background-color: #237a38;
      color: #fff;
      font-weight: 600;
      padding: 14px;
      border-radius: 6px;
      border: none;
      transition: 0.3s;
      width: 100%;
    }

    .submit-btn:hover {
      background-color: #1a5d2b;
    }

    @media (max-width: 768px) {
      .bookappointment-float {
        top: 300px !important;
        right: 15px;
        flex-direction: column-reverse;
        align-items: flex-end;
      }
      
      .bookappointment-text {
        margin-right: 0;
        margin-top: 10px;
        font-size: 14px;
        padding: 8px 12px;
      }
      
      .bookappointment-main-icon {
        width: 90px !important;
        height: 90px !important;
      }
      .bookappointment-main-icon i {
        font-size: 34px;
      }
    }
         /* company overview page */
         /* Prevent horizontal overflow and control layout */
.main-company-overview {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Reset row margins inside wrapper */

/* Make images inside wrapper responsive */


           /* Header Styles */
        .company-overview-header-container {
            position: relative;
            height: 80vh;
            overflow: hidden;
            margin: 0;
            padding: 0;
        }
        
        .company-overview-header-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .company-overview-header-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(59, 20, 40, 0.9));
        }
        
        .company-overview-header-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 100%;
        }
        
        /* Section Styling */
        .company-overview-section-container {
            padding: 60px 0;
        }
        
        .company-overview-section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .company-overview-section-title h2 {
            font-weight: 700;
            color: #5f173c;
            position: relative;
            padding-bottom: 15px;
            display: inline-block;
        }
        
        .company-overview-section-title h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: #701c48;
        }
        
        .company-overview-section-subtitle {
            color: #6c757d;
            font-size: 1.2rem;
            max-width: 700px;
            margin: 20px auto 0;
        }
        
        /* About Section */
        .company-overview-about-highlight {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }
        
        .company-overview-about-highlight:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .company-overview-about-highlight i {
            font-size: 2rem;
            color: #5e1b3e;
            margin-right: 15px;
            min-width: 40px;
            text-align: center;
        }
        
        .company-overview-experience-badge {
            background-color: #662044;
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 10;
        }
        
        .company-overview-experience-badge h1 {
            font-size: 3.5rem;
            margin: 0;
            font-weight: bold;
            line-height: 1;
        }
        
        .company-overview-experience-badge h6 {
            font-size: 1rem;
            margin: 10px 0 0;
            font-weight: 600;
        }
        
      /* === SERVICES SECTION === */
.company-overview-service-card {
    background: linear-gradient(145deg, #ffffff, #f9f5f8);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-top: 5px solid #5e163b;
}

.company-overview-service-card::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(59,20,40,0.05);
    transition: all 0.4s ease;
    z-index: 1;
}

.company-overview-service-card:hover::after {
    width: 100%;
}

.company-overview-service-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.company-overview-service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #6d1b45;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.company-overview-service-card:hover .company-overview-service-icon {
    transform: scale(1.3) rotate(-10deg);
    color: #1a993aab;
}

.company-overview-service-card h4 {
    text-align: center;
    font-weight: 700;
    color: #6d1844;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.company-overview-service-list {
    list-style: none;
    padding-left: 0;
    color: #555;
    position: relative;
    z-index: 2;
}

.company-overview-service-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.company-overview-service-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #c92646;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
}

/* Fade-in effect for services */
.company-overview-service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.company-overview-service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .company-overview-service-card {
        padding: 25px 20px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .company-overview-service-icon {
        font-size: 2.5rem;
    }
    .company-overview-service-card h4 {
        font-size: 1.2rem;
    }
}

        
        /* Vision Section */
        .company-overview-vision-section {
            background: linear-gradient(rgba(0, 0, 0, 0.705), rgba(0, 0, 0, 0.658)), url('../img/slider-2.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        /* Features Section */
        .company-overview-feature-card {
            background: white;
            padding: 35px 25px;
            border-radius: 10px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            border-bottom: 5px solid #118f41be;
        }
        
        .company-overview-feature-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .company-overview-feature-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background-color: #f8f5f7;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .company-overview-feature-icon i {
            font-size: 2.5rem;
            color: #13b421b0;
        }
        
        .company-overview-feature-card h5 {
            color: #3b1428;
            margin-bottom: 15px;
            font-weight: 700;
        }
        .company-overview-vision-section p {
    color: #f8f0f2; /* Slightly bright, soft pinkish-white for contrast */
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6); /* adds depth and readability */
    border-left: 4px solid #b12f4a;
    border-right: 4px solid #18b33fbd; /* stylish left border */
    padding-left: 15px;
    margin-bottom: 20px;
}
        
        /* Certifications Section */
        .company-overview-certification-item {
            background: white;
            padding: 25px 15px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .company-overview-certification-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            background-color: #3b1428;
            color: white;
        }
        
        .company-overview-certification-item:hover h5 {
            color: white;
        }
        
        .company-overview-certification-item h5 {
            color: #3b1428;
            font-weight: 700;
            margin: 0;
        }
        
        /* Team Section */
        .company-overview-team-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .company-overview-team-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }
        
        .company-overview-team-img {
            overflow: hidden;
            height: 300px;
        }
        
        .company-overview-team-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .company-overview-team-card:hover .company-overview-team-img img {
            transform: scale(1.08);
        }
        
        .company-overview-team-info {
            padding: 25px;
            text-align: center;
        }
        
        .company-overview-team-info h5 {
            color: #3b1428;
            margin-bottom: 8px;
            font-weight: 700;
        }
        
        .company-overview-team-qual {
            font-style: italic;
            color: #6c757d;
            margin-bottom: 0;
            font-weight: 500;
        }
        
        /* Buttons */
        .company-overview-primary-btn {
            background-color: #3b1428;
            border: none;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            color: white;
        }
        
        .company-overview-primary-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(59, 20, 40, 0.3);
            background-color: #4a1a33;
            color: white;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .company-overview-header-container {
                height: 30vh;
            }
            
            .company-overview-experience-badge {
                position: relative !important;
               margin-top: 10px;
                width: 300px;
            }
            .company-overview-image-container img {
                margin-top: -100px !important;
            }
            .company-overview-section-container {
                padding: 50px 0;
            }
        }
        
        @media (max-width: 768px) {
            .company-overview-header-container {
                height: 50vh;
            }
            
            .company-overview-header-content h1 {
                font-size: 2.5rem;
            }
            
            .company-overview-header-content p {
                font-size: 1.2rem;
            }
            
            .company-overview-section-container {
                padding: 40px 0;
            }
            
            .company-overview-experience-badge {
                margin: -30px auto 25px;
                width: 150px;
                padding: 20px;
            }
            
            .company-overview-experience-badge h1 {
                font-size: 3rem;
            }
            .company-overview-image-container img{
                margin-top: -80px !important;
            }
            .company-overview-section-title {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 576px) {
            .company-overview-header-container {
                height: 45vh;
            }
            
            .company-overview-header-content h1 {
                font-size: 2rem;
            }
            
            .company-overview-section-title h2 {
                font-size: 1.8rem;
            }
            
            .company-overview-section-container {
                padding: 30px 0;
            }
            
            .company-overview-experience-badge {
                margin: -20px auto 20px;
                width: 90%;
                padding: 15px;
            }
            
            .company-overview-experience-badge h1 {
                font-size: 2.5rem;
            }
            
            .company-overview-experience-badge h6 {
                font-size: 0.9rem;
            }
              .company-overview-image-container img {
        margin: 0 !important;           /* cancel bootstrap mt-4 */
        position: relative;
        top: -80px;                     /* adjust this value */
        display: block;
    }
        }
        
        /* Animation classes */
        .company-overview-fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .company-overview-fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
         /* chief page */
/* contact us */
  :root {
            --kalyani-primary: #2c853fad;
            --kalyani-secondary: #70254a;
            --kalyani-light: #f8f9fa;
            --kalyani-dark: #212529;
        }
     /* styles.css */
.kal-header-container {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.kal-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
          filter: brightness(0.8);

}

.kal-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(32, 31, 32, 0.521) 0%, rgba(61, 57, 58, 0.295) 100%);
    z-index: 1;
}

   .kal-header-content {
            position: relative;
            z-index: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
        }
        .kal-contact-icon {
            color: var(--kalyani-primary);
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .kal-contact-card {
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 100%;
            border: none;
        }
        
        .kal-contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        /* Fixed Background Effect */
        .fixed-background {
            position: fixed;
            width: 100%;
            height: 480px;
            top: 0;
            left: 0;
            z-index: -1;
            opacity: 0.6;
            object-fit: cover;
        }
        
        .kal-contact-form {
            background-color: white;
            border-radius: 15px;
            margin-top: 50px;
            padding: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            height: 700px;
        }
        
        .kal-contact-btn {
            background-color: var(--kalyani-primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 10px;
            font-weight: 600;
            width: 100%;
        }
        
        .kal-contact-btn:hover {
            background-color: #236a32;
            transform: translateY(-2px);
            color: white;
        }
        
        .kal-faq-accordion .accordion-button {
            background-color: rgba(112, 37, 74, 0.1);
            color: var(--kalyani-secondary);
            font-weight: 600;
        }
        
        .kal-faq-accordion .accordion-button:not(.collapsed) {
            background-color: rgba(112, 37, 74, 0.2);
            color: var(--kalyani-secondary);
        }
        
        .kal-faq-accordion .accordion-button:focus {
            box-shadow: 0 0 0 0.25rem rgba(112, 37, 74, 0.25);
        }
        
        .kal-social-icon {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            border-radius: 50%;
            margin-right: 10px;
            color: var(--kalyani-primary);
            transition: all 0.3s;
        }
        
        .kal-social-icon:hover {
            background: var(--kalyani-primary);
            color: white;
            transform: scale(1.1);
        }
        
        .kal-map-container {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            height: 100%;
        }
        
        .kal-section-title {
            position: relative;
            margin-bottom: 40px;
        }
        
        .kal-section-title:after {
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--kalyani-primary);
        }
        
        .form-control:focus {
            border-color: var(--kalyani-primary);
            box-shadow: 0 0 0 0.25rem rgba(44, 133, 64, 0.25);
        }
        
        /*=================================
          Gallery page
==================================*/
/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 1s;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0.5rem 1rem;
    display: inline-flex;
}

.breadcrumb-item a {
    color: #f8f9fa;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

/* Gallery Filter */
.btn-group-toggle .btn {
    margin: 0 5px;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.4s;
    border: 2px solid var(--primary);
}

.btn-group-toggle .btn:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-group-toggle .btn.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery Items */
.gallery-container {
    position: relative;
    overflow: hidden;
}

.gallery-item {
    margin-bottom: 30px;
    transition: all 0.4s;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.5);
    height: 0;
    margin: 0;
    padding: 0;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    border-radius: 8px;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s;
    padding: 20px;
    text-align: center;
}

.gallery-content {
    transform: translateY(20px);
    transition: all 0.5s;
}

.gallery-img:hover .gallery-overlay {
    opacity: 1;
}

.gallery-img:hover .gallery-content {
    transform: translateY(0);
}

.gallery-img:hover img {
    transform: scale(1.1);
}

.gallery-content h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.gallery-content small {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    margin-top: 60px;
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lightbox Styles */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.gallery-lightbox.show {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-lightbox-close:hover {
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .page-header {
        height: 350px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .gallery-img {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .btn-group-toggle .btn {
        margin: 5px;
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .gallery-content h5 {
        font-size: 1.1rem;
    }
    
    .gallery-content small {
        font-size: 0.8rem;
    }
    
    .testimonial-item {
        margin: 0 10px;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        height: 250px;
    }
    
    .gallery-img {
        height: 180px;
    }
    
    .testimonial-text p {
        font-size: 0.9rem;
    }
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Gallery scroll target adjustment */
#galleryGrid {
    scroll-margin-top: 100px; /* Adjust this value based on your header height */
}
/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Facility Cards  --------------Facilty section */
        .facility-header {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/slider-3.jpg') center/cover no-repeat;
            padding: 150px 0;
            color: white;
            display: flex;
            align-items: center;
            min-height: 60vh;
        }
        
        @media (max-width: 768px) {
            .facility-header {
                padding: 80px 0;
                min-height: 40vh;
                text-align: center;
            }
            
            .facility-header h1 {
                font-size: 2.2rem;
            }
        }
        
        .breadcrumb-item.active {
            color: var(--primary-color) !important;
        }
        
        .section-title h2 {
            color: var(--primary-color) !important;
            font-weight: 700;
            position: relative;
            padding-bottom: 15px;
        }
     
        
        .facility-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
            height: 100%;
        }
        
        .facility-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        }
        
        .icon-box {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        }
        
        .facility-list li {
            margin-bottom: 10px;
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-primary:hover {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
        }
        
        .btn-outline-primary {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        .equipment-card {
            transition: transform 0.3s ease;
            border: none;
            overflow: hidden;
        }
        
        .equipment-card:hover {
            transform: scale(1.05);
        }
        
        .quality-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .quality-icon {
            font-size: 24px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .services-section {
            background-color: var(--light-bg);
            padding: 80px 0;
        }
        
        .service-category {
            margin-bottom: 40px;
        }
        
        .service-list {
            columns: 2;
            -webkit-columns: 2;
            -moz-columns: 2;
        }
        
        .service-list li {
            margin-bottom: 10px;
            break-inside: avoid;
            padding-left: 10px;
            position: relative;
        }
        
        .service-list li:before {
            content: "•";
            color: var(--primary-color);
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }
        
        .cta-section {
            background-color: var(--primary-color);
            color: white;
            padding: 80px 0;
        }
        
        .image-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 20px;
        }
        
        .image-grid img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }
        
        .image-grid img:hover {
            transform: scale(1.05);
        }
        
        .infrastructure-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .infrastructure-item {
            text-align: center;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }
        
        .infrastructure-item:hover {
            transform: translateY(-5px);
        }
        
        .infrastructure-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .equipment-carousel .carousel-item {
            padding: 20px;
        }
        
            .tech-upgrades-section {
            background: linear-gradient(135deg, #e754dbef, #ad187ce5, #ddd012e7);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            padding: 4rem 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        /* Subtle animation for the gradient */
        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* Overlay to improve text readability */
        .tech-upgrades-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            z-index: 1;
        }
        
        /* Ensure content stays above overlay */
        .tech-upgrades-section > .row {
            position: relative;
            z-index: 2;
        }
        
        /* Timeline Structure */
        .tech-timeline {
            position: relative;
            padding: 2rem 0;
        }
        
        /* Center line for the timeline */
        .tech-timeline::before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 4px;
            background: rgba(255, 255, 255, 0.952);
            transform: translateX(-50%);
        }
        
        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-in-out;
        }
        
        .timeline-item.left {
            justify-content: flex-start;
        }
        
        .timeline-item.right {
            justify-content: flex-end;
        }
        
        .timeline-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 1rem;
            flex-shrink: 0;
            border: 3px solid white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .timeline-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        /* Gradient Cards */
        .timeline-content {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
            padding: 1.5rem 2rem;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            max-width: 400px;
            color: #333;
            border: 1px solid rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(5px);
            transition: transform 0.3s ease;
        }
        
        .timeline-content:hover {
            transform: translateY(-5px);
        }
        
        .timeline-content h4 {
            color: #1a2a6c;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        /* Fade Scroll Animation */
        .fade-scroll.show {
            opacity: 1;
            transform: translateY(0);
        }
        
       
        /* Responsive for Mobile */
        @media (max-width: 768px) {
            .tech-timeline::before {
                left: 40px;
            }
            
            .timeline-item {
                flex-direction: row;
                text-align: left;
                justify-content: flex-start;
                padding-left: 40px;
            }
            
            .timeline-item.right {
                justify-content: flex-start;
            }
            
            .timeline-icon {
                position: absolute;
                left: 0;
                margin-left: 0;
                width: 60px;
                height: 60px;
            }
            
            .timeline-content {
                max-width: 100%;
                margin-left: 2rem;
            }
        }
        
        .accreditation-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 30px;
        }
        
        .accreditation-logo {
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 50%;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .accreditation-logo img {
            max-width: 100%;
            max-height: 100%;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .service-list {
                columns: 1;
                -webkit-columns: 1;
                -moz-columns: 1;
            }
            
            .tech-timeline::after {
                left: 31px;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }
            
            .timeline-item::before {
                left: 60px;
                border: medium solid white;
                border-width: 10px 10px 10px 0;
                border-color: transparent white transparent transparent;
            }
            
            .left::after, .right::after {
                left: 18px;
            }
            
            .right {
                left: 0;
            }
        }
        
        @media (max-width: 768px) {
            .image-grid {
                grid-template-columns: 1fr;
            }
            
            .image-grid img {
                height: 200px;
            }
            
            .service-category {
                margin-bottom: 30px;
            }
            
            .infrastructure-grid {
                grid-template-columns: 1fr;
            }
        }

/*=================================
          Services Page Styles
==================================*/

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 1s;
}

/* Service Overview */
.service-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.service-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Service Items */
.service-item {
    transition: all 0.3s;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.service-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(138, 220, 179, 0.559); /* Primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.service-item:hover .service-overlay {
    opacity: 1;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

.service-overlay a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #2c8540; /* Primary color */
    border-radius: 50%;
    transition: all 0.3s;
}

.service-overlay a:hover {
    background: #f8f9fa;
    transform: rotate(90deg);
}

.service-item h4 {
    color: #2c8540; /* Primary color */
    transition: all 0.3s;
}

.service-item:hover h4 {
    color: #236b36; /* Darker shade of primary */
}

/* Why Choose Us Section */
.btn-square {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process Steps */
.process-steps {
    position: relative;
}

.process-step {
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #2c8540; /* Primary color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Form Styles */
.form-control {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #2c8540; /* Primary color */
    box-shadow: 0 0 0 0.25rem rgba(44, 133, 64, 0.25);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2c8540, #236b36); /* Primary color gradient */
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .page-header {
        height: 350px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .service-img {
        height: 180px;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        height: 300px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .service-item {
        margin-bottom: 30px;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .page-header {
        height: 250px;
    }
    
    .service-img {
        height: 150px;
    }
    
    .process-step {
        padding: 15px;
    }
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Color Variables (add to root if not already present) */
:root {
    --primary: #2c8540; /* Your brand green color */
    --primary-light: rgba(44, 133, 64, 0.1);
    --primary-dark: #236b36;
    --secondary: #f8f9fa;
    --light: #fff;
    --dark: #333;
}
/*=================================
          Tests Page Styles
==================================*/
/* Gradient Text */
.text-gradient {
    background: linear-gradient(to right, hsla(330, 50%, 29%, 0.745), #2c8540a4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Test Cards Container */
.test-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Test Cards */
.test-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.test-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.test-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.test-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.test-card:hover .test-img img {
    transform: scale(1.1);
}

.test-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(126, 75, 112, 0.3), rgba(44, 133, 64, 0.4));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 15px;
}

.test-card:hover .test-overlay {
    opacity: 1;
}

.test-overlay .category-badge {
    background: rgba(255,255,255,0.9);
    color: #7e4b70;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.25rem;
    line-height: 1.3;
}

.card-text {
    color: #555;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.test-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.test-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.test-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 15px;
    background-color: #2c8540;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    background-size: contain;
}

.card-footer {
    background: transparent;
    border-top: none;
    padding: 0 1.5rem 1.5rem;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, hsla(330, 50%, 29%, 0.9), #2c8540);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(126, 75, 112, 0.3);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #2c8540, hsla(330, 50%, 29%, 0.9));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(126, 75, 112, 0.4);
}

/* Badge */
.accreditation-badge {
    background-color: #7e4b70;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* View More Button */
.view-more-btn {
    background: linear-gradient(135deg, hsla(330, 50%, 29%, 0.9), #2c8540);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 35px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(126, 75, 112, 0.3);
    margin-top: 30px;
    display: inline-block;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #2c8540, hsla(330, 50%, 29%, 0.9));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(126, 75, 112, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .test-items-container {
        gap: 25px;
    }
}

@media (max-width: 991.98px) {
    .test-img {
        height: 180px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .test-items-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .test-img {
        height: 200px;
    }
    
    .view-more-btn {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .test-items-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .test-img {
        height: 220px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .test-features li {
        font-size: 0.95rem;
    }
    
    .btn-gradient, .view-more-btn {
        width: 100%;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.test-card:nth-child(1) { animation-delay: 0.1s; }
.test-card:nth-child(2) { animation-delay: 0.2s; }
.test-card:nth-child(3) { animation-delay: 0.3s; }
.test-card:nth-child(4) { animation-delay: 0.4s; }
.test-card:nth-child(5) { animation-delay: 0.5s; }
.test-card:nth-child(6) { animation-delay: 0.6s; }

/* =================================
       Testing Process Section
================================= */
.bg-light.py-5 {
    background-color: #f8f9fa !important;
    position: relative;
    overflow: hidden;
}

.bg-light.py-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyMDQsMjA0LDIwNCwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.6;
    z-index: 0;
}

.process-container {
    position: relative;
    z-index: 1;
}

.text-center.mx-auto.mb-5 h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.text-center.mx-auto.mb-5 h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background:  #7e4b70;
    border-radius: 3px;
}

.text-center.mx-auto.mb-5 p {
    font-size: 1.1rem;
    color: #6c757d !important;
}

.process-step {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none !important;
    background: white !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    padding: 30px 20px !important;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:  #7e4b70;
}

.process-step:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
}

.icon-square {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px !important;
    transition: all 0.3s ease;
    background:#7e4b70;
    box-shadow: 0 5px 15px rgba(126, 75, 112, 0.3);
}

.process-step:hover .icon-square {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(126, 75, 112, 0.4);
}

.process-step h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #343a40 !important;
    transition: all 0.3s ease;
}

.process-step:hover h5 {
    color: #7e4b70 !important;
}

.process-step p {
    color: #6c757d !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Step Connector Lines */
@media (min-width: 768px) {
    .process-step {
        position: relative;
    }
    
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -25px;
        width: 25px;
        height: 2px;
        background: #dee2e6;
        z-index: 1;
    }
    
    .process-step .step-number {
        position: absolute;
        top: -15px;
        right: -15px;
        width: 40px;
        height: 40px;
        background:  #7e4b70;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.1rem;
        box-shadow: 0 3px 10px rgba(126, 75, 112, 0.3);
    }
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .process-step {
        padding: 25px 15px !important;
    }
    
    .icon-square {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 991.98px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .text-center.mx-auto.mb-5 h2 {
        font-size: 1.8rem;
    }
    
    .process-step {
        padding: 20px 15px !important;
    }
    
    .icon-square {
        width: 60px;
        height: 60px;
        margin-bottom: 15px !important;
    }
    
    .process-step h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    .text-center.mx-auto.mb-5 h2 {
        font-size: 1.6rem;
    }
    
    .text-center.mx-auto.mb-5 p {
        font-size: 1rem;
    }
}
/* ======================
   Categories Widget Styles 
   ====================== */
.card.categories-widget {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card.categories-widget:hover {
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.15);
}

.card-header.categories-header {
    background-color: #2c8540a4;
    border-bottom: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem;
}

.list-group.categories-list {
    border-radius: 0 0 0.5rem 0.5rem;
    border: none;
}

.list-group-item.categories-item {
    border-left: none;
    border-right: none;
    padding: 1rem 0;
    transition: all 0.2s ease;
    background-color: transparent;
}

.list-group-item.categories-item:first-child {
    border-top: none;
}

.list-group-item.categories-item:last-child {
    border-bottom: none;
}

.list-group-item.categories-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.list-group-item.categories-item a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    color: #333;
}

.list-group-item.categories-item a:hover {
    color: #2c8540a4 !important;
}

.badge.categories-badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    background-color: #2c8540a4 !important;
}


/* career page */

 .career-section {
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .career-title {
        text-align: center;
        color: #771b3a;
        margin-bottom: 40px;
        font-size: 2.5rem;
        position: relative;
    }
    
    .career-title:after {
        content: '';
        display: block;
        width: 130px;
        height: 4px;
        background: #700c22;
        margin: 15px auto;
        border-radius: 2px;
    }
    
    /* Table Styles */
    .career-table-container {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        margin-bottom: 50px;
    }
    
    .career-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .career-table th {
        background: linear-gradient(135deg, #0ba00bab, #12ce31c2);
        color: white;
        padding: 15px 20px;
        text-align: left;
        font-weight: 600;
    }
    
    .career-table td {
        padding: 15px 20px;
        border-bottom: 1px solid #e0e6ef;
    }
    
    .career-table tr:nth-child(even) {
        background-color: #f8fafc;
    }
    
    .career-table tr:hover {
        background-color: #f0f7ff;
    }
    
    .job-role {
        font-weight: 600;
        color: #0d0f11;
    }
    
    .job-type {
        display: inline-block;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
    }
    
    .full-time {
        background: #e1f5fe;
        color: #0e1011;
    }
    
    .part-time {
        background: #f3e5f5;
        color: #09070a;
    }
    
    .internship {
        background: #e8f5e9;
        color: #101310;
    }
    
    .download-btn {
        display: inline-block;
        background: #033c86;
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    
    .download-btn:hover {
        background: #0d4d8c;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Form Styles */
    .career-form-section {
        background: white;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        padding: 30px;
    }
    
    .career-form-title {
        color: #5f0d18;
        margin-bottom: 25px;
        font-size: 1.8rem;
        border-bottom: 2px solid #e0e6ef;
        padding-bottom: 10px;
    }
    
    .career-form-group {
        margin-bottom: 20px;
    }
    
    .career-form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: #444;
    }
    
    .career-form-input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: border 0.3s ease;
    }
    
    .career-form-input:focus {
        border-color: #20c41abb;
        outline: none;
        box-shadow: 0 0 0 2px rgba(26, 111, 196, 0.2);
    }
    
    .career-form-row {
        display: flex;
        gap: 20px;
    }
    
    .career-form-row .career-form-group {
        flex: 1;
    }
    
    .career-file-upload {
        position: relative;
        display: inline-block;
        width: 100%;
    }
    
    .career-file-upload-label {
        display: block;
        padding: 12px 15px;
        background: #f8fafc;
        border: 1px dashed #ccc;
        border-radius: 8px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .career-file-upload-label:hover {
        background: #f0f7ff;
        border-color: #7a0a3e;
    }
    
    .career-file-upload input[type="file"] {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }
    
    .career-submit-btn {
        background: linear-gradient(135deg, #1ac44d, #068317d5);
        color: white;
        border: none;
        padding: 15px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        margin-top: 10px;
    }
    
    .career-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13, 77, 140, 0.3);
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .career-form-row {
            flex-direction: column;
            gap: 0;
        }
        
        .career-table-container {
            overflow-x: auto;
        }
        
        .career-table {
            min-width: 700px;
        }
    }