/********** Template CSS **********/
:root {
    --primary: #d6ba00;
    --secondary: #9ecb3b;
    --light: #F5F5F5;
    --dark: #353535;
}

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

.btn-outline-secondaries {
    color: #9ecb3b;
    border-color: #9ecb3b
}

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

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

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

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


/*** 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 {
    position: relative;
    overflow: visible; /* allow nav to sit over edges if needed */
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;       /* allow only buttons to be clickable */
  padding: 0 12px;
  z-index: 60;
  opacity: 0;
  transition: opacity .25s ease;
}

.header-carousel:hover .owl-nav,
.header-carousel:focus-within .owl-nav {
  opacity: 1;
}

/* CSS: paste into your styles (or near your footer styles) */
.footer {
  background: #0b0b0b; /* deeper dark */
  color: #f8f9fa;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.95rem;
}

.footer .contact-row { 
  /* ensures wrapping into stacked rows on very small screens */
  gap: 0.75rem;
}

.footer .contact-item {
  gap: 0.5rem;
  justify-content: center;
}

/* prevent line-breaks for phone/email, but allow on extremely tiny screens */
.no-wrap {
  white-space: nowrap;
  display: inline-block;
}

/* make address look like normal text (not italic) */
.footer address {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* max 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-width: 260px; /* controls wrapping on desktop */
    font-style: normal;
}

/* footer description readability */
.footer-desc { color: rgba(255,255,255,0.85); line-height: 1.4; }

/* responsive tweak: allow wrapping if viewport is extremely narrow (prevents horizontal scroll) */
@media (max-width: 340px) {
  .no-wrap { white-space: normal; }
  .footer .contact-item { justify-content: flex-start; padding-left: 0.5rem; }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  pointer-events: all;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.header-carousel .owl-nav .owl-prev { margin-left: 6px; }
.header-carousel .owl-nav .owl-next { margin-right: 6px; }

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  transform: scale(1.06);
  background: #d6ba00;        /* YOUR THEME COLOR */
  border-color: #d6ba00;
}


.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 h1 {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--dark);
}

/* Centered titles: single centered underline */
.section-title.text-center h1 {
  padding-bottom: 12px;
}
.section-title.text-center h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;             /* tweak width to taste */
  height: 4px;             /* tweak thickness to taste */
  background: linear-gradient(90deg, var(--primary), rgba(171,116,66,0.85));
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.07);
}

/* Left-aligned titles: small left underline (keeps About Us style) */
.section-title.text-start h1 {
  padding: 0 0 12px 0;
}
.section-title.text-start h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--dark);
  border-radius: 3px;
}

/* Ensure any previous side-line pseudo elements are disabled */
.section-title 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 ***/
.service-item img {
    transition: .5s;
}

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


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

/* icon color using utility already (text-primary). ensure icon is visible on image bg */
.feature-box .fa {
    color: var(--primary);
}

/*** 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 .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 ***/
.btn-whatsapp {
    display: inline-flex; /* center icon + text */
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center for single-line text */
    gap: 0.5rem; /* space between icon and label (replaces me-2) */
    width: 100%;
    height: 56px; /* keep same height as Send Message on desktop */
    padding: 0.75rem 1rem; /* keep comfortable touch area */
    background: #146143; /* your WhatsApp green (change if you want) */
    color: #fff !important; /* force white text/icon */
    border: 1px solid rgba(0,0,0,0.06);
    font-weight: 600;
    line-height: 1;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    white-space: nowrap;
}

/* ensure the FontAwesome icon sits perfectly centered */
.btn-whatsapp .fa {
  font-size: 1.05rem;
  line-height: 1;
  display: inline-block;
  margin: 0;                          /* gap handled by container */
}

/* Hover / focus: same behavior as Send Message (lift + shadow), keep text white */
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  box-shadow: 0 8px 20px rgba(20,97,67,0.15);
  background: #128c6a;                /* slightly darker on hover */
  color: #fff !important;
  text-decoration: none;              /* avoid underline on some UA */
  outline: none;
}

/* Active state: small press-down */
.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

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


.image-box {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: contrast(0.9) brightness(0.85) saturate(0.8);
    }

    /* Vintage black overlay */
    .image-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        mix-blend-mode: multiply;
        z-index: 1;
    }

/* Centered text */
.image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

    .image-overlay h4 {
        color: #fff;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

/* Optional hover effect */
.image-box:hover img {
    transform: scale(1.05);
    transition: 0.4s ease;
}

.image-box:hover::before {
    background: rgba(0, 0, 0, 0.35);
    transition: 0.4s ease;
}

/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #232323, #232323);
    color: #232323;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer .contact-row {
    gap: 0.8rem;
}

.footer .contact-item {
    padding: 6px 12px;
    border-radius: 25px;
    background: rgba(255,255,255,0.06);
    transition: 0.25s ease;
}

/* Hover effect */
.footer .contact-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

/* Icons highlight */
.footer .contact-item i {
    color: var(--primary);
    font-size: 13px;
}

/* Links hover */
.footer a {
    transition: 0.3s;
}

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

/* Description (softer contrast) */
.footer-desc {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    max-width: 600px;
    margin: auto;
}

/* Bottom line */
.footer .row.mt-3 {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 10px;
    margin-top: 15px;
    color: rgba(255,255,255,0.65);
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.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: .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: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

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