/* style.css */
:root {
    --primary-blue: #002060; /* Deep Navy from Logo */
    --accent-blue: #0070c0;  /* Bright Blue from Logo */
    --light-bg: #f4f7f6;
    --text-dark: #333;
    --text-light: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px; /* Adjust based on your logo file size */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--accent-blue);
}

.btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s;
}

.btn:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 32, 96, 0.9), rgba(0, 112, 192, 0.8)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
    font-size: 2.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 4px solid var(--accent-blue);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

footer p {
    opacity: 0.8;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
/* Projects Page */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--accent-blue);
    background: white;
    color: var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-blue);
    color: white;
}

.project-card {
    text-align: left;
    padding: 0;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
}

.project-content {
    padding: 25px;
}

.project-tag {
    display: inline-block;
    background: var(--light-bg);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.project-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Filter Animation */
.project-card.hide {
    display: none;
}
/* ============ ENHANCED HERO ============ */
.hero {
    padding: 100px 20px 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero h1 .highlight {
    color: #7dd3fc;
    text-shadow: 0 0 30px rgba(125, 211, 252, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat h3 {
    font-size: 2.5rem;
    color: #7dd3fc;
    margin-bottom: 5px;
}

.hero-stats .stat p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============ TRUSTED BY ============ */
.trusted-by {
    background: white;
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 25px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.trusted-logos span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.6;
    transition: 0.3s;
}

/* ============ VISUAL REFRESH ============ */
:root {
    --primary-blue: #082b61;
    --accent-blue: #0878d1;
    --light-bg: #f4f8fc;
    --text-dark: #26364b;
    --text-light: #fff;
    --muted-text: #64748b;
    --line: #e2eaf3;
    --card-shadow: 0 16px 42px rgba(15, 45, 84, 0.09);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background: #f7f9fc;
    line-height: 1.7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #38bdf8;
    outline-offset: 3px;
}

header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(8, 43, 97, 0.07);
    backdrop-filter: blur(14px);
}

.nav-wrapper {
    min-height: 88px;
    padding: 10px 0;
}

.logo img {
    display: block;
    height: 66px;
}

nav ul {
    align-items: center;
    gap: 26px;
}

nav ul li a {
    font-size: 0.94rem;
}

nav ul li a.btn {
    color: #fff;
    padding: 11px 22px;
}

.btn {
    padding: 13px 25px;
    box-shadow: 0 9px 20px rgba(8, 91, 171, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 26px rgba(8, 91, 171, 0.28);
}

.hero {
    isolation: isolate;
    overflow: hidden;
    min-height: 590px;
    padding: 72px 20px 58px;
    text-align: left;
    background:
        radial-gradient(ellipse at 83% 37%, rgba(44, 147, 239, 0.4), transparent 34%),
        radial-gradient(ellipse at 12% 100%, rgba(20, 108, 194, 0.3), transparent 40%),
        linear-gradient(118deg, #061d45 0%, #082f69 53%, #075aa4 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 560px;
    height: 560px;
    top: -345px;
    left: -145px;
}

.hero::after {
    width: 440px;
    height: 440px;
    right: -175px;
    bottom: -300px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    align-items: center;
    gap: 32px;
    max-width: 1250px;
}

.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-badge {
    padding: 7px 14px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    letter-spacing: 1.4px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 4.5vw, 4.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero h1 .highlight {
    color: #76d4ff;
    text-shadow: none;
}

.hero-content > p {
    max-width: 570px;
    margin: 0 0 27px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.hero-buttons {
    justify-content: flex-start;
    margin-bottom: 36px;
}

.hero-buttons .btn-outline {
    box-shadow: none;
}

.hero-stats {
    justify-content: flex-start;
    gap: 35px;
    padding-top: 23px;
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats .stat {
    min-width: 100px;
}

.hero-stats .stat h3 {
    margin-bottom: 0;
    font-size: 2rem;
}

.hero-stats .stat p {
    font-size: 0.72rem;
    letter-spacing: 0.8px;
}

.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.hero-art img {
    display: block;
    width: min(100%, 570px);
    height: auto;
    filter: drop-shadow(0 24px 45px rgba(0, 12, 37, 0.25));
    animation: art-float 6s ease-in-out infinite;
}

@keyframes art-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

.trusted-by {
    padding: 30px 20px;
    border-bottom: 1px solid var(--line);
}

.trusted-label {
    margin-bottom: 18px;
    color: #8391a4;
    font-size: 0.75rem;
    letter-spacing: 1.7px;
}

.trusted-logos {
    gap: clamp(24px, 5vw, 66px);
}

.trusted-logos span {
    font-size: 1.05rem;
}

.services,
.how-it-works,
.testimonials {
    padding: 86px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    margin-bottom: 12px;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    letter-spacing: -0.035em;
}

.section-label {
    color: #0878d1;
    letter-spacing: 2px;
}

.section-subtitle {
    color: var(--muted-text);
}

.grid {
    gap: 24px;
}

.card {
    position: relative;
    overflow: hidden;
    padding: 32px 28px;
    border: 1px solid #e8eef5;
    border-bottom: 3px solid #1687d9;
    border-radius: 17px;
    box-shadow: 0 8px 26px rgba(15, 45, 84, 0.055);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #d5e8f9;
    box-shadow: var(--card-shadow);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.18rem;
}

.card p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 22px;
    border-radius: 17px;
    background: linear-gradient(140deg, #0b3472, #138dde);
    box-shadow: 0 10px 20px rgba(8, 91, 171, 0.19);
}

.why-us {
    padding: 88px 0;
    background:
        radial-gradient(circle at 92% 18%, rgba(38, 142, 220, 0.055), transparent 24%),
        #fff;
}

.why-us-text .section-title {
    line-height: 1.2;
}

.why-us-visual {
    gap: 16px;
}

.visual-card {
    padding: 25px 20px;
    border: 1px solid #e8eef5;
    border-radius: 17px;
    background: #f8fbff;
}

.step {
    border: 1px solid #e8eef5;
    border-radius: 17px;
    box-shadow: 0 8px 25px rgba(15, 45, 84, 0.055);
}

.step-number {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 20px;
    background: #eaf5ff;
    color: #1680cb;
    font-size: 1.65rem;
}

.testimonial-card {
    border: 1px solid #e8eef5;
    border-left: 4px solid var(--accent-blue);
    border-radius: 16px;
    background: #f9fbfe;
}

.cta-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 110%, rgba(86, 187, 255, 0.26), transparent 34%),
        linear-gradient(125deg, #07285a, #0876c8);
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -130px;
    right: 5%;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

footer {
    margin-top: 0;
    padding: 28px 0;
    background: #061d42;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-brand img {
    display: block;
    width: 120px;
    height: auto;
    border-radius: 4px;
}

.footer-copy {
    text-align: center;
}

.footer-copy p {
    font-size: 0.82rem;
}

.footer-copy p + p {
    margin-top: 3px;
    font-size: 0.76rem;
}

.footer-copy span {
    padding: 0 4px;
    color: #65c8ff;
}

.footer-nav {
    display: flex;
    gap: 19px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

/* Shared illustrated banners for interior pages */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 54px 20px;
    background:
        radial-gradient(ellipse at 82% 50%, rgba(77, 164, 239, 0.22), transparent 30%),
        linear-gradient(120deg, #f3f8ff, #edf5fc);
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    right: -130px;
    top: -180px;
    border: 1px solid rgba(8, 120, 209, 0.12);
    border-radius: 50%;
}

.page-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 250px;
    gap: 35px;
}

.page-hero-copy {
    max-width: 650px;
}

.page-hero-copy .section-label {
    display: block;
    margin-bottom: 12px;
}

.page-hero-copy h1 {
    margin-bottom: 12px;
    color: var(--primary-blue);
    font-size: clamp(2.25rem, 4vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.page-hero-copy p {
    max-width: 580px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.page-hero-art {
    position: relative;
    display: grid;
    width: min(100%, 350px);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
}

.orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(8, 120, 209, 0.16);
    border-radius: 50%;
}

.orbit-one {
    inset: 8%;
}

.orbit-two {
    inset: 20%;
    border-style: dashed;
    border-color: rgba(8, 120, 209, 0.24);
}

.hero-art-center,
.hero-art-icon {
    position: absolute;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 16px 35px rgba(22, 70, 121, 0.17);
}

.hero-art-center {
    width: 104px;
    height: 104px;
    border-radius: 31px;
    background: linear-gradient(145deg, #0b3472, #1689d8);
    color: #fff;
    font-size: 2.1rem;
    transform: rotate(-7deg);
}

.hero-art-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: #fff;
    color: #0878d1;
    font-size: 1.35rem;
}

.icon-code { top: 14%; left: 18%; transform: rotate(-9deg); }
.icon-palette { top: 24%; right: 12%; color: #8b5cf6; transform: rotate(9deg); }
.icon-laptop { right: 20%; bottom: 12%; color: #0ca985; transform: rotate(7deg); }
.icon-project-web { top: 13%; left: 17%; transform: rotate(-8deg); }
.icon-project-design { top: 22%; right: 12%; color: #a45ac7; transform: rotate(9deg); }
.icon-project-code { right: 17%; bottom: 12%; color: #15a681; transform: rotate(8deg); }

.page-services {
    background: #fff;
}

.page-services .card {
    min-height: 255px;
}

.service-grid .card:nth-child(2) .card-icon,
.service-grid .card:nth-child(5) .card-icon {
    background: linear-gradient(140deg, #7049bd, #ae70dc);
}

.service-grid .card:nth-child(3) .card-icon,
.service-grid .card:nth-child(6) .card-icon {
    background: linear-gradient(140deg, #087e82, #2bbba5);
}

.service-grid .card:nth-child(4) .card-icon {
    background: linear-gradient(140deg, #d87436, #f3ac52);
}

.projects-section {
    background: #f7f9fc;
}

.filter-buttons {
    gap: 10px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 9px 21px;
    border: 1px solid #d7e2ee;
    background: #fff;
    color: #4c6079;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: #fff;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}

.project-card {
    min-height: 345px;
    padding: 0;
    border-bottom-width: 2px;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.24) 0 4px, transparent 5px),
        radial-gradient(circle at 22% 70%, rgba(255, 255, 255, 0.18) 0 3px, transparent 4px),
        linear-gradient(135deg, #082b61, #1388d8);
    font-size: 3.15rem;
}

.project-footage {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

.project-footage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image::before,
.project-image::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 50%;
}

.project-image::before {
    width: 170px;
    height: 170px;
    top: -92px;
    right: -12px;
}

.project-image::after {
    width: 125px;
    height: 125px;
    bottom: -91px;
    left: 18px;
}

.project-image i {
    position: relative;
    z-index: 1;
    display: grid;
    width: 83px;
    height: 83px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(1, 23, 60, 0.2);
    backdrop-filter: blur(5px);
    font-size: 2.35rem;
}

.project-card:nth-child(3n + 2) .project-image {
    background: linear-gradient(135deg, #125879, #18a9ac);
}

.project-card:nth-child(3n) .project-image {
    background: linear-gradient(135deg, #4e367e, #a766bd);
}

.project-card:nth-child(5) .project-image {
    background: linear-gradient(135deg, #ad602e, #efa34e);
}

.project-content {
    padding: 23px 24px 26px;
}

.project-tag {
    background: #edf6ff;
    color: #0878d1;
    letter-spacing: 0.7px;
}

.project-content h3 {
    font-size: 1.2rem;
}

.project-cta {
    position: relative;
    overflow: hidden;
    margin-top: 25px;
    padding: 66px 20px;
    background:
        radial-gradient(circle at 12% 110%, rgba(86, 187, 255, 0.25), transparent 34%),
        linear-gradient(125deg, #07285a, #0876c8);
    color: #fff;
    text-align: center;
}

.project-cta .section-label {
    color: #8bdcff;
}

.project-cta h2 {
    margin: 6px 0 9px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.project-cta p {
    margin-bottom: 23px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-section {
    padding: 65px 0 85px;
    background:
        radial-gradient(circle at 2% 15%, rgba(49, 149, 228, 0.06), transparent 23%),
        #f6f9fd;
}

.contact-heading {
    margin: 0 auto 38px;
    text-align: center;
}

.contact-heading .section-label {
    display: block;
    margin-bottom: 8px;
}

.contact-heading h1 {
    margin-bottom: 8px;
    color: var(--primary-blue);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.contact-heading p {
    color: var(--muted-text);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    max-width: 1030px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e3ebf4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(16, 48, 87, 0.1);
}

.contact-visual {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 620px;
    padding: 34px;
    background:
        radial-gradient(circle at 70% 15%, rgba(53, 153, 239, 0.27), transparent 30%),
        linear-gradient(148deg, #082b61, #064786 62%, #0878bd);
    color: #fff;
}

.contact-visual-art {
    position: relative;
    display: grid;
    width: 210px;
    height: 190px;
    margin: 0 auto 28px;
    place-items: center;
}

.contact-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.contact-orbit-one { inset: 3px; }
.contact-orbit-two { inset: 28px; border-style: dashed; }

.contact-art-icon {
    display: grid;
    width: 91px;
    height: 91px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    background: linear-gradient(145deg, #35b7ee, #3476e7);
    box-shadow: 0 15px 35px rgba(0, 16, 51, 0.28);
    font-size: 2.2rem;
    transform: rotate(-8deg);
}

.contact-art-spark {
    position: absolute;
    display: grid;
    place-items: center;
    color: #9de7ff;
}

.spark-one { top: 9px; right: 24px; font-size: 1.25rem; }
.spark-two { bottom: 20px; left: 21px; font-size: 0.65rem; }

.contact-note-label {
    color: #92dbff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.contact-visual h2 {
    margin: 9px 0 12px;
    font-size: 1.7rem;
    line-height: 1.25;
}

.contact-visual p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.96rem;
}

.contact-visual-footer {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
}

.contact-visual-footer i {
    margin-right: 7px;
    color: #7ee4c3;
}

.contact-form-card {
    padding: 38px 42px;
}

.contact-form-card > h2 {
    margin-bottom: 2px;
    color: var(--primary-blue);
    font-size: 1.55rem;
}

.form-intro {
    margin-bottom: 24px;
    color: var(--muted-text);
    font-size: 0.92rem;
}

.contact-form {
    display: grid;
    gap: 17px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: #30455f;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #fbfdff;
    color: #24364d;
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #1384d1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(19, 132, 209, 0.1);
}

.form-field textarea {
    min-height: 125px;
    resize: vertical;
}

.contact-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.form-success {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid #a9e6c8;
    border-radius: 10px;
    background: #effcf5;
    color: #167344;
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .hero {
        min-height: 0;
    }

    .hero-layout {
        grid-template-columns: 1fr 0.8fr;
        gap: 8px;
    }

    .hero-art img {
        width: 115%;
        max-width: none;
        margin-left: -15px;
    }

    .hero-stats {
        gap: 18px;
    }

    .page-hero-layout {
        grid-template-columns: 1fr 0.75fr;
    }

    .contact-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .contact-visual {
        padding: 28px;
    }

    .contact-form-card {
        padding: 32px;
    }
}

@media (max-width: 680px) {
    .nav-wrapper {
        flex-direction: row;
        gap: 12px;
    }

    .logo img {
        height: 52px;
    }

    nav ul {
        flex-direction: row;
        justify-content: flex-end;
        gap: 10px 14px;
        flex-wrap: wrap;
    }

    nav ul li a {
        font-size: 0.82rem;
    }

    nav ul li:last-child {
        display: none;
    }

    .hero {
        padding: 54px 20px 38px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10vw, 3.25rem);
    }

    .hero-content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 27px;
    }

    .hero-stats {
        justify-content: center;
        gap: 14px 22px;
    }

    .hero-stats .stat {
        min-width: 82px;
    }

    .hero-stats .stat h3 {
        font-size: 1.7rem;
    }

    .hero-stats .stat p {
        font-size: 0.64rem;
    }

    .hero-art {
        max-height: 300px;
        margin-top: 8px;
    }

    .hero-art img {
        width: min(100%, 390px);
        margin: 0;
    }

    .services,
    .how-it-works,
    .testimonials,
    .why-us {
        padding: 62px 0;
    }

    .page-hero {
        padding: 45px 20px 35px;
    }

    .page-hero-layout {
        grid-template-columns: 1fr;
        gap: 5px;
        text-align: center;
    }

    .page-hero-copy {
        margin: 0 auto;
    }

    .page-hero-art {
        width: min(75vw, 270px);
    }

    .page-services .card {
        min-height: 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 170px;
    }

    .contact-section {
        padding: 48px 0 60px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        min-height: 0;
        gap: 18px;
        padding: 25px;
    }

    .contact-visual-art {
        height: 145px;
        margin-bottom: 0;
    }

    .contact-visual h2 {
        font-size: 1.45rem;
    }

    .contact-form-card {
        padding: 27px 23px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .nav-wrapper {
        flex-direction: column;
    }

    nav ul {
        justify-content: center;
    }

    .hero-buttons .btn {
        padding: 11px 17px;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Cinematic landscape slideshow */
.hero {
    position: relative;
    display: flex;
    min-height: min(920px, calc(100svh - 82px));
    align-items: center;
    padding: clamp(54px, 7vh, 78px) 20px 104px;
    background: #071a30;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: -18%;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 19% 48%, rgba(5, 20, 41, 0.68), transparent 57%),
        linear-gradient(90deg, rgba(4, 15, 32, 0.72), rgba(4, 15, 32, 0.08) 82%);
    animation: atmosphere-drift 28s ease-in-out infinite alternate;
}

.hero::after {
    z-index: -1;
    width: 48vw;
    height: 48vw;
    right: -25vw;
    bottom: -35vw;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 35px rgba(255, 255, 255, 0.035), 0 0 0 75px rgba(255, 255, 255, 0.025);
    animation: slow-orbit 70s linear infinite;
}

.hero-carousel,
.hero-atmosphere {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
}

.hero-scene {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.7s ease, visibility 1.7s ease;
}

.hero-scene.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-scene img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    transform: scale(1.025);
}

.hero-scene.is-active img {
    animation: cinematic-ken-burns 11s cubic-bezier(.18, .55, .36, 1) both;
}

.hero-scene:nth-child(2) img {
    object-position: center 48%;
}

.hero-scene:nth-child(3) img {
    object-position: center 58%;
}

.hero-carousel.is-paused .hero-scene.is-active img {
    animation-play-state: paused;
}

.hero-atmosphere {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(3, 14, 30, 0.11) 0%, transparent 18%, transparent 57%, rgba(3, 14, 30, 0.75) 100%),
        linear-gradient(90deg, rgba(3, 14, 30, 0.77) 0%, rgba(3, 14, 30, 0.61) 38%, rgba(3, 14, 30, 0.18) 77%, rgba(3, 14, 30, 0.12) 100%),
        radial-gradient(ellipse at 72% 44%, transparent 22%, rgba(4, 17, 32, 0.28) 100%);
}

.hero-layout {
    z-index: 1;
    display: block;
    width: 90%;
    max-width: 1280px;
}

.hero-content {
    max-width: 1120px;
    text-align: left;
}

html:not(.motion-enabled) .hero-content {
    animation: hero-copy-arrive 1.1s 0.15s cubic-bezier(.18, .68, .24, 1) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(5, 20, 38, 0.28);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(12px);
}

.live-indicator {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8af0c4;
    box-shadow: 0 0 12px rgba(138, 240, 196, 0.9);
}

.live-indicator::after {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(138, 240, 196, 0.72);
    border-radius: inherit;
    content: "";
    animation: live-pulse 2.2s ease-out infinite;
}

.hero h1 {
    max-width: 1080px;
    margin: 20px 0 17px;
    font-size: clamp(3.3rem, 5.8vw, 5.5rem);
    font-weight: 700;
    line-height: 0.99;
    letter-spacing: -0.065em;
    text-wrap: balance;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.23);
}

.hero h1 .highlight {
    color: #e8c58c;
    text-shadow: 0 2px 22px rgba(232, 197, 140, 0.21);
}

.hero-content > p {
    max-width: 610px;
    margin: 0 0 31px;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.75;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    margin-bottom: 27px;
}

.hero-buttons .btn {
    padding: 15px 26px;
}

.hero-buttons .btn:first-child {
    background: #f0c987;
    color: #172b43;
    box-shadow: 0 10px 35px rgba(204, 154, 76, 0.27);
}

.hero-buttons .btn:first-child:hover {
    background: #ffda9c;
}

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.hero-stats {
    width: fit-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(20px, 3vw, 40px);
    padding-top: 14px;
    border-top-color: rgba(255, 255, 255, 0.3);
}

.hero-stats .stat h3 {
    color: #f4d79f;
}

.hero-stats .stat {
    min-width: 0;
}

.hero-stats .stat p {
    white-space: nowrap;
    font-size: 0.66rem;
}

.hero-scene-meta {
    position: absolute;
    right: clamp(28px, 6vw, 92px);
    bottom: 42px;
    display: grid;
    grid-template-columns: 36px auto;
    align-items: center;
    column-gap: 12px;
    color: #fff;
    text-align: left;
    animation: meta-appear 1s 0.8s both;
}

.scene-meta-rule {
    grid-row: 1 / span 2;
    display: block;
    width: 30px;
    height: 1px;
    background: #efc987;
}

.scene-meta-location {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.scene-meta-region {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-carousel-controls {
    position: absolute;
    right: clamp(28px, 6vw, 92px);
    bottom: 113px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    background: rgba(6, 22, 40, 0.43);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(14px);
    animation: meta-appear 0.8s 0.65s both;
}

.scene-control,
.scene-dot {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.scene-control {
    width: 38px;
    height: 38px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.scene-control:hover {
    transform: scale(1.08);
    border-color: #f0c987;
    background: #f0c987;
    color: #172b43;
}

.scene-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scene-dot {
    position: relative;
    width: 22px;
    height: 22px;
    overflow: hidden;
    background: transparent;
    transition: width 0.35s ease, border-color 0.25s ease, background 0.25s ease;
}

.scene-dot.is-active {
    width: 48px;
    border-color: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
}

.scene-dot.is-active::after {
    position: absolute;
    inset: 3px auto 3px 3px;
    width: calc(100% - 6px);
    border-radius: inherit;
    background: #f0c987;
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    animation: scene-progress 7.2s linear forwards;
}

.hero-carousel.is-paused + .hero-atmosphere ~ .hero-carousel-controls .scene-dot.is-active::after {
    animation-play-state: paused;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 47px;
    left: clamp(22px, 5vw, 74px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
    letter-spacing: 0.17em;
    text-decoration: none;
    text-transform: uppercase;
    animation: meta-appear 1s 1s both;
}

.hero-scroll-cue span {
    position: relative;
    width: 18px;
    height: 29px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 12px;
}

.hero-scroll-cue span::after {
    position: absolute;
    top: 5px;
    left: 7px;
    width: 2px;
    height: 6px;
    border-radius: 3px;
    background: #f0c987;
    content: "";
    animation: scroll-nudge 1.7s ease-in-out infinite;
}

.hero-scroll-cue:hover {
    color: #fff;
}

@keyframes cinematic-ken-burns {
    0% { transform: scale(1.025) rotate(0deg); }
    100% { transform: scale(1.14) rotate(0.35deg); }
}

@keyframes atmosphere-drift {
    0% { transform: translate3d(-1%, 0, 0) scale(1); }
    100% { transform: translate3d(1%, -1%, 0) scale(1.06); }
}

@keyframes slow-orbit {
    to { transform: rotate(360deg); }
}

@keyframes live-pulse {
    0% { opacity: 0.7; transform: scale(0.6); }
    100% { opacity: 0; transform: scale(1.7); }
}

@keyframes scene-progress {
    to { transform: scaleX(1); }
}

@keyframes hero-copy-arrive {
    from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); }
    to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

@keyframes meta-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scroll-nudge {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    55% { opacity: 1; transform: translateY(8px); }
}

/* Ambient motion throughout all the pages */
.page-hero {
    isolation: isolate;
    background:
        radial-gradient(ellipse at 82% 50%, rgba(77, 164, 239, 0.2), transparent 31%),
        linear-gradient(120deg, #edf4fc, #f6f8fb 48%, #e7f0f7);
}

.page-hero::before,
.page-hero::after {
    z-index: -1;
    width: 275px;
    height: 275px;
    border-color: rgba(13, 119, 193, 0.15);
    box-shadow: 0 0 0 22px rgba(13, 119, 193, 0.035), 0 0 0 52px rgba(13, 119, 193, 0.025);
    animation: slow-orbit 72s linear infinite;
}

.page-hero::before {
    top: auto;
    right: auto;
    bottom: -190px;
    left: -160px;
    content: "";
    position: absolute;
    border: 1px solid rgba(8, 120, 209, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero::after {
    top: -175px;
    right: -90px;
    bottom: auto;
    width: 350px;
    height: 350px;
}

.page-hero-photo,
.namibia-feature-photo {
    transform-style: preserve-3d;
}

.page-hero-photo img {
    animation: landscape-drift 24s ease-in-out infinite alternate;
}

.projects-hero-photo img {
    animation-direction: alternate-reverse;
}

.namibia-feature-photo img {
    animation: landscape-drift 30s ease-in-out infinite alternate-reverse;
}

.contact-visual {
    background-position: 47% center;
    animation: contact-pan 28s ease-in-out infinite alternate;
}

.contact-visual::after {
    position: absolute;
    z-index: 0;
    inset: -40%;
    background: radial-gradient(ellipse at 58% 45%, rgba(211, 164, 97, 0.25), transparent 45%);
    content: "";
    pointer-events: none;
    animation: contact-light-drift 18s ease-in-out infinite alternate;
}

.contact-visual > * {
    position: relative;
    z-index: 1;
}

.contact-visual-art {
    animation: gentle-float 5s ease-in-out infinite;
}

.contact-art-icon {
    animation: gentle-float 4s ease-in-out infinite alternate;
}

.contact-orbit-one {
    animation: slow-orbit 32s linear infinite;
}

.contact-orbit-two {
    animation: slow-orbit 24s linear infinite reverse;
}

.card-icon {
    transition: transform 0.4s cubic-bezier(.2, .7, .25, 1), box-shadow 0.4s ease;
}

.card:hover .card-icon {
    transform: translateY(-3px) rotate(-8deg) scale(1.08);
    box-shadow: 0 15px 28px rgba(8, 91, 171, 0.3);
}

.project-image i {
    transition: transform 0.45s cubic-bezier(.2, .7, .25, 1), background 0.3s ease;
}

.project-card:hover .project-image i {
    transform: rotate(-9deg) scale(1.12);
    background: rgba(255, 255, 255, 0.23);
}

.project-image {
    background-size: cover;
    background-position: center;
}

.project-card:nth-child(1) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.45), rgba(11, 84, 145, 0.35)), url("assets/namibia-windhoek-morning.jpg");
}

.project-card:nth-child(2) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.35), rgba(11, 84, 145, 0.25)), url("assets/namibia-walvis-bay-coast.jpg");
}

.project-card:nth-child(3) .project-image {
    background-image: linear-gradient(135deg, rgba(52, 28, 75, 0.4), rgba(81, 51, 109, 0.26)), url("assets/namibia-sossusvlei-dunes.jpg");
}

.project-card:nth-child(4) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.4), rgba(11, 84, 145, 0.32)), url("assets/namibia-windhoek-sunset.jpg");
}

.project-card:nth-child(5) .project-image {
    background-image: linear-gradient(135deg, rgba(85, 47, 24, 0.4), rgba(140, 83, 36, 0.32)), url("assets/namibia-walvis-bay-coast.jpg");
}

.project-card:nth-child(6) .project-image {
    background-image: linear-gradient(135deg, rgba(52, 28, 75, 0.35), rgba(81, 51, 109, 0.24)), url("assets/namibia-etosha-zebra.jpg");
}

.project-card:nth-child(3n + 2) .project-image,
.project-card:nth-child(3n) .project-image,
.project-card:nth-child(5) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.37), rgba(11, 84, 145, 0.28)), url("assets/namibia-windhoek-morning.jpg");
}

.project-card:nth-child(2) .project-image,
.project-card:nth-child(5) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.37), rgba(11, 84, 145, 0.28)), url("assets/namibia-walvis-bay-coast.jpg");
}

.project-card:nth-child(3) .project-image,
.project-card:nth-child(6) .project-image {
    background-image: linear-gradient(135deg, rgba(7, 33, 77, 0.37), rgba(11, 84, 145, 0.28)), url("assets/namibia-sossusvlei-dunes.jpg");
}

.visual-card:nth-child(even) {
    animation: gentle-float 6s ease-in-out infinite;
}

.visual-card:nth-child(odd) {
    animation: gentle-float 7s ease-in-out 0.8s infinite;
}

.visual-card:hover {
    animation-play-state: paused;
}

.feature-list li i {
    animation: check-shimmer 3s ease-in-out infinite;
}

.feature-list li:nth-child(2) i { animation-delay: 0.35s; }
.feature-list li:nth-child(3) i { animation-delay: 0.7s; }
.feature-list li:nth-child(4) i { animation-delay: 1.05s; }

@keyframes landscape-drift {
    from { transform: scale(1.01) translate3d(0, 0, 0); }
    to { transform: scale(1.11) translate3d(-1.2%, -0.7%, 0); }
}

@keyframes contact-pan {
    from { background-position: 42% center; }
    to { background-position: 55% center; }
}

@keyframes contact-light-drift {
    from { transform: translate3d(-2%, -1%, 0) rotate(-4deg); }
    to { transform: translate3d(2%, 2%, 0) rotate(4deg); }
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes check-shimmer {
    0%, 75%, 100% { filter: drop-shadow(0 0 0 transparent); }
    12% { filter: drop-shadow(0 0 6px rgba(8, 120, 209, 0.58)); }
}

@media (max-width: 900px) {
    .hero {
        min-height: min(900px, calc(100svh - 82px));
        padding-top: 100px;
        padding-bottom: 170px;
    }

    .hero-layout {
        display: block;
    }

    .hero-content {
        max-width: 780px;
    }

    .hero-carousel-controls {
        right: 28px;
    }

    .hero-scene-meta {
        right: 28px;
    }

    .hero-atmosphere {
        background:
            linear-gradient(180deg, rgba(3, 14, 30, 0.13), rgba(3, 14, 30, 0.2) 26%, rgba(3, 14, 30, 0.7) 100%),
            linear-gradient(90deg, rgba(3, 14, 30, 0.69), rgba(3, 14, 30, 0.21)),
            radial-gradient(ellipse at 72% 44%, transparent 22%, rgba(4, 17, 32, 0.28) 100%);
    }
}

@media (max-width: 680px) {
    .hero {
        min-height: max(760px, calc(100svh - 82px));
        align-items: center;
        padding: 65px 18px 135px;
    }

    .hero-layout {
        width: 100%;
    }

    .hero-content {
        text-align: left;
    }

    .hero h1 {
        max-width: 600px;
        margin-top: 22px;
        font-size: clamp(3rem, 12vw, 4.7rem);
    }

    .hero-content > p {
        max-width: 470px;
        margin-right: 0;
        margin-left: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
        gap: 11px;
    }

    .hero-buttons .btn {
        padding: 13px 18px;
        font-size: 0.88rem;
    }

    .hero-stats {
        justify-content: flex-start;
        gap: 14px 22px;
    }

    .hero-stats .stat {
        min-width: 80px;
    }

    .hero-carousel-controls {
        right: auto;
        bottom: 89px;
        left: 18px;
        gap: 8px;
        padding: 7px;
    }

    .scene-control {
        width: 36px;
        height: 36px;
    }

    .hero-scene-meta {
        right: 20px;
        bottom: 98px;
        grid-template-columns: 24px auto;
        column-gap: 8px;
    }

    .scene-meta-rule {
        width: 20px;
    }

    .scene-meta-location {
        font-size: 0.79rem;
    }

    .scene-meta-region {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .hero-scroll-cue {
        display: none;
    }

    .hero-scene img {
        object-position: 56% center;
    }

    .hero-atmosphere {
        background:
            linear-gradient(180deg, rgba(3, 14, 30, 0.12), rgba(3, 14, 30, 0.25) 20%, rgba(3, 14, 30, 0.78) 100%),
            linear-gradient(90deg, rgba(3, 14, 30, 0.73), rgba(3, 14, 30, 0.24)),
            radial-gradient(ellipse at 72% 44%, transparent 22%, rgba(4, 17, 32, 0.28) 100%);
    }

    .page-hero-photo {
        width: min(100%, 410px);
    }

    .visual-card:nth-child(even),
    .visual-card:nth-child(odd) {
        animation: none;
    }
}

@media (max-width: 680px) {
    .hero-stats {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 12px;
    }

    .hero-stats .stat {
        min-width: 0;
    }

    .hero-stats .stat p {
        white-space: normal;
        font-size: 0.58rem;
        line-height: 1.35;
        letter-spacing: 0.04em;
    }

    .hero-carousel-controls {
        bottom: 28px;
        left: 18px;
    }

    .hero-scene-meta {
        top: 20px;
        right: 20px;
        bottom: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .hero::before,
    .hero-scene.is-active img,
    .hero-badge::after,
    .hero-scroll-cue span::after,
    .page-hero::before,
    .page-hero::after,
    .page-hero-photo img,
    .namibia-feature-photo img,
    .contact-visual,
    .contact-visual::after,
    .contact-visual-art,
    .contact-art-icon,
    .contact-orbit-one,
    .contact-orbit-two,
    .visual-card,
    .feature-list li i {
        animation: none !important;
    }

    .hero-scene {
        transition: none;
    }

    html:not(.motion-enabled) .hero-content {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .hero-carousel.is-paused .hero-scene.is-active img {
        animation: none;
    }
}

.trusted-logos span:hover {
    opacity: 1;
    color: var(--accent-blue);
}

/* ============ SECTION HEADERS ============ */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ============ ENHANCED CARDS ============ */
.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 112, 192, 0.25);
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.card-link:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

/* ============ WHY US ============ */
.why-us {
    background: white;
    padding: 80px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-text p {
    color: #555;
    font-size: 1.05rem;
    margin: 20px 0 25px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.why-us-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    background: var(--light-bg);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e5e5;
    transition: 0.3s;
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-blue);
}

.visual-card i {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.visual-card h4 {
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-size: 1rem;
}

.visual-card p {
    font-size: 0.85rem;
    color: #666;
}

/* ============ HOW IT WORKS ============ */
.how-it-works {
    background: var(--light-bg);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.step {
    position: relative;
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 112, 192, 0.15);
    line-height: 1;
    margin-bottom: 10px;
}

.step h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.9rem;
    color: #666;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: white;
    padding: 80px 0;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    border-left: 4px solid var(--accent-blue);
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.quote-icon {
    color: var(--accent-blue);
    font-size: 1.5rem;
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-card > p {
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #888;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-light {
    background: white;
    color: var(--primary-blue);
}

.btn-light:hover {
    background: var(--light-bg);
    transform: scale(1.05);
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 900px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .hero-stats .stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 500px) {
    .why-us-visual {
        grid-template-columns: 1fr;
    }
    
    .trusted-logos {
        gap: 25px;
    }
    
    .trusted-logos span {
        font-size: 1rem;
    }
}

@media (max-width: 680px) {
    .nav-wrapper {
        flex-direction: row;
        gap: 10px;
    }

    nav ul {
        flex-direction: row;
        justify-content: flex-end;
        text-align: right;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
    }
}

@media (max-width: 390px) {
    .nav-wrapper {
        flex-direction: column;
    }

    nav ul {
        justify-content: center;
        text-align: center;
    }
}

/* Namibia photography */
.hero-art {
    display: block;
    width: min(100%, 520px);
    aspect-ratio: 1.2;
    margin: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px 112px 28px 28px;
    background: #c47d42;
    box-shadow: 0 26px 65px rgba(0, 12, 37, 0.32);
    transform: rotate(1.5deg);
}

.hero-art::after,
.contact-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-art::after {
    background: linear-gradient(180deg, transparent 46%, rgba(5, 24, 50, 0.7));
}

.hero-art img,
.page-hero-photo img,
.namibia-feature-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-art img {
    max-width: none;
    margin: 0;
    object-position: 57% center;
    filter: none;
    animation: photo-drift 28s ease-in-out infinite alternate;
}

.photo-caption,
.page-hero-photo figcaption {
    position: absolute;
    z-index: 1;
    left: 21px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.87rem;
    font-weight: 700;
    text-shadow: 0 2px 9px rgba(0, 0, 0, 0.4);
}

.photo-caption i,
.page-hero-photo figcaption i {
    color: #ffd083;
}

.photo-caption span,
.page-hero-photo figcaption span {
    padding-left: 9px;
    border-left: 1px solid rgba(255, 255, 255, 0.65);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 500;
}

.namibia-feature {
    padding: 45px 0;
    background: #fff;
}

.namibia-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
    align-items: center;
    gap: clamp(30px, 6vw, 74px);
}

.namibia-feature-photo {
    position: relative;
    aspect-ratio: 1.9;
    margin: 0;
    overflow: hidden;
    border-radius: 18px 68px 18px 18px;
    box-shadow: 0 17px 42px rgba(15, 45, 84, 0.16);
}

.namibia-feature-photo img {
    object-position: center 70%;
    transition: transform 0.8s cubic-bezier(.2, .65, .25, 1);
}

.namibia-feature-photo:hover img {
    transform: scale(1.055);
}

.namibia-feature-photo figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(7, 31, 65, 0.58);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.namibia-feature-copy h2 {
    margin-bottom: 12px;
    color: var(--primary-blue);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.namibia-feature-copy p {
    color: var(--muted-text);
    font-size: 1.03rem;
}

.page-hero-photo {
    position: relative;
    width: min(100%, 435px);
    aspect-ratio: 1.45;
    justify-self: center;
    margin: 0;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 16px 74px 16px 16px;
    background: #b17c50;
    box-shadow: 0 20px 46px rgba(21, 61, 104, 0.17);
}

.page-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 32, 56, 0.02) 40%, rgba(10, 32, 56, 0.5));
    pointer-events: none;
}

.page-hero-photo img {
    transition: transform 1s cubic-bezier(.2, .65, .25, 1);
}

.page-hero-photo:hover img {
    transform: scale(1.07);
}

.services-hero .page-hero-photo img {
    object-position: center 54%;
}

.projects-hero-photo img {
    object-position: center 67%;
}

.contact-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #082b61;
    background-image: url("assets/namibia-etosha-zebra.jpg");
    background-position: 47% center;
    background-size: cover;
}

.contact-visual::before {
    z-index: -1;
    background: linear-gradient(180deg, rgba(4, 27, 55, 0.43), rgba(4, 27, 55, 0.7) 48%, rgba(4, 27, 55, 0.92));
}

.contact-location {
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(6, 30, 62, 0.4);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.contact-location i {
    margin-right: 5px;
    color: #ffd083;
}

.contact-visual-art {
    margin-top: auto;
}

.contact-visual > div:nth-of-type(2) {
    margin-bottom: auto;
}

/* Scroll, entrance, and hover animations */
html {
    scroll-behavior: smooth;
}

@keyframes page-arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes photo-drift {
    from { transform: scale(1.02) translateX(0); }
    to { transform: scale(1.11) translateX(-1.5%); }
}

main > section {
    animation: page-arrive 0.65s ease both;
}

.hero-art,
.page-hero-photo,
.contact-visual {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hero-art:hover,
.page-hero-photo:hover {
    transform: translateY(-4px) rotate(0);
    box-shadow: 0 28px 58px rgba(15, 45, 84, 0.25);
}

.card,
.step,
.visual-card,
.testimonial-card {
    transform-origin: center bottom;
}

.card:hover,
.step:hover,
.visual-card:hover,
.testimonial-card:hover {
    transform: translateY(-7px) scale(1.015);
}

.btn,
.filter-btn,
.footer-nav a,
nav ul li a:not(.btn) {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

nav ul li a:not(.btn) {
    position: relative;
}

nav ul li a:not(.btn)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

nav ul li a:not(.btn):hover::after {
    transform: scaleX(1);
}

.card-link {
    transition: color 0.25s ease, transform 0.25s ease;
}

.card-link:hover {
    transform: translateX(5px);
}

.motion-enabled .motion-reveal {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.7s ease,
        filter 0.7s ease,
        transform 0.7s cubic-bezier(.2, .7, .25, 1);
    transition-delay: 0ms;
}

.motion-enabled .motion-reveal.motion-delay-1 {
    transition-delay: 85ms;
}

.motion-enabled .motion-reveal.motion-delay-2 {
    transition-delay: 170ms;
}

.motion-enabled .motion-reveal.motion-delay-3 {
    transition-delay: 255ms;
}

.motion-enabled .motion-reveal.motion-delay-4 {
    transition-delay: 340ms;
}

.motion-enabled .motion-reveal.motion-delay-5 {
    transition-delay: 425ms;
}

.motion-enabled .motion-reveal.motion-visible {
    opacity: 1;
    filter: none;
    transform: none;
}

.motion-enabled .card.motion-visible:hover,
.motion-enabled .step.motion-visible:hover,
.motion-enabled .visual-card.motion-visible:hover,
.motion-enabled .testimonial-card.motion-visible:hover {
    transform: translateY(-7px) scale(1.015);
}

.why-us .why-us-title {
    text-align: left;
}

@media (max-width: 900px) {
    .hero-art {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .namibia-feature {
        padding: 32px 0;
    }

    .namibia-feature-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .namibia-feature-photo {
        aspect-ratio: 1.6;
    }

    .namibia-feature-copy {
        text-align: center;
    }

    .hero-art {
        width: min(100%, 410px);
        aspect-ratio: 1.32;
        justify-self: center;
        border-radius: 20px 76px 20px 20px;
    }

    .page-hero-photo {
        width: min(100%, 410px);
        aspect-ratio: 1.5;
        border-radius: 16px 56px 16px 16px;
    }

    .contact-visual {
        background-position: center 45%;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    main > section {
        animation: none;
    }

    .hero-art img {
        animation: none;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* NaSmile's playful, warm brand refresh */
:root {
    --primary-blue: #12366a;
    --accent-blue: #0878d1;
    --light-bg: #fffaf2;
    --text-dark: #24344b;
    --text-light: #fff;
    --muted-text: #66748a;
    --line: #e9e4da;
    --card-shadow: 0 18px 46px rgba(31, 54, 85, 0.09);
    --coral: #f07859;
    --sunshine: #ffd36e;
    --mint: #a8e5cf;
    --paper: #fffaf2;
}

body {
    background: var(--paper);
    color: var(--text-dark);
}

header {
    background: rgba(255, 250, 242, 0.94);
    border-bottom: 1px solid rgba(18, 54, 106, 0.07);
    box-shadow: 0 8px 28px rgba(31, 54, 85, 0.06);
}

.nav-wrapper {
    min-height: 82px;
}

.logo img {
    height: 62px;
}

nav ul li a:not(.btn) {
    color: var(--primary-blue);
    font-weight: 700;
}

nav ul li a[aria-current="page"]:not(.btn) {
    color: var(--coral);
}

nav ul li a:not(.btn)::after {
    background: var(--coral);
}

.btn {
    border: 0;
    border-radius: 16px 16px 16px 5px;
    background: var(--coral);
    color: #fff;
    box-shadow: 0 9px 20px rgba(222, 99, 69, 0.2);
}

.btn:hover {
    background: #df6547;
    box-shadow: 0 13px 26px rgba(222, 99, 69, 0.28);
}

nav ul li a.btn {
    color: #fff;
}

nav ul li a.btn i {
    margin-left: 7px;
    font-size: 0.82em;
}

.hero {
    min-height: clamp(620px, calc(100svh - 82px), 820px);
    background: #172c45;
}

.hero::before {
    background:
        radial-gradient(ellipse at 77% 28%, rgba(240, 120, 89, 0.22), transparent 30%),
        radial-gradient(ellipse at 16% 85%, rgba(255, 211, 110, 0.13), transparent 37%),
        linear-gradient(90deg, rgba(10, 27, 49, 0.78), rgba(10, 27, 49, 0.28) 85%);
}

.hero-atmosphere {
    background:
        linear-gradient(180deg, rgba(8, 24, 43, 0.12), transparent 30%, rgba(8, 24, 43, 0.67) 100%),
        linear-gradient(90deg, rgba(8, 24, 43, 0.72), rgba(8, 24, 43, 0.35) 56%, rgba(8, 24, 43, 0.1));
}

.hero-badge {
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 9px 18px 18px 18px;
    background: rgba(18, 54, 106, 0.35);
    letter-spacing: 0.07em;
}

.hero h1 .highlight {
    color: var(--sunshine);
}

.hero-buttons .btn:first-child {
    border-radius: 17px 17px 17px 5px;
    background: var(--sunshine);
    color: #27354a;
    box-shadow: 0 10px 30px rgba(255, 211, 110, 0.22);
}

.hero-buttons .btn:first-child:hover {
    background: #ffe09a;
}

.hero-stats .stat h3 {
    color: var(--mint);
}

.scene-control:hover {
    border-color: var(--sunshine);
    background: var(--sunshine);
    color: #27354a;
}

.scene-dot.is-active::after,
.hero-scroll-cue span::after {
    background: var(--sunshine);
}

.trusted-by {
    position: relative;
    padding: 34px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trusted-label {
    color: var(--muted-text);
}

.trusted-logos span {
    color: var(--primary-blue);
}

.trusted-logos span:hover {
    color: var(--coral);
}

.namibia-feature {
    padding: 76px 0;
    background:
        radial-gradient(circle at 9% 20%, rgba(255, 211, 110, 0.18), transparent 21%),
        var(--paper);
}

.namibia-feature-photo {
    border: 7px solid #fff;
    border-radius: 32px 100px 32px 32px;
    box-shadow: 0 20px 50px rgba(31, 54, 85, 0.13);
}

.namibia-feature-copy .section-label,
.section-label {
    color: #d55e43;
    letter-spacing: 0.12em;
}

.namibia-feature-copy h2,
.section-title,
.page-hero-copy h1,
.contact-heading h1 {
    color: var(--primary-blue);
}

.services,
.how-it-works,
.testimonials {
    padding: 90px 0;
}

.services {
    background: #fff;
}

.section-header {
    margin-bottom: 44px;
}

.section-header .section-label,
.contact-heading .section-label {
    padding: 6px 12px;
    border-radius: 8px 14px 14px 14px;
    background: #ffe6dc;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
}

.section-title {
    letter-spacing: -0.04em;
}

.section-subtitle,
.card p,
.namibia-feature-copy p {
    color: var(--muted-text);
}

.grid {
    gap: 22px;
}

.card {
    border: 1px solid #eee8de;
    border-bottom: 0;
    border-radius: 22px 22px 22px 7px;
    background: #fffdf9;
    box-shadow: 0 10px 30px rgba(31, 54, 85, 0.06);
}

.card:nth-child(3n + 1) {
    --card-accent: #0878d1;
    --card-tint: #e4f3ff;
}

.card:nth-child(3n + 2) {
    --card-accent: #df684b;
    --card-tint: #ffebe3;
}

.card:nth-child(3n) {
    --card-accent: #268b70;
    --card-tint: #e4f6ef;
}

.card-icon {
    border: 1px solid rgba(18, 54, 106, 0.04);
    border-radius: 20px 20px 20px 6px;
    background: var(--card-tint, #e4f3ff);
    color: var(--card-accent, var(--accent-blue));
    box-shadow: none;
}

.card:hover .card-icon {
    box-shadow: 0 12px 22px rgba(31, 54, 85, 0.1);
}

.card h3 {
    color: var(--primary-blue);
}

.card-link {
    color: var(--card-accent, var(--accent-blue));
}

.why-us {
    background:
        radial-gradient(circle at 93% 17%, rgba(240, 120, 89, 0.11), transparent 22%),
        #fff6e9;
}

.why-us .section-title {
    color: var(--primary-blue);
}

.feature-list li i {
    color: #268b70;
}

.visual-card {
    border: 1px solid rgba(18, 54, 106, 0.08);
    border-radius: 22px 22px 22px 7px;
    background: #fffdf9;
}

.visual-card:nth-child(2) {
    background: #edf7ff;
}

.visual-card:nth-child(3) {
    background: #fff0e8;
}

.visual-card:nth-child(4) {
    background: #eaf8f1;
}

.how-it-works {
    background: #fff;
}

.step {
    border: 1px solid #eee8de;
    border-radius: 22px 22px 22px 7px;
    background: #fffdf9;
    box-shadow: 0 10px 30px rgba(31, 54, 85, 0.06);
}

.step-number {
    border-radius: 21px 21px 21px 6px;
    background: #e4f3ff;
    color: var(--accent-blue);
}

.step:nth-child(2) .step-number {
    background: #ffebe3;
    color: #df684b;
}

.step:nth-child(3) .step-number {
    background: #e4f6ef;
    color: #268b70;
}

.step:nth-child(4) .step-number {
    background: #fff2d4;
    color: #a87000;
}

.testimonials {
    background: #fff6e9;
}

.testimonial-card {
    border: 1px solid #f0e8dc;
    border-left: 0;
    border-radius: 22px 22px 22px 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 54, 85, 0.05);
}

.testimonial-card:nth-child(2) {
    background: #f4fbf8;
}

.testimonial-card:nth-child(3) {
    background: #f2f8ff;
}

.quote-icon,
.author-avatar {
    color: var(--coral);
}

.cta-banner,
.project-cta {
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 211, 110, 0.24), transparent 25%),
        radial-gradient(circle at 8% 105%, rgba(168, 229, 207, 0.2), transparent 34%),
        linear-gradient(125deg, #12366a, #0878d1);
}

.cta-banner .btn-light,
.project-cta .btn-light {
    border-radius: 16px 16px 16px 5px;
    background: var(--sunshine);
    color: #27354a;
}

.page-hero {
    padding: 62px 20px;
    background:
        radial-gradient(ellipse at 79% 30%, rgba(255, 211, 110, 0.38), transparent 26%),
        radial-gradient(ellipse at 8% 96%, rgba(168, 229, 207, 0.38), transparent 30%),
        #fff4e4;
}

.page-hero::before,
.page-hero::after {
    border-color: rgba(240, 120, 89, 0.15);
    box-shadow: 0 0 0 22px rgba(240, 120, 89, 0.035), 0 0 0 52px rgba(240, 120, 89, 0.025);
}

.page-hero-layout {
    min-height: 280px;
}

.page-hero-copy .section-label {
    padding: 6px 12px;
    border-radius: 8px 14px 14px 14px;
    background: #ffe1d6;
    letter-spacing: 0.1em;
}

.page-hero-copy h1 {
    max-width: 640px;
    font-size: clamp(2.45rem, 4.3vw, 3.7rem);
}

.page-hero-copy p {
    color: #586a81;
}

.page-hero-photo {
    border: 7px solid #fff;
    border-radius: 82px 25px 25px 25px;
    box-shadow: 0 22px 48px rgba(31, 54, 85, 0.15);
}

.projects-section {
    background: #fff;
}

.filter-btn {
    border: 1px solid #e7e0d6;
    border-radius: 14px 14px 14px 5px;
    background: #fffaf2;
    color: var(--primary-blue);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: #fff;
}

.project-card {
    border: 1px solid #eee8de;
    border-radius: 22px 22px 22px 7px;
    background: #fffdf9;
}

.project-card:nth-child(2) .project-image {
    background-image: linear-gradient(135deg, rgba(14, 73, 108, 0.4), rgba(13, 117, 143, 0.28)), url("assets/namibia-walvis-bay-coast.jpg");
}

.project-card:nth-child(3) .project-image {
    background-image: linear-gradient(135deg, rgba(92, 48, 44, 0.35), rgba(199, 112, 68, 0.22)), url("assets/namibia-sossusvlei-dunes.jpg");
}

.project-card:nth-child(4) .project-image {
    background-image: linear-gradient(135deg, rgba(14, 73, 108, 0.4), rgba(13, 117, 143, 0.28)), url("assets/namibia-windhoek-sunset.jpg");
}

.project-card:nth-child(5) .project-image {
    background-image: linear-gradient(135deg, rgba(91, 54, 20, 0.38), rgba(181, 115, 49, 0.24)), url("assets/namibia-windhoek-morning.jpg");
}

.project-card:nth-child(6) .project-image {
    background-image: linear-gradient(135deg, rgba(92, 48, 44, 0.35), rgba(199, 112, 68, 0.22)), url("assets/namibia-sossusvlei-dunes.jpg");
}

.project-tag {
    border-radius: 7px 12px 12px 12px;
    background: #ffebe3;
    color: #c65338;
}

.project-cta .section-label {
    color: var(--sunshine);
}

.contact-section {
    background:
        radial-gradient(circle at 2% 15%, rgba(168, 229, 207, 0.22), transparent 23%),
        #fffaf2;
}

.contact-heading h1 {
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
}

.contact-layout {
    border: 1px solid #eee7dc;
    border-radius: 28px 28px 28px 9px;
    box-shadow: 0 24px 65px rgba(31, 54, 85, 0.1);
}

.contact-visual {
    background-color: #12366a;
}

.contact-visual::before {
    background: linear-gradient(180deg, rgba(18, 42, 68, 0.34), rgba(18, 42, 68, 0.65) 48%, rgba(18, 42, 68, 0.91));
}

.contact-location {
    border-radius: 9px 16px 16px 16px;
}

.contact-location i,
.contact-note-label {
    color: var(--sunshine);
}

.contact-art-icon {
    border-radius: 27px 27px 27px 8px;
    background: linear-gradient(145deg, var(--coral), #f4a45b);
}

.contact-form-card {
    background: #fff;
}

.form-field input,
.form-field select,
.form-field textarea {
    border-color: #e6e0d7;
    border-radius: 12px 12px 12px 5px;
    background: #fffdf9;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(8, 120, 209, 0.12);
}

.contact-submit {
    border-radius: 15px 15px 15px 5px;
}

footer {
    background: #102b50;
}

.footer-nav a:hover {
    color: var(--sunshine);
}

@media (max-width: 680px) {
    .hero {
        min-height: max(720px, calc(100svh - 82px));
    }

    .hero h1 {
        font-size: clamp(2.8rem, 11.5vw, 4.4rem);
    }

    .services,
    .how-it-works,
    .testimonials {
        padding: 64px 0;
    }

    .namibia-feature {
        padding: 52px 0;
    }

    .page-hero {
        padding: 45px 20px 38px;
    }

    .page-hero-layout {
        gap: 24px;
    }

    .page-hero-photo {
        border-radius: 52px 20px 20px 20px;
    }

    .contact-layout {
        border-radius: 23px 23px 23px 8px;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}

.service-card {
    padding: 0 30px 30px;
}

.service-art {
    display: block;
    width: calc(100% + 60px);
    height: 182px;
    margin: 0 -30px 25px;
    overflow: hidden;
    border-radius: 21px 21px 0 0;
    background: #e9f4ff;
}

.service-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-art-pair {
    display: flex;
    gap: 3px;
}

.service-art-pair > picture {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}

.service-art-design {
    background: #fff0e8;
}

.service-art-software {
    background: #eaf8f1;
}

.service-card .card-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 17px 17px 17px 5px;
    font-size: 1.45rem;
}

.service-card h3,
.service-card p,
.service-card .card-link {
    position: relative;
    z-index: 1;
}

.footer-mobile-cta {
    display: none;
}

@media (max-width: 680px) {
    .service-art {
        height: 190px;
    }

    footer {
        padding: 30px 0 22px;
        background:
            radial-gradient(ellipse at 100% 0, rgba(240, 120, 89, 0.18), transparent 44%),
            linear-gradient(155deg, #102b50, #071a35);
    }

    .footer-mobile-cta {
        position: relative;
        display: block;
        overflow: hidden;
        margin-bottom: 27px;
        padding: 24px 21px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 22px 22px 22px 7px;
        background: rgba(255, 255, 255, 0.07);
    }

    .footer-mobile-cta::after {
        position: absolute;
        top: -49px;
        right: -40px;
        width: 140px;
        height: 140px;
        border: 1px solid rgba(255, 211, 110, 0.25);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

    .footer-mobile-eyebrow {
        display: block;
        margin-bottom: 7px;
        color: var(--sunshine);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 1.4px;
    }

    .footer-mobile-cta h2 {
        max-width: 260px;
        color: #fff;
        font-size: clamp(1.4rem, 6vw, 1.75rem);
        line-height: 1.2;
    }

    .footer-mobile-cta p {
        max-width: 280px;
        margin-top: 8px;
        color: rgba(255, 255, 255, 0.76);
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .footer-mobile-button {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        gap: 10px;
        margin-top: 17px;
        padding: 0 17px;
        border-radius: 13px 13px 13px 5px;
        background: var(--coral);
        color: #fff;
        font-size: 0.88rem;
        font-weight: 800;
        text-decoration: none;
    }

    .footer-content {
        align-items: center;
        gap: 19px;
    }

    .footer-brand {
        order: 1;
        display: inline-flex;
        padding: 7px;
        border-radius: 13px 13px 13px 5px;
        background: #fff;
    }

    .footer-brand img {
        width: 104px;
        border-radius: 7px;
    }

    .footer-nav {
        order: 2;
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 1px;
    }

    .footer-nav a {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 13px 13px 13px 5px;
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.88rem;
        font-weight: 700;
    }

    .footer-nav a:last-child {
        min-height: 36px;
        grid-column: 1 / -1;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.78rem;
        font-weight: 600;
    }

    .footer-copy {
        order: 3;
    }

    .footer-copy p {
        color: rgba(255, 255, 255, 0.76);
        font-size: 0.78rem;
    }

    .footer-copy p + p {
        margin-top: 4px;
        color: rgba(255, 255, 255, 0.58);
        font-size: 0.74rem;
    }

}

.media-credits-content {
    display: grid;
    max-width: 900px;
    gap: 24px;
}

.media-credit-card {
    padding: 28px;
    text-align: left;
}

.media-credit-card h2 {
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.media-credit-card p {
    margin-bottom: 14px;
    color: var(--muted-text);
}

.media-credit-card ul {
    display: grid;
    gap: 9px;
    padding-left: 20px;
}

.media-credit-card li {
    padding-left: 3px;
}

.media-credit-card a {
    color: var(--accent-blue);
    text-underline-offset: 3px;
}

.media-credit-card a:hover {
    color: var(--primary-blue);
}

.media-credit-card li + p {
    margin-top: 16px;
}

@media (max-width: 680px) {
    .media-credits-content {
        gap: 16px;
    }

    .media-credit-card {
        padding: 22px 19px;
    }
}
