/* =========================================
   CLEAN WORD — PREMIUM WEBSITE STYLES
   Brand: Navy #27348b / Teal #00a19a
   ========================================= */

:root {
    --navy: #27348b;
    --navy-dark: #1a225e;
    --navy-light: #3a4aad;
    --teal: #00a19a;
    --teal-dark: #007a75;
    --teal-light: #00c4bc;
    --text: #1a1a2e;
    --text-muted: #555566;
    --text-light: #8888a0;
    --bg: #ffffff;
    --bg-soft: #f5f7fc;
    --bg-warm: #f9fafb;
    --white: #ffffff;
    --border: #e8eaf0;
    --shadow-xs: 0 1px 2px rgba(39, 52, 139, 0.04);
    --shadow-sm: 0 2px 8px rgba(39, 52, 139, 0.06);
    --shadow-md: 0 4px 16px rgba(39, 52, 139, 0.08);
    --shadow-lg: 0 8px 32px rgba(39, 52, 139, 0.12);
    --shadow-xl: 0 16px 48px rgba(39, 52, 139, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
    position: relative;
}

.section-desc {
    max-width: 560px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 12px;
}

.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(39, 52, 139, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(39, 52, 139, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── Header ── */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(232, 234, 240, 0.5);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo img {
    height: 46px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text);
    position: relative;
}

.nav-link:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-link:not(.nav-cta):hover {
    color: var(--navy);
}

.nav-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(39, 52, 139, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(39, 52, 139, 0.35);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--navy);
    border-radius: 4px;
    margin: 5px 0;
    transition: var(--transition);
}

.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f2ff 0%, #e8fafa 40%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 161, 154, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(39, 52, 139, 0.06) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 161, 154, 0.1);
    color: var(--teal-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 161, 154, 0.15);
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content>p {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 580px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    display: inline;
    line-height: 1;
}

.stat-plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    top: -100px;
    right: -100px;
    animation: float-slow 12s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--navy);
    bottom: -50px;
    right: 20%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--teal);
    top: 40%;
    right: 10%;
    animation: float-slow 8s ease-in-out infinite 2s;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 20px) scale(1.05);
    }
}

/* ── About Section ── */
.about {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 48px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.glass-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--navy));
    opacity: 0;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.glass-card:hover::before {
    opacity: 1;
}

.about-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 161, 154, 0.1), rgba(39, 52, 139, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.65;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.values-list-detailed li {
    align-items: flex-start;
}

.values-list-detailed li strong {
    color: var(--navy);
}

.value-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

.values-list-detailed .value-dot {
    margin-top: 6px;
}

/* ── Services Section ── */
.services {
    padding: 100px 0;
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--teal);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-body {
    padding: 24px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 161, 154, 0.1), rgba(0, 161, 154, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    margin-bottom: 16px;
}

.service-body h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.service-body p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── Why Us Section ── */
.why-us {
    padding: 100px 0;
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us-content h2 {
    margin-bottom: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-wrap {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 2px;
}

.feature-item h4 {
    margin-bottom: 4px;
    color: var(--navy);
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 520px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 16px;
    left: 16px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--teal), var(--navy));
    opacity: 0.15;
    z-index: 1;
}

/* ── Experience Section ── */
.experience {
    padding: 100px 0;
    background: var(--bg-soft);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.client-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 161, 154, 0.3);
}

.client-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(39, 52, 139, 0.08), rgba(0, 161, 154, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--navy);
}

.client-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--navy);
    line-height: 1.3;
}

.client-service {
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 500;
}

/* ── CTA Section ── */
.cta {
    padding: 40px 0 100px;
}

.cta-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--teal) 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 161, 154, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.cta-card h2 {
    color: var(--white);
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}

.cta-card .btn-primary {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.cta-card .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* ── Contact Section ── */
.contact {
    padding: 100px 0;
    background: var(--bg-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info>p {
    margin-bottom: 32px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 161, 154, 0.1), rgba(39, 52, 139, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
}

.contact-item h4 {
    margin-bottom: 4px;
    color: var(--navy);
    font-size: 0.95rem;
}

.contact-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg-warm);
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555566' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 161, 154, 0.1);
}

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

/* ── Footer ── */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--teal-light);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 0;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ── Animations ── */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

    .why-us-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-us-image img {
        height: 400px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        padding: 100px 32px 40px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 1.05rem;
        width: 100%;
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
        display: block;
        width: 100%;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        justify-content: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .about,
    .services,
    .why-us,
    .experience,
    .contact {
        padding: 72px 0;
    }

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

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

    .cta-card {
        padding: 48px 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* ── Mobile overlay ── */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}