/* 
 * PROJECT: GEA – GRUPO DE EMPRESAS ALOMARK
 * DESCRIPTION: Corporate Enterprise Website v1.2.0
 * COLORS:
 * - #fb4204 (CTA)
 * - #fcce36 (Highlights)
 * - #822202 (Titles)
 * - #7c7c7c (Text)
 * - #dbbeac (Soft Backgrounds)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors (Refined) */
    --color-cta: #ff5722;
    --color-cta-hover: #e64a19;
    --color-highlight: #ffc107;
    --color-title: #1a202c;
    --color-text: #4a5568;
    --color-text-light: #a0aec0;
    --color-bg-soft: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-white: #ffffff;
    --color-light-gray: #f1f5f9;
    --color-border: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(16px);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);

    /* Animation Timing */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-soft);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Custom Scrollbar (Premium Dark) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
    border: 2px solid var(--color-bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-cta);
}

/* =========================================
   2.5 PREMIUM PRELOADER & CURSOR
   ========================================= */

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

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

.loader-logo {
    width: 150px;
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Custom Magnetic Cursor */
.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-cta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    /* Hardware acceleration for smooth tracking */
    will-change: transform;
    mix-blend-mode: difference;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100001;
    transform: translate(-50%, -50%);
    /* Hardware acceleration */
    will-change: transform;
    mix-blend-mode: difference;
}

/* Cursor Hover States */
body.cursor-hover .custom-cursor {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 87, 34, 0.2);
    border-color: transparent;
}

body.cursor-hidden .custom-cursor,
body.cursor-hidden .custom-cursor-dot {
    opacity: 0;
}

/* Hide default cursor only on non-touch devices where custom cursor is active */
@media (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    select,
    textarea {
        cursor: none;
    }
}

/* Ensure footer sticks to bottom */
footer {
    margin-top: auto;
}

/* Ensure footer sticks to bottom if content small, but prevents whitespace if content long */
footer {
    margin-top: auto;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.footer-bottom {
    margin-bottom: 0 !important;
    padding-bottom: 20px;
    /* Internal padding only */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-title);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition-smooth);
    color: inherit;
}

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

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

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

.text-white {
    color: var(--color-white);
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-md {
    gap: var(--spacing-md);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    /* Pill shape for premium feel */
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cta) 0%, #ff8a65 100%);
    color: var(--color-white);
    box-shadow: 0 10px 20px -5px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(255, 87, 34, 0.5);
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-title);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--color-title);
    color: var(--color-title);
}

.btn-outline-dark:hover {
    background-color: var(--color-title);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(26, 32, 44, 0.3);
}

/* HEADER v1.2.1 (Global Refined) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 1. LOGO (LEFT) */
.logo {
    order: 1;
    display: flex;
    align-items: center;
    height: 50px;
    /* Force container height */
}

.logo img {
    height: 100%;
    max-height: 45px;
    /* STRICT LIMIT: Fits within 50px header */
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Default (Top/Transparent): Show White, Hide Colored */
.logo .logo-white {
    display: block !important;
}

.logo .logo-colored {
    display: none !important;
}

/* Scrolled (White BG): Show Colored, Hide White */
.header.scrolled .logo .logo-white {
    display: none !important;
}

.header.scrolled .logo .logo-colored {
    display: block !important;
}

/* 2. MENU (CENTER) */
.nav-menu {
    order: 2;
    display: flex;
    gap: 30px;
    margin: 0 20px;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-white);
    /* White text at top */
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
}

/* Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--color-cta);
    /* Color of the underline, not text */
    transition: width 0.3s ease;
}

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

/* Scrolled State Colors */
.header.scrolled .nav-link {
    color: var(--color-title);
}

/* Remove text color change on hover, keep original color */
.header.scrolled .nav-link:hover {
    color: var(--color-title);
}

/* GLOBAL HEADER UTILITY: Force Scrolled State (For Inner Pages) */
.header.header-inner-page {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.header.header-inner-page .logo .logo-white {
    display: none !important;
}

.header.header-inner-page .logo .logo-colored {
    display: block !important;
}

.header.header-inner-page .nav-link {
    color: var(--color-title);
}

/* Dropdown / Submenu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    background: var(--color-white);
    min-width: 240px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    transform-origin: top;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px) scale(1);
}

.dropdown-item {
    display: block;
    padding: 12px 24px;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background-color: var(--color-bg-soft);
    color: var(--color-cta);
    padding-left: 30px;
}

/* 3. BUTTONS (RIGHT) */
.header-buttons {
    order: 3;
    display: flex;
    gap: 15px;
}

/* Adapt Buttons for Transparency */
.header:not(.scrolled) .btn-outline-dark {
    border-color: var(--color-white);
    color: var(--color-white);
}

.header:not(.scrolled) .btn-outline-dark:hover {
    background-color: var(--color-white);
    color: var(--color-title);
}

/* HERO SLIDER */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    margin-top: 0;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    /* Center vertically in slide */
    justify-content: space-between;
    /* Split text and visual */
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.slide h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.slide p {
    font-size: 1.15rem;
    color: #f0f0f0;
    margin-bottom: var(--spacing-md);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Hero Pagination Dots */
.hero-dots {
    position: absolute;
    bottom: 60px;
    /* Above the wave */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: var(--color-cta);
    transform: scale(1.2);
}

/* Hero Wave Separator */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
    fill: #f9f9f9;
    /* Match next section bg */
}

/* DOMAIN BLOCK (Refined & Compact) */
.domain-block {
    background-color: transparent;
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -80px;
    /* Overlap the hero more dramatically */
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.domain-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--glass-blur);
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.domain-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}

.domain-extensions {
    margin-bottom: 25px;
    color: var(--color-text-light);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ... existing domain form css ... */

/* CLIENT TYPES (More Life) */
.client-types-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.client-type-tag {
    background: var(--color-white);
    padding: 16px 32px;
    border-radius: 100px;
    /* Perfect pill */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.client-type-tag i {
    color: var(--color-cta);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.client-type-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(255, 87, 34, 0.2);
    border-color: var(--color-cta);
    color: var(--color-cta);
}

.client-type-tag:hover i {
    transform: scale(1.1);
}


.domain-extensions span {
    margin: 0 5px;
}

.domain-form {
    background: var(--color-white);
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    /* Pill shape search */
    overflow: hidden;
    transition: var(--transition-smooth);
}

.domain-form:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2);
    border-color: var(--color-cta);
}

.domain-form form {
    display: flex;
}

.domain-form input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-family: var(--font-body);
    outline: none;
    color: var(--color-title);
}

.domain-form input::placeholder {
    color: var(--color-text-light);
}

.domain-form button {
    margin: 6px 6px 6px 0;
    padding: 0 40px;
    background: var(--color-title);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.domain-form button:hover {
    background: #5a1701;
}

.domain-result {
    margin-top: 20px;
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.domain-result.success {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #28a745;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.domain-result.unavailable {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #dc3545;
    color: #dc3545;
    font-weight: 600;
}

/* ABOUT SECTION - Zoom Effect */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    /* Generous gap for separation */
    justify-content: space-between;
}

.text-left-content {
    flex: 1 1 500px;
    /* Grow, Shrink, Basis */
    padding-right: 20px;
}

.about-img-zoom-container {
    flex: 1 1 400px;
    overflow: hidden;
    border-radius: 24px;
    /* More rounded luxury feel */
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.about-img-zoom-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.about-img-zoom-container img,
.about-img-zoom-container svg {
    width: 100%;
    height: auto;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-zoom-container:hover img,
.about-img-zoom-container:hover svg {
    transform: scale(1.1);
    /* Zoom IN as requested */
}

/* ABOUT STATS */
.about-stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 20px;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 2rem;
    color: #ddd;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.stat-item:hover .stat-icon {
    color: var(--color-cta);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-cta);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ABOUT BOTTOM WAVE */
.about-section {
    position: relative;
    padding-bottom: 100px;
    /* Space for wave */
}

.about-bottom-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.about-bottom-wave svg {
    width: 100%;
    height: 60px;
    fill: #f9f9f9;
    /* Match next section bg */
}

/* SOLUTIONS */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.solution-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 87, 34, 0.08),
            transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-cta), var(--color-highlight));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

/* SOLUTIONS SECTION - Wave & Animation */
.solutions-top-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.solutions-top-wave svg {
    width: 100%;
    height: 50px;
    fill: #f9f9f9;
}

/* FINAMASTER PREMIUM SECTION */
.finamaster-section {
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.finamaster-premium-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

/* Image Column (Smaller: ~40%) */
.fina-img-col {
    flex: 1 1 350px;
    /* Basis 350px */
    max-width: 45%;
    /* Constraint */
}

/* Text Column (Larger: ~55%) */
.fina-text-col {
    flex: 1 1 500px;
    max-width: 100%;
}

@media (max-width: 992px) {

    .fina-img-col,
    .fina-text-col {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .finamaster-premium-grid {
        flex-direction: column-reverse;
        /* Text top on mobile? Or Image top? User said presentation. Let's keep Image Top usually, or Text Top. Standard is Image Top mobile. */
        flex-direction: column;
        gap: 40px;
    }
}

.fina-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--color-cta);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 87, 34, 0.2);
}

.fina-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-title);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.fina-desc {
    font-size: 1.15rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-title);
    font-weight: 600;
}

.benefit-item i {
    color: var(--color-white);
    background: var(--color-cta);
    padding: 6px;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Shadow & Radius for Dashboard Image/SVG */
.dashboard-preview {
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
    background: var(--color-white);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.15) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(20px);
}

.dashboard-preview:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.4);
}

/* FINAMASTER - Background Icons */
.finamaster-section {
    background-color: #f4f7f6;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.bg-icons-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.05;
}

.bg-icon {
    position: absolute;
    color: var(--color-title);
}

/* Random positioning for icons handled via distinct classes or basic styles */
.bg-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    font-size: 4rem;
    transform: rotate(-15deg);
}

.bg-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    font-size: 6rem;
    transform: rotate(10deg);
}

.bg-icon:nth-child(3) {
    bottom: 15%;
    left: 20%;
    font-size: 5rem;
    transform: rotate(5deg);
}

.bg-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
    font-size: 4rem;
    transform: rotate(-20deg);
}

/* WHY GEA - Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 87, 34, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

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

.feature-icon {
    font-size: 2rem;
    color: var(--color-highlight);
    margin-bottom: 20px;
}

.feature-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

/* CTA POLISH */
#contact.section.text-center {
    background: linear-gradient(135deg, var(--color-title) 0%, var(--color-bg-dark) 100%);
    color: var(--color-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, transparent 60%);
    z-index: 1;
}

#contact h2 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    font-weight: 800;
}

#contact p {
    color: var(--color-text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

#contact .btn-primary {
    padding: 18px 56px;
    font-size: 1.15rem;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.4);
    position: relative;
    z-index: 2;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* LOGO SLIDER (Partner loops) */
.logo-slider-container {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    background: #fff;
}

.logo-slider-track {
    display: inline-block;
    animation: slideLoop 20s linear infinite;
}

.logo-item {
    display: inline-block;
    margin: 0 40px;
    opacity: 0.6;
    font-weight: 700;
    font-size: 1.5rem;
    color: #aaa;
}

@keyframes slideLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CONTACT PAGE REFINEMENT v1.2.1 */
.contact-grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text-col {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    height: 100%;
}

.contact-text-col h3 {
    margin-bottom: 20px;
    color: var(--color-title);
}

.contact-text-col p {
    margin-bottom: 15px;
    text-align: justify;
}

.cta-no-btn {
    font-weight: 700;
    color: var(--color-cta);
    font-size: 1.2rem;
    margin-top: 30px;
    display: block;
    text-transform: uppercase;
}

/* Country Code Select */
.phone-group {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

/* ABOUT IMAGE ZOOM OUT */
.about-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    /* Fixed height for consistency */
}

.about-img-wrapper svg,
.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    transform: scale(1.1);
    /* Start slightly zoomed in */
}

.about-img-wrapper:hover svg,
.about-img-wrapper:hover img {
    transform: scale(1);
    /* Zoom out to normal on hover */
}

/* TESTIMONIALS SLIDER (Scrollable) */
.testimonials-section {
    background: #f4f7f6;
    overflow: hidden;
}

.testimonial-track-container {
    overflow: hidden;
    /* Hide scrollbar completely */
    padding-bottom: 0;
    margin: 0;
    padding: 0 15px 20px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: slideLoop 40s linear infinite;
    /* Restored animation */
}

/* Pause on hover for better UX */
.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes slideLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 3 - 30px * 3));
        /* Adjust based on card width + gap */
    }
}

.testimonial-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 16px;
    width: 350px;
    min-width: 350px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    white-space: normal;
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-title);
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
}

footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 100px 0 0;
    font-size: 0.95rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* 1st column wider, others equal */
    gap: 30px;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--color-cta);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
    /* Requested alignment */
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--color-text-light);
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--color-cta);
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Copyright Bar */
.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 0;
    border-top: 1px solid #333;
}

.copyright-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 0.85rem;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin-left: 20px;
}

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

@media (max-width: 768px) {
    .copyright-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .header-buttons,
    .nav-menu,
    .logo {
        order: unset;
        /* Reset order for mobile stack */
        width: 100%;
        justify-content: center;
        text-align: center;
        margin: 5px 0;
    }

    .slide-content,
    .about-grid,
    .finamaster-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* MARKETING PAGE STYLES */

/* Marketing Services Grid */
.marketing-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mk-service-card {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: left;
}

.mk-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-cta);
}

.mk-icon {
    width: 60px;
    height: 60px;
    background: #fff0eb;
    color: var(--color-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.mk-service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--color-title);
}

.mk-service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Pricing Refinements */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.price-pro {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    transform: scale(1.05);
    border: none;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.price-pro h3,
.pricing-card.price-pro p,
.pricing-card.price-pro .price-tag,
.pricing-card.price-pro .period {
    color: white;
}

.pricing-card.price-pro .plan-features li {
    color: #cbd5e1;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-cta);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-header {
    margin-bottom: 20px;
    text-align: center;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-title);
    margin-bottom: 30px;
    text-align: center;
}

.period {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    /* Pushes button down */
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.plan-features li i {
    color: #10b981;
    /* Green check */
}

.pricing-card.price-pro .plan-features li i {
    color: #34d399;
    /* Lighter green check */
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Process Steps */
.process-steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--color-cta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(251, 66, 4, 0.3);
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-title);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary limit enough for text */
    padding-bottom: 20px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 20px;
}

.cookie-content {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-cta);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: -200px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--color-cta);
}

/* Responsive Marketing */
@media (max-width: 992px) {
    .pricing-card.price-pro {
        transform: none;
        /* remove scale on mobile */
    }
}

/* Marketing Testimonials Grid (Reverted & Alive) */
.testimonial-card-marketing {
    background: #fdfdfd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    padding: 20px !important;
    /* Visual compacting */
}

.testimonial-card-marketing p {
    font-size: 1rem !important;
    /* Smaller text */
    line-height: 1.5;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-cta);
    z-index: 10;
}

.testimonial-author-mk {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar-mk {
    width: 45px;
    height: 45px;
    background: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 768px) {
    .testimonial-card-marketing {
        min-width: 300px;
    }
}

/* MARQUEE TESTIMONIALS (React Port) */
.marquee-content {
    display: flex;
    gap: 20px;
    width: max-content;
    /* Ensure container fits all items horizontally */
    animation: marquee 40s linear infinite;
    padding: 20px 0;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Shift by half (one full set) */
}

/* Gradient Fade for Marquee */
.marquee-overlay-left,
.marquee-overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    /* 15% width fade */
    z-index: 2;
    pointer-events: none;
}

.marquee-overlay-left {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-overlay-right {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

/* Premium Card Style (Shadcn-like) */
.testimonial-card-marquee {
    width: 350px;
    /* Fixed width for consistency */
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.testimonial-card-marquee:hover {
    background: linear-gradient(to bottom, #f1f5f9, #e2e8f0);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.testimonial-card-marquee .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.testimonial-card-marquee .card-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--color-title);
    line-height: 1.2;
}

.testimonial-card-marquee .card-header span {
    font-size: 0.85rem;
    color: #94a3b8;
}

.avatar-marquee {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-card-marquee p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .testimonial-card-marquee {
        width: 300px;
    }
}

/* TECHNOLOGY PAGE STYLES */
.hero-tech {
    background: linear-gradient(135deg, #0f172a 0%, #0e7490 100%);
    position: relative;
    overflow: hidden;
}

.hero-tech::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    pointer-events: none;
}

/* Tech Service Cards */
.tech-service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tech-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #0ea5e9;
    transition: height 0.3s ease;
    z-index: -1;
}

.tech-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #0ea5e9;
}

.tech-service-card:hover::before {
    height: 100%;
}

.tech-icon-box {
    width: 60px;
    height: 60px;
    background: #f0f9ff;
    color: #0ea5e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.partner-logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-card-tech {
    width: 200px;
    padding: 15px;
    background: transparent;
    border: none;
    box-shadow: none;
    align-items: center;
    justify-content: center;
    display: flex;
}

/* ABOUT US PAGE STYLES (v1.2.4 - PREMIUM DARK) */
:root {
    --color-navy-dark: #0f172a;
    --color-navy-light: #1e293b;
    --color-gold: #fbbf24;
    --color-gold-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.hero-about-dark {
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-about-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Subtle texture */
    opacity: 0.1;
    pointer-events: none;
}

/* Gold Accent Line */
.accent-line-gold {
    width: 80px;
    height: 4px;
    background: var(--color-gold-gradient);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

/* TIMELINE (v1.2.5) */
.timeline-section {
    position: relative;
    padding: 80px 0;
    background: #0f172a;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    padding: 20px 30px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 5px;
    display: block;
}

/* Timeline Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: var(--color-gold);
    border: 4px solid #0f172a;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}


/* ROUND TEAM (v1.2.5) */
.team-round-card {
    background: transparent;
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.team-round-card:hover {
    transform: translateY(-10px);
}

.team-img-round {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    border: 4px solid rgba(251, 191, 36, 0.2);
    position: relative;
    background: #1e293b;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.team-round-card:hover .team-img-round {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}



/* Grayscale interaction */
.team-img-round img,
.team-img-round div {
    /* logic generic */
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.team-round-card:hover .team-img-round img {
    filter: grayscale(0%);
}


/* SPLIT MARQUEES */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 3px solid var(--color-gold);
}

/* GLASSMORPHISM GRID */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: -80px;
    /* Overlap Hero */
    position: relative;
    z-index: 5;
    padding-bottom: 50px;
}

.legacy-glass-card {
    background: rgba(30, 41, 59, 0.7);
    /* translucent dark */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #cbd5e1;
}

.legacy-glass-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.1);
}

.legacy-glass-card h3 {
    color: white;
    font-size: 1.5rem;
    margin: 15px 0;
}

.legacy-icon-gold {
    font-size: 2.5rem;
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

/* PREMIUM TEAM DARK */
.section-dark {
    background-color: var(--color-navy-dark);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card-dark {
    background: var(--color-navy-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card-dark:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--color-gold);
}

.team-img-dark {
    width: 100%;
    height: 320px;
    background: #334155;
    position: relative;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.team-card-dark:hover .team-img-dark {
    filter: grayscale(0%);
}

.team-img-dark::after {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: #475569;
}

.team-info-dark {
    padding: 25px;
    text-align: center;
}

.team-info-dark h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-info-dark p {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ABOUT SPLIT SECTION (v1.2.6) */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-split-img {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.about-split-img:hover img {
    transform: scale(1.05);
}

/* MVV GRID (3 Cols) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mvv-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.mvv-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

/* STATS ROW */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TEAM GRID OVERRIDE (4 Cols) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Enforce 4 cols */
    gap: 30px;
}

@media (max-width: 992px) {
    .about-split {
        grid-template-columns: 1fr;
    }

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

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

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


    /* CONTACT PAGE - RECTANGULAR CARDS */
    .contact-rect-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 25px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        /* Rectangular but slightly soft */
        margin-bottom: 20px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    }

    .contact-rect-card:hover {
        transform: translateX(10px);
        /* Move right instead of up for variety, or stick to up? User said "emotion". Let's do lift + border */
        transform: translateY(-5px);
        border-color: var(--color-cta);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .contact-rect-icon {
        width: 50px;
        height: 50px;
        background: #f1f5f9;
        color: var(--color-cta);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .contact-rect-card:hover .contact-rect-icon {
        background: var(--color-cta);
        color: white;
        transform: rotateY(360deg);
        /* Emotion/Action */
    }

    .contact-rect-info h4 {
        margin: 0 0 5px 0;
        color: var(--color-title);
        font-size: 1.1rem;
    }

    .contact-rect-info p {
        margin: 0;
        color: #64748b;
        font-size: 0.95rem;
    }

    .contact-rect-info a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }

    .contact-rect-card:hover .contact-rect-info a {
        color: var(--color-cta);
    }
}

/* =========================================
   GLOBAL RESPONSIVENESS (v1.2.8)
   ========================================= */

@media (max-width: 992px) {

    /* Tablet/Small Laptop Adjustments */
    /* Tablet/Small Laptop Adjustments */
    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .header-buttons .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

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

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

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

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

    /* 1. Premium Mobile Header */
    .header {
        padding: 15px 0;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    /* LOGO: Keep it crisp */
    .logo img {
        height: 35px !important;
    }

    /* Show colored logo on mobile glass background always */
    .logo .logo-white {
        display: none !important;
    }

    .logo .logo-colored {
        display: block !important;
    }

    /* TOGGLE: Premium Touch Target */
    .mobile-toggle {
        display: block !important;
        color: var(--color-title) !important;
        font-size: 1.8rem;
        padding: 5px;
        cursor: pointer;
        z-index: 1001;
        /* Above the menu */
    }

    /* NAV MENU: Premium Glass Dropdown */
    .nav-menu {
        flex-basis: 100%;
        flex-direction: column;
        background: var(--color-white);
        margin-top: 15px;
        padding: 10px 0;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        display: none;
        border: 1px solid var(--color-border);
        animation: slideDownMobile 0.3s ease forwards;
        transform-origin: top;
    }

    .nav-menu.active {
        display: flex;
    }

    @keyframes slideDownMobile {
        from {
            opacity: 0;
            transform: scaleY(0.9);
        }

        to {
            opacity: 1;
            transform: scaleY(1);
        }
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 25px;
        color: var(--color-title) !important;
        /* Force dark text in mobile menu */
        font-weight: 600;
        border-bottom: 1px solid var(--color-light-gray);
    }

    .nav-link:hover {
        background: var(--color-bg-soft);
        color: var(--color-cta) !important;
        padding-left: 30px;
    }

    /* DROPDOWNS in Mobile */
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        background: var(--color-bg-soft) !important;
        padding: 0 !important;
        display: none;
        border: none !important;
        border-radius: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100%;
    }

    .nav-item:focus-within .dropdown-menu,
    .nav-item:active .dropdown-menu,
    .nav-item:hover .dropdown-menu {
        display: block !important;
        transform: none !important;
    }

    .dropdown-item {
        padding: 15px 25px;
        color: var(--color-text) !important;
        font-size: 0.95rem;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .dropdown-item:hover {
        color: var(--color-cta) !important;
        background: transparent !important;
        padding-left: 25px;
        /* ensure it doesn't shift left/right randomly */
    }

    /* HEADER BUTTONS: Integrated at bottom of menu */
    .header-buttons {
        flex-basis: 100%;
        display: none;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        background: var(--color-white);
        border-radius: 0 0 12px 12px;
    }

    .header-buttons.active {
        display: flex;
    }

    .header-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .header-buttons .btn-secondary {
        border-color: var(--color-title);
        color: var(--color-title);
    }

    /* 2. Heros */
    .hero-section,
    .web-hero,
    .hero-marketing,
    .hero-tech,
    .hero-about-dark {
        padding: 120px 20px 60px 20px;
        text-align: center;
    }

    .hero-content h1,
    .web-hero h1 {
        font-size: 2rem;
    }

    .hero-marketing h1 {
        font-size: 2.2rem;
    }

    /* 3. Grids -> Single Column */
    .services-grid,
    .pricing-grid,
    .mvv-grid,
    .team-grid,
    .legacy-grid,
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 4. Contact Page */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-cards-container {
        display: flex;
        flex-direction: column;
    }

    /* 5. Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* 6. Components */
    .stats-row {
        grid-template-columns: 1fr;
        /* Stack vertically on small mobile */
        gap: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item::after {
        left: 15px;
        /* Adjust dot position */
        right: auto;
    }

    .timeline-container::after {
        left: 24px;
        /* Adjust line position */
    }

    .domain-search-wrapper {
        flex-direction: column;
        gap: 10px;
        border-radius: 20px;
        padding: 20px;
    }

    .domain-search-wrapper button {
        width: 100%;
    }

    .legal-content .container {
        padding: 0 20px;
    }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 20px;
}

.cookie-content {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-cta);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: -200px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}