:root {
    --bg-color: #F3F9F9;
    --text-color: #1A1A1A;
    --text-light: #4A4A4A;
    --primary-btn: #BACDFF;
    --primary-btn-hover: #A3B8EE;
    --card-bg: #EAF4F4;
    --font-main: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary-btn);
    color: #111;
}

.btn-primary:hover {
    background-color: var(--primary-btn-hover);
}

.btn-secondary {
    background-color: #E6E6E6;
    color: #111;
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: #D4D4D4;
}

.full-width {
    width: 100%;
}

h1,
h2,
h3,
h4 {
    color: var(--text-color);
}

h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -1px;
}

h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 24px;
}

h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}

p {
    color: var(--text-light);
    font-size: 16px;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background-color: var(--bg-color);
    position: relative;
}

.burger-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.main-nav li.active a {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}

.mobile-menu-action {
    margin-top: auto;
}

.hero-image-wrapper {
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-text-section {
    padding: 80px 0;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-right p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.section {
    padding: 100px 0;
}

.section-header.center {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitle {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.section-desc {
    max-width: 650px;
    font-size: 16px;
    line-height: 1.6;
}

.center-btn {
    text-align: center;
    margin-top: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card,
.team-card,
.pricing-card,
.review-card,
.benefit-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover,
.team-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.program-card img,
.team-card img,
.gallery-grid img {
    border-radius: 24px;
    object-fit: cover;
}

.program-card,
.team-card {
    overflow: hidden;
}

.program-card img,
.team-card img {
    transition: transform 0.6s ease;
}

.program-card:hover img,
.team-card:hover img {
    transform: scale(1.05);
}

.program-card img {
    width: 100%;
    height: 260px;
    margin-bottom: 24px;
}

.team-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
}

.gallery-grid img {
    width: 100%;
    height: 400px;
}

.program-card h3 {
    margin-bottom: 12px;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card .role {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.socials a {
    font-size: 16px;
    margin: 0 6px;
    color: #111;
}

.socials a i,
.social-list a i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.socials a:hover i,
.social-list a:hover i {
    transform: scale(1.3) rotate(10deg);
    color: #5ebec4;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
}

.review-card {
    background-color: var(--card-bg);
    padding: 48px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-text {
    margin-bottom: 32px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.pricing-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 32px;
}

.features {
    text-align: left;
    width: 100%;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    margin-bottom: 14px;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.features li i {
    margin-top: 4px;
    font-size: 12px;
}

.site-footer {
    padding: 0 0 40px 0;
    background-color: var(--bg-color);
}

.footer-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-left {
    max-width: 450px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-desc {
    color: #333;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.footer-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-form input {
    flex: 1;
    background-color: #F0F2F5;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    outline: none;
}

.footer-form button {
    background-color: #E8E8E8;
    color: #111;
    border: none;
    border-radius: 30px;
    padding: 0 32px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-form button:hover {
    background-color: #dcdcdc;
}

.footer-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 40px;
}

.footer-copyright {
    font-size: 13px;
    color: #333;
    margin-top: auto;
    font-weight: 500;
}

.footer-right {
    display: flex;
    gap: 100px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    font-size: 15px;
    color: #444;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #000;
}

.social-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.social-list li a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #000;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #E3EEEE;
    padding: 50px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.modal-header h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.modal-price {
    font-size: 40px;
    font-weight: 500;
    margin: 15px 0 30px;
}

.checkout-form .input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.checkout-form input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    outline: none;
}

.checkout-form .full-input {
    margin-bottom: 15px;
}

@media (max-width: 1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-split {
        gap: 30px;
    }

    .footer-right {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px 24px;
    }

    .desktop-nav,
    .header-action {
        display: none;
    }

    .burger-menu-btn {
        display: block;
        order: -1;
    }

    .logo {
        margin: 0 auto;
    }

    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
    }

    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-image-wrapper img {
        height: 350px;
    }

    .footer-card {
        padding: 40px 30px;
        flex-direction: column;
        gap: 40px;
    }

    .footer-right {
        flex-direction: column;
        gap: 50px;
        flex-wrap: wrap;
    }

    .footer-form {
        flex-direction: column;
    }

    .modal-content {
        padding: 30px;
    }
}