/********** Template CSS **********/
:root {
    --primary: #AB7442;
    --light: #F5F5F5;
    --dark: #353535;
    --black1: #000000;
    font-family: Barlow;
    --darkblue: #161D6F;
}
body{
    background-color: #F5F5F5;
    overflow-x: hidden;
}
.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 ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

/* login btn */
.door-icon {
    font-size: 2rem; /* Adjust size */
    color: white; /* Custom color */
    transition: color 0.3s ease, transform 0.3s ease;
}

.door-icon:hover {
    color: #ff5e57; /* Color on hover */
    transform: scale(1.2); /* Slight zoom on hover */
    cursor: pointer;
}

.door-icon:active {
    transform: scale(1.1); /* Slightly less zoom when clicked */
}



/*** Navbar ***/

.logoheader{
    background-color: #201E43;
}

.navbar{
    background-color: #201E43;
}
.navbar:hover{
    text-decoration: underline;
}

/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* service  */

.bordered {
    border: 1px solid green;
    padding: 20px;
}

.center-text {
    text-align: center;
    font-weight: bold;
}

.underlined {
    text-decoration: underline;
}

.text-section {
    font-size: 1.1rem;
}

/* For responsive images */
.custom-image {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

/* Position text over the image */
.image-container {
    position: relative;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Make the image clickable */
.clickable-image {
    display: block;
}


@media (max-width: 767px) {
    /* Stack images and text vertically on mobile */
    .row {
        display: flex;
        flex-direction: column;
    }

    /* Stack text first, then image for even rows */
    .row:nth-child(even) {
        flex-direction: column-reverse;
    }

    /* Make both columns full width */
    .col-md-6 {
        width: 100%;
    }

    /* Adjust image height for better mobile view */
    .custom-image {
        height: auto;
    }

    /* Center text better on mobile */
    .center-text, .text-section {
        text-align: center;
    }

    /* Add some spacing between sections */
    .mb-1 {
        margin-bottom: 2rem;
    }

    /* Ensure text overlays are readable on smaller screens */
    .overlay-text {
        font-size: 1.2rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }
}

/* borders */
.custom-image {
    width: 100%;
    height: auto;
    border: 3px solid #ddd; /* Change color and width as needed */
    padding: 5px; /* Optional padding for the image */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
.img-fluid {
    width: 100%;
    height: auto;
    border: 3px solid #ddd; /* Change color and width as needed */
    padding: 5px; /* Optional padding for the image */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
}


/*** Feature ***/
.img1 img {
    width: 100%; /* Let Bootstrap handle the responsiveness */
    display: block;
    margin: 0 auto; /* Center the image */
}
.img1 .boody {
    margin-top: 10px;
    font-size: larger;
    font-family: Montserrat, sans-serif;
}

@media (min-width: 576px) { /* For small screens and above */
    .img1 .boody {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (min-width: 768px) { /* For medium screens and above */
    .img1 .boody {
        margin-left: 8%;
        margin-right: 8%;
    }
}

@media (min-width: 992px) { /* For large screens and above */
    .img1 .boody {
        margin-left: 10%;
        margin-right: 10%;
    }
}



@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);
    }
}

/* Additional CSS to handle smaller screens */
@media (max-width: 991px) {
    .feature-text {
        padding: 1rem;
    }

    .img-fluid {
        height: auto;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .feature-text p {
        font-size: 1.2rem;
        padding: 0;
    }

    .container.feature {
        padding: 0 !important;
    }

    .feature-text {
        padding: 1rem !important;
    }
}


/* events and campaign */
.custom-card {
    position: relative;
}

.card-img {
    height: 100%;
    object-fit: cover;
}

.card-body {
    color: black; /* Adjust color if needed */
}

.custom-card p {
    margin-bottom: 0.5rem;
}

/* Padding for container-fluid */
.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    /* Text size adjustments for smaller screens */
    .card-body p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .card-body p {
        font-size: 0.75rem;
    }
}

/* event and campaign end */
  

/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

/* .team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
} */
.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item {
    margin-left: auto;
    margin-right: auto;
}



.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** 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 {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/

/* footer 2  */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #F5F5F5;
}

footer {
    background-color: #201E43;
    /* background-color: #201E43; */
    color: white;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 calc(16.66% - 40px); /* Adjusted to show 6 sections in one row */
    min-width: 150px;
}

.footer-section h4, .dropdown-btn {
    margin-bottom: 10px;
    font-size: 16px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.footer-section .dropdown-btn:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a, .dropdown-content a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.footer-section ul li a:hover, .dropdown-content a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
}

.social-icons {
    justify-content: center;
    gap: 5px;
}

.footer-bottom p, .social-icons {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: none; /* Removed the line */
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    /* background-color: #161D6F; */
    background-color: #201E43;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 10px;
    z-index: 1;
    min-width: 200px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        flex: 1 1 100%; 
        text-align: center;
    }

    .footer-container {
        justify-content: center;
    }

    .dropdown-content {
        position: static;
    }
}
/* 
footer {
    background-color: #161D6F;
    padding: 40px 0;
    color: #fff;
  }
  footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  footer a:hover {
    color: #f7f7f7;
  }
  footer .footer-heading {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  .footer-section {
    margin-bottom: 30px;
  }
  .app-buttons img {
    width: 140px;
    margin-bottom: 15px;
  }
  .emergency-btn {
    background-color: #FF5733;
    color: white;
    border: none;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 18px;
  }
  .social-icons i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: white;
  }
  @media (max-width: 768px) {
    footer {
      text-align: center;
    }
    .footer-section {
      margin-bottom: 20px;
    }
  } */