/* Ensure smooth scrolling across all browsers */
html {
  scroll-behavior: smooth; /* Smooth scroll behavior */
}

body {
  overflow-x: hidden; /* Prevent horizontal overflow */
}
/*** Nav bar ***/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar .navbar-brand {
    margin: 0;
	color:#fff;
    font-size: 30px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;
    
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

/* Logo Styling in Mobile Drawer */
.mobile-drawer .navbar-brand {
  display: flex;                  /* Align logo and name horizontally */
  align-items: center;            /* Vertically center the logo and text */
  font-size: 20px;                 /* Adjust font size of the brand name */
  color: white;                   /* Make sure the brand name is white */
  margin-bottom: 20px;             /* Add space below the brand */
}

.mobile-drawer .navbar-brand img {
  max-height: 40px;                /* Adjust the maximum height of the logo */
  margin-right: 10px;              /* Add space between the logo and brand name */
}

.navbar-logo {
  max-height: 40px;  /* Limit the logo's height */
  max-width: 100%;    /* Make sure it scales correctly */
  margin-right: 10px; /* Space between logo and text */
}

/* Review Button Styling */
.transparent-review-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background-color: #2d6a4f;  
  padding: 5px 10px;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.transparent-review-btn .review-score {
  font-size: 14px;
  margin-left: 10px;
  background-color: #f9c11c;  /* Yellow background for the review score */
  padding: 3px 8px;

  font-weight: bold;
}
.transparent-review-btn:hover{
  color: #fff;
  text-decoration: none;
}


@media (max-width: 480px) {
  .mobile-drawer .navbar-brand {
    font-size: 30px;               /* Make font size smaller on very small screens */
  }

  .mobile-drawer .navbar-brand img {
    max-height: 35px;              /* Adjust logo size for small screens */
  }
}

@media (min-width: 992px) {

    .navbar {
        position: fixed; /* or relative */
        width: 100%;
        padding: 15px 40px; /* Adjust padding */
        background: transparent !important;
        border-bottom: 0px dashed rgba(256, 256, 256, .2);
        z-index: 9;
    }
	
	 .navbar .navbar-brand {
    display: flex;    /* Align logo and text horizontally */
    align-items: center;
    font-size: 35px;   /* Adjust text size as needed */
  }

  .navbar .navbar-brand .navbar-logo {
    max-height: 40px; /* Adjust logo size */
  }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #ffffff !important;
    }
    
    .navbar .navbar-brand {
        color: #000000;
    }
    
    .navbar.nav-sticky .navbar-brand {
        color: #132a13;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 10px 10px 8px 10px;
        color: #132a13;
        font-size: 15px;
        font-weight: 500;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link,
    .navbar-light.nav-sticky .navbar-nav .nav-link:focus {
        color: #414141;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #111111;
    }
    
    .navbar-light.nav-sticky .navbar-nav .nav-link:hover,
    .navbar-light.nav-sticky .navbar-nav .nav-link.active {
        color: #EF233C;
    }
}

/* === MOBILE SLIDE-IN MENU === */
@media (max-width: 991.98px) {
  .navbar {
    background: #132a13 !important;
    position: sticky;
    top: 0;
    z-index: 1050;
  }

  .navbar-toggler {
    border: none;
    outline: none;
  }

  .navbar-toggler-icon {
    filter: invert(1);
  }

  /* Hide Bootstrap collapse (we’ll override with drawer) */
  .navbar-collapse {
    display: none !important;
  }

  /* Drawer */
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #132a13;
    color: white;
    overflow-y: auto;
    transition: left 0.4s ease;
    z-index: 2000;
    padding: 20px;
  }

  .mobile-drawer.active {
    left: 0;
  }

  .mobile-drawer h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }

  .mobile-drawer ul {
    list-style: none;
    padding-left: 0;
  }

  .mobile-drawer li {
    margin-bottom: 10px;
  }

  .mobile-drawer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    display: block;
  }

  .mobile-drawer .submenu {
    display: none;
    margin-left: 15px;
    border-left: 2px solid #5aff5a;
    padding-left: 10px;
  }

  .mobile-drawer .submenu a {
    font-size: 14px;
  }

  .mobile-drawer .toggle-btn {
    background: none;
    border: none;
    color: #5aff5a;
    font-size: 16px;
    float: right;
  }

  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 1500;
  }

  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .whatsapp-btn-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    bottom: 0;
    width: 100%;
    background: #0a7c47;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 0;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
  }
}
 .mobile-drawer .navbar-logo {
    max-height: 35px;  /* Adjust logo size for mobile if needed */
  }

  .mobile-drawer .navbar-brand {
    display: flex;     /* Align logo and text horizontally */
    font-size: 18px;    /* Adjust font size for mobile */
  }

/*** Navbar End ***/

.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 120px 0 0 0;
    overflow: hidden;
    background: linear-gradient(rgba(133, 187, 101,1), rgba(250, 236, 16, .95)), url(../img/hero-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
    padding-right: 75px;
}

.hero .hero-image img {
    max-width: 80%;
    max-height: 80%;
}

/* --- HERO CONTENT STYLES (Final, Responsive) --- */

.hero .hero-content {
    /* REMOVED: position: relative; */
    padding-left: 15px; 
    padding-right: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.hero .hero-text p {
    color: #000000;
    font-size: 20px; /* Adjusted for SEO/Content fit */
    font-weight: 600;
    margin-bottom: 15px;
}

.hero .hero-text h1 {
    color: #000000;
    font-size: 55px; /* Adjusted for SEO/Content fit */
    font-weight: 700;
    line-height: 1.1;
    word-break: break-word; 
    margin-bottom: 15px;
    /* REMOVED: letter-spacing: 3px; */
}

/* --- TRUST STATS STYLES --- */
.hero-trust-stats {
    display: flex;
    flex-direction: row; 
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.hero-trust-stats .d-flex {
    justify-content: flex-start;
}
.hero-trust-stats .trust-stat {
    padding: 0 10px 0 0;
}
.hero-trust-stats .stat-number {
    font-size: 35px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1;
}
.hero-trust-stats .stat-label {
    font-size: 14px;
    color: #000000;
}
.hero-trust-stats .review-badges {
    display: flex;
    align-items: center;
    margin-top: 10px;
}


/* --- ACTION BUTTONS --- */
.hero .hero-btn .btn {
    margin-top: 35px;
    color: #000000;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #EF233C;
}
.hero .hero-btn .btn:first-child {
    margin-right: 10px;
}
.hero .hero-btn .btn:hover {
    color: #000000;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

/* --- RESPONSIVENESS (Mobile-First) --- */

/* Desktop Padding (Min-width: 992px) */
@media (min-width: 992px) {
    .hero .hero-content {
        padding-left: 60px;
        padding-right: 15px;
    }
}

/* Tablet/Small Laptop Adjustments (Up to 991.98px) */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 60px;
    }
    .hero .hero-content {
        padding: 0 15px; 
    }
    .hero .hero-text p {
        font-size: 20px; 
    }
    .hero .hero-text h1 {
        font-size: 40px; 
    }
}

/* Mobile Adjustments (Up to 767.98px) */
@media (max-width: 767.98px) {
    .hero .hero-content {
        text-align: center;
        align-items: center;
        width: 100%;
        margin-bottom: 30px;
    }
    .hero .hero-text h1 {
        font-size: 32px;
    }
    .hero .hero-text p {
        font-size: 18px;
    }
    /* Mobile centering for stats */
    .hero-trust-stats {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-trust-stats .d-flex {
        justify-content: center;
        width: 100%;
    }
    .hero-trust-stats .trust-stat {
        text-align: center;
    }
    .hero .hero-btn .btn {
        display: block; 
        width: 100%;
        margin-bottom: 10px;
    }
    .hero .hero-btn .btn:first-child {
        margin-right: 0;
    }
}
/* --- HERO SECTION STYLES (Existing) --- */

@media (max-width: 767.98px) {
    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    /* Ensure the left content aligns center on mobile */
    .hero,
    .hero .hero-text,
    .hero .hero-btn {
        width: 100%;
        text-align: center;
    }
    
    /* ADDED: Add vertical space between the left content and the form card on mobile */
    .hero .hero-content {
        margin-bottom: 30px;
    }

    .hero .hero-text p {
        font-size: 18px;
    }
    
    .hero .hero-text h1 {
        font-size: 35px;
    }
    
    .hero .hero-text h2 {
        font-size: 22px;
        height: 22px;
    }
    
    .hero .hero-btn .btn {
        padding: 10px 15px;
        letter-spacing: 1px;
    }
}

/* --- NEW CONTACT FORM STYLES (Visual Match) --- */

.hero .hero-form-container {
    padding: 40px;
}

.hero .hero-form-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hero .hero-form-card h3 {
    color: #333333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: left;
}

.hero .hero-form-card .form-group.form-field-spacing {
    margin-bottom: 15px;
}

.hero .hero-form-card label {
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    margin-bottom: 5px;
    display: block;
}

.hero .hero-form-card .form-control {
    background-color: #f0f8ff; 
    border: 1px solid #e0e0e0;
    height: 48px;
    padding: 10px 15px;
    color: #333333;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.hero .hero-form-card .form-control:focus {
    background-color: #ffffff;
    border-color: #EF233C;
    box-shadow: none;
}

.hero .hero-form-card .form-cta-btn {
    background-color: #EF233C; 
    color: #ffffff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 25px;
    width: 100%;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.hero .hero-form-card .form-btn-wrapper {
    margin-top: 25px;
}

.hero .hero-form-card .form-cta-btn:hover {
    background-color: #c91f35;
}

@media (max-width: 991.98px) {  
    .hero .hero-form-container {
        margin-top: 40px; 
        padding: 0 15px; 
    }
}

@media (max-width: 767.98px) {
    .hero .hero-form-container {
        margin-top: 30px; 
        padding: 0 15px; 
    }

    .hero .hero-form-card {
        padding: 20px 20px 25px 20px; 
    }

    .hero .hero-form-card h3 {
        font-size: 22px; 
        margin-bottom: 20px;
    }
}


@media (min-width: 992px) {
    .hero .hero-form-container {
        padding-right: 0;
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero,
    .hero .hero-text,
    .hero .hero-btn {
        width: 100%;
        text-align: left;
    }
    
    .hero .hero-text p {
        font-size: 18px;
    }
    
    .hero .hero-text h1 {
        font-size: 35px;
    }
    
    .hero .hero-text h2 {
        font-size: 22px;
        height: 22px;
    }
    
    .hero .hero-btn .btn {
        padding: 10px 15px;
        letter-spacing: 1px;
    }
}

@media (max-width: 575.98px) {
    .hero .hero-text p {
        font-size: 16px;
    }
    
    .hero .hero-text h1 {
        font-size: 30px;
    }
    
    .hero .hero-text h2 {
        font-size: 18px;
        height: 18px;
    }
    
    .hero .hero-btn .btn {
        padding: 8px 10px;
        letter-spacing: 0;
    }
}

@media (min-width: 992px) and (max-width: 1366px) {

  .navbar .container,
  .navbar .container-fluid {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
  }

  .navbar-brand img {
    max-width: 130px !important;
    height: auto !important;
  }


  .navbar-nav {
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }

  .navbar-nav .nav-item a {
    white-space: nowrap !important;
    font-size: 14px !important;
  }

  .rating-box,
  .quote-box {
    transform: scale(0.85) !important;
    margin-left: 10px !important;
    flex-shrink: 0 !important;
  }

  .navbar-collapse {
    flex-grow: 0 !important;
  }

  .navbar {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

.responsive-banner-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Adjust layout for mobile */
@media (max-width: 768px) {
  .responsive-banner-img {
    max-width: 90%;
    margin-top: 15px;
  }
}


/*** Nav Bar End ***/
