/* --- Fix for mobile dropdown visibility --- */
@media (max-width: 991.98px) {
  .dropdown-menu.show {
    display: block !important;
    position: static !important;
    width: 100%;
    background: #212121;
    box-shadow: none;
  }
  .navbar, .navbar-collapse, .navbar-nav, .nav-item {
    overflow: visible !important;
    position: static !important;
  }
}
/********** Template CSS **********/
:root {
    --primary: #1667ca;        
    --primary-dark: #c33b3b;     
    --secondary: #6BCB77;        
    --secondary-dark: #58b66c;   
    --light: #1667ca;            
    --dark: #d0d0d099;          
    --text-light: #3d3d3d;        
    --text-dark: #d94848;       
    --border-color: #ffffff;        
}

/*** General Body and Background ***/
body {
    background-color: var(--dark); /* Very dark background for the overall theme */
    color: var(--text-light);      /* Light grey text on dark background */
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: var(--primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}


/*** Heading Styles ***/
h1, h2, .fw-bold {
    font-weight: 800 !important;
    color: var(--text-light);
}

h3, h4, .fw-semi-bold {
    font-weight: 700 !important;
    color: var(--text-light);
}

h5, h6 {
    font-weight: 600 !important;
    color: var(--text-light);
}

/* Image Styling with Custom Border and Hover Effect */
.custom-image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.custom-image {
  --s: 15px;  /* size of the frame */
  --b: 2px;   /* border thickness */
  --w: 500px; /* width of the image */
  --c: #db8c25;  /* Border color */
  
  width: var(--w);
  aspect-ratio: 1;
  object-fit: cover;
  padding: calc(2*var(--s));
  --_g: var(--c) var(--b),#0000 0 calc(100% - var(--b)),var(--c) 0;
  
  background:
    linear-gradient( var(--_g)) 50%/100% var(--_i,100%) no-repeat,
    linear-gradient(90deg,var(--_g)) 50%/var(--_i,100%) 100% no-repeat;
  
  outline: calc(var(--w)/2) solid #0009;
  outline-offset: calc(var(--w)/-2 - 2*var(--s));
  transition: .4s;
  cursor: pointer;
}

/* On hover: outline and transition effect */
.custom-image:hover {
  outline: var(--b) solid var(--c);
  outline-offset: calc(var(--s)/-2);
  --_i: calc(100% - 2*var(--s));
}


.navbar-logo {
    height: 100px; /* default size for desktop */
    width: auto;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 30px; /* smaller logo for tablets and phones */
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        height: 20px; /* even smaller for very small screens */
    }
}


/* Adjust Carousel Text Size */
.carousel-title {
    font-size: 35px;  /* Adjust font size for carousel title */
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.carousel-subtitle {
    font-size: 22px;  /* Adjust font size for subtitle */
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Adjust the carousel caption font sizes */
.carousel-caption h1 {
    font-size: 2.2rem;  /* Adjust size for h1 */
}

.carousel-caption h5 {
    font-size: 1.2rem;  /* Adjust size for h5 */
}

/* Optional: Make the navbar and carousel more compact */
@media (max-width: 991px) {
    .navbar-logo {
        height: 70px;  /* Adjust the logo size for mobile/tablet screens */
    }
    
    .carousel-title {
        font-size: 30px;  /* Smaller title size for mobile/tablets */
    }

    .carousel-subtitle {
        font-size: 18px;  /* Smaller subtitle for mobile/tablets */
    }

    .carousel-caption h1 {
        font-size: 1.5rem;  /* Smaller font size for h1 in carousel on smaller screens */
    }

    .carousel-caption h5 {
        font-size: 1rem;  /* Smaller font size for h5 in carousel on smaller screens */
    }
}


.carousel-image {
    object-fit: cover;      /* Ensures image covers the container */
    width: 100%;            /* Makes sure the image spans the full width */
    height: 500px;          /* Adjust height as per your design */
    filter: blur(1px) brightness(50%);      /* Apply blur effect */
}

/* Optional: Make it responsive */
@media (max-width: 767px) {
    .carousel-image {
        height: 200px;      /* Smaller height for mobile devices */
        filter: blur(1px) brightness(50%);      /* Slightly less blur on small screens */
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel-image {
        height: 400px;      /* Medium height for tablets */
        filter: blur(1px) brightness(50%);/* Moderate blur for tablets */
    }
}
.feature-box {
    padding: 20px;
    border-radius: 10px;
    background: rgba(120, 141, 231, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #1744c2;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-box h4 {
    color: #fcd34d;
    font-weight: 600;
}

.feature-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}


.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.feature-box {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.bg-primary {
    background-color: #1667ca !important; /* or use your custom blue */
}

.text-primary {
    color: #db2525 !important; /* or use your orange highlight */
}


/*** Button Styles ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}



.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}



.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}


.fa-phone-alt {
    transform: rotate(90deg); /* Adjust the degree as needed */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  text-decoration: none;
  animation: puls 2s infinite;
  transition: transform 0.3s box-shadow 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
}

@keyframes puls {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Website Floating Button */
.website-button {
  position: fixed;
  bottom: 160px; /* slightly above WhatsApp */
  left: 20px;
  background-color: #007bff; /* Bootstrap primary blue */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-decoration: none;
  animation: puls-blue 2s infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}

.website-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.6);
}

/* Pulsing animation for website button */
@keyframes puls-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}


/* Call Floating Button */
.call-button {
  position: fixed;
  bottom: 90px; /* Above WhatsApp */
  left: 20px;
  background-color: #1e78c7;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-decoration: none;
  transform: rotate(0deg);
  animation: pul 2s infinite;
  transition: transform 0.3s box-shadow 0.3s;
}

.call-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgb(28, 149, 230);
}

@keyframes pul {
  0% {
    box-shadow: 0 0 0 0 rgb(24, 132, 220);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}




/*** Navbar Base Styles ***/
.navbar {
    font-family: 'Nunito', sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 1.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-dark);
}

                    .button-wrapper {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 100px;
                        /* Optional: controls vertical spacing */
                    }

                    .pulse-button {
                        padding: 10px 24px;
                        font-size: 20px;
                        color: #fff;
                        background-color: rgb(226, 41, 41);
                        border: none;
                        border-radius: 30px;
                        cursor: pointer;
                        transition: background-color 0.3s ease;
                        animation: pulse 1.5s infinite;
                    }

                    .pulse-button:hover {
                        background-color: rgb(19, 27, 254);
                    }

                    @keyframes pulse {
                        0% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
                        }

                        50% {
                            transform: scale(1.05);
                            box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
                        }

                        100% {
                            transform: scale(1);
                            box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
                        }
                    }
                   
/*** Underline Animation on Hover (Large Screens) ***/
@media (min-width: 992px) {
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary-dark);
        transition: 0.4s ease;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar-dark {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: var(--light);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--light);
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

/*** Responsive Dropdown Hover (Desktop only) ***/
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu .dropdown-item:hover {
  background-color: #fff !important;
  color: #000 !important;
}


/*** Mobile Styles ***/
@media (max-width: 991.98px) {
    .navbar-dark {
        background: var(--light);
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px;
        color: var(--text-dark);
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-dark .navbar-toggler {
        color: var(--primary) !important;
        border-color: var(--primary) !important;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: none; /* disables hover dropdown on mobile */
    }
}

/*** Carousel ***/
.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* General image styling to match */
.carousel-item img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    background: none;
    filter: blur(1px) brightness(50%);
}

/* Mobile-specific adjustments */
@media (max-width: 576px) {
    .carousel-item video,
    .carousel-item img {
        height: 300px;
    }

    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 24px;
        font-weight: 600 !important;
    }
}

/* Ensure the video takes full width and height of the carousel */
.carousel-item video {
    object-fit: cover;         /* Makes the video cover the entire carousel item */
    width: 100%;               /* Full width */
    height: 100%;              /* Full height */
    max-height: 100vh;         /* Limit video height to viewport */
    display: block;
}

/* Optional: Override default carousel height (if needed) */
.carousel-item {
    height: 60vh;             /* Full viewport height */
}

/* Optional: Center the text vertically and horizontally */
.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
}

/* Optional: Style the caption text */
.carousel-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-subtitle {
    font-size: 1.5rem;
    color: white;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

/*** Section Title ***/
/*.section-title::before {*/
/*    position: absolute;*/
/*    content: "";*/
/*    width: 150px;*/
/*    height: 5px;*/
/*    left: 0;*/
/*    bottom: 0;*/
/*    background: var(--primary);*/
/*    border-radius: 2px;*/
/*}*/

/*.section-title.text-center::before {*/
/*    left: 50%;*/
/*    margin-left: -75px;*/
/*}*/

/*.section-title.section-title-sm::before {*/
/*    width: 90px;*/
/*    height: 3px;*/
/*}*/

/*.section-title::after {*/
/*    position: absolute;*/
/*    content: "";*/
/*    width: 6px;*/
/*    height: 5px;*/
/*    bottom: 0px;*/
/*    background: #FFFFFF;*/
/*    -webkit-animation: section-title-run 5s infinite linear;*/
/*    animation: section-title-run 5s infinite linear;*/
/*}*/

/*.section-title.section-title-sm::after {*/
/*    width: 4px;*/
/*    height: 3px;*/
/*}*/

/*.section-title.text-center::after {*/
/*    -webkit-animation: section-title-run-center 5s infinite linear;*/
/*    animation: section-title-run-center 5s infinite linear;*/
/*}*/

/*.section-title.section-title-sm::after {*/
/*    -webkit-animation: section-title-run-sm 5s infinite linear;*/
/*    animation: section-title-run-sm 5s infinite linear;*/
/*}*/

@keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: transform 0.5s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    background: var(--primary); /* Initial background */
    border: 1px solid var(--dark);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 5, 5, 0.1);
}

.team-photo {
    height: 300px;
    object-fit: cover;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark); /* Default icon background */
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: background 0.3s ease, transform 0.3s ease; /* Transition for icon background */
}

.service-item .service-icon i {
    transform: rotate(45deg);
    transition: color 0.3s ease; /* Transition for icon color */
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
    transition: bottom 0.3s ease, opacity 0.3s ease;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.service-item:hover {
    transform: scale(1.1) rotate(5deg); /* Scale and rotate the box */
    background-color: var(--text-dark) !important; /* Force the background color change to blue on hover */
    color: var(--dark); /* Change text color to white */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Darker shadow for effect */
}

.service-item:hover .service-icon {
    background: var(--primary) !important; /* Force the icon background color to yellow */
    transform: rotate(0deg); /* Reset icon rotation */
}

.service-item:hover .service-icon i {
    color: white !important; /* Force the icon color to white */
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #1f1f1f !important;
    box-shadow: 0 0 30px #444;
}

/*** Team ***/
.team-item {
    transition: .5s;
    background: var(--dark);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.team-photo {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.team-phot {
    height: 400px;
    object-fit: cover;
    width: 100%;
}


.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 50px #dad9d9;
}

.team-item:hover .team-social {
    background: rgba(62, 40, 9, 0.7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}

/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(191, 166, 76, 0.7), rgba(191, 166, 76, 0.7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}
/* Floating Button */
.floating-toggle-btn {
    position: fixed;
    right: 30px;
    bottom: 40px;
    z-index: 1000;
    background-color: var(--primary, #db8c25);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    animation: pulse 2s infinite; /* Pulse effect */
    transition: transform 0.3s, box-shadow 0.3s;
}




/* Floating form button */
.floating-toggle-btn {
    position: fixed;
    right: 30px;
    bottom: 40px;
    z-index: 1000;
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(255, 253, 253, 0.2);
    cursor: pointer;
}

/* Floating form container */
.floating-form-container {
    position: fixed;
    right: -500px;
    bottom: 100px;
    width: 350px;
    background-color: #fff;
    z-index: 999;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(253, 252, 252, 0.2);
    transition: right 0.4s ease;
    overflow: hidden;
    animation: slideIn 1s ease forwards;
}

/* Floating Form */
.floating-form-container {
    position: fixed;
    right: -500px;
    bottom: 100px;
    width: 450px;
    background-color: #727171;
    z-index: 9999;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: right 1s ease;
    overflow: hidden;
    animation: slideIn 1s ease forwards;
}
/* Show form */
.floating-form-container.show {
    right: 30px;
}

/* Hidden by default */
.floating-form-container.hidden {
    display: none;
}

/* Optional: Responsive tweaks */
@media (max-width: 576px) {
    .floating-form-container {
        width: 90%;
        right: -100%;
    }

    .floating-form-container.show {
        right: 5%;
    }
}

.floating-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 25px var(--primary, #db8c25);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--primary, #db8c25);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}




/* ADD THIS AT THE END - OVERRIDES BOOTSTRAP COLOR CLASSES */

/* === Backgrounds === */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--border-color) !important;
}

.bg-dark {
    background-color: var(--text-light) !important;
}

/* === Text Colors === */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-light {
    color: var(--border-color) !important;
}

.text-dark {
    color: var(--dark) !important;
}

/* === Button Primary === */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}


/* === Floating Form Animations === */

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-form-container.show {
    animation: slideInRight 0.5s ease forwards;
}

.floating-form-container.hide {
    animation: slideOutRight 0.4s ease forwards;
}

.floating-form-container form .col-12 {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.floating-form-container.show .col-12:nth-child(1) { animation-delay: 0.1s; }
.floating-form-container.show .col-12:nth-child(2) { animation-delay: 0.2s; }
.floating-form-container.show .col-12:nth-child(3) { animation-delay: 0.3s; }
.floating-form-container.show .col-12:nth-child(4) { animation-delay: 0.4s; }
.floating-form-container.show .col-12:nth-child(5) { animation-delay: 0.5s; }
.floating-form-container.show .col-12:nth-child(6) { animation-delay: 0.6s; }
.floating-form-container.show .col-12:nth-child(7) { animation-delay: 0.7s; }
.floating-form-container.show .col-12:nth-child(8) { animation-delay: 0.8s; }

/* Basic styles for fade-out */
.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-out; /* Adjust timing as needed */
}

.fade-out-hidden {
    opacity: 0;
}

/* Additional styles to prevent content from jumping around during the fade-out transition */
.fade-out, .fade-out-hidden {
    will-change: opacity;
}

.card.text-dark,
  .card.text-dark h6 {
    color: #000 !important;
  }







  