* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #6e6e6e;
    overflow-x: hidden;
}

header {
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('../public/landingpage.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 100px 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    min-height: 500px;
    position: relative;
}

.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 15px 30px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

.logo {
    position: static;
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

.hero-text {
    width: 100%;
    max-width: 600px;
    align-self: flex-start;
    text-align: left;
    margin-top: 40px;
}

.hero-small {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6e6e6e;
}

.hero-text h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
    margin: 0 0 20px;
    font-weight: 700;
    color: #6e6e6e;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 520px;
}

.hero-btn,
.footer-schedule-btn,
.careers-btn,
.lets-talk-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-btn:hover,
.footer-schedule-btn:hover,
.careers-btn:hover,
.lets-talk-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.hero-btn {
    background: #499c9c;
    color: #ffffff;
    padding: 12px 24px;
}

.hero-btn:hover {
    background: #3f8787;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-trust {
    font-size: 14px;
    font-weight: 600;
    color: #499c9c;
    line-height: 1.4;
    margin: 0;
}

nav a {
    color: #6e6e6e;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    transition: background 0.3s;
}

nav a:hover {
    background: #f0f0f0;
}

nav a[href="#talk"] {
    border: 1.5px solid #000000;
    border-radius: 999px;
    padding: 10px 20px;
}

.program-section {
    text-align: center;
    background: #ececec;
    padding: 30px 20px 0;
}

.program-content {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.program-section h2,
.what-we-do-section h2 {
    margin: 0 0 8px;
    color: #499c9c;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    grid-column: 1;
}

.program-title {
    margin: 0;
    color: #6e6e6e;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    grid-column: 1;
}

.program-desc {
    margin: 8px auto 0;
    width: min(100%, 760px);
    font-size: 14px;
    font-weight: normal;
    color: #6e6e6e;
    line-height: 2;
    text-align: center;
    box-sizing: border-box;
}

.program-register-btn {
    display: inline-block;
    margin: 20px auto 0;
    background: #499c9c;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.program-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    background: #3f8787;
}

.program-image {
    margin: 24px auto 48px;
    max-width: 100%;
    width: min(100%, 920px);
    height: auto;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-image:hover,
.service-icon:hover,
.about-vision-image:hover,
.about-side-image:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.what-we-do-section {
    text-align: center;
    background: #ffffff;
    padding: 48px 20px 60px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 960px;
    margin: 40px auto 0;
}

.clients-content {
    margin-top: 60px;
}

.testimonials-carousel {
    margin-top: 32px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 16px;
}

.carousel-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.carousel-viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.testimonial-nav {
    flex-shrink: 0;
    border: none;
    background: rgba(73, 156, 156, 0.12);
    color: #499c9c;
    font-size: 32px;
    line-height: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonial-nav:hover {
    background: rgba(73, 156, 156, 0.18);
    transform: translateY(-2px);
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 320px;
}

.testimonial-item {
    flex: 0 0 24%;
    max-width: 24%;
    opacity: 0;
    transform: scale(0.7);
    transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
    filter: grayscale(40%);
}

.testimonial-item img {
    width: 100%;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.testimonial-item.active {
    flex: 0 0 48%;
    max-width: 48%;
    opacity: 1;
    transform: scale(1);
    filter: none;
}

.testimonial-item.previous,
.testimonial-item.next {
    flex: 0 0 18%;
    max-width: 18%;
    opacity: 0.85;
    transform: scale(0.8);
    filter: grayscale(15%);
}

.testimonial-item.hidden {
    display: none;
    visibility: hidden;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(73, 156, 156, 0.25);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-dot.active {
    background: #499c9c;
    transform: scale(1.25);
}

@media (max-width: 1024px) {
    .testimonial-item.active {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .testimonial-item.previous,
    .testimonial-item.next {
        flex: 0 0 22%;
        max-width: 22%;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 16px 0 8px;
        margin-top: 24px;
    }

    .carousel-main {
        gap: 8px;
    }

    .testimonial-nav {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .carousel-viewport {
        touch-action: pan-y;
    }

    .carousel-track {
        min-height: 0;
        gap: 0;
        justify-content: flex-start;
    }

    .testimonial-item {
        opacity: 0;
        transform: none;
        filter: none;
        transition: opacity 0.35s ease;
    }

    .testimonial-item.active {
        flex: 0 0 100%;
        max-width: 100%;
        opacity: 1;
        transform: none;
        filter: none;
    }

    .testimonial-item.previous,
    .testimonial-item.next {
        display: none;
    }

    .testimonial-item img {
        border-radius: 14px;
        aspect-ratio: auto;
        max-height: 260px;
        object-fit: contain;
    }

    .carousel-dots {
        margin-top: 14px;
        gap: 6px;
    }

    .carousel-dot {
        width: 7px;
        height: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-item,
    .testimonial-nav,
    .carousel-dot {
        transition: none;
    }
}

.services-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
}

.services-row-top .service-card {
    flex: 0 1 220px;
}

.services-row-bottom .service-card {
    flex: 0 1 200px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.service-icon {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-item {
    background: #ffffff;
    border: 1.5px solid #499c9c;
    border-radius: 999px;
    color: #499c9c;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.service-item:hover {
    background: #499c9c;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.service-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal.is-open {
    display: flex;
}

.service-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.service-modal-dialog {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    width: 100%;
    padding: 32px 28px 28px;
    text-align: center;
    z-index: 1;
}

.service-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #6e6e6e;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 0;
}

.service-modal-close:hover {
    color: #499c9c;
}

.service-modal-title {
    margin: 0 0 16px;
    color: #499c9c;
    font-size: 24px;
    font-weight: 700;
}

.service-modal-desc {
    margin: 0;
    color: #6e6e6e;
    font-size: 16px;
    line-height: 1.7;
}

.about-header {
    background: #ececec;
    padding: 0 0 60px;
    min-height: 360px;
}

.about-white-section {
    background: #ffffff;
    padding: 40px 30px 60px;
}

.about-white-content {
    max-width: 800px;
    margin: 0 auto;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-vision-image {
    max-width: 70%;
    height: auto;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-intro-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 120px 30px 0;
    flex-wrap: wrap;
}

.about-intro {
    max-width: 760px;
    margin: 0;
    text-align: left;
    flex: 1 1 520px;
}

.about-side-image {
    width: min(100%, 360px);
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    flex: 0 0 360px;
    margin-left: -60px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-intro-line {
    margin: 0;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    color: #6e6e6e;
}

.about-intro-highlight {
    margin-top: 8px;
}

.about-intro-highlight span {
    color: #499c9c;
}

.about-support-text {
    margin: 18px 0 0;
    max-width: 700px;
    font-size: 15px;
    line-height: 1.8;
    color: #499c9c;
    font-weight: 400;
}

.about-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
    max-width: 700px;
}

.about-bullets li {
    font-size: 15px;
    font-weight: 700;
    color: #499c9c;
}

.about-bullets span {
    color: #499c9c;
    margin-right: 8px;
    font-weight: 700;
}

.site-footer {
    background: #499c9c;
    color: #ffffff;
    padding: 48px 30px 36px;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-heading,
.footer-desc,
.footer-trust {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 520px;
}

.footer-heading {
    font-weight: 700;
}

.footer-desc,
.footer-trust {
    font-weight: 400;
}

.footer-schedule-btn {
    display: inline-block;
    background: #ffffff;
    color: #499c9c;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-schedule-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.footer-copy {
    margin: 16px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    width: 100%;
    font-size: 13px;
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 12px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #6e6e6e;
    position: relative;
    transition: transform 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #6e6e6e;
    transition: transform 0.25s ease;
}

.nav-toggle span::before {
    top: -7px;
}

.nav-toggle span::after {
    top: 7px;
}

@media (max-width: 1024px) {
    header {
        padding: 80px 20px 50px;
        min-height: auto;
        background-position: center top;
    }

    .site-navbar {
        padding: 12px 20px;
    }

    nav {
        gap: 12px;
        justify-content: center;
    }

    .hero-desc,
    .program-desc,
    .footer-heading,
    .footer-desc,
    .footer-trust {
        font-size: 15px;
    }

    .program-image {
        margin: 24px auto 40px;
    }

    .services-row {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .site-navbar {
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 12px 20px;
    }

    .site-navbar nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 16px 20px 20px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .site-navbar.nav-open nav {
        display: flex;
    }

    .site-navbar nav a {
        width: 100%;
        padding: 12px 0;
        border-radius: 0;
    }

    .site-navbar.nav-open .nav-toggle span {
        background: transparent;
    }

    .site-navbar.nav-open .nav-toggle span::before {
        transform: translateY(7px) rotate(45deg);
    }

    .site-navbar.nav-open .nav-toggle span::after {
        transform: translateY(-7px) rotate(-45deg);
    }

    header {
        padding: 80px 16px 40px;
    }

    .program-section,
    .what-we-do-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
    }

    .hero-small {
        font-size: 20px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn,
    .footer-schedule-btn,
    .program-register-btn {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
    }

    .program-desc,
    .service-item,
    .footer-heading,
    .footer-desc,
    .footer-trust {
        font-size: 15px;
    }

    .services-grid {
        gap: 28px;
    }

    .services-row-top .service-card,
    .services-row-bottom .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-card {
        width: 100%;
        padding: 16px 12px;
        border-radius: 16px;
        background: #f9f9f9;
    }

    .service-icon {
        width: 80px;
        height: 80px;
    }

    .program-image,
    .testimonial-image,
    .about-side-image {
        width: 100%;
        max-width: 100%;
    }

    .testimonials-images {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .about-intro-layout {
        flex-direction: column;
        margin: 60px 16px 0;
    }

    .about-side-image {
        margin-left: 0;
        flex: 1 1 100%;
    }

    .footer-content {
        padding: 0 15px;
    }
}
