:root {
    --primary-color: #0f4c81;
    --secondary-color: #f2a65a;
    --accent-color: #f7f2eb;
    --text-dark: #0b1320;
    --text-light: #ffffff;
    --text-grey: #445064;
    --surface: #ffffff;
    --surface-muted: #f3f6fb;
    --border-subtle: rgba(15, 76, 129, 0.12);
    --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.14);
    --transition: all 0.3s ease;
    --font-heading: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--accent-color);
    background-image:
        radial-gradient(circle at 10% 10%, rgba(15, 76, 129, 0.08), transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(242, 166, 90, 0.12), transparent 40%);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-grey);
}

.tagline {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.4px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.25);
}

.btn-primary:hover {
    background-color: #0b3a63;
    border-color: #0b3a63;
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 76, 129, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.3);
}

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

.section-padding {
    padding: 100px 0;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 40px;
}

.nav-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .mobile-cta::after {
    display: none;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        padding: 10px;
    }

    .hamburger span {
        width: 26px;
        height: 2.5px;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 105;
    }

    .nav-links.open a {
        font-size: 1.4rem;
        padding: 8px 0;
    }

    .nav-links.open .mobile-cta {
        display: inline-block;
        padding: 14px 36px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex;
    }
}

/* ========== HERO ========== */
#hero {
    height: 100vh;
    width: 100%;
    background: radial-gradient(circle at top left, #f8fbff 0%, #eef4ff 45%, #f3ede6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(15, 76, 129, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 35% 65% 45% 55%;
    z-index: 1;
    animation: floatBlob 12s ease-in-out infinite;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 55% 45% 60% 40%;
    z-index: 1;
    animation: floatBlob 14s ease-in-out infinite reverse;
}

.hero-content {
    z-index: 2;
    width: min(1200px, 100%);
    padding: 0 24px;
    margin-top: -20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 1.8rem;
    filter: drop-shadow(0 16px 20px rgba(15, 23, 42, 0.12));
}

.hero-lede {
    max-width: 520px;
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 1.8rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.8rem;
}

.hero-badges span {
    background: rgba(15, 76, 129, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 76, 129, 0.12);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(10px);
}

.panel-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.panel-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 12px;
    color: var(--text-grey);
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.panel-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(242, 166, 90, 0.2);
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.stat {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(15, 76, 129, 0.1);
    box-shadow: var(--shadow);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-grey);
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 6px;
}

@media (min-width: 768px) {
    h1 {
        font-size: 4.6rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 10px;
    height: 10px;
    opacity: 0.9;
}

.scroll-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(15, 76, 129, 0.75);
    border-bottom: 2px solid rgba(15, 76, 129, 0.75);
    transform: rotate(45deg);
    position: absolute;
    left: 50%;
    bottom: -16px;
    margin-left: -5px;
    animation: chevronBounce 1.8s ease-in-out infinite;
}

@keyframes chevronBounce {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.45;
    }
    50% {
        transform: translateY(6px) rotate(45deg);
        opacity: 1;
    }
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ========== SERVICES ========== */
#services {
    background-color: var(--surface);
    border-top: 1px solid rgba(15, 76, 129, 0.08);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 246, 251, 0.9) 100%);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(15, 76, 129, 0.08);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 76, 129, 0.2);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.12), rgba(242, 166, 90, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-wrap svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .icon-wrap {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover .icon-wrap svg {
    color: white;
}

/* ========== TRUST SECTION ========== */
.trust-section {
    background: linear-gradient(135deg, #eff4fb 0%, #f4efe8 100%);
    padding: 80px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 40px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 44px;
    height: 44px;
    color: var(--primary-color);
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

/* ========== GALLERY ========== */
#work {
    background-color: var(--surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ========== CONTACT SECTION ========== */
.dark-bg {
    background: linear-gradient(135deg, #0b1320 0%, #14233b 55%, #10253c 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dark-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242, 166, 90, 0.16) 0%, transparent 70%);
    border-radius: 35% 65% 45% 55%;
    animation: floatBlob 14s ease-in-out infinite;
}

.dark-bg h2 {
    color: var(--text-light);
    font-size: 2.8rem;
}

.dark-bg p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
}

.phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    margin: 1rem 0;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.phone-number:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.phone-svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.availability {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color) !important;
}

/* ========== FOOTER ========== */
footer {
    background-color: #0a0f18;
    color: #888;
    padding: 30px 0;
    font-size: 0.9rem;
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand {
    color: #999;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.8rem;
    color: #666;
}

.footer-license {
    font-size: 0.8rem;
    color: #555;
}

/* ========== ANIMATIONS ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.fade-in.visible {
    transition-delay: 0.1s;
}

.gallery-item.fade-in.visible {
    transition-delay: 0.1s;
}

@keyframes floatBlob {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(18px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    .tagline {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

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

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

    /* Navbar */
    .navbar {
        padding: 12px 16px;
    }

    .navbar.scrolled {
        padding: 10px 16px;
    }

    .nav-logo {
        height: 48px;
    }

    .navbar.scrolled .nav-logo {
        height: 42px;
    }

    /* Hero */
    #hero {
        height: auto;
        min-height: 100vh;
        padding: 90px 0 40px;
    }

    #hero::before {
        width: 260px;
        height: 260px;
    }

    #hero::after {
        width: 220px;
        height: 220px;
    }

    .hero-logo {
        max-width: 160px;
        margin-bottom: 1.2rem;
    }

    .hero-content {
        padding: 0 20px;
        margin-top: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-lede {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-badges span {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .hero-panel {
        width: 100%;
    }

    .panel-card {
        padding: 22px;
        border-radius: 14px;
    }

    .panel-card h3 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .panel-stats {
        gap: 10px;
    }

    .stat {
        padding: 14px;
        border-radius: 12px;
    }

    .stat-value {
        font-size: 0.88rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* CTA Buttons */
    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        padding: 16px 32px;
        font-size: 0.9rem;
        width: 100%;
        max-width: none;
        text-align: center;
    }

    .cta-group .btn-secondary {
        margin-left: 0;
        margin-top: 0;
    }

    /* Services */
    #services .section-header {
        text-align: left;
        margin-bottom: 28px;
    }

    #services .underline {
        margin: 10px 0 0;
    }

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

    .service-card {
        padding: 18px;
        border-radius: 14px;
        text-align: left;
        display: grid;
        grid-template-columns: 52px 1fr;
        column-gap: 14px;
        row-gap: 6px;
        align-items: start;
    }

    .service-card .icon-wrap {
        width: 52px;
        height: 52px;
        margin: 2px 0 0;
        grid-row: 1 / span 2;
    }

    .service-card .icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .service-card h3 {
        font-size: 1.12rem;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    /* Trust */
    .trust-section {
        padding: 50px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-item {
        padding: 16px 20px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    /* Contact */
    .dark-bg h2 {
        font-size: 1.8rem;
    }

    .phone-number {
        font-size: 1.7rem;
        padding: 12px;
        gap: 10px;
        word-break: break-word;
    }

    .phone-svg {
        width: 26px;
        height: 26px;
    }

    .availability {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile menu link CTA */
    .nav-links.open .mobile-cta {
        display: inline-block;
        margin-top: 1rem;
    }
}

/* Small phones */
@media (max-width: 380px) {
    h1 {
        font-size: 1.7rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 140px;
    }

    .hero-lede {
        font-size: 0.92rem;
    }

    .panel-card h3 {
        font-size: 1.15rem;
    }

    .phone-number {
        font-size: 1.4rem;
    }

    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        padding: 14px 24px;
        font-size: 0.85rem;
    }

    .service-card {
        grid-template-columns: 46px 1fr;
        column-gap: 12px;
        padding: 16px;
    }

    .service-card .icon-wrap {
        width: 46px;
        height: 46px;
    }
}
