*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background: white;
    font-family: Lato, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 80px; /* Account for fixed header height */
}
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

header {
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 100px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-height: 60px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav-links a:hover,
.dropdown:hover .dropbtn {
  background-color: #e8f5e9; /* Light green */
  color: #1b5e20; /* Dark green */
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 10px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown {
    position: relative;
}

/* Create an invisible bridge for the hover gap */
.dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px; /* This should be the same as the margin-top on dropdown-content */
    background: transparent;
}

.social-media img {
  max-height: 30px;
}

.mobile-menu-button {
  display: none;
  cursor: pointer;
}
.mobile-menu-button .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.4s;
}

.mobile-menu-button.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-button.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.hero img { width: 100%; height: auto; }
.team-header { background: rgb(15, 114, 60); color: white; padding: 20px; text-align: left; }
.services-header {
    background: rgb(15, 114, 60);
    color: white;
    padding: 40px 20px 80px 20px; /* Increased bottom padding */
    text-align: left;
}

p{
    font-weight: 300;
    line-height: 1.5;
}

.services-header .container p{
font-weight:300;
font-size:1.2rem
}
.services-header h2{
font-size:3.2rem;
display: inline;
font-weight: 400;
font-family: "Montserrat", sans-serif;
}

.team-header .container p{
font-weight:300;
font-size:1.2rem
}
.team-header h2{
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
    display: inline;
    font-size:3.2rem;
}

.our-services {
    position: relative;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 100px;
    justify-content: center;
    position: relative;
    margin-top: -60px; /* Pulls the cards up */
    z-index: 10;
}

.service-card {
    background: rgba(232, 230, 230, 1);
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(50% - 40px); /* Two cards per row */
    box-sizing: border-box;
    min-width: 250px;
    position: relative;
    min-height:272px;
    max-width: 427px;
}

.service-card-content {
    padding: 20px;
    flex-grow: 1;
}

.service-card-content p{
font-weight:300;
font-size:1rem
}

.service-card-content li{
font-weight:300;
font-size:1rem
}

.service-card-footer {
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start; /* Aligns learn more to the left */
    align-items: center;
}

.service-card.color-1 .service-card-footer { border-color: #e87f29; }
.service-card.color-2 .service-card-footer { border-color: #081497; }
.service-card.color-3 .service-card-footer { border-color: #a11213; }
.service-card.color-4 .service-card-footer { border-color: #0f723c; }

.service-card-footer a {
    text-decoration: none;
    color: #545454;
    display: flex;
    align-items: center;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 50px solid;
    border-left: 50px solid transparent;
}

.service-card.color-1::after { border-bottom-color: #e87f29; }
.service-card.color-2::after { border-bottom-color: #081497; }
.service-card.color-3::after { border-bottom-color: #a11213; }
.service-card.color-4::after { border-bottom-color: #0f723c; }
.testimonials { text-align: center; padding: 20px; background: rgb(232, 230, 230); position: relative; }
.testimonial { display: none; }
.testimonial-container .testimonial.active { display: block;
color:rgb(84,84,84);
padding-inline:13% ;
padding-top:1rem}
.testimonial-container .testimonial.active p { 
font-size:35px;
font-weight:300;
min-height: 210px;
}

.testimonial-container h2{
font-size:3.2rem;
display: inline;
color:rgb(84,84,84);
font-weight: 400;
font-family: "Montserrat", sans-serif;
}

.prev, .next { position: absolute;color:rgb(84,84,84); top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 4em; cursor: pointer; z-index: 10; }
.prev { left: 80px; }
.next { right: 80px; }
.testimonial-dots {
    text-align: center;
    margin-top: 20px;
}

.testimonial-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.testimonial-dot.active {
    background-color: #717171;
}
.claims { background: white; padding: 20px; text-align: center;
}

.claims .container p{
font-weight:300
}
.claims .container a{
text-decoration:none;
color:#317A43;
}
.claims .container h2{
color:rgb(84,84,84);
font-size:3.2rem;
display: inline;
font-weight: 400;
font-family: "Montserrat", sans-serif;
}

.hero {
    position: relative;
	padding-inline:5px
}

.info-box-header h1 {
    color: #317A43;
    font-size: 3.5rem;
    font-weight: 400;
    margin: 0 0 10px 0;
    font-family: "Montserrat", sans-serif;
}

.info-box-content {
    width: 568px;
    background-color: rgba(232, 230, 230, 0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-left: auto;
    margin-right: 70px;
    margin-top: -40vh;
    position: relative;
    z-index: 5;
    margin-bottom: 2.5rem;
}

.info-box-body {
display:flex;
padding-block:1.5rem
}

.info-box-desc{
 height: 7px;
 width: 71px;
 background-color: #317A43;
 margin-top:10px !important;
}

.info-box-body p {
    color: black;
	font-weight:300;
    margin: 0 0 15px 0;
    padding-left: 20px;
    position: relative;
	line-height:30px;
}


.info-box-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
}

.info-box-footer img {
    max-height: 60px;
    max-width: 45%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: white;
      position: absolute;
      top: 80px;
      left: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      z-index: 1000;
    }

    .nav-links.active {
      display: flex;
    }

    .nav-links li {
      margin: 10px 0;
      text-align: center;
    }

    .dropdown-content {
      position: static;
      box-shadow: none;
      background-color: #f9f9f9;
    }

    .mobile-menu-button {
      display: block;
    }

    .info-box-header {
        position: static;
        width: auto;
    }

    .info-box-header h1 {
        color: #317A43;
        font-size: 2.5rem;
        background-color: transparent;
        padding: 0;
    }

    .info-box-content {
        position: static;
        width: auto;
        margin: 0 20px 20px 20px;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .info-box-footer {
        flex-direction: column;
    }

    .member {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .member-image {
        text-align: center;
        width: 100%;
        padding-bottom: 0;
    }

    .member-info {
        text-align: center;
        padding-inline: 20px;
    }

    .prev { left: 10px; font-size: 2em;}
    .next { right: 10px; font-size: 2em; }

    h2{
        font-size: 2rem !important;
    }
    footer{
        padding-inline: 0.8rem !important;
    }
    .services-grid {
        margin-bottom: 10px !important;
    }
}

footer {
    background-color: rgb(15, 114, 60);
    color: white;
    padding: 20px;
    flex-shrink: 0;
    padding-inline: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    padding: 10px;
    min-width: 250px;
}

.footer-section p {
    margin: 0 0 10px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    text-decoration: none;
    color: white;
}

.footer-section a:hover {
    text-decoration: underline;
    color: #e8f5e9;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}
.testimonial-author,
.testimonial-title {
    color: #0F723C;
}
.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; /* Space between members */
    justify-content: center;
    padding: 40px 100px;
}

.member {
    display: flex;
    flex: 1 1 calc(50% - 40px); /* Two members per row, accounting for gap */
    max-width: calc(50% - 40px);
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    align-items: flex-start; /* Align items to the top */
}

.member-info {
    flex: 2; /* Takes up more space than the image */
    padding-block: 20px;
    padding-inline: 10px;
    text-align: left;
}

.member-info h3 {
    margin-top: 0;
    color: #0F723C;
}

.member-info .designation {
    font-weight: bold;
    margin-top: -10px;
}

.member-info .description {
    font-size: 1rem;
    line-height: 1.5;
	font-weight:300;
}

.member-image {
    flex: 1; /* Takes up less space */
    padding: 20px;
    text-align: left;
}

.member-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Responsive layout for team members on tablets */
@media (max-width: 992px) {
    .team-members {
        flex-direction: column;
        align-items: center;
    }
    .member {
        flex-basis: 100%;
        max-width: 600px;
    }
}
.go-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.go-to-top img {
    width: 40px;
    height: 40px;
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
}
.contact-us {
    background-color: rgb(15, 114, 60);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.contact-us h2 {
    margin-bottom: 30px;
    font-size: 3.2rem;
    display: inline;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
}

.contact-us form {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.Form__Element {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.Form__Element label {
    margin-bottom: 10px;
    font-weight: bold;
}

.Form__Element input,
.Form__Element textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.Form__Element textarea {
    resize: vertical;
}

.contact-us button {
    background-color: transparent;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 20px;
}

.contact-us button:hover {
    background-color: #e8f5e9;
    color: #0F723C;
}
/* ============================================= */
/* Appended styles for new_design.html content */
/* ============================================= */

.banner {
    background-color: rgb(15, 114, 60);
    color: white;
    padding: 30px 40px;
    text-align: left;
}

.banner h1 {
    margin: 0;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-inline: 90px;
    max-width: 1200px;
    margin: 0 auto; /* This centers the container */
}

.description-section {
    flex: 1;
    text-align: left;
    background-color: rgba(232, 230, 230, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-sizing: border-box;
}

.description-section li{
    font-weight: 300;
    line-height: 1.5;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.downloads-section,
.team-section {
    padding-inline: 20px;
    margin-bottom: 20px;
}

.downloads-section h2,
.team-section h2 {
    margin-top: 0;
}

.downloads-section ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.downloads-section li {
    margin-bottom: 0;
}

.downloads-section a {
    display: block;
    padding: 12px 15px;
    background-color: #e9f5ee;
    border: 1px solid #d4e9d9;
    border-radius: 4px;
    text-decoration: none;
    color: #0f723c;
    font-weight: bold;
    transition: background-color 0.2s, transform 0.2s;
    text-align: center;
}

.downloads-section a:hover {
    background-color: #d4e9d9;
    transform: translateY(-2px);
}

.right-column .team-section .member {
    display: flex;
    align-items: flex-start;
    flex: 1 1 100%; /* Override existing member flex styles */
    max-width: 100%;
    background-color: transparent;
    border: none;
}

.right-column .team-section .member-image {
    flex: 0 0 180px;
}

.right-column .team-section .member-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: 0;
}

.right-column .team-section .member-info {
    flex: 2;
}

.right-column .team-section .member-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #000;
    font-weight: bold;
}

.right-column .team-section .member-info .designation {
    font-weight: 300;
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.right-column .team-section .member-info .description {
    font-size: 0.9em;
    line-height: 1.6;
}

.post-content-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 40px;
    margin: 0;
    border-top: none;
}

.post-content-left p{
    color: black;
    font-size: 1rem;
    font-weight: bold;
}

.post-content-right {
    text-align: right;
}

.post-content-right p {
    margin: 8px 0;
    font-size: 0.95em;
    font-weight: bold;
}
.post-content-right a{
    text-decoration: none;
    font-weight: 600;
    color: #000;
}

.post-content-right img {
    margin-top: 15px;
    max-width: 250px;
    height: auto;
}

/* --- Responsive Styles for new_design.html content --- */
@media (max-width: 1024px) {
    .main-content, .post-content-section {
        margin: 0 20px;
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .page-title-banner {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        box-sizing: border-box;
    }
    
}

@media (max-width: 768px) {
    .page-title-banner {
        width: 100%;
        box-sizing: border-box;
        padding: 30px 16px !important;
    }
    .container{
        padding: 0 !important;
    }

    .content-wrapper{
        padding-inline: 0;
        display: block;
    }

    .main-content, .post-content-section {
        flex-direction: column;
        margin: 0 15px;
        padding: 15px;
    }

    .description-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .downloads-section, .team-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .post-content-left {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .post-content-left, .post-content-right {
        text-align: center;
    }


    .right-column .team-section .member {
        flex-direction: column;
        align-items: center;
    }

    .right-column .team-section .member-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
.page-title-banner,
    .description-section,
    .right-column,
    .post-content-section {
        width: 100%;
    }
}
.page-title-banner {
    background-color: var(--page-color, rgb(15, 114, 60));
    color: white;
    padding: 45px 125px;
    text-align: left;
    flex-basis: 100%;
    margin-bottom: 20px;
}
.page-title-banner h2{
    font-size: 4rem;
    display: inline;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
}

.page-title-banner p{
    font-weight: 300;
}

.service-card-footer{
    font-weight: 300;
}

.service-card-content h3{
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    color: #545454;
}

/* Add positioning context to the member image container */
.member-image-decorated {
  position: relative;
  overflow: hidden; /* Hide any overflow from the pseudo-elements */
  display: inline-block;
}

/* Create the dark green horizontal line at the top */
.member-image-decorated::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px; /* Height of the line */
  background-color: rgb(29, 66, 34);
  z-index: 1; /* Ensure it's behind the triangle */
}

/* Create the lighter green triangle, similar to .service-card */
.member-image-decorated::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 25px solid #9db39f; /* The triangle shape and color */
  border-left: 25px solid transparent;
  z-index: 2; /* Ensure it's on top of the line */
}

/* Add positioning context to the member image container */
.right-column .team-section .member-image > a.member-image-decorated-services {
  position: relative;
  overflow: hidden; /* Hide any overflow from the pseudo-elements */
  display: inline-block;
}

/* Create the dark green horizontal line at the top */
.right-column .team-section .member-image > a.member-image-decorated-services::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px; /* Height of the line */
  background-color: var(--page-color, rgb(29, 66, 34));
  z-index: 1; /* Ensure it's behind the triangle */
}

/* Create the lighter green triangle, similar to .service-card */
.right-column .team-section .member-image > a.member-image-decorated-services::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 25px solid #9db39f; /* The triangle shape and color */
  border-left: 25px solid transparent;
  z-index: 2; /* Ensure it's on top of the line */
}

.service-block-wrapper {
    width: 100%;
}