/* Color Variables */
:root {
  --primary-color: #FFD700; /* Gold/Yellow */
  --secondary-color: #FFC107; /* Brighter Yellow */
  --dark-color: #1a1a1a; /* Very Dark Gray/Black */
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --text-color: #a0a0a0; /* Lighter gray for general text */
}

/********** Template CSS **********/

/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/*** Button ***/
.btn {
    transition: .5s;
    border-radius: 5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: 1px solid var(--secondary-color);
}

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


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    background-color: var(--white-color); /* Reverted to a light color */
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--dark-color); /* Reverted to a dark color */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary-color)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu {
    background-color: var(--white-color); /* Reverted to a light color */
}

.navbar .dropdown-menu .dropdown-item {
    color: var(--dark-color); /* Reverted to a dark color */
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--dark-color);
    background: var(--primary-color);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: var(--dark-color);
    color: var(--white-color);
}

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

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--white-color);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--white-color);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(26, 26, 26, .1) 50%, var(--dark-color));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary {
    background-color: var(--primary-color) !important;
}

.service-item.bg-primary:hover {
    background: var(--light-color) !important;
}

.service-item.bg-primary p {
    color: var(--dark-color);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--dark-color);
}

.service-item.bg-light {
    background-color: var(--dark-color) !important;
}

.service-item.bg-light:hover {
    background: var(--primary-color) !important;
}

.service-item.bg-light p {
    color: var(--text-color);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--dark-color);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--primary-color);
    color: var(--dark-color);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--light-color);
    color: var(--dark-color);
}

.service-item.bg-light .service-img h3 {
    background: var(--dark-color);
    color: var(--white-color);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--primary-color);
    color: var(--dark-color);
}


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

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

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(26, 26, 26, .1) 50%, var(--dark-color));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--dark-color);
    background: var(--primary-color);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--white-color);
    border: 2px solid var(--primary-color);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: var(--dark-color);
    background-size: cover;
}

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

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

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

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


/*** Footer ***/
.footer {
    background-color: var(--dark-color);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--text-color);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--primary-color);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid var(--text-color);
}

.footer .copyright a {
    color: var(--text-color);
}

.footer .copyright a:hover {
    color: var(--primary-color);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid var(--text-color);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*--------------------------------------------------------------
# whatsapp Section
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed !important;
  width: 60px !important;
  height: 60px !important;
  bottom: 40px !important;
  left: 40px !important;
  background-color: #25D366 !important; /* WhatsApp Green */
  color: #fff !important; /* White color for contrast with the green */
  border-radius: 50px !important;
  text-align: center !important;
  font-size: 30px !important;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999999 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
}

.whatsapp-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.4) !important;
}

.whatsapp-float i {
  font-size: 28px !important;
  line-height: 1 !important;
}

/* Optional: Media query for mobile devices */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 25px !important;
  }
}
