/********** 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;
}


   #spinner {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
        z-index: 99999;
        background-color: #571b3c;
        color: #fa6023;
    }

    #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 */
}
 .career-btn {
        background-color: #3d6138 !important;
        border: none !important;
        border-radius: 4px !important;
        padding: 5px 12px !important;
        transition: all 0.3s ease !important;
    }
    .career-btn:hover {
        background-color: #1f6a2f !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }
    .career-btn i,
    .career-btn span {
        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;
}
/*** Modified Navbar CSS ***/
.custom-navbar {
        height: 80px;
        background-color: #f8f9fa; /* Light background */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand img.logo-img {
        height: 100px;
        transition: all 0.3s;
    }

    .navbar-brand:hover img.logo-img {
        transform: scale(1.05);
    }

    /* Navbar links */
    .navbar .navbar-nav .nav-link {
        margin-right: 25px;
        padding: 30px 0;
        color: var(--dark);
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        transition: 0.3s;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        color: rgb(148, 224, 86);
    }

    /* Dropdown icon using Font Awesome */
    .navbar .dropdown-toggle::after {
        border: none;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        vertical-align: middle;
        margin-left: 5px;
    }

    /* Appointment Button Styling */
    .appointment-btn {
        background-color: #8d2f49; /* Vibrant orange-red */
        color: white;
        font-weight: 600;
        font-size: 16px;
        transition: 0.4s ease;
        border-radius: 80px;
        margin-right: 30px;
        box-shadow: 0 4px 12px rgba(255, 87, 51, 0.4);
    }

    .appointment-btn:hover {
        background-color: #521b3d;
        color: #fff;
        transform: scale(1.05);
    }


    @media (max-width: 991.98px) {
        .navbar .navbar-nav .nav-link {
            margin-right: 0;
            padding: 12px 0;
        }

        .navbar-brand img.logo-img {
            height: 60px;
        }

        .navbar .navbar-nav {
            border-top: 1px solid #EEEEEE;
        }
    }

    @media (min-width: 992px) {
        .navbar .nav-item .dropdown-menu {
            display: block;
            border: none;
            margin-top: 0;
            top: 150%;
            opacity: 0;
            visibility: hidden;
            transition: .5s;
            min-width: 220px;
        }

        .navbar .nav-item:hover .dropdown-menu {
            top: 100%;
            visibility: visible;
            opacity: 1;
        }
    }

/* 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;
}
    /* 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(0, 0, 0, 0.5);
    }
    
    .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: 15px;
        border-radius: 8px;
        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-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;
}
/*** 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.3;
    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.4;
}

.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 ***/
/* Image Grid Styles */
.image-grid-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.image-container {
    position: absolute;
    width: 80%;
    max-width: 300px;
    transition: transform 0.3s ease;
}

/* Bottom image */
.image-behind {
    top: 220px;
    left: 290px;
    z-index: 1;
}

/* Top rotated image */
.image-front {
    top: 90px;
    left: 0;
    z-index: 2;
    transform: rotate(-5deg);
}

/* Responsive adjustments for tablet */
@media (max-width: 1199.98px) {
    .image-behind {
        top: 180px;
        left: 200px;
    }
    
    .image-front {
        top: 60px;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 991.98px) {
    .image-grid-container {
        min-height: 350px;
    }
    
    .image-container {
        width: 80%;
        max-width: none;
    }
    
    .image-behind {
        top: 150px;
        left: 200px;
    }
    
    .image-front {
        top: 40px;
        left: 0;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .image-grid-container {
        min-height: 400px;
    }
    
    .image-container {
        width: 80%;
    }
    
    .image-behind {
        top: 100px;
        left: 80px;
    }
    
    .image-front {
        top: 20px;
    }
}

/* Feature Text Padding Adjustments */
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* Hover Effects for Images */
@media (min-width: 992px) {
    .image-front:hover {
        transform: rotate(3deg) scale(1.02);
        z-index: 3;
    }
}
/* Adjust the main title size for the smaller width */
.main-title {
    font-size: 2.8rem; /* Slightly smaller to fit the narrower column */
}

/* Ensure carousel fills the wider space */
.header-carousel {
    height: 100%;
}

.owl-carousel-item {
    height: 100%;
}

.owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Adjust padding for the left content */
.col-lg-5.p-5 {
    padding: 3rem !important; /* Slightly reduced padding */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .col-lg-5, .col-lg-7 {
        width: 100% !important; /* Full width on mobile */
    }
    
    .main-title {
        font-size: 2.2rem; /* Smaller for mobile */
    }
}

/*** Team ***/
/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -15px;
}

.team-item .team-text {
    position: relative;
    height: auto;
    transition: .5s;
}

.team-item .team-text .team-social {
    opacity: 1;
    transition: .5s;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: #ffffff;
    background: #68173d;
    border-radius: 40px;
    border: 1px solid #000000;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: #522a41;
}

.team-item .team-text h5,
.team-item .team-text p {
    color: #000000 !important;
}
/*** 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;
}

     .client-carousel .client-item {
        padding: 15px;
        text-align: center;
        display: flex;
        align-items: center;
        height: 150px;
        background-color: #ffffff46;
    }
    
    .client-logo {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 120px;
        transition: all 0.3s ease;
        object-fit: contain;
        padding: 15px;
    }
    
    .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;
    }
    
   
    
    @media (max-width: 768px) {
        .client-logo {
            max-height: 100px;
        }
        .client-carousel .client-item {
            height: 120px;
        }
    }
    
    @media (max-width: 576px) {
        .client-logo {
            max-height: 90px;
        }
        .client-carousel .client-item {
            height: 100px;
        }
    }
/*** Footer ***/
/* Footer Styles */
.footer {
    background-color: #2f5337d7 !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: 1px solid #ffffff;
    transition: all 0.3s;
}

.footer .btn.btn-social:hover {
    color: #ffffff;
    background-color: #69223e;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: all 0.3s;
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #75244a;
    letter-spacing: 1px;
    box-shadow: none;
    text-decoration: none;
}

.footer .copyright {
    padding: 20px 0px;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copy
.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 37, 58, 0.596);
    z-index: 0; /* Ensure it's less than 3 */
}
.back-to-top {
    background-color: #70254abe !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;
}

/* 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);
        }
        