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

:root {
    --navy: #003366;
    --navy-deep: #001f3f;
    --navy-mid: #0a2a4a;
    --blue-accent: #2171b5;
    --blue-light: #e8f0fa;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #f0f2f5;
    --gray-200: #e2e5ea;
    --gray-400: #8b95a5;
    --gray-600: #4a5568;
    --gray-800: #1a202c;
    --orange-accent: #e8601c;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy-deep);
    height: 70px;
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-logo strong {
    font-weight: 700;
    color: var(--orange-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 8px 18px;
    border-radius: 3px;
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-highlight {
    color: var(--white) !important;
    background: var(--orange-accent) !important;
    font-weight: 600 !important;
}

.nav-highlight:hover {
    background: #cf5518 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 1px;
}

/* === Hero === */
.hero {
    position: relative;
    margin-top: 70px;
    padding: 80px 0 100px;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-mid) 100%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-badge {
    flex-shrink: 0;
    width: 437px;
    height: 437px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero-badge::after {
    content: '';
    position: absolute;
    inset: -25px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.hero-logo {
    width: 380px;
    height: 380px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.hero-text {
    flex: 1;
}

.hero-accent-line {
    width: 50px;
    height: 4px;
    background: var(--orange-accent);
    margin-bottom: 28px;
}

.hero h1 {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 36px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    transition: all var(--transition);
}

.hero-btn svg {
    transition: transform var(--transition);
}

.hero-btn:hover {
    background: var(--off-white);
    transform: translateX(2px);
}

.hero-btn:hover svg {
    transform: translateX(3px);
}

/* === Sections === */
.section {
    padding: 90px 0;
    background: var(--white);
}

.section-tinted {
    background: var(--off-white);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-label-light .label-text {
    color: rgba(255, 255, 255, 0.5);
}

.section-label-light .label-line {
    background: var(--orange-accent);
}

.label-line {
    width: 40px;
    height: 3px;
    background: var(--orange-accent);
    flex-shrink: 0;
}

.label-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
}

.section-divider {
    background: var(--white);
}

.divider-line {
    height: 1px;
    background: var(--gray-200);
}

/* === Who We Are === */
.about-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-main h2 {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 28px;
    line-height: 1.4;
}

.about-body p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-side {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-card {
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.value-card:first-child {
    padding-top: 0;
}

.value-card:last-child {
    border-bottom: none;
}

.value-number {
    font-family: 'Source Serif 4', serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--orange-accent);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.65;
}

/* === What We Do === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.08);
    transform: translateY(-3px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-light);
    border-radius: 8px;
    color: var(--navy);
}

.service-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* === Contact === */
.section-dark {
    background: var(--navy);
    padding: 90px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 18px;
}

.contact-left p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.contact-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.85rem !important;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
}

.contact-card {
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--orange-accent);
    transition: all var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.contact-value {
    display: block;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}

/* === Footer === */
.footer {
    background: var(--navy-deep);
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    height: 36px;
    width: auto;
    opacity: 0.7;
}

.footer-center p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.15s;
}

.hero-badge {
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0s;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 50px;
    }

    .hero-badge {
        width: 220px;
        height: 220px;
    }

    .hero-logo {
        width: 190px;
        height: 190px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .contact-right {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container,
    .hero-container {
        padding: 0 24px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy-deep);
        flex-direction: column;
        padding: 20px 24px;
        gap: 4px;
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .hero {
        padding: 50px 0 70px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-badge {
        width: 200px;
        height: 200px;
    }

    .hero-logo {
        width: 170px;
        height: 170px;
    }

    .hero-accent-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn {
        margin: 0 auto;
    }

    .section {
        padding: 60px 0;
    }

    .section-dark {
        padding: 60px 0;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-nav {
        gap: 20px;
    }
}
