/********** Template CSS **********/
:root {
    --primary: #01739A;   /* Blue-Teal */
    --secondary: #129957; /* Green */
    --accent: #09847E;    /* Teal-Green */
    --light: #f8f9fa;     /* Light background */
    --dark: #212529;     /* Dark text */
    --orange-solar: #FE880E;
}





.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

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

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

@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 ***/
/* Move carousel caption content higher */
.carousel-item img {
    width: 100%;
    height: 100vh; /* full viewport height */
    object-fit: cover; /* keep aspect ratio and cover entire area */
}


/* Optional: reduce spacing between buttons and stats */
.carousel-caption .mb-4 {
    margin-bottom: 0.5rem !important;
}

.carousel-caption .d-flex.mt-2 {
    margin-top: 0.5rem !important;
}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

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

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

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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/* Gradient button */
.btn-gradient-success {
    background: linear-gradient(90deg, #01739A, #129957, #FE880E);
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}
.btn-gradient-success:hover {
    background: linear-gradient(90deg,#FE880E, #129957, #09847E);
    transform: scale(1.02);
}

/* Stat cards */
/* Stat cards */
.stat-card {
    background: #f9fbfc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Stat icons */
.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #01739A, #129957);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}
.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* calculator  */
.form-control, 
.form-select {
    border-radius: 8px;
    border: none;
}
.form-control:focus, 
.form-select:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}


/*** Service ***/
.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.icon-box {
    width: 70px;
    height: 70px;
    background: #e9f9f0;
    color: #16a34a; /* green */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.service-card ul {
    padding-left: 20px;
}
.service-card ul li {
    margin-bottom: 6px;
}

/* Why Choose Us  */
.benefit-card {
  background: #fff;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-icons {
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, #01739A, #129957);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}
.benefit-card:hover .stat-icons {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(1, 115, 154, 0.4);
}



/*** Call Us ***/

.form-control {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem; /* slightly smaller text */
  transition: all 0.3s ease;
  background-clip: padding-box;
}

.form-control::placeholder {
  color: #999; /* light gray placeholder */
  font-size: 0.85rem; /* smaller placeholder */
  opacity: 1;
}

/* Gradient Border Focus */
.form-control:focus {
  outline: none;
  border-image-slice: 1;
  border-width: 2px;
  border-style: solid;
  border-image-source: linear-gradient(90deg, #01739A, #129957);
  box-shadow: 0 4px 15px rgba(1, 115, 154, 0.2);
  background-color: #fff;
}

/* Textarea Same Styling */
textarea.form-control {
  resize: none;
  min-height: 110px;
}

/* Button Styling */
.btn-success {
  background: linear-gradient(90deg, #01739A, #129957);
  border: none;
  font-weight: 500;
  font-size: 0.95rem; /* smaller button text */
  padding: 0.65rem 0; /* smaller button */
  transition: all 0.3s ease;
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 115, 154, 0.3);
}

/* Info Items */
.info-item {
  background: #eaf6ff;
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.info-item:hover {
  background: linear-gradient(135deg, #e0f7ff, #d0ebff);
  transform: translateX(4px);
  box-shadow: 0 5px 18px rgba(0, 115, 154, 0.1);
}
.info-item i {
  font-size: 1.7rem;
  color: #0077b6;
}

/* Form & Info Box Hover */
.form-box, .info-box {
  transition: all 0.3s ease;
}
.form-box:hover, .info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .form-box, .info-box {
    padding: 1.8rem !important;
  }
}
/* Reduce shadow on mobile view */

/* Mobile optimizations */
@media (max-width: 768px) {
  .form-box, .info-box {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; /* lighter shadow */
    transform: none !important;
    width: 100% !important;   /* take full width */
    margin: 0 auto;           /* center the box */
    padding: 1.5rem !important; /* slightly reduced padding */
  }

  .form-box:hover, .info-box:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  }

  /* Make row spacing tighter */
  .row.g-4 {
    gap: 1.2rem !important;
  }
}

/* Call us end  */

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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;
}

.copyright {
    color: var(--light);
    background: #072A19;
}

.copyright a {
    color: #FFFFFF;
}

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