/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #003d82;
    --primary-blue-dark: #022752;
    --secondary-blue: #0056b3;
    --accent-green: #16a34a;
    --accent-green-dark: #0b7e35;
    --accent-teal: #0f9fb0;
    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f5f5f7;
    --bg-lighter: #eceff3;
    --border-soft: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.25);
    --transition: all 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Topbar */
.topbar {
    background: #031935;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    padding: 0.35rem 0;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.topbar-left,
.topbar-center,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.topbar i {
    margin-right: 0.3rem;
    font-size: 0.85rem;
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 24, 60, 0.97);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

/* Logo (SVG in navbar) */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    color: #f9fafb;
}

.logo-mark-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #8fd6ff, #003d82);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 16px rgba(37, 99, 235, 0.45);
}

.logo-mark {
    width: 28px;
    height: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.logo-sub {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Nav menu */
.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    color: rgba(249, 250, 251, 0.86);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.86rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* Language toggle */
.language-toggle {
    display: flex;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 3px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.lang-btn {
    padding: 0.35rem 0.9rem;
    border: none;
    background: transparent;
    color: rgba(209, 213, 219, 0.9);
    font-weight: 600;
    font-size: 0.78rem;
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition);
}

.lang-btn.active {
    background: #f9fafb;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35);
}

.lang-btn:hover:not(.active) {
    background: rgba(15, 23, 42, 0.35);
}

/* Mobile menu button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #f9fafb;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 4.5rem 0 4rem;
    background: radial-gradient(circle at 10% 0%, #1e40af 0, #020617 42%, #000000 100%);
    overflow: hidden;
}

/* subtle pattern background */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.15), transparent 40%),
        radial-gradient(circle at 100% 0, rgba(45, 212, 191, 0.16), transparent 40%);
    opacity: 0.75;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.12), transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.15), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: center;
}

.hero-content {
    color: #f9fafb;
}

/* SVG logo in hero */
.hero-logo {
    max-width: 640px;      /* was 520px – bigger container */
    margin-bottom: 1.6rem;
}

.hero-logo svg {
    display: block;
    width: 100%;
    height: auto;
}


.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 2.1rem;
    color: rgba(241, 245, 249, 0.94);
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

/* hero badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.95);
}

.hero-badge i {
    font-size: 0.9rem;
    color: #22c55e;
}

/* hero right column cards */
.hero-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 1.3rem 1.4rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
}

.hero-card h3 {
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #e5f3ff;
    margin-bottom: 0.5rem;
}

.hero-card p {
    font-size: 0.9rem;
    color: rgba(209, 213, 219, 0.92);
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #f9fafb;
    box-shadow: 0 14px 28px rgba(34, 197, 94, 0.45);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #166534);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 22px 55px rgba(22, 163, 74, 0.7);
}

.btn-secondary {
    background: transparent;
    color: #e5f3ff;
    border-color: rgba(248, 250, 252, 0.85);
}

.btn-secondary:hover {
    background: #f9fafb;
    color: var(--primary-blue);
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: 4.5rem 0;
    border-top: 1px solid var(--bg-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-green);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.03rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}

.section-intro {
    font-size: 1.03rem;
    color: var(--text-light);
    max-width: 760px;
    margin: 0 auto 1.8rem;
    line-height: 1.8;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #f9fafb 0, #eef2ff 40%, #ffffff 100%);
}

.about-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 2.1rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.about-text p {
    font-size: 1.03rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.3rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.3rem;
}

.about-list li {
    font-size: 1.03rem;
    line-height: 1.9;
    color: var(--text-dark);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: 2px solid var(--accent-green);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-top: 2.4rem;
}

.service-card {
    background: var(--bg-white);
    padding: 1.7rem 1.7rem 1.6rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.service-icon {
    font-size: 1.8rem;
    color: var(--accent-green);
    flex-shrink: 0;
    margin-bottom: 0;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Objectives Section */
.objectives {
    background: var(--bg-white);
}

.objectives-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.objective-item {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem 1.4rem;
    background: var(--bg-light);
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.objective-item:hover {
    background: var(--bg-white);
    border-color: var(--accent-green);
    box-shadow: var(--shadow-sm);
}

.objective-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--accent-green);
    color: var(--bg-white);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.objective-item p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Commitments Section */
.commitments {
    background: radial-gradient(circle at top, #e0f2fe 0, #f8fafc 40%, #f1f5f9 100%);
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.8rem;
}

.commitment-card {
    background: var(--bg-white);
    padding: 1.9rem 1.7rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.commitment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
}

.commitment-icon {
    font-size: 1.9rem;
    color: var(--accent-teal);
}

.commitment-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    background: var(--bg-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.5rem;
    margin-top: 2.4rem;
}

.partner-card {
    background: var(--bg-white);
    padding: 1.6rem;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 90px;
}

.partner-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.partner-logo-img {
    max-height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* References Section */
.references {
    background: var(--bg-light);
}

.references-content {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.reference-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.reference-section ul {
    list-style: none;
    padding: 0;
}

.reference-section li {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    padding-left: 1.4rem;
    position: relative;
}

.reference-section li::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 0.8rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent-green);
}

.reference-section li strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* reference client rows with logos */
.reference-client {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0;
    margin-bottom: 0.8rem;
}

.reference-client::before {
    display: none;
}

.reference-logo {
    max-height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #eff6ff 0, #e0f2fe 45%, #f9fafb 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: var(--accent-green);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 2.2rem;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 0.96rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px rgba(15, 159, 117, 0.15);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 0.9rem;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
    pointer-events: none;
    background: var(--bg-white);
    padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.78rem;
    color: var(--accent-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: #020617;
    color: var(--bg-white);
    padding: 2.7rem 0 2.4rem;
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
}

.footer-content {
    max-width: 560px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.footer-tagline {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

@media (max-width: 968px) {
    .topbar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: #020617;
        flex-direction: column;
        padding: 1.5rem 1.5rem 2rem;
        gap: 0.9rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        gap: 0.8rem;
    }

    .hero {
        padding-top: 3.5rem;
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .hero-aside {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-card {
        flex: 1 1 260px;
    }

    .logo-main {
        font-size: 0.98rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.3rem;
    }

    .references-content {
        grid-template-columns: 1fr;
        gap: 1.9rem;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        max-width: 420px;
        margin-bottom: 1.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commitments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .nav-content {
        padding: 0.6rem 0;
    }

    .logo-mark-wrapper {
        width: 34px;
        height: 34px;
    }

    .logo-main {
        font-size: 0.92rem;
    }

    .logo-sub {
        font-size: 0.66rem;
    }

    .hero-logo {
        max-width: 360px;
    }

    .partner-logo-img {
        max-height: 32px;
    }

    .contact-form {
        padding: 1.7rem;
    }
}
