/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:opsz,wght@8..144,300;400;500;600;700;800&family=Outfit:wght@800&display=swap');

:root {
    --font-main: 'Roboto Serif', serif;
    --font-logo: 'Roboto Serif', serif;

    /* Colors */
    --primary: #16532d;
    --primary-dark: #14532d;
    --secondary: #15803d;
    --accent: #22c55e;

    --bg-white: #ffffff;
    --bg-light: #f0fdf4;
    --text-main: #0f172a;
    --text-muted: #64748b;

    --gradient-brand: linear-gradient(135deg, #16532d 0%, #15803d 100%);
    --gradient-text: linear-gradient(135deg, #16532d 0%, #22c55e 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glare: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-light);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
    }
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: 5rem 0;
}

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

    .section-padding {
        padding: 3rem 0;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

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

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-gradient {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 2px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #14532d;
    /* Deep rich green from the image */
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.6),
        3px 3px 6px rgba(0, 0, 0, 0.2),
        0 6px 18px rgba(20, 83, 45, 0.15);
    /* Slightly higher intensity and spread */
    line-height: 1;
    display: flex;
    align-items: center;
    margin-top: 0.3rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.cta-button) {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.85;
}

.nav-links a:not(.cta-button):hover,
.nav-links a:not(.cta-button).active {
    color: var(--primary);
    opacity: 1;
}

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

.nav-links a:not(.cta-button):hover::after,
.nav-links a:not(.cta-button).active::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-brand);
    color: white !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(22, 83, 45, 0.2);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    -webkit-text-fill-color: initial;
    /* Override logo gradient if inherited */
}



.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(22, 83, 45, 0.3);
    color: white !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Nav Styles */
@media screen and (max-width: 991px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4rem 2rem;
        gap: 2rem;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a:not(.cta-button) {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .cta-button {
        width: 200px;
        font-size: 1.1rem;
        padding: 1rem;
    }

    /* Hamburger Animation */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem;
    /* Ensure safe spacing */
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-content {
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-content>* {
    opacity: 0;
    animation: slideUpFade 1s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 1.1s;
    /* Start after preloader */
}

.hero-content p {
    animation-delay: 1.3s;
}

.hero-content div {
    /* The button container */
    animation-delay: 1.5s;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Slight dark overlay for better text contrast if video is light, else just mostly transparent */
    backdrop-filter: blur(0px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: #f1f5f9;
    /* Off-white for readability */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Grid */
/* Services Section Background */
.services-section {
    background-color: var(--bg-light);
    background-image:
        radial-gradient(at 0% 0%, hsla(142, 63%, 35%, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(142, 63%, 45%, 0.1) 0px, transparent 50%),
        radial-gradient(#16532d 0.5px, transparent 0.5px),
        radial-gradient(#16532d 0.5px, var(--bg-light) 0.5px);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    background-position: 0 0, 0 0, 0 0, 10px 10px;
}

/* Services Grid */
/* Services Accordion */
/* Services Container (Tabs Layout) */
/* Services Container (Tabs Layout) */
.services-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 5rem;
}

/* Navigation Side */
.services-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    padding: 1.25rem 1.75rem;
    background: white;
    border-radius: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e2e8f0;
    margin-right: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    /* Fix visibility over active background */
}

.service-item h3 {
    margin: 0;
    font-size: 1.1rem;
    flex-grow: 1;
    color: var(--text-main);
    z-index: 1;
}

.service-item i {
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-brand);
    transition: width 0.3s ease;
    z-index: 0;
}

.service-item.active,
.service-item:hover {
    box-shadow: 0 10px 20px -5px rgba(22, 83, 45, 0.2);
    border-color: transparent;
}

.service-item.active::before {
    width: 100%;
}

.service-item.active h3,
.service-item.active .num,
.service-item.active i {
    color: white;
}

.service-item.active i {
    opacity: 1;
    transform: translateX(0);
}

/* Display Side */
.services-display {
    position: relative;
    min-height: 520px;
}

.display-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 4rem;
    /* More luxurious padding */
    border-radius: 2.5rem;
    /* Softer corners */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08), 0 10px 20px -5px rgba(22, 163, 74, 0.05);
    /* Multi-layered shadow */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.display-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    z-index: 1;
}

.display-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.display-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.display-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.feature-list {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-list li i {
    color: var(--accent);
    background: rgba(34, 197, 94, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .feature-list li {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
}

.btn-arrow {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-arrow:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

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

    .display-card {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .display-card.active {
        display: block;
    }

    .services-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .service-item {
        min-width: 200px;
        flex: 0 0 auto;
    }
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Process Section (Roadmap) */
.process-section {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.process-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.process-header h2 {
    color: var(--text-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.process-header p {
    color: var(--text-muted);
}

/* Roadmap Container */
.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Center Line */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: #e2e8f0;
    border-radius: 4px;
}

.roadmap-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0%;
    /* Animates to 100% via JS */
    background: var(--primary);
    border-radius: 4px;
    transition: height 2s ease;
    z-index: 0;
}

.roadmap-timeline.animate-line::after {
    height: 100%;
}

/* Roadmap Item */
.roadmap-item {
    display: flex;
    justify-content: flex-end;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    clear: both;
}

/* Alternating Sides */
.roadmap-item:nth-child(even) {
    justify-content: flex-start;
    margin-left: 50%;
}

.roadmap-item:nth-child(odd) {
    justify-content: flex-end;
}

/* Marker (The numbered circle on the line) */
.roadmap-marker {
    position: absolute;
    top: 0;
    width: 50px;
    height: 50px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    z-index: 2;
    box-shadow: 0 0 0 5px #f8fafc;
    /* Spacer from line */
    transition: all 0.4s ease;
}

.roadmap-item:nth-child(odd) .roadmap-marker {
    right: -25px;
    /* Half width of marker */
}

.roadmap-item:nth-child(even) .roadmap-marker {
    left: -25px;
}

.roadmap-item:hover .roadmap-marker {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.2);
}

/* Content Card */
.roadmap-content {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    position: relative;
    max-width: 400px;
    transition: all 0.4s ease;
    border-left: 4px solid transparent;
}

.roadmap-item:nth-child(even) .roadmap-content {
    border-left: none;
    border-right: 4px solid transparent;
}

.roadmap-item:hover .roadmap-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Arrow */
.roadmap-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.roadmap-item:nth-child(odd) .roadmap-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.roadmap-item:nth-child(even) .roadmap-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Inside Content */
.roadmap-content .step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.roadmap-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {

    .roadmap-timeline::before,
    .roadmap-timeline::after {
        left: 30px;
    }

    .roadmap-item {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 70px;
        padding-right: 0;
        justify-content: flex-start !important;
    }

    .roadmap-marker {
        left: 5px !important;
        right: auto !important;
    }

    .roadmap-content {
        max-width: 100%;
    }

    .roadmap-content::before {
        left: -10px !important;
        right: auto !important;
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent white transparent transparent !important;
    }

    .roadmap-item:nth-child(even) .roadmap-content {
        border-left: 4px solid transparent;
        border-right: none;
    }
}

.why-section {
    position: relative;
    overflow: hidden;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.bento-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bento-card.large {
    grid-column: span 2;
    background: var(--gradient-brand);
    color: white;
    justify-content: center;
}

.bento-card.tall {
    grid-row: span 2;
    background: #f0fdf4;
    /* Light green tint */
    border-color: rgba(22, 163, 74, 0.1);
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    width: 60px;
    height: 60px;
    background: rgba(22, 83, 45, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bento-card.large .bento-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.bento-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.bento-card.large p {
    color: rgba(255, 255, 255, 0.9);
}

.rocket-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg);
    transition: transform 0.5s ease;
}

.bento-card:hover .rocket-bg {
    transform: rotate(0deg) scale(1.1);
}

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

    .bento-card.large {
        grid-column: span 2;
        grid-row: auto;
    }

    .bento-card.tall {
        grid-row: auto;
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.large,
    .bento-card.tall {
        grid-column: auto;
    }
}

/* Buttons and Forms */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Turtle Adventure Roadmap */
.turtle-roadmap-container {
    padding: 2rem 0 6rem;
    max-width: 1100px;
    margin: 4rem auto;
    position: relative;
    text-align: left;
    background: radial-gradient(circle at 50% 50%, rgba(22, 163, 74, 0.03) 0%, transparent 70%);
    border-radius: 2rem;
}

/* 
   CRITICAL: The Motion Path (CSS) and SVG Path must share the EXACT same coordinate space.
   We force the track to be 1000px x 250px (matching the SVG viewBox) so they overlay perfectly.
*/
.turtle-track {
    position: relative;
    width: 1000px;
    height: 250px;
    margin: 60px auto 40px;
}

.roadmap-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
}

.path-progress {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 3s linear;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

.turtle-traveler {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
    z-index: 10;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    /* Center horizontal (-50%), Lift slightly (-60%) to ride the line */
    transform: translate(-50%, -60%);
    transition: offset-distance 3s linear;
    offset-path: path("M 50,100 C 200,200 300,200 400,100 S 600,0 750,100 S 950,200 950,100");
    offset-distance: 0%;
    margin-top: 0;
}

.turtle-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transform: rotate(90deg);
}

.animate-turtle .turtle-traveler {
    offset-distance: 100%;
}

.animate-turtle .path-progress {
    stroke-dashoffset: 0;
}

/* Points */
.travel-point {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 5;
    cursor: default;
    width: 20px;
    height: 20px;
}

/* Pulse Ripple Effect */
.travel-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    z-index: 1;
    transition: all 0.5s ease;
}

.travel-point.active::before {
    width: 80px;
    height: 80px;
    animation: ripple 2s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

.point-icon {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.train-point h3 {
    margin: 0;
}

.travel-point.active .point-icon {
    background: white;
    color: var(--primary);
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1), 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Info Cards (Glassmorphism) */
.point-info {
    position: absolute;
    width: 240px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--primary);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 20;
    text-align: center;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
}

.point-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.point-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Connectors */
.point-info::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.3;
}

/* Positioning */
.point-info.top {
    bottom: 60px;
}

.point-info.top::before {
    top: 100%;
}

.point-info.bottom {
    top: 60px;
}

.point-info.bottom::before {
    bottom: 100%;
    background: linear-gradient(to top, var(--primary), transparent);
}

/* First & Last Alignment Fixes */
.travel-point:nth-of-type(3) .point-info {
    left: 0;
    transform: translateX(0) translateY(15px);
    text-align: left;
}

.travel-point:nth-of-type(3) .point-info::before {
    left: 20px;
}

.travel-point:nth-of-type(3).active .point-info {
    transform: translateX(0) translateY(0);
}

.travel-point:nth-last-of-type(1) .point-info {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(15px);
    text-align: right;
}

.travel-point:nth-last-of-type(1) .point-info::before {
    left: auto;
    right: 20px;
}

.travel-point:nth-last-of-type(1).active .point-info {
    transform: translateX(0) translateY(0);
}

/* Show State */
.travel-point.active .point-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Remove old triangles */
.point-info::after {
    display: none;
}

/* Responsive */
@media (max-width: 1100px) and (min-width: 769px) {
    .turtle-track {
        transform: scale(0.8);
        transform-origin: center top;
    }
}

@media (max-width: 768px) {
    .turtle-roadmap-container {
        padding: 2rem 1.5rem;
        height: auto;
        overflow: visible;
        background: none;
        /* Simplify bg on mobile */
    }

    /* Vertical Line Container */
    .turtle-track {
        height: auto;
        width: 100%;
        margin: 0;
        transform: none;
        padding-left: 3rem;
        /* More space for the line */
        border-left: 3px dashed rgba(34, 197, 94, 0.3);
        /* The Timeline */
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .roadmap-svg,
    .turtle-traveler {
        display: none !important;
    }

    /* Card Wrapper */
    .travel-point {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        height: auto;
        margin: 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    /* Active State Mobile */
    .travel-point.active {
        border-left: 4px solid var(--primary);
        box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
        transform: translateX(5px) !important;
    }

    /* Icon on the Line */
    .point-icon {
        position: absolute;
        left: -4.1rem;
        /* Perfectly aligned on the dashed line (3rem padding + dashed border width calc) */
        top: 1.5rem;
        /* Align with first line of text */
        width: 36px;
        height: 36px;
        background: white;
        border: 2px solid var(--primary);
        color: var(--primary);
        box-shadow: 0 0 0 4px white;
        /* Mask the line */
        z-index: 2;
        transform: none !important;
        /* Prevent desktop hover scale issues */
    }

    /* Text Content Reset - CRITICAL FIX */
    .travel-point .point-info,
    .travel-point:nth-of-type(n) .point-info {
        position: static !important;
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        text-align: left !important;
        background: transparent !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
    }

    .point-info::before,
    .point-info::after {
        display: none !important;
    }

    .point-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
        -webkit-text-fill-color: var(--text-heading);
        background: none;
        color: var(--text-heading);
    }
}

/* --- About Page Styles --- */

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(34, 197, 94, 0.08), transparent 70%);
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    /* Slate 800 */
}

.page-hero .lead {
    color: #475569;
    /* Slate 600 - Darker than muted */
    font-weight: 500;
}

.badge-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Story-Grid Layout */
.story-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    position: relative;
}

.story-header {
    position: sticky;
    top: 120px;
    height: fit-content;
    text-align: right;
    padding-right: 2rem;
    border-right: 2px solid #e2e8f0;
}

.chapter-marker {
    display: block;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(22, 163, 74, 0.1);
    line-height: 1;
    margin-bottom: -10px;
}

.story-header .section-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #0f172a;
}

.decorative-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-left: auto;
    border-radius: 2px;
}

/* Narrative Content */
.story-narrative {
    padding-top: 2rem;
}

.narrative-block {
    margin-bottom: 4rem;
}

.narrative-block h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.narrative-block h3::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
}

.narrative-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    background: none;
}

.narrative-quote {
    font-size: 1.75rem;
    font-weight: 300;
    font-style: italic;
    color: #1e293b;
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    margin: 4rem 0;
    line-height: 1.4;
}

/* Legacy Section Title Override */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.split-content p {
    color: #334155;
    /* Slate 700 */
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Core Values Dark Section (List Layout) */
.values-section-dark {
    background-color: #0f172a;
    /* Slate 900 */
    color: white;
}

.text-white {
    color: white !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.values-list {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
}

.value-row {
    display: flex;
    align-items: center;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    gap: 3rem;
    border-radius: 8px;
    /* Subtle radius for hover */
}

.value-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.value-row:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
    border-color: rgba(34, 197, 94, 0.4);
}

.value-index {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    font-family: var(--font-main);
    line-height: 1;
    min-width: 80px;
}

.value-row:hover .value-index {
    color: var(--primary);
}

.value-content {
    flex: 1;
}

.value-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.value-content p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 600px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.value-row:hover .value-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Values List */
@media (max-width: 768px) {
    .value-row {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .value-index {
        margin-bottom: 0.5rem;
    }

    .value-content p {
        margin: 0 auto;
    }

    .value-row:hover {
        transform: none;
    }
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
}

.cta-box {
    background: #0f172a;
    color: white;
    padding: 5rem 2rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.cta-box h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: #cbd5e1;
    /* Slate 300 */
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive About */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    /* Story Grid - Tablet */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-header {
        position: relative;
        top: auto;
        text-align: left;
        padding-right: 0;
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 2rem;
    }

    .decorative-line {
        margin-left: 0;
    }

    .story-header .section-title {
        font-size: 2.5rem;
    }

    .chapter-marker {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Page Hero - Mobile */
    .page-hero {
        padding: 5rem 0 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .page-hero h1 br {
        display: none;
    }

    .page-hero .lead {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Story Grid - Mobile */
    .story-grid {
        gap: 2rem;
    }

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

    .chapter-marker {
        font-size: 3rem;
    }

    .narrative-block {
        margin-bottom: 2.5rem;
    }

    .narrative-block h3 {
        font-size: 1.25rem;
    }

    .narrative-block p {
        font-size: 1rem;
    }

    .narrative-quote {
        font-size: 1.35rem;
        padding-left: 1.25rem;
        margin: 2.5rem 0;
    }

    /* CTA Section - Mobile */
    .cta-section {
        padding: 4rem 0;
    }

    .cta-box {
        padding: 3rem 1.5rem;
        border-radius: 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .cta-box p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Extra Small Screens - About Page */
@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 2.5rem;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }

    .badge-pill {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

    .chapter-marker {
        font-size: 2.5rem;
    }

    .narrative-block h3 {
        font-size: 1.15rem;
    }

    .narrative-block p {
        font-size: 0.95rem;
    }

    .narrative-quote {
        font-size: 1.15rem;
        padding-left: 1rem;
        margin: 2rem 0;
    }

    .value-index {
        font-size: 2.5rem;
        min-width: 60px;
    }

    .value-content h3 {
        font-size: 1.25rem;
    }

    .value-content p {
        font-size: 0.95rem;
    }

    .cta-box {
        padding: 2.5rem 1.25rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }
}

/* --- Services Aurora Glass Styles --- */
.aurora-services-section {
    background: #f8fafc;
    overflow: hidden;
    padding-bottom: 8rem;
}

.aurora-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 1rem 4rem;
    margin: 0 -1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.aurora-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.aurora-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.aurora-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(34, 197, 94, 0.2);
    border-radius: 10px;
}

.aurora-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding-right: 2rem;
}

.aurora-card {
    position: relative;
    background: white;
    border-radius: 2.5rem;
    padding: 3.5rem 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    width: 380px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

/* Color Themes */
.card-green .card-glow {
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 70%);
}

.card-blue .card-glow {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 70%);
}

.card-purple .card-glow {
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.15), transparent 70%);
}

.card-orange .card-glow {
    background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.15), transparent 70%);
}

.aurora-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.aurora-card:hover .card-glow {
    opacity: 1;
}

.floating-icon {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.5s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.card-green:hover .floating-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3);
}

.card-blue:hover .floating-icon {
    background: #3b82f6;
    color: white;
    transform: rotate(10deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.card-purple:hover .floating-icon {
    background: #a855f7;
    color: white;
    transform: rotate(10deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3);
}

.card-orange:hover .floating-icon {
    background: #f59e0b;
    color: white;
    transform: rotate(10deg) translateY(-5px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.aurora-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.aurora-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    flex: 1;
}

.card-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-footer .tag {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.arrow-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.aurora-card:hover .arrow-link {
    background: var(--primary);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .aurora-grid {
        grid-template-columns: 1fr;
    }

    .aurora-card {
        padding: 2.5rem 2rem;
    }
}

/* --- Quadrant Grid Styles --- */
.quadrant-section {
    background-color: #0f172a;
    /* Slate 900 */
}

.quadrant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.quadrant-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quadrant-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent 70%);
    pointer-events: none;
}

.card-number {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.quadrant-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.quadrant-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-focus {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-focus span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-focus i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Hover Effects */
.quadrant-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.quadrant-card:hover .card-icon {
    transform: scale(1.1);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Color Variations for Icons on Hover */
.quadrant-card.color-2:hover .card-icon {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
}

.quadrant-card.color-3:hover .card-icon {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
}

.quadrant-card.color-4:hover .card-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Responsive Quadrant */
@media (max-width: 768px) {
    .quadrant-grid {
        grid-template-columns: 1fr;
    }

    .quadrant-card {
        padding: 2rem;
    }
}

/* --- Portfolio Page Styles --- */
.portfolio-hero {
    background: #f8fafc;
    padding-bottom: 4rem;
}

.portfolio-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: stretch;
}

.project-card {
    position: relative;
    border-radius: 2.22rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
    height: 400px;
    /* Square shape for better grid balance */
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.08);
}

.portfolio-item {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float-slow 6s ease-in-out infinite alternate;
}

.portfolio-item:nth-child(even) {
    animation-delay: -3s;
}

@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.mobile-device-card {
    width: 260px;
    margin: 0 auto;
    border: 14px solid #1a202c;
    border-radius: 3.8rem !important;
    background: #1a202c;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.25);
}

.mobile-device-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #1a202c;
    border-radius: 20px;
    z-index: 10;
}

.mobile-device-card .project-image {
    border-radius: 2.2rem;
}

.mobile-device-card .image-overlay {
    border-radius: 2.2rem;
    padding: 1.5rem;
    /* Reduced padding for mobile */
}

.mobile-device-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.mobile-device-card p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.desktop-device-card {
    width: 620px;
    max-width: 100%;
    border: 12px solid #1e293b;
    border-top-width: 44px;
    border-radius: 1.8rem !important;
    background: #1e293b;
    position: relative;
    box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.3);
}

.desktop-device-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    box-shadow: 22px 0 0 #ffbd2e, 44px 0 0 #27c93f;
    z-index: 10;
}

.desktop-device-card .project-image {
    border-radius: 0.8rem;
    background: #0f172a;
    /* Deep slate for letterboxing */
}

.desktop-device-card .project-video {
    object-fit: contain;
    background: #000;
    /* Contain the video in the browser frame */
}

.desktop-device-card .image-overlay {
    border-radius: 0.8rem;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
    z-index: 1;
}

/* Video Controls Styling */
.project-video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.project-video::-webkit-media-controls-play-button,
.project-video::-webkit-media-controls-mute-button {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.project-video::-webkit-media-controls-current-time-display,
.project-video::-webkit-media-controls-time-remaining-display {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Make controls visible on hover */
.project-card:hover .project-video::-webkit-media-controls {
    opacity: 1;
}

.image-placeholder {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    transition: all 0.6s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(8px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.project-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    max-width: 320px;
}

.project-card:hover .overlay-content {
    transform: translateY(0);
}

.proj-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.overlay-content h4 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.view-project:hover {
    gap: 1.25rem;
    color: white;
}

/* Call to Action Mini */
.cta-mini h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-mini p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* Coming Soon Card */
.coming-soon-card {
    border: 2px dashed #e2e8f0;
    background: #f8fafc;
    box-shadow: none;
}

.coming-soon-content {
    text-align: center;
    padding: 2rem;
}

.coming-soon-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.coming-soon-content h4 {
    font-size: 1.5rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.coming-soon-content p {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Responsive Portfolio */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 3rem;
    }

    .desktop-device-card {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .mobile-device-card {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-card {
        aspect-ratio: 4/3;
        height: auto;
    }

    /* Filter Buttons - Mobile */
    .filter-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        margin-bottom: 2rem !important;
    }

    .filter-wrapper::-webkit-scrollbar {
        height: 4px;
    }

    .filter-wrapper::-webkit-scrollbar-thumb {
        background: rgba(22, 83, 45, 0.3);
        border-radius: 2px;
    }

    .filter-wrapper {
        display: flex;
        gap: 0.75rem;
        white-space: nowrap;
    }

    .filter-btn {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }

    /* Device Cards - Mobile */
    .desktop-device-card {
        width: 100%;
        max-width: 100%;
        border-top-width: 36px;
        border-width: 10px;
    }

    .desktop-device-card::before {
        top: -24px;
        left: 15px;
        width: 10px;
        height: 10px;
        box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #27c93f;
    }

    .mobile-device-card {
        width: 280px;
        border-width: 12px;
    }

    .mobile-device-card::before {
        width: 65px;
        height: 20px;
        top: 8px;
    }

    /* Increase project card height for mobile mockups */
    .portfolio-item:has(.mobile-device-card) .project-card {
        height: 500px;
    }

    /* Overlay Content - Mobile */
    .image-overlay {
        padding: 2rem 1.5rem;
    }

    .overlay-content {
        max-width: 100%;
    }

    .overlay-content h4 {
        font-size: 1.35rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .proj-category {
        font-size: 0.7rem;
    }

    /* Coming Soon Card - Mobile */
    .coming-soon-content {
        padding: 1.5rem;
    }

    .coming-soon-content i {
        font-size: 2rem;
    }

    .coming-soon-content h4 {
        font-size: 1.25rem;
    }

    .coming-soon-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        gap: 2rem;
    }

    .desktop-device-card {
        border-top-width: 30px;
        border-width: 8px;
    }

    .desktop-device-card::before {
        top: -20px;
        left: 12px;
        width: 8px;
        height: 8px;
        box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
    }

    .mobile-device-card {
        width: 260px;
        border-width: 10px;
    }

    /* Increase project card height for mobile mockups on small screens */
    .portfolio-item:has(.mobile-device-card) .project-card {
        height: 480px;
    }

    .overlay-content h4 {
        font-size: 1.2rem;
    }

    .overlay-content p {
        font-size: 0.85rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.05), transparent 70%);
    pointer-events: none;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.badge-pill {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 2rem;
}

.text-3d {
    color: var(--primary);
    position: relative;
    display: inline-block;
    text-shadow:
        1px 1px 0px rgba(255, 255, 255, 0.5),
        3px 3px 0px rgba(0, 0, 0, 0.05);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.contact-sidebar {
    padding: 2rem 0;
}

.contact-sidebar::after {
    display: none;
}

.contact-sidebar h2 {
    color: var(--text-main);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 800;
}

.sidebar-info-group {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.sidebar-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.sidebar-icon {
    width: 54px;
    height: 54px;
    background: rgba(20, 83, 45, 0.05);
    border: 1px solid rgba(20, 83, 45, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #14532d;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-item:hover .sidebar-icon {
    background: #14532d;
    color: white;
    transform: translateY(-5px);
}

.sidebar-text h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.sidebar-text p {
    color: var(--text-muted);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-main-form {
    padding: 0;
}

.contact-main-form h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-main);
    font-weight: 800;
}

.split-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 1rem;
}

.minimal-field {
    margin-bottom: 2.5rem;
    position: relative;
}

.minimal-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.minimal-input {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 2px solid #f1f5f9;
    font-family: var(--font-main);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: transparent;
    outline: none;
    color: var(--text-main);
}

.minimal-input::placeholder {
    color: #cbd5e1;
    font-weight: 300;
}

.minimal-input:focus {
    border-color: #22c55e;
}

.minimal-field:focus-within label {
    color: #22c55e;
}

.minimal-textarea {
    min-height: 150px;
    resize: none;
}

.submit-arrow-btn {
    background: #14532d;
    color: white;
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px -10px rgba(20, 83, 45, 0.3);
}

.submit-arrow-btn:hover {
    transform: translateY(-8px) scale(1.02);
    background: #166534;
    box-shadow: 0 20px 45px -12px rgba(20, 83, 45, 0.4);
}

.submit-arrow-btn i {
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submit-arrow-btn:hover i {
    transform: translateX(8px);
}

@media screen and (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        border-radius: 1.5rem;
    }

    .contact-sidebar {
        padding: 4rem 3rem;
    }

    .contact-main-form {
        padding: 4rem 3rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 600px) {
    .split-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-main-form {
        padding: 3rem 1.5rem;
    }

    .contact-sidebar {
        padding: 3rem 1.5rem;
    }
}

/* Legal Pages Styling */
.legal-wrapper {
    padding: 10rem 0 8rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content {
    background: white;
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 800;
}

.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.legal-content p,
.legal-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.legal-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2.5rem 1.5rem;
        border-radius: 1.5rem;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }
}