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

:root {
    --primary: #262B4B;
    --primary-hover: #333870;
    --accent: #4B7FD4;
    --accent-light: #EEF4FF;
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --border: #E2E8F2;
    --grey-300: #C8D2E0;
    --grey-500: #64748B;
    --text: #111827;
    --shadow-sm: 0 1px 4px rgba(17, 24, 39, 0.07);
    --shadow-md: 0 4px 20px rgba(17, 24, 39, 0.10);
    --shadow-lg: 0 10px 40px rgba(17, 24, 39, 0.14);
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --nav-h: 68px;
    --t: 0.22s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #79B4FF);
    z-index: 9999;
    transition: width 0.06s linear;
    pointer-events: none;
}

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

/* Navbar */
.navbar {
    background: var(--primary);
    height: var(--nav-h);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background var(--t), box-shadow var(--t);
}

.navbar.scrolled {
    background: rgba(38, 43, 75, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 24px rgba(17, 24, 39, 0.2);
}

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

.logo { display: flex; align-items: center; }

.logo-img {
    height: 56px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    filter: contrast(2000%);
    transition: transform var(--t), opacity var(--t);
}

.logo:hover .logo-img {
    transform: scale(1.04);
    opacity: 0.82;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 8px 14px;
    border-radius: var(--r-sm);
    transition: color var(--t), background var(--t);
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
    background: linear-gradient(135deg, #191D35 0%, var(--primary) 45%, #344085 100%);
    color: var(--white);
    padding: 148px 24px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 20%, rgba(75, 127, 212, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 72px;
    background: linear-gradient(to bottom, transparent, var(--white));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

/* Logo in hero */
.hero-logo {
    margin-bottom: 1.75rem;
}

.hero-logo img {
    height: 180px;
    width: auto;
    max-width: 100%;
    mix-blend-mode: screen;
    filter: contrast(2000%);
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: all var(--t);
}

.cta-button:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Section headings */
.why-us h2,
.services h2,
.about h2,
.projects h2,
.contact h2 {
    font-size: 2.4rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    color: var(--grey-500);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

/* Why Choose Us */
.why-us {
    padding: 96px 0;
    background: var(--off-white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-us-card {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: all var(--t);
}

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

.why-us-card .icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background var(--t);
}

.why-us-card:hover .icon-wrap { background: var(--accent); }

.why-us-card .icon-wrap i {
    font-size: 1.3rem;
    color: var(--accent);
    transition: color var(--t);
}

.why-us-card:hover .icon-wrap i { color: var(--white); }

.why-us-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.why-us-card p {
    color: var(--grey-500);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Services */
.services {
    padding: 96px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: all var(--t);
    text-align: left;
}

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

.service-card .icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--accent-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background var(--t);
}

.service-card:hover .icon-wrap {
    background: var(--accent);
}

.service-card i {
    font-size: 1.3rem;
    color: var(--accent);
    transition: color var(--t);
}

.service-card:hover i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--grey-500);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* Extended Services */
.extended-services {
    padding: 64px 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.extended-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.extended-services h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.extended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.extended-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    transition: all var(--t);
}

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

.extended-card .icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background var(--t);
}

.extended-card:hover .icon-wrap { background: var(--accent); }

.extended-card .icon-wrap i {
    font-size: 1.1rem;
    color: var(--accent);
    transition: color var(--t);
}

.extended-card:hover .icon-wrap i { color: var(--white); }

.extended-card h3 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.extended-card p {
    color: var(--grey-500);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* About */
.about {
    padding: 96px 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--grey-500);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 0.975rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat h4 {
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat p {
    color: var(--grey-500);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.placeholder-image {
    background: linear-gradient(135deg, #344085 0%, var(--primary) 55%, #191D35 100%);
    border-radius: var(--r-lg);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(75, 127, 212, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.about-logo {
    height: 160px;
    width: auto;
    max-width: 85%;
    position: relative;
    z-index: 1;
    mix-blend-mode: screen;
    filter: contrast(2000%);
}

/* Projects */
.projects {
    padding: 96px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--t);
}

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

.project-image {
    background: linear-gradient(135deg, #344085 0%, var(--primary) 55%, #191D35 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 50%, rgba(75, 127, 212, 0.3) 0%, transparent 55%);
    pointer-events: none;
}

.project-card h3 {
    padding: 1.4rem 1.5rem 0.45rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.project-card p {
    padding: 0 1.5rem 1rem;
    color: var(--grey-500);
    font-size: 0.9rem;
    line-height: 1.65;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 1.5rem 1.5rem;
}

/* Contact */
.contact {
    padding: 96px 0;
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 2.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2.25rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--t), box-shadow var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-300);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(75, 127, 212, 0.12);
}

.submit-button {
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--t);
}

.form-honeypot { display: none; }

.form-success {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--accent-light);
    border-radius: var(--r-md);
    border: 1px solid rgba(75, 127, 212, 0.3);
    margin-top: 0.5rem;
}

.form-success i {
    font-size: 1.75rem;
    color: var(--accent);
    flex-shrink: 0;
}

.form-success p {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0;
}

.submit-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 0.5rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.info-item .icon-wrap {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: var(--accent-light);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item i {
    font-size: 1rem;
    color: var(--accent);
}

.info-item h4 {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--grey-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #141729 0%, #1E2240 100%);
    color: var(--white);
    padding: 4rem 2rem 0;
}

.footer .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-logo {
    height: 56px;
    width: auto;
    display: block;
    margin-bottom: 1.25rem;
    mix-blend-mode: screen;
    filter: contrast(2000%);
    transition: opacity var(--t);
    opacity: 0.85;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--t);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer .container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        background: var(--primary);
        padding: 0.5rem;
        gap: 2px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 24px rgba(17, 24, 39, 0.2);
        animation: slideDown 0.3s ease;
    }

    .nav-menu.active { display: flex; }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu li {
        opacity: 0;
        animation: fadeInItem 0.3s ease forwards;
    }

    .nav-menu li:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.10s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.20s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.25s; }

    @keyframes fadeInItem {
        from { opacity: 0; transform: translateX(-6px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .nav-link {
        display: block;
        padding: 12px 14px;
    }

    .hamburger { display: flex; }

    .hero-logo img { height: 130px; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; }

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

    .about-content,
    .contact-content { grid-template-columns: 1fr; }

    .about-stats { grid-template-columns: repeat(3, 1fr); }

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

    .footer-bottom { flex-direction: column; text-align: center; }

    .services h2,
    .about h2,
    .projects h2,
    .contact h2 { font-size: 1.9rem; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 20px 56px; min-height: 480px; }
    .hero-logo img { height: 100px; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 0.95rem; }
    .why-us-grid { grid-template-columns: 1fr; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .cta-button { padding: 13px 28px; }
    .about-stats { grid-template-columns: 1fr; }
    .footer .container { grid-template-columns: 1fr; }
}
