.free-services-container {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

.paid-services-container {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 24px;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}

.services-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 50px;
}

.services-title {
    font-family: 'Otomanopee One', sans-serif;
    font-size: 36px;
    color: #086863;
    margin-bottom: 30px;
}

.services-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.services-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.services-list li::before {
    content: "•";
    color: #086863;
    position: absolute;
    left: 0;
    font-size: 20px;
}

.services-content-paid {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 50px;
    gap: 60px;
}

.services-content-paid .services-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.services-content-paid .services-image {
    margin-left: 0;
    margin-right: 60px;
    order: -1;
}

.services-content-paid .services-list {
    flex-direction: column;
    align-items: flex-start;
}

.services-content-paid .services-title {
    margin-bottom: 20px;
}

.services-title {
    background-color: #569D99;
    color: white;
    font-size: 28px;
    padding: 12px 40px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Otomanopee One', sans-serif;
}

.services-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
}

.services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 0 1 auto;
    min-width: 400px;
}

.services-list ul li {
    font-size: 25px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
}

.services-list ul li:before {
    content: "•";
    color: #086863;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

.services-image {
    flex: 0 1 auto;
    max-width: 28%;
    margin-left: auto;
    filter: brightness(1.2);
    filter: saturate(2);
}

.services-image img {
    width: 100%;
    height: inherit;
    border-radius: 15px;
    opacity: 0.8;
}

/* Services image grid (replicates offerings grid style) */
.services-image-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 50px;
    height: 450px;
}
.services-image-grid img,
.services-image-grid .placeholder-mint,
.services-image-grid .placeholder-sage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Layout for Free Services grid (like left column of offerings) */
.free-services-container .services-image-grid .placeholder-mint {
    grid-column: 1;
    grid-row: 1;
    background-color: #98C1BD;
}
.free-services-container .services-image-grid .img-small {
    grid-column: 2;
    grid-row: 1;
}
.free-services-container .services-image-grid .img-large {
    grid-column: 2;
    grid-row: 1/3;
}
.free-services-container .services-image-grid .placeholder-sage {
    grid-column: 3;
    grid-row: 1/3;
    background-color: #569D99;
}
/* shrink free services grid to keep list in one line */
.free-services-container .services-image-grid {
    max-width: 320px;
    height: 260px;
}

/* Layout for Paid Services grid (like right column of offerings) */
.paid-services-container .services-image-grid .placeholder-sage {
    grid-column: 1;
    grid-row: 1;
    background-color: #569D99;
}
.paid-services-container .services-image-grid .img-small {
    grid-column: 2;
    grid-row: 1;
}
.paid-services-container .services-image-grid .img-tiny {
    grid-column: 2;
    grid-row: 1/3;
}
.paid-services-container .services-image-grid .placeholder-mint.large {
    grid-column: 3;
    grid-row: 1/3;
    background-color: #98C1BD;
}

/* Responsive adjustments for services grids */
@media (max-width: 1024px) {
    .services-image-grid {
        aspect-ratio: 16/9;
        height: auto;
        margin-bottom: 30px;
    }
}
@media (max-width: 600px) {
    .services-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;
        height: auto;
    }
}

.divider{
    height: 32px;
    width: 100%;
    max-width: 100vw;
    position: relative;
}
.divider::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: calc(50% - 20px); /* gap = 40px total */
    background-color: #8BC5BA;
    border-radius: 40px;
}

.divider .divider-left{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: calc(50% - 20px); /* gap = 40px total */
    background-color: #8BC5BA;
    border-radius: 40px;
}

@media (max-width: 600px) {
    .divider::before,
    .divider .divider-left {
        width: calc(50% - 8px); /* smaller gap on mobile (16px total) */
    }
}

.divider-to-white {
    height: 28px;
    width: 100%;
    background-image: linear-gradient(#BFBFBF, white);
}

.divider-to-grey {
    height: 40px;
    width: 100%;
    background-image: linear-gradient(white, #BFBFBF);
}

.Offerings-container {
    width: 100%;
    height: 200px;
    background-color: #BFBFBF ;
    display: flex;
    flex-direction: row;

}

/* Consistent section width and centering for all main sections */
.section-container,
.free-services-container,
.paid-services-container,
.offerings-container,
.about-us,
.why-choose-content,
.contact-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
    width: 100%;
}

/* .about-container full width on large screens, but keep padding for content */
.about-container {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0;
    background-color: #BFBFBF;
    box-sizing: border-box;
}
.about-container > div {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .about-container > div {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 600px) {
    .about-container > div {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

/* About Us section below offerings */
.about-us-container {
    width: 100%;
    background: #fff;
    padding: 60px 0;
    box-sizing: border-box;
}
.about-us {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .about-us {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 600px) {
    .about-us {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

/* Offerings section fixes */
.offerings-container {
    overflow-x: hidden;
}
.offerings-grid {
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
}
.offerings-col .content {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
@media (max-width: 1024px) {
    .offerings-grid {
        flex-direction: column;
        display: flex;
        gap: 32px;
        z-index: 20;
    }
    .offerings-col {
        width: 100%;
    }
    .image-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
        min-width: 0;
    }
}
@media (max-width: 600px) {
    .offerings-grid {
        flex-direction: column;
        display: flex;
        gap: 24px;
    }
    .offerings-col {
        width: 100%;
    }
    .image-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        height: auto;
        min-width: 0;
    }
    .offerings-col .content {
        font-size: 1rem;
        padding: 0 4vw;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .services-content-paid {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .services-content-paid .services-image {
    margin: 0 0 30px 0;
    max-width: 80vw;
    width: 100%;
    order: 0;
  }
  .services-content-paid .services-wrapper {
    width: 100%;
    align-items: center;
  }
  .divider {
    width: 100%;
    min-width: 0;
  }
  .divider .divider-left {
    width: 60vw;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
    .section-container,
    .free-services-container,
    .paid-services-container,
    .offerings-container,
    .about-us,
    .why-choose-content,
    .contact-container {
        padding-left: 10px;
        padding-right: 10px;
    }
  .services-content {
    padding: 0 10px;
    margin-top: 20px;
  }
  .services-title {
    font-size: 28px;
    padding: 10px 20px;
  }
  .services-list {
    flex-direction: column;
    gap: 20px;
  }
  .services-list ul {
    min-width: 0;
    width: 100%;
  }
  .services-image {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .free-services-container,
  .paid-services-container {
    flex-direction: column;
    padding: 30px 5px;
  }
  .services-content,
  .services-content-paid {
    margin-top: 10px;
    padding: 0 2px;
    max-width: 100vw;
  }
  .services-title {
    font-size: 20px;
    padding: 8px 10px;
  }
  .services-list ul li {
    font-size: 16px;
    padding-left: 18px;
  }
  .services-list {
    gap: 10px;
  }
  .services-image img {
    border-radius: 8px;
  }
  .divider {
    height: 18px;
    border-radius: 20px 20px;
    width: 100%;
  }
  .divider .divider-left {
    height: 18px;
    border-radius: 20px;
    width: 40vw;
    margin-left: 0;
  }
}

/* Why Choose section responsive fixes */
.why-choose-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    gap: 40px;
}
.why-choose-text {
    flex: 2;
    min-width: 0;
}
.why-choose-image {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-choose-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}
.why-choose-title, .why-choose-list {
    word-break: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}
@media (max-width: 600px) {
    .why-choose-title {
        font-size: 1.3rem;
        padding-left: 4vw;
        padding-right: 4vw;
        text-align: left;
        max-width: 100vw;
    }
    .why-choose-list {
        padding-left: 4vw;
        padding-right: 4vw;
        font-size: 1rem;
        max-width: 100vw;
    }
}
@media (max-width: 900px) {
    .why-choose-content {
        flex-direction: column;
        gap: 24px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .why-choose-image {
        margin-top: 20px;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .why-choose-content {
        padding-left: 4vw;
        padding-right: 4vw;
        gap: 16px;
    }
    .why-choose-text {
        font-size: 1rem;
    }
}

/* Prevent horizontal overflow globally */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Navbar and dropdown z-index fixes */
.navbar {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    /* overflow-x: hidden;  // Removed to allow dropdown to overflow */
    position: relative;
    z-index: 2000;
    background: rgba(255,255,255,0.95);
}
.dropdown-content {
    z-index: 9999; /* Ensure dropdown is always on top */
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 4px;
    padding: 8px 0;
    top: 100%;
    left: 0;
}

/* Hamburger menu only on mobile */
@media (max-width: 600px) {
    .navbar ul {
        display: none;
    }
    .navbar .hamburger {
        display: flex;
    }
}
@media (min-width: 601px) {
    .navbar ul {
        display: flex;
    }
    .navbar .hamburger {
        display: none;
    }
}

/* Hero section fixes */
.hero {
    width: 100vw;
    max-width: 100vw;
    /* overflow-x: hidden;  // Removed to allow dropdown to overflow */
    position: relative;
}
.hero-logo-container {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}
.hero-text {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Offerings and general section fixes for tablets */
@media (max-width: 1024px) {
    .offerings-grid {
        flex-direction: column;
        display: flex;
        gap: 32px;
        width: 100%;
        box-sizing: border-box;
        padding-left: 24px;
        padding-right: 24px;
    }
    .offerings-col {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .image-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
        min-width: 0;
        gap: 10px;
        width: 100%;
    }
    .offerings-col .content {
        font-size: 1.1rem;
        padding: 0 10px;
        max-width: 100%;
        margin: 32px 0 0 0;
        width: 100%;
        box-sizing: border-box;
        clear: both;
        position: relative;
        z-index: 1;
    }
    .about-container > div,
    .about-us,
    .why-choose-content,
    .contact-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 900px) {
    .navbar {
        padding: 12px 8px;
    }
}
@media (max-width: 600px) {
    .mobile-menu {
        left: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
    }
    .hero-logo-container {
        padding-left: 0;
        padding-right: 0;
    }
    .hero-text {
        padding: 0 4vw;
    }
    .offerings-grid {
        padding-left: 4vw;
        padding-right: 4vw;
    }
    .image-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        height: auto;
        min-width: 0;
    }
    .offerings-col .content {
        font-size: 1rem;
        padding: 0 4vw;
    }
}