.navbar>.container, .navbar>.container-fluid, .navbar>.container-lg, .navbar>.container-md, .navbar>.container-sm, .navbar>.container-xl, .navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    max-width: 1550px;
}

#hero > .container {
  max-width: 1520px; 
}

.footer-cta {
  max-width: 520px;  
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

#footer h3 {
    margin-bottom: 1rem;
}

#inner-copy h1 {
    color: var(--bs-primary);
    padding-bottom: 1rem;
    font-size: 2.3rem;
}

#inner-copy h2 {
    font-size: 1.8rem;
    color: #555;
padding-bottom: 0.5rem; 
padding-top: 1rem;
}

#inner-copy {
    padding-top: 3rem;
}

button#hc-toggle {
    transform: translateY(-120px);
}

    .offcanvas .nav-link:hover, .offcanvas .nav-link:focus {
        color: var(--bs-secondary) !important;
    }

#footer a {
    color: #fff;
}

img.card-img-top {
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.tier h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--bs-primary);
}

#inner-copy #pricing ul li:before {
  content: '✓'; 
  margin-right: 5px; 
  color: #444;
}

#section_inner_cta {
    background-color: #579049;
}

.btn-primary:hover {
    color: var(--bs-dark);
    background-color: #fff;
    border-color: var(--bs-primary);
}

.btn-primary {
    border-color: #fff;
}

#index {
    padding: 3rem;
}

#values {
    padding: 3rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-color: #00327775;
}

.navbar {
   background: var(--bs-white);
}

.navbar.fixed-top {
  box-shadow: 0px 2px 4px rgb(12, 12, 12, 0.3);
}

#header {
    position: relative;
    z-index: 10;
}
a.btn.btn-lg.btn-secondary:hover {
    color: #fff;
    background: var(--bs-dark);
    transition: background-color 0.2s ease-in-out, transform 0.3s ease-in-out;
}

.form-control {
    border: 1px solid #d3d3d3;
    border-radius: 30px;
    color: #404040;
    display: block;
    font-size: 0.875rem;
    margin: 5px 0 20px;
    padding: 0.5rem 0.875rem;
}
a.topbar-link:hover {
    color: #9ae6b0;
}



.nav-link:focus, .nav-link:hover {
    color: rgb(164 235 178 / 70%);
}

.link-primary:focus, .link-primary:hover {
    color: #759c7a !important;
}
#about .subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

#about p {
    color: #444;
}

#footer p {
margin-bottom: 0rem;
padding-bottom: 1rem;
}

#values iconify-icon {
    color: #fff;
}

#values .service-card {
    text-align: center;
    padding: 0.5rem 3.25rem;
    border-radius: 15px;
    margin: 0 1.55rem;
    color: #fff;
    margin-bottom: 1rem;
}

#values .service-card p {
    color: #efefef;
}

#values .service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.btn-secondary {
    color: var(--bs-dark);
    background: #fff;
    border-color: var(--bs-secondary);
    margin-bottom: 1.5rem;
}

.link-primary {
    color: #84d992 !important;
}

.right-block {
    background: #226451;
    right: 0;
    width: 57%;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #566f65;
}

#hero { position: relative; }
#hero-bg {
  position: absolute;
  inset: 0;

  pointer-events: none; /* crucial: clicks pass through */
}

#hero-bg {
    position: absolute;
    top: 20%;
    right: -13%;
    height: auto;
    width: 65%;
}

#testimonials {
  position: relative; 
  z-index: 0;
}

#index-bg .graphic {
      fill: #141c47;
      fill-opacity: .5;
 }

#pricing {
  padding: 5rem 0 6rem;
}

#pricing .tier li {
 position: relative; 
}

#pricing .col-sm-12:nth-child(1) .tier {
    background: rgb(105 142 79 / 15%);
}

#pricing .col-sm-12:nth-child(2) .tier {
    background: rgb(105 142 79 / 45%);
}

#pricing .col-sm-12:nth-child(3) .tier {
    background: rgb(105 142 79 / 75%);
}

#pricing .tier li iconify-icon {
    position: absolute;
    left: -25px;
    top: 2px;
}

#testimonials iconify-icon {
    color: var(--hcm-secondary-dark);
    margin: 0 5px;
}

[class*=display-], h1, h2, h3, h4, h5 {
    font-family: var(--byf-header-font);
    font-weight: 600;
}

#services .card h3 {
    font-size: 1.5rem;
}

#testimonials .container {
  position: relative; 
  z-index: 5;
}

#footer h3 {
  font-size: 2.5rem;
}





#hero .text-area {
   padding: 0 2rem 0 0.5rem;
}

#hero .heading {
font-family: var(--byf-header-font);
font-WEIGHT: 400;
font-size: 2rem;
}

#hero .heading .bold {
    font-weight: 600;
    font-size: 2rem;
}

#about-bg .graphic {
        fill: #fff;
        fill-opacity: .5;
  }

#about {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

#about img {
   box-shadow: none;
}

#about-bg {
    position: absolute;
    top: -40%;
    right: -35%;
    height: auto;
    width: 90%;
    z-index: 1;
}

#about .row {
   position: relative;
   z-index: 5;
}

#index-bg {
    position: absolute;
    top: 10%;
    left: -60%;
    height: auto;
    width: 105%;
    z-index: 1;
}

      #testimonials-bg .graphic {
        fill: #ffcfac;
        fill-opacity: .1;
      }
 
#testimonials-bg {
    position: absolute;
    top: 27%;
    left: -42%;
    height: auto;
    width: 150%;
    z-index: 1;
}

   .hero-graphic {
        fill: #fff;
        fill-opacity: .5;
      }

#hero {
    z-index: 2;
    position: relative;
    overflow: hidden;
    padding: 0 0 6rem;
}

#hero .row {
    position: relative;
    z-index: 5;
}

#index {
    z-index: 0;
    position: relative;
}

#index .row {
    position: relative;
    z-index: 5;
}

#index::before {
    content: "";
    background-image: url(/images/new_layout_images/lay600/index-overlay.webp);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: -90px;
    left: 0;
    height: 685px;
    width: 870px;
    z-index: 1;
}


#service-bg {
    position: absolute;
    top: -10%;
    left: 0;
    height: auto;
    width: 105%;
    z-index: 1;
}

#services {
    z-index: 0;
    position: relative;
    overflow: hidden;
}

#services .container{
    position: relative;
    z-index: 5;
}
     .services-graphic {
        fill: #ffcfac;
        fill-opacity: .4;
      }


#services .card {
    background: rgb(255 255 255 / 70%);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    backdrop-filter: blur(30px);
    text-decoration: none;
}




@media (max-width: 991px) {
   #hero-bg {
      position: absolute;
      top: 15%;
      right: -0%;
      height: auto;
      width: 155%;
      z-index: 1;
      left: -20%;
  }
}


.bg-block { display: none !important; }


#footer {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--bs-light) 0 43%,
    var(--bs-tertiary) 43% 100%
  );
}


@media (max-width: 768px) {
  #footer {
    background: #444;
  }
}


/* === Footer Mobile Centering === */
@media (max-width: 768px) {
  #footer {
    text-align: center;
    padding: 3rem 1.5rem;
  }

  #footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  #footer .row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: #444;
  }

#footer .about {
        padding: 1.5rem 1rem;
        height: auto;
        align-items: center;
        text-align: center;
        color: #fff;
    }

  #footer .about,
  #footer .content {
    padding: 0;
    text-align: center;
    max-width: 600px;
  }

  #footer h2,
  #footer h3,
  #footer h4
  #footer p {
    text-align: center;
    color: #efefef;
  }

  #footer ul.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    margin: 2rem 0 0;
  }

  #footer ul.footer-menu li {
    margin: 0;
  }

  #footer ul.footer-menu a {
    font-size: 1rem;
  }

  #footer .byf-link {
    text-align: center;
    margin-top: 2rem;
  }
}



@media (max-width: 768px) {
  #footer .about {
    padding: 1.5rem 1rem;   
    height: auto;          
    align-items: center; 
    text-align: center;
  }
}

/* === Simple centered mobile layout for Pricing section === */
@media (max-width: 768px) {
  #pricing {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  #pricing .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #pricing .col-sm-12,
  #pricing .col-md-3 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  #pricing .tier {
    width: 100%;
    max-width: 400px;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
  }

  #pricing .tier h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  #pricing .tier .price {
    font-size: 2rem;
    margin: 0.5rem 0 1rem;
  }

  #pricing .tier ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    display: inline-block; 
  }

  #pricing .tier li {
    margin: 0.4rem 0;
  }

  #pricing .tier .btn {
    display: inline-block;
    width: 100%;
    max-width: 260px;
    margin-top: 1rem;
  }
}

/* === Simple centered mobile layout for Services section === */
@media (max-width: 768px) {
  #services {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  #services .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #services .col-sm-12,
  #services .col-md-6,
  #services .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #services .card.service-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  #services .card.service-card h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  #services .card.service-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  #services .card.service-card iconify-icon {
    display: block;
    margin: 0 auto 0.75rem;
  }
}

@media (max-width: 768px) {
  #services .subtitle,
  #services h2 {
    color: #fff !important;
  }
}

/* === Centered, mobile-friendly Values section === */
@media (max-width: 768px) {
  #values {
    padding: 2.5rem 1.5rem;
    text-align: center;
  }

  #values .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  #values .col-sm-12,
  #values .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #values .service-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
    text-align: center;
  }

  #values iconify-icon {
    display: block;
    margin: 0 auto 0.75rem;
  }

  #values h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  #values .subtitle {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
}


/* === Reduce padding in Index section on mobile === */
@media (max-width: 768px) {
  #index {
    padding: 2.5rem 1.5rem;  
  }

  #index h1 {
    font-size: 1.75rem;      
    margin-bottom: 1rem;
  }

  #index .index-subtitle {
    font-size: 1.125rem;      
    margin-bottom: 0.5rem;
  }

  #index .content {
    text-align: center;       
  }
}


/* === Mobile menu: centered and brand-colored === */
@media (max-width: 992px) {
  /* Offcanvas background + text color */
  .offcanvas.offcanvas-end {
    background-color: #043225 !important; /* brand green */
    color: #fff;
    text-align: center;                  
  }

  
  .offcanvas .nav-link {
    color: #fff !important;
    font-weight: 500;
    display: block;
    padding: 0.75rem 0;
  }

  .offcanvas .nav-link:hover,
  .offcanvas .nav-link:focus {
    color: var(--bs-secondary) !important; 
  }


  .offcanvas .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.15); 
    border: none;
    text-align: left;                      
    margin: 0 auto;
    width: fit-content;                   


  .offcanvas .dropdown-item {
    color: #fff !important;
    text-align: left;
  }

  .offcanvas .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bs-secondary) !important;
  }

  /* Center offcanvas title/logo */
  .offcanvas-header {
    justify-content: center;
  }

  /* Close button visibility */
  .offcanvas .btn-close {
    filter: invert(1);
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
}

@media (max-width: 992px) {
  nav.navbar .container {
    padding-right: 0; 
  }

  .navbar-toggler {
    margin-right: 0.75rem; 
  }
}

.navbar .d-flex {
  justify-content: space-between;
  width: 100%;
}


@media (max-width: 768px) {
  #hero .text-dark,
  #hero .heading,
  #hero .text-area p {
    color: #fff !important;
  }


  #hero .heading { font-size: 1.9rem; line-height: 1.2; }
  #hero .heading .bold { font-size: 2.2rem; }
  #hero .text-area { padding: 0 1rem; }
}


#hero #hero-bg {
  z-index: 0 !important;
  pointer-events: none;
}
#hero > .container,
#hero .row { position: relative; z-index: 2; }


@media (max-width: 768px) {
  #hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
    z-index: 1;
  }

  #index-bg {
      display: none;
  }
}

@media (max-width: 576px) {
    #topbar ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100vw;   
        padding: 0;
        margin: 0;
        padding-bottom: 0.25rem;
    }

    #topbar li {
        flex: 1 1 0;       
        text-align: center;
        list-style: none;
    }

    #topbar .topbar-link {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 6px;    
    }


    button#hc-toggle {
        transform: translateY(-10px);
    }
}



@media (max-width: 576px) {
  #footer .bg-block {
    width: 100% !important;
    position: static !important;
  }

  .footer-menu {
    flex-wrap: wrap !important;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-cta {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    text-align: center;   
    padding: 0 10px;      
  }

  .footer-cta p {
    white-space: normal !important;   
    max-width: 100%;                 
  }

  .footer-cta .btn {
    width: 100%;
    max-width: 320px;
    margin: 10px auto 0;
  }

  #hero .heading {
      margin-top: 1rem;
  }
}




