@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #002D62;
    --primary-light: #0047a0;
    --secondary: #0070C0;
    --accent: #00A3E0;
    --bg-light: #FFFFFF;
    --bg-alt: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #475569;
    --white: #FFFFFF;
    --border: rgba(0, 45, 98, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav.scrolled .logo {
    color: var(--primary);
    text-shadow: none;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

nav.scrolled .nav-links a {
    color: var(--text-main);
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--accent);
}

nav.scrolled .nav-links a:hover {
    color: var(--secondary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

nav.scrolled .mobile-toggle span {
    background-color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 98, 0.9) 0%, rgba(0, 45, 98, 0.4) 100%), 
                linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 15%),
                url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 112, 192, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Services/Expertise */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3.5rem 2.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 45, 98, 0.08);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.read-more {
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Expertise Details */
.expertise-split {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.expertise-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 45, 98, 0.15);
}

.expertise-image img {
    width: 100%;
    display: block;
}

.expertise-content {
    flex: 1;
}

.expertise-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-weight: 500;
    color: var(--text-muted);
}

.expertise-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Page Header */
.page-header {
    padding: 12rem 0 6rem;
    background: var(--bg-alt);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Form Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 45, 98, 0.05);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

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

/* Footer */
footer {
    padding: 8rem 0 4rem;
    background: var(--primary);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.copyright {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Viewport Fixes */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 { font-size: 3rem !important; }
    .hero p { font-size: 1.1rem !important; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        gap: 2rem;
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-links a {
        font-size: 1.8rem !important;
        color: var(--white) !important;
        text-shadow: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--white) !important;
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color: var(--white) !important;
    }

    .expertise-split {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2.2rem !important; }
    .section-header h2 { font-size: 2rem !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; text-align: center; margin-left: 0; margin-bottom: 1rem; }
    .btn-outline { margin-left: 0; }
}
