/* -----------------------------------------------------------------------------
   1. Variables & Reset
----------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #5035FF;
    /* Vibrant Purple/Blue from Tildei */
    --color-primary-dark: #4029cc;
    --color-text-main: #181D27;
    /* Deep dark grey/blue for headings */
    --color-text-body: rgba(24, 29, 39, 0.75);
    --color-bg-body: #FFFFFF;
    --color-bg-light: #F9FAFB;

    /* Gradients / Glows */
    --glow-purple: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(11, 15, 22, 0) 70%);
    --glow-blue: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(11, 15, 22, 0) 70%);
    --glow-sun: radial-gradient(circle, rgba(255, 159, 67, 0.12) 0%, rgba(255, 87, 87, 0.05) 60%, rgba(11, 15, 22, 0) 70%);
    /* RGV Sun: Orange -> Soft Red */

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-pill: 50px;
    --radius-card: 12px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-body);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Safe Area Support */
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* -----------------------------------------------------------------------------
   2. Typography
----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
}

.italic {
    font-style: italic;
}

/* -----------------------------------------------------------------------------
   3. Buttons
----------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    /* Increased padding */
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 53, 255, 0.25);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* -----------------------------------------------------------------------------
   4. Header
----------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 15, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    /* Logo and Nav padding transitions */
}

/* Scrolled 'Pill' State */
.site-header.scrolled {
    top: 20px;
    width: 90%;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background-color: rgba(11, 15, 22, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-bottom: none;
    padding: 0 10px;
    /* Slight side padding adjustment */
}

/* Hide announcement bar when scrolled to keep pill clean */
.site-header.scrolled .announcement-bar {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.announcement-bar {
    background: linear-gradient(90deg, #181D27 0%, #2A3342 100%);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
}

.announcement-bar a {
    text-decoration: underline;
    opacity: 0.9;
}

.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    padding: 12px 16px;
    /* Increased for touch targets (44px+) */
    border-radius: 8px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Dropdown Menu */
.nav-item.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(11, 15, 22, 0.95);
    backdrop-filter: blur(12px);
    min-width: 240px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: rgba(80, 53, 255, 0.05);
    color: var(--color-primary);
    transform: translateX(4px);
}

.login-link {
    color: var(--color-text-body);
}

.mobile-menu-btn {
    display: none;
}

/* -----------------------------------------------------------------------------
   5. Hero Section
----------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 140px;
    overflow: hidden;
    background-color: #0b0f16 !important;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.hero-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.8;
}

.hero-visual {
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1;
    z-index: 10;
}

/* 3D Hero Canvas */
#hero-canvas {
    position: absolute;
    width: 160%;
    height: 160%;
    max-width: none;
    outline: none;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Cleanup old styles */
/* .isometric-graphic-container... removed */



/* -----------------------------------------------------------------------------
   6. Responsive
----------------------------------------------------------------------------- */
/* -----------------------------------------------------------------------------
   6. Responsive
----------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 100px 32px 32px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        gap: 24px;
        overflow-y: auto;
    }

    .nav-item.dropdown {
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
        backdrop-filter: none;
        display: none;
        /* Hide default on mobile, use hover/active */
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 10px 0;
        color: var(--color-text-body);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-actions {
        display: none;
        /* Keep hidden for now or move inside nav-links if needed */
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        transition: all 0.3s ease;
    }

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

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(4px);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.no-scroll {
        overflow: hidden;
    }

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

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .glow {
        width: 300px;
        height: 300px;
    }
}

/* -----------------------------------------------------------------------------
   7. Services Section (Dark Theme)
----------------------------------------------------------------------------- */
.services-section {
    background-color: #0b0f16;
    /* Deep dark blue/black */
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.section-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 24px;
    margin-top: 0;
}

.section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.6;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(80, 53, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.card-icon-placeholder {
    margin-bottom: auto;
    /* Pushes content down */
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(80, 53, 255, 0.2), rgba(80, 53, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
}

.service-title {
    font-size: 24px;
    font-family: var(--font-sans);
    /* Clean sans for card titles as per reference */
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.service-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Card Visuals */
.card-visual {
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 24px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover .card-visual img {
    transform: scale(1.05);
    /* Zoom effect */
}

/* Subtle dots pattern for tech feel */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    pointer-events: none;
}

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

    .section-title {
        font-size: 36px;
    }
}

/* -----------------------------------------------------------------------------
   8. Animation Utilities
----------------------------------------------------------------------------- */
.services-section .container {
    position: relative;
    z-index: 2;
    /* Ensure content is above lines */
}

/* Background Lines Animation */
.bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    /* Behind content but in section */
    pointer-events: none;
}

.bg-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    /* Slightly increased opacity */
}

.bg-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(80, 53, 255, 0.8), transparent);
    /* Brighter beam */
    animation: drop 10s infinite cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Specific Line Positions & Delays */
.bg-line:nth-child(1) {
    left: 15%;
}

.bg-line:nth-child(1)::after {
    animation-delay: 0s;
    animation-duration: 12s;
}

.bg-line:nth-child(2) {
    left: 35%;
}

.bg-line:nth-child(2)::after {
    animation-delay: 5s;
    animation-duration: 8s;
}

.bg-line:nth-child(3) {
    left: 65%;
}

.bg-line:nth-child(3)::after {
    animation-delay: 2s;
    animation-duration: 15s;
}

.bg-line:nth-child(4) {
    left: 85%;
}

.bg-line:nth-child(4)::after {
    animation-delay: 8s;
    animation-duration: 10s;
}

@keyframes drop {
    0% {
        transform: translateY(-300px);
    }

    100% {
        transform: translateY(1500px);
    }
}

/* -----------------------------------------------------------------------------
   8. Portfolio Section
----------------------------------------------------------------------------- */
.portfolio-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-color: #0b0f16;
}

/* Ensure container sits correctly */
.portfolio-section .container {
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* removed invalid property */
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 24px;
}

.portfolio-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 8px;
}

.portfolio-section .section-title {
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

/* -----------------------------------------------------------------------------
   9. Contact Section
----------------------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    position: relative;
    background-color: #0b0f16;
    overflow: hidden;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    z-index: 2;
    position: relative;
}

.contact-visual {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#globe-canvas {
    width: 100%;
    height: 100%;
}

.contact-details {
    margin: 40px 0;
    display: grid;
    gap: 30px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 5px;
}

.contact-link,
.contact-address {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        height: 400px;
        order: -1;
        /* Globe on top on mobile */
    }
}

.portfolio-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 20px;
}

.portfolio-link {
    font-size: 14px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portfolio-link .arrow {
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-link .arrow {
    transform: translateX(4px);
}

/* -----------------------------------------------------------------------------
   9. Process Section
----------------------------------------------------------------------------- */
.process-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(11, 15, 22, 0) 0%, rgba(11, 15, 22, 0.5) 100%);
}

.process-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.process-left {
    position: sticky;
    top: 150px;
    width: 40%;
    padding-right: 40px;
}

.process-intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.skip-link {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.skip-link:hover {
    border-color: var(--color-primary);
}

.process-steps {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.step-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    display: block;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Mobile Horizontal Scroll */
@media (max-width: 900px) {
    .process-container {
        display: block;
    }

    .process-left {
        position: static;
        width: 100%;
        margin-bottom: 40px;
        padding-right: 0;
    }

    .process-steps {
        width: 100%;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        /* Space for scrollbar */
        padding-right: 20px;
    }

    .process-step {
        min-width: 85vw;
        scroll-snap-align: start;
        transform: none !important;
        /* Disable desktop hover effect on mobile */
    }

    /* Hide scrollbar visually but keep functionality */
    .process-steps::-webkit-scrollbar {
        height: 6px;
    }

    .process-steps::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 3px;
    }

    .process-steps::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }
}

/* -----------------------------------------------------------------------------
   10. Footer
----------------------------------------------------------------------------- */
.site-footer {
    background-color: #0b0f16;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 32px;
    color: #ffffff;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-logo {
    color: #ffffff;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    width: 100%;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* -----------------------------------------------------------------------------
   10. New Sections: GEO Nugget, Why RGV, Trust
----------------------------------------------------------------------------- */

/* GEO Nugget Section */
.geo-nugget-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.geo-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(80, 53, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.geo-title {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-weight: 600;
}

.geo-answer {
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-text-body);
}

.geo-answer strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Why the RGV Section */
.about-rgv-section {
    background-color: #0b0f16;
    color: #ffffff;
    padding: 120px 0;
    overflow: hidden;
}

.rgv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rgv-content .section-title {
    margin-bottom: 32px;
}

.rgv-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-val {
    font-size: 42px;
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-sans);
}

.stat-lbl {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rgv-visual {
    height: 500px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.trust-grid:hover {
    opacity: 1;
    filter: grayscale(0);
}

.trust-badge {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* -----------------------------------------------------------------------------
   X. Portfolio Section
----------------------------------------------------------------------------- */
.portfolio-section {
    padding: 120px 0;
    position: relative;
    background-color: #05070a;
    /* Slightly darker than hero/services for depth */
    overflow: hidden;
}

/* Subtle Animated Background */
.portfolio-bg-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, transparent 60%);
    opacity: 0.5;
    animation: slowRotate 40s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes slowRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

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

.portfolio-section .container {
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.portfolio-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1e293b;
    /* Placeholder color before image loads */
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.portfolio-card .card-content {
    padding: 32px;
}

.portfolio-card .card-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 600;
}

.portfolio-card .card-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-actions {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 1000px) {
    .rgv-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .rgv-stats {
        justify-content: center;
    }

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

@media (max-width: 600px) {
    .geo-card {
        padding: 32px 24px;
    }

    .geo-title {
        font-size: 22px;
    }

    .stat-val {
        font-size: 32px;
    }
}