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

/* ─── Design Tokens ─────────────────────────────────── */
:root {
    --primary:       #0b3b6f;
    --primary-light: #1565c0;
    --primary-dark:  #07264a;
    --accent:        #f59e0b;
    --accent-dark:   #d97706;
    --text:          #0f172a;
    --text-muted:    #64748b;
    --bg:            #ffffff;
    --surface:       #f8fafc;
    --surface-2:     #f1f5f9;
    --border:        #e2e8f0;
    --radius:        16px;
    --radius-sm:     10px;
    --shadow:        0 4px 20px rgba(2,8,23,.07);
    --shadow-lg:     0 12px 40px rgba(2,8,23,.12);
    --shadow-xl:     0 24px 64px rgba(2,8,23,.16);
    --transition:    all .28s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ─── Header ─────────────────────────────────────────── */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(200%) blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 14px 0;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.2rem; font-weight: 900; color: var(--primary); letter-spacing: -.3px; }
.logo-tag  { font-size: .72rem; color: var(--text-muted); font-weight: 400; white-space: nowrap; }

/* Desktop Nav */
nav ul { display: flex; gap: 4px; list-style: none; }
nav a {
    display: block; padding: 7px 14px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: .92rem; color: var(--text);
    transition: var(--transition);
}
nav a:hover, nav a.active { background: var(--surface-2); color: var(--primary); }

/* Mobile toggle */
.nav-toggle {
    display: none; background: none; border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 8px 10px;
    cursor: pointer; transition: var(--transition);
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-toggle span + span { margin-top: 5px; }

/* Mobile nav */
.mobile-nav {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(7,38,74,.6); backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-inner {
    margin-left: auto; width: 280px; background: white;
    height: 100%; padding: 80px 24px 40px;
    display: flex; flex-direction: column; gap: 8px;
}
.mobile-nav a {
    display: block; padding: 12px 16px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 1.05rem; color: var(--text);
    transition: var(--transition);
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--primary); }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 28px; border-radius: 999px; border: 2px solid transparent;
    font-family: inherit; font-weight: 700; font-size: .92rem;
    cursor: pointer; text-decoration: none; transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; box-shadow: 0 4px 16px rgba(11,59,111,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,59,111,.4); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-sm { padding: 8px 20px; font-size: .85rem; }

/* ─── Tags / Badges ──────────────────────────────────── */
.tag {
    display: inline-block; padding: 4px 14px; border-radius: 999px;
    background: rgba(11,59,111,.08); color: var(--primary);
    font-size: .78rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    margin-bottom: 16px;
}

/* ─── Section base ───────────────────────────────────── */
section { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-title { text-align: center; margin-bottom: 60px; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: 2.4rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; line-height: 1.15; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
    padding: 170px 0 100px;
    background: radial-gradient(ellipse 80% 60% at 60% -10%, rgba(21,101,192,.06) 0%, transparent 70%);
    position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 16px; background: rgba(11,59,111,.07); border: 1px solid rgba(11,59,111,.15); border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--primary); letter-spacing: .4px; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; line-height: 1.1; color: var(--primary-dark); margin-bottom: 22px; }
.hero .lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img { position: relative; width: 100%; aspect-ratio: 4/3; }
.hero-carousel { position: relative; width: 100%; height: 100%; border-radius: 20px; box-shadow: var(--shadow-xl); overflow: hidden; }
.hero-carousel img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroFade 16s infinite; }
.hero-carousel img:nth-child(1) { animation-delay: 0s; }
.hero-carousel img:nth-child(2) { animation-delay: 4s; }
.hero-carousel img:nth-child(3) { animation-delay: 8s; }
.hero-carousel img:nth-child(4) { animation-delay: 12s; }
@keyframes heroFade {
    0% { opacity: 0; }
    5% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; transform: scale(1.05); }
    25% { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1); }
}
.hero-img::before {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 80%; height: 80%; background: rgba(11,59,111,.06);
    border-radius: 20px; z-index: -1;
}

/* ─── Stats Strip ────────────────────────────────────── */
.stats-strip { background: var(--primary-dark); color: white; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item h3 { font-size: 2.6rem; font-weight: 900; color: var(--accent); }
.stat-item p { font-size: .9rem; opacity: .75; margin-top: 4px; }

/* ─── Cards ──────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
    background: white; padding: 36px; border-radius: var(--radius);
    border: 1px solid var(--border); transition: var(--transition);
    position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transform: scaleX(0); transition: var(--transition); transform-origin: left; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 52px; height: 52px; background: rgba(11,59,111,.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 22px; }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* ─── Project cards ──────────────────────────────────── */
.project-card {
    display: flex; background: white; border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border); transition: var(--transition);
    margin-bottom: 48px;
}
.project-card:hover { box-shadow: var(--shadow-xl); }
.project-card:last-child { margin-bottom: 0; }
.project-img {
    flex: 0 0 42%; min-height: 320px;
    background-size: cover; background-position: center;
}
.project-info { flex: 1; padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.project-info h3 { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 16px; }
.project-info p { color: var(--text-muted); margin-bottom: 20px; }
.project-checklist { list-style: none; margin: 16px 0; color: var(--text-muted); display: flex; flex-direction: column; gap: 8px; }
.project-checklist li { display: flex; align-items: center; gap: 10px; }
.project-checklist li::before { content: '✓'; width: 20px; height: 20px; background: rgba(11,59,111,.08); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; }
.project-meta { display: flex; gap: 24px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.project-stat strong { font-size: 1.25rem; color: var(--primary); display: block; }
.project-stat span { font-size: .78rem; color: var(--text-muted); }

/* Urgent band */
.urgent-band { background: var(--primary-dark); color: white; padding: 96px 0; }
.urgent-band .project-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: white; }
.urgent-band .project-info h3 { color: white; }
.urgent-band .project-info p { color: rgba(255,255,255,.75); }
.urgent-band .project-checklist { color: rgba(255,255,255,.7); }

/* ─── Gallery ────────────────────────────────────────── */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
    padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border);
    background: white; font-family: inherit; font-size: .88rem; font-weight: 600;
    color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative; border-radius: var(--radius); overflow: hidden;
    height: 260px; cursor: pointer; transition: var(--transition);
    background: var(--surface-2);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    color: white; opacity: 0; transition: var(--transition);
    font-weight: 600; font-size: .88rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 0 60px rgba(0,0,0,.8); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px; background: none; border: none;
    color: white; font-size: 2rem; cursor: pointer; line-height: 1;
}
.lightbox-caption {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,.6); color: white; padding: 8px 20px;
    border-radius: 999px; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; color: white;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    font-size: 1.4rem; transition: var(--transition); display: flex; align-items: center; justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }

/* ─── About page ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-xl); }
.about-text h2 { font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 22px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.timeline { list-style: none; margin-top: 28px; }
.timeline li { display: flex; gap: 16px; margin-bottom: 18px; }
.timeline-dot { width: 12px; height: 12px; background: var(--primary); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.timeline-content strong { color: var(--primary-dark); display: block; margin-bottom: 2px; }
.timeline-content span { font-size: .9rem; color: var(--text-muted); }

/* ─── Contact ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.contact-info h2 { font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: rgba(11,59,111,.08); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-item h4 { font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: .92rem; }

/* Banking cards */
.banking-section { background: var(--surface); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); margin-bottom: 32px; }
.banking-section h3 { font-size: 1.15rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.bank-card { background: white; border-radius: var(--radius-sm); padding: 16px 20px; border: 1px solid var(--border); margin-bottom: 12px; border-left: 4px solid var(--primary); }
.bank-card:last-child { margin-bottom: 0; }
.bank-card h4 { font-weight: 700; color: var(--primary); font-size: .9rem; margin-bottom: 6px; }
.bank-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: 2px; }
.bank-card .bank-num { font-size: 1rem; font-weight: 700; color: var(--text); font-family: monospace; letter-spacing: 1px; }
.bank-card.accent { border-left-color: var(--accent); }
.bank-card.accent h4 { color: var(--accent-dark); }
.bank-card.secondary { border-left-color: var(--primary-light); }
.bank-card.secondary h4 { color: var(--primary-light); }

/* Contact form */
.contact-form { background: white; padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.contact-form h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9rem; color: var(--primary-dark); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: inherit; font-size: .95rem;
    transition: var(--transition); background: var(--surface); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); background: white;
    box-shadow: 0 0 0 4px rgba(11,59,111,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Footer ─────────────────────────────────────────── */
footer { background: var(--primary-dark); color: white; padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 14px; }
.footer-brand p { opacity: .65; font-size: .92rem; max-width: 340px; }
.footer-col h4 { font-size: .95rem; font-weight: 700; margin-bottom: 20px; opacity: .5; text-transform: uppercase; letter-spacing: .8px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { opacity: .7; font-size: .9rem; transition: var(--transition); }
.footer-col a:hover { opacity: 1; padding-left: 6px; }
.footer-col li:not(:has(a)) { opacity: .55; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 36px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { opacity: .5; font-size: .85rem; }

/* ─── CTA band ───────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; text-align: center; padding: 100px 0; }
.cta-band h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 18px; }
.cta-band p { font-size: 1.15rem; opacity: .85; max-width: 640px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.btn-white-outline { background: transparent; border-color: rgba(255,255,255,.5); color: white; }
.btn-white-outline:hover { border-color: white; }

/* ─── Reveal animations ──────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-img { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    section { padding: 72px 0; }
    .hero { padding: 140px 0 72px; }
    nav ul { display: none; }
    .header-inner > .btn { display: none; }
    .nav-toggle { display: flex; flex-direction: column; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .project-card { flex-direction: column !important; }
    .project-img { flex: 0 0 220px; width: 100%; }
    .project-info { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-band h2 { font-size: 2rem; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { height: 180px; }
    .contact-form { padding: 28px; }
}
