:root {
    --primary: #1f3b64;
    --text: #1a2233;
    --muted: #6b7285;
    --accent: #eff4fb;
    --bg: #f7f8fb;
    --border: #e1e6f0;
    --card-shadow: 0 18px 40px rgba(18, 42, 89, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.site-main {
    background: var(--bg);
}

.container {
    /* width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; */
}

.container.narrow {
    max-width: 860px;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 2.4vw, 2.6rem);
    margin: 0 0 1rem;
}

.section-description,
.lead,
.muted {
    color: var(--muted);
    line-height: 1.7;
}

.small {
    font-size: 0.9rem;
}

.section {
    padding: 5rem 0;
}

.hero {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #fbfeff 0%, #f1f4fb 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 18px 35px rgba(37, 64, 119, 0.3);
}

.button.primary:hover {
    transform: translateY(-2px);
}

.button.ghost {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.hero-media {
    background: #dce5f6;
    border-radius: 32px;
    min-height: 320px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    width: 160px;
    height: 160px;
    border-radius: 40px;
    background: linear-gradient(135deg, #fff, #d7deed);
    box-shadow: var(--card-shadow);
}

.about {
    background: #fff;
}

.about-intro {
    text-align: center;
    margin-bottom: 2.75rem;
}

.about-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2.5rem;
    align-items: flex-start;
    padding: 2rem 0 1rem;
    position: relative;
}

.about-card {
    flex: 1 1 0;
    max-width: 320px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.3s ease;
}

.about-card__panel {
    background: #fff;
    border-radius: 30px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 30px 70px rgba(15, 36, 84, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 230px;
    margin-bottom: 1.25rem;
}

.about-icon {
    width: 120px;
    height: 120px;
    stroke: #9aa8c0;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.about-card h3 {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.35rem;
}

.about-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.92rem;
    max-width: 240px;
    margin: 0 auto;
}

.about-grid .about-card:nth-child(1) {
    transform: translateY(45px);
}

.about-grid .about-card:nth-child(2) {
    transform: translateY(-20px);
}

.about-grid .about-card:nth-child(3) {
    transform: translateY(-50px);
}

@media (max-width: 900px) {
    .about-grid {
        flex-wrap: wrap;
    }

    .about-grid .about-card {
        transform: none !important;
    }

    .about-grid .about-card h3,
    .about-grid .about-card p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
}

.projects {
    background: #fff;
}

.project-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.project-media {
    min-height: 260px;
    border-radius: 30px;
    background: #ebeff7;
    box-shadow: var(--card-shadow);
}

.badge-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge-pills span {
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.project-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-filter .filter {
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.project-filter .filter.active,
.project-filter .filter:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--card-shadow);
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--accent);
    margin-bottom: 1rem;
}

.text-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary);
}

.partners {
    background: var(--bg);
}

.partner-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.logo-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--accent);
    margin-bottom: 1rem;
}

.contact {
    background: #f8f8fb;
}

.contact-heading {
    max-width: 540px;
    margin: 0 0 1.5rem;
    text-align: left;
}

.contact-heading .section-title {
    font-size: 1.15rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #2b3b62;
}

.contact-heading .section-description {
    max-width: 480px;
}

.contact-panel {
    background: #fff;
    border-radius: 30px;
    padding: 3rem 3.5rem;
    border: 1px solid #f0f1f6;
    box-shadow: 0 30px 80px rgba(24, 32, 69, 0.08);
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin: 0 auto;
    max-width: 960px;
}

.contact-details {
    flex: 1 1 260px;
    max-width: 360px;
}

.contact-details h3 {
    font-size: 1.55rem;
    margin-bottom: 0.75rem;
    color: #5e6478;
}

.contact-details p {
    color: #7a8094;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.contact-details .detail {
    margin-bottom: 1.15rem;
}

.contact-details .label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #243d6a;
}

.contact-details .value {
    color: #555e77;
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.contact-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #dcdfe8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #6276c7;
}

.contact-form {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-field label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    color: #a1a6b8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    background: #f5f5f7;
    border-radius: 999px;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    color: #2c2e38;
    box-shadow: inset 0 2px 6px rgba(20, 30, 70, 0.05);
    border: 1px solid #e6e6ef;
}

.input-field textarea {
    border-radius: 24px;
    min-height: 150px;
    resize: none;
}

.contact-submit {
    align-self: flex-end;
    margin-right: 18px;
    padding: 0.85rem 2.8rem;
    border: none;
    background: #cfcfd2;
    color: #2b2b32;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 16px;
    height: 32px;
    background: #b4b4b8;
    border-radius: 8px;
    transform: translateY(-50%) skewX(-18deg);
}

.contact-submit:hover {
    background: #c3c3c7;
}

.cta {
    background: transparent;
}

.cta-card {
    background: #dedde7;
    border-radius: 32px;
    padding: 2.5rem 3rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 30px 60px rgba(41, 43, 84, 0.12);
}

.cta-illustration {
    flex: 0 0 220px;
    min-height: 170px;
    border-radius: 26px;
    background: linear-gradient(180deg, #f6f6fb 0%, #dad7e3 100%);
    position: relative;
}

.cta-illustration::before,
.cta-illustration::after {
    content: '';
    position: absolute;
    border-radius: 20px;
}

.cta-illustration::before {
    width: 95px;
    height: 110px;
    background: linear-gradient(150deg, #6b7fd2, #324a9c);
    bottom: 25px;
    left: 35px;
    box-shadow: 0 20px 40px rgba(34, 53, 116, 0.35);
}

.cta-illustration::after {
    width: 65px;
    height: 55px;
    background: #f4cfa2;
    bottom: 65px;
    left: 55px;
    border-radius: 12px;
}

.cta-content {
    flex: 1 1 360px;
}

.cta-content h3 {
    margin: 0 0 1rem;
    color: #4c4f68;
}

.cta-content p {
    color: #6f7389;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0 0.5rem;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1 1 260px;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 1.3rem;
    font-size: 1rem;
    background: #fff;
    box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.08);
}

.newsletter-submit {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    padding: 0.9rem 2.4rem;
    background: #fff;
    color: #1f3b64;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(16, 25, 64, 0.18);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .contact-panel {
        flex-wrap: wrap;
        padding: 2.5rem;
    }

    .contact-details {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .contact-submit {
        align-self: flex-start;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 768px;
    }
    .hero,
    .section {
        padding: 3.5rem 0;
    }

    .project-filter {
        flex-direction: column;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form,
    .hero-actions {
        width: 100%;
    }
}
@media (max-width: 640px){
    .container {
        max-width: 640px;
    }
}
@media (max-width: 520px){
    .container {
        max-width: 520px;
    }
}
@media (max-width: 480px){
    .container {
        max-width: 420px;
    }
}
@media (max-width: 380px){
    .container {
        max-width: 380px;
    }
}
/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--primary);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--muted);
    font-weight: 500;
}

.main-nav a:hover,
.main-nav .active > a {
    color: var(--primary);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 1.5rem;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 1.5rem;
        box-shadow: var(--card-shadow);
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

body{
    font-family: 'Montserrat', sans-serif; ;
}