/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --dark-bg: #111827;
    /* Dark Navy/Gray */
    --light-bg: #f3f4f6;
    --surface-dark: #1f2937;
    --text-main: #212529;
    --text-light: #f8f9fa;
    --accent-glow: rgba(13, 110, 253, 0.5);

    /* Fonts */
    --font-main: 'Inter', sans-serif;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --hover-lift: translateY(-8px);
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for sticky header */
}

.bg-navy-light {
    background-color: rgba(255, 255, 255, 0.03);
}

.bg-black-20 {
    background-color: rgba(0, 0, 0, 0.1);
}

/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.z-index-2 {
    z-index: 2;
}

.ls-2 {
    letter-spacing: 2px;
}

.bg-navy {
    background-color: var(--dark-bg);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text Justify Utility */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* Custom Button */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Hover Lift Card (General) */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: var(--hover-lift);
    box-shadow: var(--card-shadow) !important;
}

/* Link Hover */
.hover-white:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* White Filter for Logos */
.filter-white {
    filter: brightness(0) invert(1);
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar {
    background-color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
}

.navbar-shrink {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.10) !important;
    border-bottom-color: rgba(0, 0, 0, 0.12) !important;
}

.navbar-toggler {
    border-color: rgba(55, 65, 81, 0.25);
    color: #374151;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.navbar-brand {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.2s;
    color: #374151 !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Language Switcher */
.lang-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(55, 65, 81, 0.7);
    padding: 0.25rem 0.6rem;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.lang-btn:hover {
    color: var(--primary-color);
    border-color: rgba(13, 110, 253, 0.25);
}

.lang-btn.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    border-color: transparent;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.masthead {
    height: 100vh;
    min-height: 700px;
    background: url('../assets/images/hero-leos.jpg') no-repeat center center/cover;
    position: relative;
    padding-top: 5rem;
}

.masthead .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(13, 110, 253, 0.7) 100%);
    opacity: 0.9;
    z-index: 1;
}

/* Responsive Hero Typography & Layout */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 5rem;
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 5rem;
    }
}

.hero-copy {
    max-width: 640px;
}

.hero-title {
    font-size: clamp(2.4rem, 3vw + 1.4rem, 3.6rem);
    line-height: 1.08;
    font-weight: 700;
    max-width: 18ch;
    text-wrap: pretty;
}

.hero-title-inline {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25em;
    white-space: nowrap;
}

html[lang="en"] .hero-title {
    max-width: 16ch;
    font-size: clamp(2.15rem, 2.3vw + 1rem, 3.2rem);
}

html[lang="en"] .hero-title-inline {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0.18em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.2rem);
    line-height: 1.8;
    max-width: 40rem;
    text-align: justify;
    text-justify: inter-word;
}

.hero-lead {
    font-size: clamp(1rem, 0.5vw + 0.9rem, 1.1rem);
    line-height: 1.75;
    max-width: 40rem;
    text-align: justify;
    text-justify: inter-word;
}

.hero-mobile-visual__frame {
    position: relative;
    width: min(100%, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.24) 0%, rgba(37, 99, 235, 0.12) 38%, rgba(37, 99, 235, 0) 72%);
    isolation: isolate;
}

.hero-mobile-visual__frame::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0) 74%);
    filter: blur(10px);
    z-index: -1;
}

.hero-mobile-logo {
    max-width: 166px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 18px 30px rgba(15, 23, 42, 0.26))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
    }
}

.floating-img {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Animation Utilities */
.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   5. SECTIONS
   ========================================= */
/* Service Summary */
.service-summary-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-summary-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
}

.icon-box-lg {
    width: 80px;
    height: 80px;
}

/* Detailed Services Grid Styles */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(37, 99, 235, 0.55);
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    /* vertical center */
    justify-content: center;
    /* horizontal center */
    margin-bottom: 16px;
    color: #ffffff;
}

.service-icon-wrapper i {
    font-size: 1.6rem;
}

.service-summary-card,
.service-grid-card {
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
}

.service-summary-card:hover,
.service-grid-card:hover {
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.12) !important;
}

.service-grid-card {
    cursor: default;
}

.service-card-copy {
    max-width: 34ch;
    margin-inline: auto;
    line-height: 1.75;
}

.service-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #182132;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 16px 30px rgba(24, 33, 50, 0.12);
    transition: all 0.3s ease;
    margin-inline: auto;
    width: fit-content;
    appearance: none;
}

.service-detail-link:hover,
.service-detail-link:focus {
    background: #ffffff;
    color: #182132 !important;
    border-color: rgba(24, 33, 50, 0.18);
    box-shadow: 0 18px 34px rgba(24, 33, 50, 0.14);
    transform: translateY(-2px);
}

.service-preview {
    width: 132px;
    height: 132px;
    position: relative;
    display: grid;
    place-items: center;
    filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.12));
    isolation: isolate;
}

.service-preview-lg {
    width: 156px;
    height: 156px;
}

.service-preview::before,
.service-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-preview::before {
    inset: -12px;
    border-radius: 42px;
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.22), rgba(255, 255, 255, 0) 70%);
    z-index: -2;
}

.service-preview::after {
    inset: 10px;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.76));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 18px 40px rgba(148, 163, 184, 0.2);
    z-index: -1;
}

.service-preview-core,
.service-preview-chip {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.service-preview-core {
    inset: 18px;
    border-radius: 34px;
    color: #ffffff;
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.service-preview-core i,
.service-preview-chip i {
    display: block;
    line-height: 1;
}

.service-preview-core i {
    font-size: 2rem;
    text-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.service-preview-chip {
    width: 42px;
    height: 42px;
    top: 0;
    right: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #172554;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-preview-chip-bottom {
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
}

.service-preview-ecommerce .service-preview-core {
    background: linear-gradient(135deg, #2563eb 0%, #0f172a 100%);
}

.service-preview-web .service-preview-core {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.service-preview-software .service-preview-core {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
}

.service-preview-social .service-preview-core {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.service-preview-visual .service-preview-core {
    background: linear-gradient(135deg, #4f46e5 0%, #1d4ed8 100%);
}

.service-preview-ecommerce .service-preview-chip:nth-child(1) {
    background: #eff6ff;
    color: #1d4ed8;
}

.service-preview-web .service-preview-chip:nth-child(1) {
    background: #dbeafe;
    color: #1d4ed8;
}

.service-preview-software .service-preview-chip:nth-child(1) {
    background: #e2e8f0;
    color: #0f172a;
}

.service-preview-social .service-preview-chip:nth-child(1) {
    background: #dbeafe;
    color: #1d4ed8;
}

.service-preview-visual .service-preview-chip:nth-child(1) {
    background: #e0e7ff;
    color: #3730a3;
}

.service-preview-lg .service-preview-core {
    inset: 20px;
}

.service-preview-lg .service-preview-core i {
    font-size: 2.3rem;
}

.service-preview-lg .service-preview-chip {
    width: 46px;
    height: 46px;
    font-size: 1rem;
}

/* About / Glass Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-intro-copy {
    max-width: 39rem;
    line-height: 1.85;
}

.about-intro-copy-lead {
    text-align: left;
}

.about-cta {
    min-width: 156px;
}

.stat-glass-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 158px;
}

.stat-glass-card__headline {
    line-height: 1.05;
}

.stat-glass-card__headline--wide {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.2;
}

.stat-glass-card__label {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-glass-card__detail {
    max-width: 20rem;
    margin-inline: auto;
    line-height: 1.65;
}

/* Vertical Timeline */
.timeline-section {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.95rem;
    /* Adjust based on border and dot size */
    top: 0.25rem;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 3px solid var(--dark-bg);
    border-radius: 50%;
    z-index: 1;
}

/* =========================================
   6. PROJECTS
   ========================================= */
.leos-card {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e3a8a 100%);
}

.min-h-300 {
    min-height: 300px;
}

/* Custom Tabs for Dark Card */
.nav-tabs-dark {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tabs-dark .nav-link {
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-tabs-dark .nav-link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-tabs-dark .nav-link.active {
    color: #ffffff;
    background: transparent;
    border-color: var(--primary-color);
}

.tab-content {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   6. PROJECTS (PRODUCTS)
   ========================================= */
#projects .container {
    max-width: 1140px; /* Standard Bootstrap container or customized */
}

.premium-product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: relative;
    z-index: 1;
}

.premium-product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    border-color: var(--primary-color) !important;
}

.premium-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(13, 110, 253, 0.1), transparent);
    z-index: -1;
    pointer-events: none;
}

.product-logo-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.premium-product-card:hover .product-logo-container {
    transform: rotate(5deg) scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.premium-product-card .list-unstyled {
    border-left: 3px solid var(--primary-color);
}

.premium-product-card .btn {
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.premium-product-card:hover .btn-primary {
    transform: scale(1.05);
}



/* =========================================
   7. REFERENCES
   ========================================= */
.reference-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.reference-card:hover {
    transform: scale(1.02) translateY(-5px);
    /* Added slight scale */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.reference-logo {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.reference-card:hover .reference-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.reference-name {
    display: block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.reference-card:hover .reference-name {
    color: var(--primary-color);
}

/* =========================================
   7A. REFINED PRODUCTS / REFERENCES / BRIDGE
   ========================================= */
.projects-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(15, 23, 42, 0.04), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.projects-heading {
    max-width: 760px;
    margin-inline: auto;
}

.projects-lead {
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.8;
}

.premium-product-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    isolation: isolate;
}

.premium-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    z-index: -1;
    pointer-events: none;
}

.premium-product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(15, 23, 42, 0.18) !important;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12) !important;
}

.premium-product-card-side {
    margin-top: 18px;
}

.premium-product-card-featured {
    border-color: rgba(15, 23, 42, 0.14) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14) !important;
}

.product-logo-stage {
    width: min(100%, 158px);
    height: 158px;
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 40px rgba(148, 163, 184, 0.18);
    padding: 1.5rem;
}

.product-logo-stage-featured {
    width: min(100%, 176px);
    height: 176px;
    border-radius: 40px;
    background: linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 24px 50px rgba(148, 163, 184, 0.18);
}

.product-brand-logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.12));
}

.product-brand-logo-leos {
    max-height: 112px;
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.12));
}

.product-brand-logo-bilvas {
    max-height: 64px;
}

.product-brand-logo-acas {
    max-height: 96px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}

.product-badge-featured {
    background: rgba(15, 23, 42, 0.06);
    color: #223247;
    border-color: rgba(15, 23, 42, 0.1);
}

.product-badge-info {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    border-color: rgba(15, 23, 42, 0.08);
}

.product-badge-warning {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
    border-color: rgba(15, 23, 42, 0.08);
}

.product-description {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.75;
    min-height: 84px;
}

.product-feature-list {
    margin: 0;
    padding: 1.25rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: grid;
    gap: 0.9rem;
}

.product-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-feature-list i {
    color: #2563eb;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.product-cta {
    background-color: #182132;
    border: 1px solid #182132;
    color: #ffffff;
    transition: all 0.3s ease;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.product-cta:hover,
.product-cta:focus {
    background-color: #ffffff;
    color: #182132;
    border-color: #182132;
    box-shadow: 0 14px 30px rgba(24, 33, 50, 0.12);
}

.product-cta-acas {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
}

.references-section {
    position: relative;
    background: #ffffff;
}

.reference-card {
    border-radius: 24px;
    min-height: 220px;
    padding: 2.2rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.reference-logo {
    max-height: 92px;
    max-width: 170px;
    filter: grayscale(100%) saturate(0) contrast(0.95);
    opacity: 0.78;
}

.reference-card:hover .reference-logo {
    filter: grayscale(0%) saturate(1);
    opacity: 1;
}

.reference-name {
    margin-top: 1.15rem;
    color: #526277;
    font-size: 1rem;
    text-align: center;
}

.reference-card:hover .reference-name {
    color: #223247;
}

.section-bridge {
    padding: 0.5rem 0 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-bridge .container {
    max-width: 920px;
}

.section-bridge-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.75) 50%, transparent 100%);
}

.section-bridge-content {
    padding: 1.5rem 1rem;
}

.section-bridge-content h6 {
    color: var(--primary-color);
}

.section-bridge-content h3 {
    color: #172033;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

.section-bridge-content p {
    max-width: 620px;
    margin-inline: auto;
    line-height: 1.8;
}

.premium-service-modal {
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 42px 96px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.premium-service-modal__hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    align-items: center;
    padding: 2rem 2rem 1.25rem;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.premium-service-modal__copy {
    padding-right: 2.5rem;
}

.premium-service-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.premium-service-modal__copy .modal-title {
    font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
    color: #172033;
}

.premium-service-modal__body {
    padding: 0 2rem 2rem;
}

.premium-service-modal__list {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.premium-service-modal__item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #334155;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.premium-service-modal__item i {
    color: #182132;
    font-size: 1.05rem;
}

.premium-modal-cta {
    background: #182132;
    border: 1px solid #182132;
    color: #ffffff;
    padding: 0.95rem 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 20px 36px rgba(24, 33, 50, 0.18);
}

.premium-modal-cta:hover,
.premium-modal-cta:focus {
    background: #ffffff;
    color: #182132;
    border-color: #182132;
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(24, 33, 50, 0.2);
}

.premium-modal-close {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    padding: 0.75rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

@media (min-width: 992px) {
    .premium-product-card-featured {
        transform: translateY(-18px);
    }

    .premium-product-card-featured:hover {
        transform: translateY(-28px);
    }
}

@media (max-width: 991.98px) {
    .premium-product-card-side {
        margin-top: 0;
    }

    .product-description {
        min-height: auto;
    }

    .premium-service-modal__hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .premium-service-modal__copy {
        padding-right: 0;
    }
}


/* =========================================
   8. FOOTER
   ========================================= */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main-row {
    align-items: flex-start;
    justify-content: space-between;
}

.footer-copy {
    max-width: 33rem;
    line-height: 1.8;
}

.contact-copy-column {
    padding-right: 2rem;
}

.contact-title-single-line {
    white-space: nowrap;
}

.contact-lead-copy {
    max-width: 33rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
}

.footer-contact-column {
    max-width: 25rem;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact-list {
    width: 100%;
    padding-left: 0;
}

.footer-contact-list li {
    line-height: 1.8;
}

.footer-contact-item {
    padding-left: 0;
    text-align: left;
    width: 100%;
}

.footer-address {
    display: block;
    width: 100%;
}

.social-links .btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* =========================================
   9. LOGO STYLING
   ========================================= */
.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .footer-copy {
        max-width: none;
    }

    .contact-title-single-line {
        white-space: normal;
    }

    .contact-lead-copy {
        max-width: none;
        text-align: left;
    }
}

.hero-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.project-logo {
    max-width: 180px;
    /* Slightly reduced inner logo to fit container */
    width: 100%;
    height: auto;
    object-fit: contain;
}

.leos-logo-container {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 70%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(13, 110, 253, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.4s ease;
}

.leos-logo-container:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 50px rgba(13, 110, 253, 0.2);
}

/* =========================================
   10. QUOTE FORM
   ========================================= */

.quote-form-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, 0.06), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 991.98px) {
    .quote-form-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(8px);
    max-width: 520px;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .contact-info-card {
        max-width: 100%;
    }
}

/* Contact Card */
.contact-info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem !important;
}

.contact-info-list {
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.contact-info-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
}

.contact-info-value {
    margin: 0;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.75;
    text-decoration: none;
    word-break: break-word;
}

a.contact-info-value:hover {
    color: #2563eb;
}

.contact-point {
    gap: 0.5rem;
}

.contact-point-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    position: relative;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.14);
}

.contact-point-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-point-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16), rgba(59, 130, 246, 0));
    z-index: -1;
}

.contact-point-icon-start {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.contact-point-icon-support {
    background: linear-gradient(135deg, #182132 0%, #334155 100%);
}

.contact-point-icon i {
    font-size: 1.55rem;
    text-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.contact-point-icon-svg {
    width: 1.7rem;
    height: 1.7rem;
    display: block;
    color: #ffffff;
    fill: currentColor;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
}

@media (max-width: 991.98px) {
    .hero-title {
        max-width: 12ch;
    }

    .hero-subtitle,
    .hero-lead {
        text-align: left;
    }
}

@media (max-width: 991.98px) {
    .contact-copy-column {
        padding-right: 0.75rem;
    }

    .footer-contact-column {
        max-width: none;
    }

    .stat-glass-card__headline--wide {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 72px;
    }

    #mainNav .container {
        padding-inline: 1rem;
    }

    #navbarResponsive {
        margin-top: 0.9rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 24px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    #navbarResponsive .navbar-nav {
        gap: 0.3rem;
    }

    #navbarResponsive .nav-link {
        margin-left: 0;
        padding: 0.8rem 1rem;
        border-radius: 14px;
    }

    #navbarResponsive .nav-link:hover,
    #navbarResponsive .nav-link:focus,
    #navbarResponsive .nav-link.active {
        background: rgba(13, 110, 253, 0.08);
    }

    .lang-switch {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(148, 163, 184, 0.18);
    }

    .masthead {
        height: auto;
        min-height: auto;
        padding-top: 0;
    }

    .hero-section {
        align-items: flex-start !important;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero-mobile-visual {
        display: flex;
        justify-content: flex-start;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(2.15rem, 6vw, 3rem);
    }

    .hero-title-inline,
    html[lang="en"] .hero-title-inline {
        display: inline;
        white-space: normal;
    }

    .hero-subtitle,
    .hero-lead {
        max-width: none;
        text-align: left;
    }

    .hero-section .btn-lg {
        width: 100%;
        padding-inline: 1.5rem;
    }

    .timeline-section {
        margin-left: 0 !important;
    }

    .premium-product-card {
        padding: 1.75rem !important;
    }

    .product-logo-stage {
        width: min(100%, 140px);
        height: 140px;
        padding: 1.15rem;
    }

    .product-logo-stage-featured {
        width: min(100%, 156px);
        height: 156px;
    }

    .product-feature-list {
        padding: 1rem;
    }

    .reference-card {
        min-height: 0;
        padding: 1.75rem 1.25rem;
    }

    .reference-logo {
        max-height: 80px;
        max-width: 150px;
    }

    .section-bridge {
        padding-bottom: 1.25rem;
    }

    .section-bridge-content {
        padding-inline: 0.25rem;
    }

    .contact-copy-column {
        padding-right: 0;
    }

    .contact-info-card {
        margin-left: 0;
    }

    .contact-point {
        align-items: flex-start !important;
    }

    .contact-point-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .footer-main-row {
        row-gap: 2rem;
    }

    .footer-contact-column {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .text-justify,
    .about-intro-copy,
    .footer-copy {
        text-align: left;
        text-justify: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.55rem);
        line-height: 1.12;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-lead {
        font-size: 0.97rem;
        line-height: 1.7;
        margin-bottom: 2rem !important;
    }

    .hero-mobile-visual__frame {
        width: min(100%, 190px);
    }

    .hero-mobile-logo {
        max-width: 146px;
    }

    .about-cta {
        width: 100%;
    }

    .stat-glass-card {
        min-height: 0;
        padding: 1.5rem !important;
    }

    .projects-section .container,
    .references-section .container,
    .quote-form-section .container,
    footer .container {
        padding-inline: 1rem;
    }

    .premium-product-card,
    .reference-card,
    .contact-info-card {
        border-radius: 20px;
    }

    .section-bridge-content h3 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-info-item {
        padding: 0.95rem 1rem;
    }

    .premium-service-modal {
        border-radius: 24px;
    }

    .premium-service-modal__hero {
        gap: 1.25rem;
        padding: 1.5rem 1.25rem 1rem;
    }

    .premium-service-modal__body {
        padding: 0 1.25rem 1.25rem;
    }

    .premium-modal-close {
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 575.98px) {
    #mainNav .container {
        padding-inline: 0.75rem;
    }

    .navbar-logo {
        height: 34px;
    }

    #navbarResponsive {
        margin-top: 0.75rem;
        padding: 0.85rem;
        border-radius: 20px;
    }

    .hero-section {
        padding-top: 6.25rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.25rem);
    }

    .hero-mobile-visual {
        margin-bottom: 1.5rem !important;
    }

    .hero-mobile-visual__frame {
        width: min(100%, 170px);
    }

    .hero-mobile-logo {
        max-width: 132px;
    }

    .hero-section .btn-lg {
        font-size: 1rem;
        padding-block: 0.85rem;
    }

    .timeline-section {
        padding-left: 1.15rem;
    }

    .timeline-dot {
        left: -1.55rem;
    }

    .product-logo-stage {
        width: min(100%, 124px);
        height: 124px;
        border-radius: 28px;
    }

    .product-logo-stage-featured {
        width: min(100%, 138px);
        height: 138px;
        border-radius: 32px;
    }

    .product-description {
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .product-feature-list li,
    .reference-name,
    .contact-info-value,
    .footer-copy,
    .footer-contact-list li {
        font-size: 0.95rem;
    }

    .reference-card {
        padding: 1.5rem 1.1rem;
    }

    .section-bridge {
        padding-top: 0;
    }

    .contact-point {
        gap: 0.9rem;
    }

    .contact-point-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        margin-right: 0 !important;
    }

    .contact-point-copy h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .contact-info-card h4 {
        font-size: 1.15rem;
    }

    .contact-info-label {
        font-size: 0.8rem;
    }

    footer {
        text-align: left;
    }

    .premium-service-modal__item {
        align-items: flex-start;
    }
}
