/* =============================================
   APEX FUTURE LTD
   Enterprise Consulting Design - 10/10
   ============================================= */

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === REVEAL ANIMATION === */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }

.service-card.reveal.visible,
.team-card.reveal.visible,
.project-card.reveal.visible,
.impact-card.reveal.visible {
    transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.visible {
        opacity: 1;
        transform: none;
    }
}

/* === DESIGN SYSTEM === */
:root {
    /* Colors */
    --blue-primary: #0052CC;
    --blue-dark: #003D99;
    --navy: #1a3a52;
    
    --white: #FFFFFF;
    --gray-50: #FAFBFC;
    --gray-100: #F5F7FA;
    --gray-200: #E8ECF1;
    --gray-600: #4B5563;
    --gray-900: #111827;
    
    /* Section backgrounds - distinct, no blending */
    --section-alt: #F5F8FC;
    --section-warm: #F8FAFD;
    --card-bg: #FAFCFF;
    
    /* Layout */
    --max-width: 1160px;
    --section-gap: 120px;
    
    /* System */
    --radius: 14px;
    --radius-sm: 10px;
    --border: rgba(17, 24, 39, 0.08);
    --border-strong: rgba(0, 82, 204, 0.14);
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.1);
    --transition: 200ms ease;
}

/* === BASE === */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

/* Safe area for notched devices - header gets top inset */

::selection {
    background: rgba(0, 82, 204, 0.15);
    color: var(--gray-900);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border);
    transition: var(--transition);
}

@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
}

.header.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    min-height: 76px;
    gap: 40px;
}

.nav__logo {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    overflow: hidden;
}

.nav__logo img {
    height: 108px;
    width: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity 0.2s ease;
    vertical-align: middle;
    transform: translateY(8px);
}

.nav__logo:hover img {
    opacity: 0.88;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: width 0.25s ease;
}

.nav__link:hover {
    color: var(--blue-primary);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:focus-visible,
.nav__lang:focus-visible,
.nav__toggle:focus-visible,
.btn:focus-visible,
.footer__col a:focus-visible {
    outline: 2px solid var(--blue-primary);
    outline-offset: 2px;
}

.nav__link--primary {
    background: var(--blue-primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav__link--primary::after {
    display: none;
}

.nav__link--primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.nav__lang {
    padding: 8px 18px;
    background: var(--gray-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-900);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav__lang:hover {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--gray-900);
    transition: var(--transition);
}

/* === HERO === */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--blue-primary) 0%, var(--blue-dark) 100%);
    color: var(--white);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 65%),
        radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero__wrapper {
    max-width: 640px;
    position: relative;
    z-index: 1;
    padding-left: 24px;
}

.hero__wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 2px;
}

.hero__overline {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.hero__heading {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 28px;
    max-width: 640px;
}

.hero__subheadline {
    font-size: 19px;
    line-height: 1.55;
    opacity: 0.92;
    margin-bottom: 24px;
    max-width: 680px;
}

.hero__credibility {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 42px;
    opacity: 1;
    line-height: 1.5;
    text-transform: uppercase;
    font-size: 14px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* === BUTTONS === */
.btn {
    height: 50px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--blue-primary);
}

.btn-primary:hover {
    background: var(--gray-50);
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

/* === SECTIONS === */
section {
    padding: var(--section-gap) 0;
}

.section-head {
    margin-bottom: 60px;
}

.section-head--light .section-title,
.section-head--light .section-subtitle {
    color: var(--white);
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
}

/* === ABOUT === */
.about {
    background: linear-gradient(180deg, #F0F4F9 0%, #F8FAFD 100%);
}

.about__content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    padding-left: 24px;
    border-left: 4px solid var(--blue-primary);
}

.about__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-primary);
    margin-bottom: 16px;
}

.about__statement {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--navy);
    margin-bottom: 24px;
}

.about__text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-900);
    font-weight: 500;
}

/* === SERVICES === */
.services {
    background: var(--white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--blue-primary);
    transition: height 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 204, 0.25);
}

.service-card:hover::before {
    height: 100%;
}

.service-card__num {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    opacity: 0.5;
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-card__desc {
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.service-card__list {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.service-card__list li {
    font-size: 14px;
    color: var(--gray-600);
    padding-left: 18px;
    margin-bottom: 10px;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    background: var(--blue-primary);
    border-radius: 50%;
}

.service-card__target {
    font-size: 14px;
    color: var(--blue-primary);
    font-weight: 500;
    font-style: italic;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* === IMPACT === */
.impact {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: var(--white);
    padding: 100px 0;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.impact-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    transition: transform 0.25s ease, background 0.25s ease;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.impact-card__value {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
}

.impact-card__label {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

/* === PROJECTS === */
.projects {
    background: var(--section-alt);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.project-card {
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius) var(--radius) 0 0;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 204, 0.2);
}

.project-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.project-card__program {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-primary);
    background: rgba(0, 82, 204, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.project-card__year {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.project-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--navy);
    margin-bottom: 10px;
}

.project-card__desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.5;
}

.projects__note {
    font-size: 11px;
    color: var(--gray-600);
    text-align: center;
    opacity: 0.5;
}

.projects__more {
    text-align: center;
    margin-top: 40px;
}

.projects__btn {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}

.projects__btn:hover {
    background: var(--blue-primary);
    color: var(--white);
}

/* === TEAM === */
.team {
    background: linear-gradient(180deg, #E8F4FC 0%, #F0F8FF 100%);
    padding-bottom: 80px;
}

.section-head--accent {
    position: relative;
    padding-left: 20px;
}

.section-head--accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--blue-primary);
    border-radius: 2px;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 82, 204, 0.2);
}

.team-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 28px;
    background: var(--white);
    border-left: 4px solid var(--blue-primary);
    padding: 28px 28px 28px 24px;
}

.team-card__photo {
    width: 100%;
    padding-bottom: 100%;
    background: var(--gray-100);
    position: relative;
    border-radius: var(--radius-sm);
}

.team-card__photo::after {
    display: none;
}

.team-card__initials {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-primary);
    opacity: 0.5;
    letter-spacing: 0.02em;
}

.team-card--featured .team-card__initials {
    font-size: 28px;
    opacity: 0.6;
}

.team-card--featured .team-card__photo {
    width: 120px;
    height: 120px;
    padding-bottom: 0;
}


.team-card__content {
    padding: 20px;
}

.team-card--featured .team-card__content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--blue-primary);
    opacity: 0.9;
    margin-bottom: 8px;
}

.team-card__name {
    font-size: 19px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.team-card--featured .team-card__name {
    font-size: 22px;
}

.team-card__role {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    opacity: 0.95;
}

.team-card__meta {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.team-card__meta span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    opacity: 0.85;
}

.team-card__bio {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-600);
}

.team-card:not(.team-card--featured) .team-card__bio {
    font-size: 13px;
}

/* === CONTACT === */
.contact {
    background: var(--gray-100);
    padding-top: 80px;
}

.contact__card {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.contact__grid {
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    min-width: 0;
}

.contact__info {
    background: var(--navy);
    color: var(--white);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 16px;
}

.contact__text {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__item {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact__label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.contact__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.contact__form {
    background: var(--white);
    padding: 48px 44px;
}

.contact__form .btn-primary {
    background: var(--blue-primary);
    color: var(--white);
}

.contact__form .btn-primary:hover {
    background: var(--blue-dark);
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

.form-note {
    font-size: 13px;
    color: var(--gray-600);
    text-align: center;
    margin-top: 16px;
    opacity: 0.85;
}

/* === FOOTER === */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 70px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer__logo {
    height: 22px;
    margin-bottom: 16px;
    opacity: 0.85;
}

.footer__brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer__col h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: inherit;
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col a,
.footer__col li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--white);
}

.footer__bottom {
    padding-top: 28px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav__logo img {
        height: 84px;
    }
    
    .hero__heading {
        font-size: 42px;
    }
    
    .services__grid,
    .impact__grid,
    .projects__grid,
    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-card--featured {
        grid-column: 1 / -1;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__info {
        padding: 40px 28px;
    }
    
    .contact__form {
        padding: 40px 28px;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px) + 20px);
    }
    
    section {
        padding: 80px 0;
    }
    
    .team {
        padding-bottom: 60px;
    }
    
    .contact {
        padding-top: 60px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-head {
        margin-bottom: 40px;
    }
    
    .about__content {
        padding-left: 20px;
        border-left-width: 3px;
    }
    
    .about__statement {
        font-size: 24px;
    }
    
    .nav__logo img {
        height: 72px;
    }
    
    .hero__wrapper {
        padding-left: 20px;
    }
    
    .hero__wrapper::before {
        width: 2px;
    }
    
    .nav__menu {
        position: fixed;
        top: calc(76px + env(safe-area-inset-top, 0px));
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        align-items: flex-start;
        transition: left 0.3s;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }
    
    .nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 4px 0;
    }
    
    .nav__link--primary {
        min-height: 48px;
        padding: 12px 24px;
        justify-content: center;
    }
    
    .nav__lang {
        min-height: 44px;
        padding: 10px 16px;
    }
    
    .hero {
        min-height: auto;
        padding: 88px 0 48px;
    }
    
    .hero__heading {
        font-size: 30px;
        line-height: 1.2;
    }
    
    .hero__subheadline {
        font-size: 16px;
    }
    
    .hero__credibility {
        font-size: 12px;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero__cta .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .services__grid,
    .impact__grid,
    .projects__grid,
    .team__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        min-height: auto;
        padding: 28px 24px;
    }
    
    .service-card__title {
        font-size: 22px;
    }
    
    .impact__grid {
        gap: 16px;
        margin-top: 0;
    }
    
    .impact {
        padding: 60px 0;
    }
    
    .impact-card {
        padding: 28px 20px;
    }
    
    .impact-card__value {
        font-size: 32px;
    }
    
    .impact-card__label {
        font-size: 13px;
    }
    
    .project-card {
        padding: 24px 20px;
    }
    
    .project-card__title {
        font-size: 16px;
    }
    
    .project-card__desc {
        font-size: 13px;
    }
    
    .projects__more {
        margin-top: 32px;
    }
    
    .projects__btn {
        min-height: 48px;
        padding: 0 24px;
    }
    
    .team-card--featured {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card--featured .team-card__photo {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 56px 0;
    }
    
    .team {
        padding-bottom: 48px;
    }
    
    .contact {
        padding-top: 48px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav__logo img {
        height: 64px;
    }
    
    .hero__wrapper {
        padding-left: 14px;
    }
    
    .hero__wrapper::before {
        width: 2px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero__heading {
        font-size: 24px;
        line-height: 1.25;
    }
    
    .hero__subheadline {
        font-size: 15px;
    }
    
    .hero__credibility {
        font-size: 11px;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .about__statement {
        font-size: 20px;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .service-card__title {
        font-size: 20px;
    }
    
    .impact-card {
        padding: 24px 18px;
    }
    
    .impact-card__value {
        font-size: 28px;
    }
    
    .contact__info,
    .contact__form {
        padding: 32px 20px;
    }
    
    .contact__title {
        font-size: 26px;
    }
    
    .footer {
        padding: 48px 0 24px;
    }
    
    .footer__grid {
        gap: 28px;
    }
}

/* Extra small phones (375px and below) */
@media (max-width: 375px) {
    .hero__heading {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 22px;
    }
}
