:root {
    --primary: #ff6a00;
    --primary-dark: #d95000;
    --secondary: #ffb000;
    --navy: #17213b;
    --navy-light: #253354;
    --green: #159447;
    --white: #ffffff;
    --light: #fff8f1;
    --light-grey: #f5f6fa;
    --text: #333333;
    --muted: #6b7280;
    --border: #e9e9e9;
    --shadow: 0 18px 45px rgba(22, 33, 59, 0.11);
    --shadow-small: 0 10px 28px rgba(22, 33, 59, 0.08);
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 34px));
    margin: auto;
}

.section {
    padding: 90px 0;
}

.section-light {
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 176, 0, 0.09),
            transparent 35%
        ),
        var(--light);
}

.section-label,
.section-title > span,
.about-page-content > span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
}

.btn {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 25px;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    box-shadow: 0 10px 24px rgba(255, 106, 0, 0.22);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 106, 0, 0.30);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Top bar */

.top-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
}

.top-bar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-contact a {
    color: rgba(255, 255, 255, 0.88);
    transition: 0.2s ease;
}

.top-contact a:hover {
    color: #ffd571;
}

.top-offer {
    color: #ffd571;
    font-weight: 800;
}

/* Header */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 22px rgba(22, 33, 59, 0.08);
}

.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-placeholder {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    border: 3px solid #fff0df;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(255, 106, 0, 0.23);
}

.logo-area img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.1;
}

.logo-text small {
    display: block;
    margin-top: 3px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 29px 10px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 215px;
    padding: 10px;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 14px 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.dropdown-menu a:hover {
    padding-left: 17px;
    background: var(--light);
    color: var(--primary);
}

.menu-toggle {
    display: none;
    width: 45px;
    height: 43px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    font-size: 23px;
    cursor: pointer;
}

/* Inner page banner */

.inner-banner {
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 255, 255, 0.18),
            transparent 24%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(255, 224, 134, 0.22),
            transparent 30%
        ),
        linear-gradient(135deg, #ff6200, #ff9700);
}

.inner-banner::before,
.inner-banner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.inner-banner::before {
    width: 310px;
    height: 310px;
    left: -140px;
    top: -140px;
}

.inner-banner::after {
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -150px;
}

.inner-banner .container {
    position: relative;
    z-index: 2;
}

.inner-banner span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 15px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.inner-banner h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.05;
}

.inner-banner p {
    max-width: 700px;
    margin: auto;
    color: rgba(255, 255, 255, 0.91);
    font-size: 18px;
}

/* About page */

.about-page-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 65px;
}

.about-page-image {
    position: relative;
}

.about-page-image::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    left: -30px;
    bottom: -30px;
    border-radius: 30px;
    background: #ffe1bf;
    z-index: -1;
}

.image-placeholder {
    min-height: 500px;
    display: flex;
    padding: 35px;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 28px;
    background:
        linear-gradient(
            180deg,
            rgba(22, 33, 59, 0.05),
            rgba(22, 33, 59, 0.75)
        ),
        linear-gradient(135deg, #ffc36a, #ff6a00);
    box-shadow: var(--shadow);
    color: var(--white);
}

.image-placeholder span {
    font-size: 18px;
    font-weight: 700;
}

.image-placeholder strong {
    display: block;
    margin-top: 5px;
    font-size: 31px;
    line-height: 1.2;
}

.about-page-content h2 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.18;
}

.about-page-content p {
    margin-bottom: 16px;
    color: var(--muted);
}

.about-highlight {
    margin-top: 28px;
    padding: 23px;
    border-left: 5px solid var(--green);
    border-radius: 12px;
    background: #ebf9f0;
}

.about-highlight strong {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: 18px;
}

.about-highlight p {
    margin: 0;
    color: #275b38;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    position: relative;
    padding: 34px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition: 0.3s ease;
    overflow: hidden;
}

.value-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.08);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.value-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    font-size: 31px;
}

.value-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 23px;
}

.value-card p {
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    padding: 30px;
    border-radius: 18px;
    background: var(--light-grey);
    transition: 0.3s ease;
}

.feature-card:hover {
    background: var(--navy);
    transform: translateY(-6px);
}

.feature-card > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.feature-card p {
    color: var(--muted);
    font-size: 15px;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: var(--white);
}

.feature-card:hover > span {
    color: #ffd571;
}

/* Teachers page */

.teacher-page-grid {
    display: grid;
    gap: 32px;
}

.teacher-profile-card {
    display: grid;
    grid-template-columns: 330px 1fr;
    min-height: 360px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-small);
    overflow: hidden;
    transition: 0.3s ease;
}

.teacher-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.teacher-profile-card:nth-child(even) {
    grid-template-columns: 1fr 330px;
}

.teacher-profile-card:nth-child(even) .teacher-profile-photo {
    order: 2;
}

.teacher-profile-card:nth-child(even) .teacher-profile-content {
    order: 1;
}

.teacher-profile-photo {
    position: relative;
    min-height: 360px;
    background: linear-gradient(135deg, #ffd39b, #ff7a1c);
}

.teacher-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teacher-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: none;
    place-items: center;
    font-size: 95px;
}

.teacher-profile-photo img:not([src]),
.teacher-profile-photo img[src=""] {
    display: none;
}

.teacher-profile-photo img:not([src]) + .teacher-placeholder,
.teacher-profile-photo img[src=""] + .teacher-placeholder {
    display: grid;
}

.teacher-profile-content {
    display: flex;
    padding: 40px;
    flex-direction: column;
    justify-content: center;
}

.teacher-position {
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 30px;
    background: var(--light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.teacher-profile-content h2 {
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 33px;
}

.qualification {
    margin-bottom: 16px;
    color: var(--primary) !important;
    font-weight: 800;
}

.teacher-profile-content > p {
    color: var(--muted);
}

.teacher-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.teacher-skills span {
    padding: 7px 12px;
    border-radius: 30px;
    background: #edf0f7;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
}

.teaching-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.method-card {
    position: relative;
    padding: 30px 24px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-small);
    overflow: hidden;
}

.method-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    top: -50px;
    right: -50px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.08);
}

.method-number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    font-size: 19px;
    font-weight: 900;
}

.method-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 20px;
}

.method-card p {
    color: var(--muted);
    font-size: 15px;
}

/* Gallery page */

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.gallery-filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--white);
    color: var(--navy);
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    border-color: var(--primary);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color: var(--white);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.20);
}

.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.full-gallery-item {
    position: relative;
    min-height: 280px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffd9aa, #ff7c1c);
    box-shadow: var(--shadow-small);
    overflow: hidden;
    cursor: pointer;
}

.full-gallery-item:nth-child(4n + 1) {
    grid-row: span 2;
    min-height: 579px;
}

.full-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: 0.5s ease;
}

.full-gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 55px 22px 22px;
    background: linear-gradient(
        transparent,
        rgba(10, 17, 35, 0.92)
    );
    color: var(--white);
    transition: 0.3s ease;
}

.gallery-overlay span {
    display: inline-block;
    margin-bottom: 3px;
    color: #ffd571;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-overlay h3 {
    font-size: 20px;
    line-height: 1.25;
}

.gallery-empty {
    display: none;
    margin-top: 30px;
    padding: 30px;
    border-radius: 15px;
    background: var(--light);
    color: var(--muted);
    text-align: center;
    font-weight: 700;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    padding: 30px;
    align-items: center;
    justify-content: center;
    background: rgba(7, 11, 25, 0.94);
    backdrop-filter: blur(9px);
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(960px, 90vw);
    max-height: 86vh;
    border-radius: 18px;
    background: var(--white);
    overflow: hidden;
}

.lightbox-content img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: #090d18;
}

.lightbox-caption {
    padding: 16px 20px;
}

.lightbox-caption span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.lightbox-caption h3 {
    margin-top: 2px;
    color: var(--navy);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    z-index: 2;
    width: 47px;
    height: 47px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy);
    font-size: 30px;
    cursor: pointer;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 58px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: 38px;
    cursor: pointer;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

/* CTA */

.cta-section {
    position: relative;
    padding: 70px 0;
    color: var(--white);
    background:
        radial-gradient(
            circle at right,
            rgba(255, 255, 255, 0.13),
            transparent 35%
        ),
        linear-gradient(135deg, var(--primary), var(--secondary));
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner > div {
    max-width: 760px;
}

.cta-inner span {
    display: inline-block;
    margin-bottom: 7px;
    color: #fff0b4;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.cta-inner h2 {
    margin-bottom: 10px;
    font-size: clamp(29px, 4vw, 44px);
    line-height: 1.18;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.88);
}

/* Contact form */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 38px;
}

.contact-info {
    padding: 40px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at bottom right,
            rgba(255, 176, 0, 0.20),
            transparent 38%
        ),
        var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
}

.contact-info h2 {
    margin-bottom: 10px;
    font-size: 35px;
}

.contact-info > p {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.75);
}

.contact-list {
    display: grid;
    gap: 20px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-list li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-list strong {
    display: block;
    color: #ffd571;
}

.contact-form {
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 800;
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #d7dbe4;
    border-radius: 10px;
    background: #fafbfe;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.10);
}

/* Footer */

.footer {
    padding-top: 68px;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 106, 0, 0.12),
            transparent 30%
        ),
        #10182b;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 38px;
    padding-bottom: 48px;
}

.footer-logo {
    margin-bottom: 12px;
    color: #ffd571;
    font-size: 25px;
}

.footer h3 {
    margin-bottom: 16px;
    font-size: 19px;
}

.footer p,
.footer a,
.footer span {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    width: fit-content;
    transition: 0.2s ease;
}

.footer-links a:hover {
    padding-left: 4px;
    color: #ffd571;
}

.footer-bottom {
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.64);
    text-align: center;
    font-size: 14px;
}

/* WhatsApp */

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    width: 59px;
    height: 59px;
    display: grid;
    place-items: center;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
    transition: 0.25s ease;
}

.whatsapp:hover {
    transform: translateY(-5px) scale(1.04);
}

/* Tablet */

@media (max-width: 1050px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 17px;
        right: 17px;
        display: none;
        max-height: calc(100vh - 105px);
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 0 0 16px 16px;
        background: var(--white);
        box-shadow: var(--shadow);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        justify-content: space-between;
        padding: 13px 12px;
        border-bottom: 1px solid var(--border);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        padding: 5px 10px 10px;
        border-top: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-image {
        max-width: 700px;
    }

    .value-grid,
    .feature-grid,
    .full-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .full-gallery-item:nth-child(4n + 1) {
        grid-row: auto;
        min-height: 300px;
    }

    .teacher-profile-card,
    .teacher-profile-card:nth-child(even) {
        grid-template-columns: 300px 1fr;
    }

    .teacher-profile-card:nth-child(even) .teacher-profile-photo,
    .teacher-profile-card:nth-child(even) .teacher-profile-content {
        order: initial;
    }

    .teaching-method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */

@media (max-width: 700px) {
    .container {
        width: min(100% - 26px, 1180px);
    }

    .top-bar {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .logo-placeholder {
        width: 48px;
        height: 48px;
        font-size: 14px;
    }

    .logo-area img {
        width: 50px;
        height: 50px;
    }

    .logo-text strong {
        font-size: 16px;
    }

    .logo-text small {
        font-size: 10px;
    }

    .nav-menu {
        top: 70px;
        left: 10px;
        right: 10px;
    }

    .section {
        padding: 65px 0;
    }

    .inner-banner {
        padding: 70px 0;
    }

    .inner-banner h1 {
        font-size: 42px;
    }

    .inner-banner p {
        font-size: 16px;
    }

    .image-placeholder {
        min-height: 350px;
        padding: 24px;
    }

    .image-placeholder strong {
        font-size: 25px;
    }

    .value-grid,
    .feature-grid,
    .full-gallery-grid,
    .teaching-method-grid,
    .footer-grid,
    .contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .teacher-profile-card,
    .teacher-profile-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .teacher-profile-photo,
    .teacher-placeholder {
        min-height: 330px;
    }

    .teacher-profile-content {
        padding: 27px;
    }

    .teacher-profile-content h2 {
        font-size: 28px;
    }

    .full-gallery-item,
    .full-gallery-item:nth-child(4n + 1) {
        min-height: 270px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-inner .btn {
        width: 100%;
    }

    .contact-info,
    .contact-form {
        padding: 26px;
    }

    .lightbox-arrow {
        width: 40px;
        height: 48px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .footer-grid {
        gap: 30px;
    }
}