
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.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 {
    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;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #813901;
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;

    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@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 p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    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);
}

.page-header {
    background: linear-gradient(rgba(154, 177, 64, 0.2), rgba(239, 155, 21, 0.2)), center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: #813901 !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: #8b5e3c;
    background: #8b5e3c;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.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: #8b5e3c !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/* FAQ Section */
#faqAccordion {
    max-width: 900px;
    margin: auto;
}

/* Accordion Item */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Accordion Button */
.accordion-button {
    background: #fffaf3;
    color: #4a2c2a;
    font-weight: 600;
    font-size: 16px;
    padding: 18px 22px;
    border: none;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Active State */
.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #8b5e3c, #5a3825);
    color: #ffffff;
}

/* Arrow Icon */
.accordion-button::after {
    filter: brightness(0.5);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(2);
}

/* Accordion Body */
.accordion-body {
    background: #ffffff;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    padding: 20px 22px;
}

/* Section Heading */
section h2 {
    font-weight: 700;
    color: #3b1f1f;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .accordion-button {
        font-size: 15px;
        padding: 16px;
    }

    .accordion-body {
        font-size: 14px;
        padding: 16px;
    }
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    cursor: pointer;
}

/* SWASA About Section */
#about-swasa {
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* Section Headings */
#about-swasa h2 {
    letter-spacing: 1px;
}

#about-swasa h4 {
    color: #2f6f4e;
}

/* Intro Text */
#about-swasa p {
    color: #555;
    line-height: 1.8;
}

/* Product Cards */
#about-swasa .card {
    border-radius: 18px;
    transition: all 0.3s ease;
    background: #ffffff;
}

#about-swasa .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* Card Titles */
#about-swasa .card-title {
    font-weight: 600;
    margin-bottom: 12px;
}

/* Card Text */
#about-swasa .card-text {
    font-size: 0.95rem;
}

/* Soft Divider Effect */
#about-swasa .divider {
    width: 80px;
    height: 3px;
    background: #2f6f4e;
    margin: 15px auto;
    border-radius: 5px;
}

/* Responsive spacing */
@media (max-width: 768px) {
    #about-swasa {
        padding: 40px 15px;
    }
}

/* Testimonials Section */
.testimonials-section {
  background: #f8f9fa;
  font-family: 'Poppins', sans-serif;
}

/* Testimonial Card */
.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Review Text */
.testimonial-text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

/* Stars */
.stars {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 3px;
}

/* Name */
.testimonial-card h6 {
  font-weight: 600;
  color: #2f6f4e;
}

/* Carousel Buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* Custom Carousel Controls */
#testimonials .carousel-control-prev,
#testimonials .carousel-control-next {
  width: 45px;
  height: 45px;
  background: #e4b722; /* SWASA green */
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s ease;
}

/* Icon styling */
#testimonials .carousel-control-prev-icon,
#testimonials .carousel-control-next-icon {
  filter: invert(1);
  width: 18px;
  height: 18px;
}

/* Hover effect */
#testimonials .carousel-control-prev:hover,
#testimonials .carousel-control-next:hover {
  background: #e4b722;
  box-shadow: 0 8px 20px rgba(202, 232, 53, 0.4);
}

/* Adjust position */
#testimonials .carousel-control-prev {
  left: -60px;
}

#testimonials .carousel-control-next {
  right: -60px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #testimonials .carousel-control-prev,
  #testimonials .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  #testimonials .carousel-control-prev {
    left: 10px;
  }

  #testimonials .carousel-control-next {
    right: 10px;
  }
}