/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #3D88C8;
    --color-accent: #FBB040;
    --color-background-light: #f6f7f8;
    --color-background-dark: #101B40;
    --color-surface-dark: #18264D;
    --color-subtle: #E0E7F4;

    /* RGB values for alpha compositing */
    --color-primary-rgb: 61, 136, 200;
    --color-accent-rgb: 251, 176, 64;
    --color-white-rgb: 255, 255, 255;
    --color-background-dark-rgb: 16, 27, 64;

    /* Fonts */
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Noto Sans", sans-serif;

    /* Container widths */
    --container-xl: 80rem;
    --container-lg: 56rem;

    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;

    /* Shadows */
    --shadow-glow-primary: 0 0 15px rgba(var(--color-primary-rgb), 0.3);
    --shadow-glow-primary-lg: 0 0 20px rgba(var(--color-primary-rgb), 0.4);
    --shadow-glow-accent: 0 0 15px rgba(var(--color-accent-rgb), 0.3);
    --shadow-glow-accent-lg: 0 0 20px rgba(var(--color-accent-rgb), 0.4);
    --shadow-star-glow: 0 0 4px rgba(255, 255, 255, 0.5);
    --shadow-star-glow-diffuse: 0 0 10px rgba(255, 255, 255, 1);
}

@keyframes twinkle {
    from { opacity: 100%; }
    to { opacity: 20%; }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateX(-50%) translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}


/* ========================================
   GLOBAL STYLES
   ======================================== */

/* Global Styles */
html.dark {
    color-scheme: dark;
}

body {
    font-family: var(--font-display);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
}

h1 {
    font-size: 3em;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.25em;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

p {
    line-height: 1.625;
    font-size: 1.125rem;
}

body.light-mode {
    background-color: var(--color-background-light);
    color: #0f172a;
}

body.dark-mode {
    background-color: var(--color-background-dark);
    color: white;
}

::selection {
    background-color: var(--color-accent);
    color: var(--color-background-dark);
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(var(--color-white-rgb), 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--color-white-rgb), 0.05);
}

.star-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.services-body .star-container {
    height: 250%;
}

.star {
    position: absolute;
    background-color: var(--color-subtle);
    border-radius: 50%;
    animation: twinkle ease-in-out infinite alternate;
    box-shadow: var(--shadow-star-glow), var(--shadow-star-glow-diffuse);
}

@media (prefers-reduced-motion: reduce) {
    .star {
        animation: none;
    }
}

.sm-star {
    width: 2px;
    height: 2px;
}
.md-star {
    width: 3px;
    height: 3px;
}
.lg-star {
    width: 5px;
    height: 5px;
}

/* Varied animation durations and delays for each star */
.star:nth-child(1) { animation-duration: 3.2s; animation-delay: 0s; }
.star:nth-child(2) { animation-duration: 2.8s; animation-delay: 0.5s; }
.star:nth-child(3) { animation-duration: 3.5s; animation-delay: 1.2s; }
.star:nth-child(4) { animation-duration: 2.5s; animation-delay: 0.3s; }
.star:nth-child(5) { animation-duration: 3.1s; animation-delay: 1.8s; }
.star:nth-child(6) { animation-duration: 2.9s; animation-delay: 0.7s; }
.star:nth-child(7) { animation-duration: 3.3s; animation-delay: 1.5s; }
.star:nth-child(8) { animation-duration: 2.7s; animation-delay: 0.9s; }
.star:nth-child(9) { animation-duration: 3.4s; animation-delay: 0.2s; }
.star:nth-child(10) { animation-duration: 2.6s; animation-delay: 1.1s; }
.star:nth-child(11) { animation-duration: 3.0s; animation-delay: 0.6s; }
.star:nth-child(12) { animation-duration: 2.8s; animation-delay: 1.7s; }
.star:nth-child(13) { animation-duration: 3.2s; animation-delay: 0.4s; }
.star:nth-child(14) { animation-duration: 2.9s; animation-delay: 1.3s; }
.star:nth-child(15) { animation-duration: 3.1s; animation-delay: 0.8s; }
.star:nth-child(16) { animation-duration: 2.7s; animation-delay: 1.6s; }
.star:nth-child(17) { animation-duration: 3.3s; animation-delay: 0.1s; }
.star:nth-child(18) { animation-duration: 2.5s; animation-delay: 1.4s; }
.star:nth-child(19) { animation-duration: 3.4s; animation-delay: 0.9s; }
.star:nth-child(20) { animation-duration: 2.6s; animation-delay: 1.0s; }
.star:nth-child(21) { animation-duration: 3.0s; animation-delay: 0.5s; }
.star:nth-child(22) { animation-duration: 2.8s; animation-delay: 1.9s; }
.star:nth-child(23) { animation-duration: 3.2s; animation-delay: 0.7s; }
.star:nth-child(24) { animation-duration: 2.9s; animation-delay: 1.2s; }
.star:nth-child(25) { animation-duration: 3.1s; animation-delay: 0.3s; }
.star:nth-child(26) { animation-duration: 2.7s; animation-delay: 1.5s; }
.star:nth-child(27) { animation-duration: 3.3s; animation-delay: 0.6s; }
.star:nth-child(28) { animation-duration: 2.5s; animation-delay: 1.8s; }
.star:nth-child(29) { animation-duration: 3.4s; animation-delay: 0.2s; }
.star:nth-child(30) { animation-duration: 2.6s; animation-delay: 1.1s; }
.star:nth-child(31) { animation-duration: 3.0s; animation-delay: 0.8s; }
.star:nth-child(32) { animation-duration: 2.8s; animation-delay: 1.4s; }
.star:nth-child(33) { animation-duration: 3.2s; animation-delay: 0.4s; }
.star:nth-child(34) { animation-duration: 2.9s; animation-delay: 1.0s; }
.star:nth-child(35) { animation-duration: 3.1s; animation-delay: 0.6s; }
.star:nth-child(36) { animation-duration: 2.7s; animation-delay: 1.7s; }
.star:nth-child(37) { animation-duration: 3.3s; animation-delay: 0.3s; }
.star:nth-child(38) { animation-duration: 2.5s; animation-delay: 1.3s; }
.star:nth-child(39) { animation-duration: 3.4s; animation-delay: 0.8s; }
.star:nth-child(40) { animation-duration: 2.6s; animation-delay: 1.5s; }
.star:nth-child(41) { animation-duration: 3.0s; animation-delay: 0.2s; }
.star:nth-child(42) { animation-duration: 2.8s; animation-delay: 1.9s; }
.star:nth-child(43) { animation-duration: 3.2s; animation-delay: 0.5s; }
.star:nth-child(44) { animation-duration: 2.9s; animation-delay: 1.1s; }
.star:nth-child(45) { animation-duration: 3.1s; animation-delay: 0.7s; }
.star:nth-child(46) { animation-duration: 2.7s; animation-delay: 1.6s; }
.star:nth-child(47) { animation-duration: 3.3s; animation-delay: 0.4s; }
.star:nth-child(48) { animation-duration: 2.5s; animation-delay: 1.2s; }
.star:nth-child(49) { animation-duration: 3.4s; animation-delay: 0.9s; }
.star:nth-child(50) { animation-duration: 2.6s; animation-delay: 1.8s; }
.star:nth-child(51) { animation-duration: 3.0s; animation-delay: 0.1s; }
.star:nth-child(52) { animation-duration: 2.8s; animation-delay: 1.4s; }
.star:nth-child(53) { animation-duration: 3.2s; animation-delay: 0.6s; }
.star:nth-child(54) { animation-duration: 2.9s; animation-delay: 1.0s; }
.star:nth-child(55) { animation-duration: 3.1s; animation-delay: 0.3s; }
.star:nth-child(56) { animation-duration: 2.7s; animation-delay: 1.7s; }
.star:nth-child(57) { animation-duration: 3.3s; animation-delay: 0.8s; }
.star:nth-child(58) { animation-duration: 2.5s; animation-delay: 1.5s; }
.star:nth-child(59) { animation-duration: 3.4s; animation-delay: 0.2s; }
.star:nth-child(60) { animation-duration: 2.6s; animation-delay: 1.3s; }
.star:nth-child(61) { animation-duration: 3.0s; animation-delay: 0.5s; }
.star:nth-child(62) { animation-duration: 2.8s; animation-delay: 1.9s; }
.star:nth-child(63) { animation-duration: 3.2s; animation-delay: 0.7s; }
.star:nth-child(64) { animation-duration: 2.9s; animation-delay: 1.1s; }
.star:nth-child(65) { animation-duration: 3.1s; animation-delay: 0.4s; }
.star:nth-child(66) { animation-duration: 2.7s; animation-delay: 1.6s; }
.star:nth-child(67) { animation-duration: 3.3s; animation-delay: 0.9s; }


/* Constellation Background */
.constellation-bg {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 50%),
        radial-gradient(circle at 10% 20%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 30%),
        radial-gradient(white 1px, transparent 1px),
        radial-gradient(white 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 100px 100px;
    background-position: 0 0, 0 0, 0 0, 25px 25px;
}

header {
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
}

#skiptocontent a {
    padding: 8px;
    position: absolute;
    top: 110px;
    left: -180px;
    color: white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    background: #BF1722;
    -webkit-transition: top 1s ease-out;
    transition: left 1s ease-out;
    z-index: 100;
}

#skiptocontent a:focus {
    left:0px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-icon {
    /* width: 2rem; */
    height: 4rem;
}

/* Navigation */
nav {
    border-bottom: 1px solid rgba(var(--color-white-rgb), 0.05);
    background-color: rgba(var(--color-background-dark-rgb), 0.8);
    backdrop-filter: blur(12px);

    .nav-container {
        max-width: var(--container-xl);
        margin: 0 auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 5rem;
    }
    .desktop-menu {
        display: none;
        align-items: center;
        gap: 2rem;
    }
    .desktop-menu a {
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--color-subtle);
        text-decoration: none;
        transition: var(--transition-fast);
        line-height: 1.75em;
    }
    #selected {
        font-weight: 700;
        border-bottom: 2px solid var(--color-accent);
    }
    .desktop-menu a:hover {
        color: var(--color-primary);
    }
    .cta-button {
        background-color: var(--color-primary);
        color: white;
        font-size: 0.875rem;
        font-weight: 700;
        padding: 0.625rem 1.25rem;
        border-radius: var(--radius-md);
        border: none;
        cursor: pointer;
        transition: var(--transition-fast);
        box-shadow: var(--shadow-glow-primary);
    }
    .cta-button:hover {
        background-color: #2563eb;
        box-shadow: var(--shadow-glow-primary-lg);
    }
    .mobile-menu-button {
        display: flex;
        align-items: center;
        background-color: var(--color-primary);
        padding: 0.625rem 0.625rem;
        border-radius: var(--radius-md);
        border: none;
        cursor: pointer;
        transition: var(--transition-fast);
        box-shadow: var(--shadow-glow-primary);
    }
    .mobile-menu-button img {
        width: 1.5rem;
        height: 1.5rem;
    }
    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(var(--color-background-dark-rgb), 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(var(--color-white-rgb), 0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .mobile-menu.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    .mobile-menu-link {
        font-size: 1rem;
        font-weight: 500;
        color: var(--color-subtle);
        text-decoration: none;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-md);
        transition: var(--transition-fast);
        text-align: center;
    }
    .mobile-menu-link:hover {
        background-color: rgba(var(--color-white-rgb), 0.05);
        color: var(--color-primary);
    }
}

a:-webkit-any-link {
    text-decoration: none;
}

/* ========================================
   BASE UTILITY CLASSES
   ======================================== */

/* Button Base Classes */
.btn-base {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow-primary-lg);
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: scale(1.05);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-background-dark);
    box-shadow: var(--shadow-glow-accent-lg);
}

.btn-accent:hover {
    background-color: #fbbf24;
    transform: translateY(-0.25rem);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(var(--color-white-rgb), 0.2);
    color: white;
}

.btn-secondary:hover {
    border-color: rgba(var(--color-white-rgb), 0.5);
    background-color: rgba(var(--color-white-rgb), 0.05);
}

.btn-md {
    height: 3rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-lg {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
}

/* Glow Effect Base Classes */
.glow-base {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.glow-lg {
    width: 24rem;
    height: 24rem;
}

.glow-md {
    width: 16rem;
    height: 16rem;
}

.glow-primary {
    background-color: rgba(var(--color-primary-rgb), 0.2);
}

.glow-accent {
    background-color: rgba(var(--color-accent-rgb), 0.1);
}

/* Circle Step Base Classes */
.circle-step-base {
    border-radius: 50%;
    background-color: var(--color-background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.circle-step-lg {
    width: 6rem;
    height: 6rem;
}

.circle-step-md {
    width: 4rem;
    height: 4rem;
}

.circle-step-primary {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow-primary);
}

.circle-step-primary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.circle-step-accent {
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-glow-accent);
}

/* Card Base Class */
.card-base {
    position: relative;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
    transition: var(--transition-base);
    overflow: hidden;
}

.card-base:hover {
    transform: translateY(-0.25rem);
}

/* Gradient Text Base Class */
.text-gradient-base {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.text-gradient-primary-accent {
    background-image: linear-gradient(to right, var(--color-primary), #93c5fd, var(--color-accent));
}

/* Form Control Base Class */
.form-control-base {
    border-radius: var(--radius-md);
    background-color: var(--color-background-dark);
    border: 1px solid #2a3655;
    color: white;
    padding: 0.75rem 1rem;
    outline: none;
    transition: var(--transition-base);
}

.form-control-base::placeholder {
    color: rgba(224, 231, 244, 0.4);
}

.form-control-base:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero glow position only - base styles from .glow-base.glow-lg.glow-primary */
.hero-glow-1 {
    top: 25%;
    left: -5rem;
}

/* Hero glow position only - base styles from .glow-base.glow-lg.glow-accent */
.hero-glow-2 {
    bottom: 25%;
    right: -5rem;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subpage h1{
    font-size: 4rem;
}

.hero-description {
    color: var(--color-subtle);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-family: var(--font-body);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.heading-container {
    gap: 0.5rem;
    text-align: center;
    h2 {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    h3 {
        color: var(--color-accent);
        margin-top: 0;
    }
}

/* Value Proposition Section */
.value-section {
    padding: 6rem 0;
    position: relative;
}

.value-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: start;
}

.value-intro {
    width: 100%;
    position: relative;
    /* top: 6rem; */
    p {
        color: var(--color-subtle);
    }
    a {
        color: var(--color-accent);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
        transition: gap 0.2s;
    }
    a:hover {
        gap: 1rem;
    }
}

.highlight {
    color: var(--color-primary);
}


.value-features {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: background-color 0.2s;
}

.feature-card:hover {
    background-color: rgba(var(--color-white-rgb), 0.05);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card p {
    color: rgba(var(--color-white-rgb), 0.6);
    font-family: var(--font-body);
    font-size: 0.875rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: #0d1633;
    position: relative;
    overflow: hidden;
}

.services-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(var(--color-primary-rgb), 0.1), transparent);
    pointer-events: none;
}

.center-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.center-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
    padding-left:1rem;
    padding-right:1rem;
}

.services-snapshot {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-snapshot-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 9 / 10;
    width: 47.5%;
    h3 {
        margin-top: 0.5rem;
        margin-bottom: 0;
        transition: transform 0.3s;
    }
    p {
        color: rgba(var(--color-white-rgb), 0.7);
        font-size: 0.875rem;
        margin-top: 0;
        margin-bottom: 1.5rem;
        transform: translateY(1rem);
        opacity: 0;
        transition: var(--transition-base);
    }
}

.service-card-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    width: auto;
    transition: transform 0.7s;
}

.service-snapshot-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-background-dark), rgba(var(--color-background-dark-rgb), 0.8), transparent);
    background: linear-gradient(180deg, rgba(30, 39, 97, 0.50) 0%, #1E2761 100%);
    opacity: 0.9;
    transition: opacity 0.2s;
}

.service-snapshot-card:hover .service-card-overlay {
    opacity: 0.8;
}

.service-card-content {
    position: relative;
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
}

.service-icon {
    width: 24px;
    transition: transform 0.3s;
}

.service-snapshot-card:hover .service-icon {
    transform: translateY(-0.5rem);
}

.service-snapshot-card:hover h3 {
    transform: translateY(-0.5rem);
}

.service-snapshot-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

/* Process Timeline Section */
.process-section {
    padding: 6rem 0;
    background-color: var(--color-background-dark);
}

.left-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.process-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.process-header-left .process-label {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

.process-header-right {
    color: var(--color-subtle);
    max-width: 28rem;
    text-align: center;
}

.process-timeline {
    position: relative;
}

.process-line {
    display: none;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(var(--color-primary-rgb), 0.3), transparent);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    h3 {
        margin-top: 0;
        margin-bottom: 0;
    }
}

.process-step:hover .process-step-circle {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.75);
}

.process-step:hover .process-step-circle.accent-circle {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.75);
}

.process-step-circle .step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step-circle .step-number.accent-number {
    color: var(--color-accent);
}

.process-step-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
}

.process-step-content p {
    color: var(--color-subtle);
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background-color: #0d1633;
    overflow: hidden;
}

.testimonials-container {
    max-width: var(--container-lg);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.testimonials-icon {
    margin-bottom: 2.5rem;
    color: var(--color-primary);
}


.testimonials-quote {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.testimonials-quote .quote-highlight {
    color: var(--color-primary);
    font-weight: 700;
}

.testimonials-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonials-author-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-primary);
}

.testimonials-author-info {
    text-align: left;
    p {
        margin: 0;
    }
    p:nth-child(1) {
        color: white;
        font-weight: 700;
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
    p:nth-child(2) {
        color: var(--color-subtle);
        font-size: 0.875rem;
    }
}


/* CTA Section */
.cta-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--color-primary), #1d4ed8, var(--color-background-dark));
}

.cta-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
}

.cta-container {
    position: relative;
    z-index: 10;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
}

.cta-container p {
    color: #dbeafe;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* CTA buttons - styles inherited from .btn-base.btn-accent.btn-lg / .btn-base.btn-secondary.btn-lg */


/* LEGAL DOCUMENTS */
.service-terms {
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
    padding: 200px 100px 100px 100px;
    text-align: left;
    main {
        line-height: 1.6;
        max-width: 900px;
        margin: 0 auto;
        padding: 40px 20px;
        color: #e7e7e7;
        text-align: left;
    }
    h1 {
        font-size: 2.5em;
        margin-bottom: 0.5em;
        color: #ffffff;
    }
    h2 {
        font-size: 1.5em;
        margin-top: 2em;
        margin-bottom: 1em;
        color: #ffffff;
        text-transform: uppercase;
        border-bottom: 2px solid #e0e0e0;
        padding-bottom: 0.5em;
    }
    h3 {
        font-size: 1.2em;
        margin-top: 1.5em;
        margin-bottom: 0.75em;
        color: #f3f3f3;
    }
    .last-updated {
        color: #aaaaaa;
        font-style: italic;
        margin-bottom: 2em;
    }
    p {
        margin-bottom: 1em;
    }
    ul, ol {
        line-height: 1.5em;
    }
    .important {
        background-color: #fff3cd;
        border-left: 4px solid #ffc107;
        color: #101B41;
        padding: 1em;
        margin: 1em 0;
        line-height: 1.35em;
    }
    
    .definition-term {
        font-weight: bold;
        margin-top: 0.75em;
    }
}

.contact-box {
    background-color: #c4c4c434;
    padding: 1.5em;
    border-radius: 8px;
    h2 {
        margin-top: 0;
    }
    p {
        margin: .25rem 0;
    }
    a {
        color: var(--color-accent);
    }
}

/* Footer */
footer {
    background-color: var(--color-background-dark);
    border-top: 1px solid rgba(var(--color-white-rgb), 0.05);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 1;
    p {
        color: var(--color-subtle);
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    p {
        margin: 0;
    }
    a {
        color: var(--color-subtle);
        text-decoration: none;
        transition: color 0.2s;
    }
    img {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.footer-socials a:hover {
    color: white;
}

.footer-links {
    h4 {
        color: white;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        li {
            margin-bottom: 1rem;
            a {
                color: var(--color-subtle);
                text-decoration: none;
                font-size: 0.875rem;
                transition: color 0.2s;
            }
            a:hover {
                color: var(--color-primary);
            }
        }
    }
}

.footer-bottom {
    border-top: 1px solid rgba(var(--color-white-rgb), 0.05);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    p {
        color: var(--color-subtle);
        font-size: 0.75rem;
    }
}

/* Responsive Design - Tablets */
@media (min-width: 640px) {
    nav .nav-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

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

    .subpage .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: row;
        width: auto;
    }

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

    .cta-buttons {
        flex-direction: row;
    }

    .testimonials-quote {
        font-size: 2.25rem;
    }

    .value-intro {
        position: sticky;
    }
}

/* Responsive Design - Desktops */
@media (min-width: 768px) {
    nav .desktop-menu {
        display: flex;
    }

    nav .mobile-menu-button {
        display: none;
    }

    h1 {
        font-size: 4.5rem;
    }

    .heading-container {
        text-align: left;
    }

    .center-header .heading-container {
        text-align: center;
    }

    .value-content {
        flex-direction: row;
    }

    .value-intro {
        width: 33.333%;
    }

    .value-features {
        width: 66.667%;
    }

    .process-line {
        display: block;
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .process-step-circle {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }

    .process-step-content {
        padding-top: 8rem;
    }

    .process-header {
        flex-direction: row;
        align-items: flex-end;
    }

    .process-header-right {
        text-align: right;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

/* Responsive Design - Large Desktops */
@media (min-width: 1024px) {
    nav .nav-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    h1 {
        font-size: 6rem;
    }

    .social-proof-logos {
        gap: 5rem;
    }
    
    .service-snapshot-card {
        width: 23%;
    }
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #101B40;
}

::-webkit-scrollbar-thumb {
    background: #3D88C8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FBB040;
}

/* Stars Background */
.stars-bg {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(var(--color-primary-rgb), 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 25%);
}

/* About Page Main */
.about-main {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Story Section */
.story-section {
    width: 100%;
    padding: 4rem 0;
    max-width: var(--container-xl);
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.story-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: rgba(30, 30, 47, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid #2a2a41;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
}

.story-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.story-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-label-line {
    height: 1px;
    width: 2rem;
    background-color: var(--color-accent);
}

.story-label-text {
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-top: 0;
    margin-bottom: 0;
}

.story-text {
    color: var(--color-subtle);
    margin-top: 0;
    margin-bottom: 0;
}

/* Philosophy Section */
.philosophy-section {
    width: 100%;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    background-color: rgba(19, 19, 31, 0.3);
}

.philosophy-container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

/* Philosophy card - styles inherited from .card-base */
.philosophy-card {
    padding: 2rem;
    background-color: #1e1e2f;
    border-color: #2a2a41;
}

.philosophy-card.primary:hover {
    border-color: var(--color-primary);
}

.philosophy-card.accent:hover {
    border-color: var(--color-accent);
}

.philosophy-card-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem;
    opacity: 0.1;
    transition: opacity 0.3s;
}

.philosophy-card:hover .philosophy-card-bg-icon {
    opacity: 0.2;
}

.philosophy-card-bg-icon .material-symbols-outlined {
    font-size: 5rem;
}

.philosophy-card-icon {
    display: inline-flex;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background-color: var(--color-background-dark);
    border: 1px solid #2a2a41;
    transition: var(--transition-base);
}

.philosophy-card-icon .material-symbols-outlined {
    font-size: 1.875rem;
}

.philosophy-card-icon.primary {
    color: var(--color-primary);
}

.philosophy-card-icon.accent {
    color: var(--color-accent);
}

.philosophy-card:hover .philosophy-card-icon.primary {
    color: white;
    background-color: var(--color-primary);
}

.philosophy-card:hover .philosophy-card-icon.accent {
    color: white;
    background-color: var(--color-accent);
}

.philosophy-card p {
    color: var(--color-subtle);
}

/* Team Section */
.team-section {
    width: 100%;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    .center-container {
        max-width: var(--container-lg);
    }

    max-width: var(--container-lg);
    margin-left: auto;
    margin-right: auto;
}

.team-header-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

/* .team-header-description {
    color: var(--color-subtle);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
} */

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Team card - styles inherited from .card-base */
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e2f;
    border-color: #2a2a41;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.team-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #101B40);
    opacity: 0.5;
}

.team-card-image {
    position: relative;
    z-index: 10;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid;
}

.team-card-image.primary {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.3);
}

.team-card-image.accent {
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(var(--color-accent-rgb), 0.3);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-content {
    position: relative;
    z-index: 10;
}

.team-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.team-card-role {
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-card-role.primary {
    color: var(--color-primary);
}

.team-card-role.accent {
    color: var(--color-accent);
}

.team-card-bio {
    color: var(--color-subtle);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.team-card-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-card-links a {
    color: white;
    transition: color 0.2s;
}

.team-card-links a:hover.primary-link {
    color: var(--color-primary);
}

.team-card-links a:hover.accent-link {
    color: var(--color-accent);
}

/* AI Section */
.ai-section {
    width: 100%;
    padding: 4rem 0;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
}

.ai-container {
    width: 100%;
    max-width: 1280px;
}

.ai-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    background-color: #161f3a;
}

.ai-bg-gradient-1 {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: -5rem;
    margin-right: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.ai-bg-gradient-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: -5rem;
    margin-left: -5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(var(--color-primary-rgb), 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.ai-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 2.5rem;
}

.ai-text {
    flex: 1;
}

.ai-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-weight: 700;
    transition: gap 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.ai-link:hover {
    gap: 0.75rem;
}

.ai-link .material-symbols-outlined {
    font-size: 0.875rem;
}

.ai-visual {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid #2a2a41;
    background-color: #101B40;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ai-visual-ring-1 {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px dashed rgba(var(--color-primary-rgb), 0.3);
    animation: spin 30s linear infinite;
}

.ai-visual-ring-2 {
    position: absolute;
    inset: 1.5rem;
    border-radius: 50%;
    border: 3px dashed rgba(var(--color-accent-rgb), 0.3);
    animation: spin-reverse 50s linear infinite;
}


.ai-visual .material-symbols-outlined {
    font-size: 3.75rem;
    color: white;
}

/* Industry Section */
.industry-section {
    padding: 6rem 0rem;
    background-color: #0d1530;
}

.industry-header-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

.industry-header-description {
    color: var(--color-subtle);
    margin-top: 0.5rem;
}

.industry-header-button {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.industry-header-button:hover {
    color: white;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Industry card - styles inherited from .card-base */
.industry-card {
    background-color: #1e1e2f;
    border-color: #2a2a41;
    border-radius: var(--radius-md);
    cursor: default;
}

.industry-card.primary:hover {
    border-color: var(--color-primary);
    background-color: #25253a;
}

.industry-card.accent:hover {
    border-color: var(--color-accent);
    background-color: #25253a;
}

.industry-card-icon {
    transition: transform 0.3s;
    width: 2em;
}

.industry-card:hover .industry-card-icon {
    transform: scale(1.1);
}

.industry-card-icon .material-symbols-outlined {
    font-size: 2.5rem;
}

.industry-card-icon.primary {
    color: var(--color-primary);
}

.industry-card-icon.accent {
    color: var(--color-accent);
}

.industry-card p {
    font-size: 0.75rem;
    color: var(--color-subtle);
    margin-top: 0.5rem;
}

/* Responsive - Tablets */
@media (min-width: 768px) {
    .story-section {
        padding: 3rem 2.5rem;
    }

    .story-container {
        flex-direction: row;
        padding: 2rem;
    }

    .story-image {
        width: 50%;
        aspect-ratio: auto;
    }

    .story-content {
        width: 50%;
    }

    .philosophy-title {
        font-size: 2.25rem;
    }

    .philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-header-title {
        font-size: 2.25rem;
    }

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

    .ai-content {
        flex-direction: row;
        padding: 3rem;
    }

    .ai-visual {
        width: 33.333%;
    }

    .industry-header {
        flex-direction: row;
    }

    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   SERVICES PAGE SPECIFIC STYLES
   ======================================== */

/* Services Body */
.services-body {
    font-family: var(--font-display);
    -webkit-font-smoothing: antialiased;
    color: var(--color-subtle);
    background-color: var(--color-background-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.services-body.dark-mode {
    background-color: var(--color-background-dark);
}

/* Services Grid Section */
.services-grid-section {
    padding: 4rem 1rem;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Services card - styles inherited from .card-base */
.services-card {
    padding: 2rem;
    overflow: hidden;
}

.services-card-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1.5rem;
    opacity: 0.1;
    transition: opacity 0.3s;
    width: 180px;
    img {
        width: 100%;
    };
}

.services-card:hover .services-card-bg-icon {
    opacity: 0.2;
}

.services-card-bg-icon .material-symbols-outlined {
    font-size: 9rem;
    color: var(--color-primary);
}

.services-card:hover, .process-card:hover {
    background-color: #1e2b58;
}

.services-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background-color: rgba(var(--color-primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.services-card:hover {
    .services-card-icon {
        background-color: var(--color-primary);
        color: white;
        img {
            filter: brightness(0.25);
        }
    }
}
    

.services-card-icon .material-symbols-outlined {
    font-size: 1.5rem;
}

.services-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.services-card:hover .services-card-title {
    color: var(--color-accent);
}

.process-card:hover {
    .circle-step-primary {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }
    .process-card-title {
        color: var(--color-accent);
    }
}

.services-card-description {
    color: rgba(224, 231, 244, 0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.services-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    font-size: 0.875rem;
    color: rgba(224, 231, 244, 0.6);
}

.services-card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.services-card-list .material-symbols-outlined {
    color: var(--color-accent);
    font-size: 0.875rem;
}

.services-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

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

.services-card-link .material-symbols-outlined {
    margin-left: 0.25rem;
    font-size: 0.875rem;
    transition: transform 0.3s;
}

.services-card-link:hover .material-symbols-outlined {
    transform: translateX(0.25rem);
}


.services-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.process-step-container {
    display: contents;
}

.process-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    margin-bottom: 0.75rem;
    h3 {
        flex: 1;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1rem;
    }
}

.process-card-img {
    /* display: none; */
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
}

/* Mobile: Show detail cards after their corresponding process card */
.services-process > .card-base.glass-panel {
    margin-bottom: 0.75rem;
}

/* Grid row ordering for interleaved layout */
.process-card:nth-child(1) {
    order: 1;
}

.services-process > .card-base.glass-panel:nth-child(2) {
    order: 2;
}

.process-card:nth-child(2) {
    order: 3;
}

.services-process > .card-base.glass-panel:nth-child(3) {
    order: 4;
}

.process-card:nth-child(3) {
    order: 5;
}

.services-process > .card-base.glass-panel:nth-child(4) {
    order: 6;
}

.process-card:nth-child(4) {
    order: 7;
}

.services-process > .card-base.glass-panel:nth-child(5) {
    order: 8;
}

.selected-card {
    border: 1px solid var(--color-accent);
    .circle-step-primary {
        border-color: var(--color-accent);
        color: var(--color-accent);
    }
    /* .process-card-title {
        color: var(--color-accent);
    } */
}


.hidden-card {
    display: none;
}

.process-card-list li{
    list-style-type: disc;
    font-size: 1rem;
    line-height: 1.5rem;
}

.duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    p {
        color: var(--color-subtle);
        margin-top: 0;
        margin-bottom: 0;
    };
}

.process-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.5rem;
    h3, p, ul{
        margin-top: 0;
        margin-bottom: 0;
    }
}

.card-base:has(.process-card-content) {
    padding-bottom: 4rem;
}

.services-process > .card-base.glass-panel {
    min-height: auto;
}

/* Services Process Section */
.services-process-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #101B40, #0d1533);
}

.services-process-container {
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.services-process-header {
    text-align: center;
    margin-bottom: 2rem;
    .heading-container {
        text-align: center;
    }
}

.services-process-description {
    color: rgba(224, 231, 244, 0.7);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.services-process-timeline {
    position: relative;
}

.services-process-line {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(var(--color-primary-rgb), 0.3), transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.services-process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

/* Services Pricing Section */
.services-pricing-section {
    padding: 5rem 1rem;
}

.services-pricing-container {
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.services-pricing-content {
    display: flex;
    flex-direction: column;
}

.services-pricing-text {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-pricing-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.services-pricing-label-line {
    width: 1.5rem;
    height: 1px;
    background-color: var(--color-accent);
}

.services-pricing-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.services-pricing-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: rgba(224, 231, 244, 0.8);
    font-size: 1.125rem;
}

.services-pricing-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(var(--color-white-rgb), 0.1);
    display: flex;
    gap: 2rem;
}

.services-pricing-stat-value {
    display: block;
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
}

.services-pricing-stat-label {
    font-size: 0.875rem;
    color: rgba(224, 231, 244, 0.6);
}

.services-pricing-visual {
    flex: 1;
    background: linear-gradient(to bottom right, #1e2b58, #101B40);
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.services-pricing-visual svg {
    opacity: 0.8;
}

/* Services FAQ Section */
.services-faq-section {
    padding: 4rem 1rem;
    max-width: var(--container-lg);
    margin-left: auto;
    margin-right: auto;
}

.services-faq-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.services-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-faq-item {
    border-radius: var(--radius-md);
    transition: background-color 0.2s;
}

.services-faq-item[open] {
    background-color: #1e2b58;
}

.services-faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    padding: 1.5rem;
    color: white;
    font-size: 1.125rem;
}

.services-faq-summary::-webkit-details-marker {
    display: none;
}

.services-faq-icon {
    transition: transform 0.3s;
    color: var(--color-primary);
}

.services-faq-item[open] .services-faq-icon {
    transform: rotate(180deg);
}

.services-faq-answer {
    color: rgba(224, 231, 244, 0.8);
    padding: 0 1.5rem 1.5rem 1.5rem;
    line-height: 1.625;
    border-top: 1px solid rgba(var(--color-white-rgb), 0.05);
    margin-top: 0.5rem;
}

/* Services CTA Section */
.services-cta-section {
    padding: 5rem 1rem;
    text-align: center;
}

.services-cta-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.services-cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.services-cta-description {
    color: rgba(224, 231, 244, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Services CTA button - styles inherited from .btn-base.btn-primary.btn-lg */
.services-cta-button .material-symbols-outlined {
    margin-left: 0.5rem;
}

/* Responsive - Tablets */
@media (min-width: 640px) {
    .services-cta-title {
        font-size: 3rem;
    }
}

/* Responsive - Desktops */
@media (min-width: 768px) {
    .services-grid-section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

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

    .services-process-line {
        display: block;
    }

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

    .services-process-connector {
        display: none;
    }

    .services-pricing-content {
        flex-direction: row;
    }

    .services-faq-title {
        font-size: 1.875rem;
    }

    /* Process section desktop layout */
    .services-process-section {
        padding: 5rem 0;
    }

    .services-process-header {
        margin-bottom: 3rem;
    }

    .services-process {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .process-step-container {
        display: flex;
        flex-direction: column;
        flex: 0 0 280px;
        gap: 1rem;
    }

    .process-card {
        padding: 1.5rem;
        margin-bottom: 0;
        order: unset;
        h3 {
            font-size: 1.125rem;
        }
    }

    /* Reset mobile ordering on desktop */
    .services-process > .card-base.glass-panel {
        flex: 1;
        min-height: 400px;
        position: relative;
        order: unset;
        margin-top: 0;
        margin-bottom: 0;
    }

    .process-card-img {
        position: absolute;
        width: 500px;
        max-width: 60%;
        right: 0;
        bottom: 0;
        opacity: 0.8;
    }
}

/* Responsive - Large Desktops */
@media (min-width: 1024px) {
    .services-cta-title {
        font-size: 3.75rem;
    }

    .services-grid-header-title {
        font-size: 2.5rem;
    }

    .services-process-header {
        margin-bottom: 4rem;
    }

    .process-step-container {
        flex: 0 0 320px;
    }

    .process-card-img {
        width: 700px;
        max-width: 70%;
    }
}

/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================== */

/* Contact Body */
.contact-body {
    background-color: var(--color-background-light);
    color: #111418;
    font-family: var(--font-display);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-body.dark-mode {
    background-color: var(--color-background-dark);
    color: var(--color-subtle);
}

/* Contact Main with Stars Background */
.contact-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: radial-gradient(circle at center, #1e2f5b 0%, #101B40 100%);
}

/* Contact Hero Section */
.contact-hero {
    width: 100%;
    max-width: var(--container-xl);
    padding: 4rem 1.5rem;
    text-align: center;
    h3 {
        color: var(--color-accent);
    }
}

.contact-hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

/* Contact hero gradient - styles inherited from .text-gradient-base.text-gradient-primary-accent */

.contact-hero-description {
    font-size: 1.125rem;
    color: rgba(224, 231, 244, 0.8);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.contact-hero-divider {
    width: 4rem;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    margin: 0 auto;
    border-radius: 9999px;
}

/* Contact Content Grid */
.contact-content {
    width: 100%;
    max-width: var(--container-xl);
    padding: 0 1.5rem 6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Info Card */
.contact-info-card {
    background-color: #1A264D;
    border: 1px solid #2a3655;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    p {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
}

.contact-info-icon {
    padding: 0.5rem;
    background-color: rgba(var(--color-primary-rgb), 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    transition: color 0.3s;
}

.contact-info-item:hover .contact-info-icon {
    color: var(--color-accent);
}

.contact-info-label {
    color: rgba(224, 231, 244, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-info-value {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

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

.contact-info-address {
    color: white;
    font-size: 1rem;
    line-height: 1.4;
}

/* Map Container */
.contact-map {
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 10rem;
    width: 100%;
    position: relative;
    cursor: pointer;
    border: 1px solid #2a3655;
    iframe {
        width: 100%;
        height: 100%;
    }
}

.contact-map-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.contact-map:hover .contact-map-overlay {
    background-color: rgba(0, 0, 0, 0.1);
}

.contact-map-button {
    background-color: rgba(26, 38, 77, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(4px);
    border: 1px solid #2a3655;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Consultation CTA Card */
.contact-cta-card {
    background: linear-gradient(to bottom right, #1A264D, rgba(var(--color-primary-rgb), 0.1));
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-cta-glow {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 50%;
    filter: blur(50px);
}

.contact-cta-description {
    color: var(--color-subtle);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.contact-cta-button {
    width: 100%;
    background-color: #1A264D;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    img {
        transition: var(--transition-base);
    }
}

.contact-cta-button:hover {
    background-color: var(--color-accent);
    color: #1A264D;
    img {
        filter: brightness(0.15);
    }
}

/* Social Links */
.contact-social-links {
    display: flex;
    gap: 1rem;
}

.contact-social-link {
    flex: 1;
    background-color: #1A264D;
    border: 1px solid #2a3655;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-subtle);
    transition: var(--transition-base);
    text-decoration: none;
}

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

/* Contact Form Card */
.contact-form-card {
    background-color: #1A264D;
    border: 1px solid #2a3655;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}


.contact-form-subtitle {
    color: var(--color-subtle);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-form-label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-label-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Form input - styles inherited from .form-control-base */

.contact-form-select-wrapper {
    position: relative;
}

/* Form select - base styles inherited from .form-control-base */
.contact-form-select {
    width: 100%;
    appearance: none;
    cursor: pointer;
}

.contact-form-select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-subtle);
    pointer-events: none;
}

/* Budget Buttons */
.contact-budget-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.contact-budget-button {
    border: 1px solid #2a3655;
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-subtle);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-base);
}

.contact-budget-button:hover {
    border-color: var(--color-primary);
    background-color: rgba(var(--color-primary-rgb), 0.1);
    color: white;
}

.contact-budget-button:focus,
.contact-budget-button.active {
    background-color: rgba(var(--color-primary-rgb), 0.2);
    color: white;
    border-color: var(--color-primary);
}

.contact-budget-button.active {
    font-weight: 500;
}

/* Form textarea - base styles inherited from .form-control-base */
.contact-form-textarea {
    resize: none;
}

/* Privacy Checkbox */
.contact-privacy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-privacy-checkbox {
    border-radius: 0.25rem;
    border-color: #2a3655;
    background-color: var(--color-background-dark);
    color: var(--color-primary);
}

.contact-privacy-checkbox:focus {
    outline-offset: 2px;
    outline: 2px solid var(--color-primary);
}

.contact-privacy-label {
    font-size: 0.75rem;
    color: rgba(224, 231, 244, 0.7);
}

/* Submit Button - styles inherited from .btn-base.btn-primary.btn-lg */
.contact-submit-button {
    margin-top: 0.5rem;
    width: 100%;
}

.contact-submit-button:hover {
    background-color: var(--color-accent);
    color: var(--color-background-dark);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.2);
}

.contact-submit-button img {
    transition: transform 0.3s;
}

.contact-submit-button:hover img {
    transform: translateX(0.25rem);
    filter: brightness(0.15);
}

/* What Happens Next Section */
.contact-next-section {
    width: 100%;
    background-color: #1A264D;
    border-top: 1px solid #2a3655;
    padding: 5rem 1.5rem;
}

.contact-next-container {
    max-width: var(--container-xl);
    margin: 0 auto;
}

.contact-next-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-next-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.contact-next-description {
    color: var(--color-subtle);
    max-width: 36rem;
    margin: 0 auto;
}

.contact-next-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.contact-next-line {
    display: none;
    position: absolute;
    top: 2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, rgba(var(--color-primary-rgb), 0), rgba(var(--color-primary-rgb), 0.5), rgba(var(--color-primary-rgb), 0));
    z-index: 0;
}

.contact-next-step {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 600px) {
    .service-snapshot-card {
        width: 100%;
    }
}

/* Responsive - Tablets and up */
@media (min-width: 640px) {
    .contact-budget-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .contact-hero-title {
        font-size: 3.75rem;
    }

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

    .contact-next-steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .contact-next-line {
        display: block;
    }
}

/* Responsive - Large screens */
@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 5fr 7fr;
    }

    .contact-hero {
        padding: 6rem 1.5rem;
    }
}
