/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

:root {
    --primary-color: #0b1220;
    --primary-dark: #070d18;
    --secondary-color: #0f766e;
    --accent-color: #e0b15a;
    --text-dark: #0b1220;
    --text-light: #526070;
    --text-white: #ffffff;
    --bg-white: #fdfbf6;
    --bg-light: #f3efe7;
    --bg-dark: #0b1220;
    --border-color: #e6dfd3;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'DM Serif Display', 'Times New Roman', serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* ===========================
   Header & Navigation
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 13, 24, 0.65);
    backdrop-filter: blur(18px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(224, 177, 90, 0.2);
}

.header.scrolled {
    box-shadow: 0 12px 30px rgba(11, 18, 32, 0.35);
    background: rgba(7, 13, 24, 0.92);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter:
        drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2))
        drop-shadow(0 0 20px rgba(96, 165, 250, 0.4));
}

.logo-link:hover .logo-text {
    color: var(--accent-color);
}

/* Mobiel: alleen logo */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .logo-image {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(224, 177, 90, 0.08);
}

.nav-menu li {
    position: relative;
}

.nav-menu li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

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

.nav-link.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
    border-radius: 3px;
}

/* ===========================
   Hero Section with Tech Pattern
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(224, 177, 90, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(15, 118, 110, 0.2), transparent 50%),
        linear-gradient(135deg, #0b1220 0%, #0f2433 45%, #123142 100%);
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
    mix-blend-mode: screen;
    transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
    transition: transform 0.6s ease;
}

.hero-overlay-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-grid path {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.hero-rings circle {
    fill: none;
    stroke: rgba(224, 177, 90, 0.25);
    stroke-width: 1.2;
}

.hero-nodes circle {
    fill: rgba(224, 177, 90, 0.45);
}

.hero-lines path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
}

.hero-rings,
.hero-nodes,
.hero-lines {
    animation: slowDrift 18s ease-in-out infinite;
}

.hero-grid {
    animation: slowGrid 30s ease-in-out infinite;
}

.hero-sheen {
    animation: sweep 18s ease-in-out infinite;
    opacity: 0.5;
}

.hero-halo {
    animation: breathe 12s ease-in-out infinite;
    opacity: 0.7;
}

/* Animated tech pattern background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(224, 177, 90, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(224, 177, 90, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

/* Geometric decorative elements */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 177, 90, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Additional decorative shapes */
.hero .geo-shape {
    position: absolute;
    opacity: 0.05;
}

.hero .geo-shape-1 {
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-color);
    transform: rotate(45deg);
    animation: rotate 20s linear infinite;
}

.hero .geo-shape-2 {
    bottom: 15%;
    right: 8%;
    width: 150px;
    height: 150px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero .geo-shape-3 {
    top: 50%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(224, 177, 90, 0.12);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes rotate {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.05;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.08;
    }
}

@keyframes slowDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-12px, 10px, 0);
    }
}

@keyframes slowGrid {
    0%, 100% {
        transform: translate3d(0, 0, 0);
        opacity: 0.75;
    }
    50% {
        transform: translate3d(10px, -8px, 0);
        opacity: 0.9;
    }
}

@keyframes sweep {
    0% {
        transform: translateX(-260px);
        opacity: 0;
    }
    35% {
        opacity: 0.55;
    }
    70% {
        transform: translateX(1280px);
        opacity: 0.2;
    }
    100% {
        transform: translateX(1280px);
        opacity: 0;
    }
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.75;
    }
}

.hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding-bottom: 4rem;
}

.hero-brand {
    font-size: 5.2rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: var(--text-white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.6rem;
    line-height: 0.95;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 1.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-badges span {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(224, 177, 90, 0.4);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: rgba(11, 18, 32, 0.35);
    backdrop-filter: blur(6px);
}

.hero-name {
    font-size: 3rem;
    font-weight: 400;
    font-family: var(--font-sans);
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-footnote {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #f0c77a);
    color: #3a2a0f;
    box-shadow: 0 12px 24px rgba(224, 177, 90, 0.35);
    border-bottom: 3px solid rgba(122, 82, 24, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(224, 177, 90, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
    border-bottom-width: 1px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 0 1px rgba(224, 177, 90, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(224, 177, 90, 0.7);
    box-shadow: 0 12px 24px rgba(11, 18, 32, 0.4);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 2s ease-in-out infinite;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Services Section
   =========================== */

.services {
    padding: 6rem 0;
    background-color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 177, 90, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 400;
    font-family: var(--font-sans);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 18px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 12px 28px rgba(11, 18, 32, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(224, 177, 90, 0.06), rgba(15, 118, 110, 0.04));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 18, 32, 0.15);
    border-color: rgba(224, 177, 90, 0.6);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #1aa297);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.35);
}

/* Lucide Icons in service cards */
.service-icon i[data-lucide] {
    width: 48px;
    height: 48px;
    stroke-width: 2;
    color: currentColor;
}

.service-card:hover .service-icon i[data-lucide] {
    stroke-width: 2.5;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===========================
   About Section
   =========================== */

.about {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.about::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -100px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(15, 118, 110, 0.08);
    border-radius: 50%;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(224, 177, 90, 0.08), transparent);
    transform: rotate(45deg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-photo-container {
    position: relative;
    display: block;
    width: auto;
    max-width: 350px;
}

.profile-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(11, 18, 32, 0.25),
        0 0 0 15px rgba(224, 177, 90, 0.1),
        0 0 0 30px rgba(224, 177, 90, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.profile-photo-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    opacity: 0.2;
    z-index: 1;
}

.profile-photo-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    opacity: 0.1;
    z-index: 1;
}

.about-image:hover .profile-photo {
    transform: scale(1.05);
    box-shadow:
        0 25px 60px rgba(11, 18, 32, 0.35),
        0 0 0 15px rgba(224, 177, 90, 0.15),
        0 0 0 30px rgba(224, 177, 90, 0.08);
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    padding: 6rem 0;
    background-color: var(--bg-white);
    position: relative;
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.contact-item svg {
    color: var(--secondary-color);
}

.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 239, 231, 0.95));
    border: 1px solid rgba(224, 177, 90, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(11, 18, 32, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-card-header p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-mail {
    align-self: flex-start;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(11, 18, 32, 0.1);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.contact-link:hover {
    border-color: rgba(224, 177, 90, 0.6);
    color: var(--secondary-color);
    box-shadow: 0 12px 24px rgba(11, 18, 32, 0.12);
    transform: translateY(-2px);
}

.contact-link svg {
    stroke: currentColor;
}

.contact-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-light);
    border-top: 1px solid rgba(11, 18, 32, 0.08);
    padding-top: 1rem;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f2433 100%);
    color: var(--text-white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(224, 177, 90, 0.08);
}

.footer-links a {
    position: relative;
}

.footer-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    animation: footerFade 1.4s ease both;
}

.footer-meta-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.footer-sep {
    color: rgba(224, 177, 90, 0.65);
}

@keyframes footerFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Scroll Animations
   =========================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animation for service cards */
.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* ===========================
   Terms & Conditions Page Styles
   =========================== */

.terms-page {
    padding: 8rem 0 4rem;
    background-color: var(--bg-white);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(11, 18, 32, 0.08);
}

.terms-content h1 {
    font-size: 2.6rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.terms-content h2 {
    font-size: 1.6rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.terms-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.terms-content ul,
.terms-content ol {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-button:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content .section-title {
        text-align: center;
    }

    .contact-content {
        width: 100%;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(7, 13, 24, 0.98), rgba(11, 23, 34, 0.98));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 1.5rem;
        border-radius: 0;
        border: none;
    }

    .nav-menu li:not(:last-child)::after {
        content: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-brand {
        font-size: 3rem;
        letter-spacing: 0.4rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
    }

    .hero-name {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-badges span {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-scroll {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .contact-actions {
        grid-template-columns: 1fr;
    }

    .contact-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .profile-photo-container {
        max-width: 280px;
    }

    .terms-content {
        padding: 2rem;
        border-radius: 20px;
    }

    .hero .geo-shape-1,
    .hero .geo-shape-2,
    .hero .geo-shape-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 2.2rem;
        letter-spacing: 0.3rem;
    }

    .hero-tagline {
        font-size: 0.7rem;
    }

    .hero-name {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .hero-badges span {
        font-size: 0.7rem;
        letter-spacing: 0.4px;
    }

    .service-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .profile-photo-container {
        max-width: 220px;
    }

    .footer-links {
        flex-direction: column;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .footer-links a:not(:last-child)::after {
        content: none;
    }

    .footer-meta-row {
        gap: 0.4rem;
    }
}

@media (max-height: 700px) {
    .hero-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-overlay,
    .hero-overlay *,
    .hero::before,
    .hero::after {
        animation: none !important;
        transition: none !important;
    }
}
