/* ================================================
   SVENSYS — Main Stylesheet
   Colors: Blue (#0047AB) · White · Red (#DC2626)
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --blue:        #0047AB;
    --blue-dark:   #003380;
    --blue-mid:    #1D4ED8;
    --blue-light:  #DBEAFE;
    --red:         #DC2626;
    --red-dark:    #991B1B;
    --red-light:   #FEE2E2;
    --dark:        #0A1628;
    --dark-2:      #1E293B;
    --gray:        #64748B;
    --gray-light:  #CBD5E1;
    --border:      #E2E8F0;
    --light:       #F8FAFF;
    --white:       #FFFFFF;

    --shadow-sm:   0 2px 8px rgba(0,71,171,0.08);
    --shadow-md:   0 4px 20px rgba(0,71,171,0.12);
    --shadow-lg:   0 8px 40px rgba(0,71,171,0.18);
    --radius:      12px;
    --radius-lg:   20px;
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --trans:       all 0.3s var(--ease);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dark-2);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Base Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.18;
}

/* ================================================
   UTILITIES
   ================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.section { padding: 100px 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.section-tag.light {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
}

.section-title {
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--dark);
    margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.75;
}

.body-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: var(--trans);
    cursor: pointer;
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,71,171,0.35);
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline-dark:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 7px;
}
.btn-nav:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.btn-white-solid {
    background: var(--white);
    color: var(--red-dark);
    border-color: var(--white);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
}
.btn-white-solid:hover {
    background: rgba(255,255,255,0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---------- Scroll Reveal ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: none;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 22px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(10,22,40,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 36px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-right: auto;
}
.logo-sven { color: var(--white); }
.logo-sys  { color: var(--red); }

.nav-links {
    display: flex;
    gap: 28px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 899;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.mobile-menu a {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--white); }

/* ================================================
   HERO
   ================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,71,171,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 0% 100%, rgba(220,38,38,0.12) 0%, transparent 60%),
        linear-gradient(160deg, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 110px;
    padding-bottom: 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    animation: fadeDown 0.8s var(--ease) both;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: #22C55E;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { opacity: 0.8; transform: scale(0.85); box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-title {
    font-size: clamp(40px, 6.5vw, 78px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 24px;
    animation: fadeUp 0.8s var(--ease) 0.15s both;
}

.hero-gradient {
    background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 40%, #E53E3E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.65);
    max-width: 620px;
    line-height: 1.75;
    margin-bottom: 40px;
    animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
    animation: fadeUp 0.8s var(--ease) 0.45s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius);
    padding: 22px 32px;
    max-width: 580px;
    animation: fadeUp 0.8s var(--ease) 0.6s both;
}
.h-stat {
    flex: 1;
    text-align: center;
}
.h-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: inline;
}
.h-stat-plus {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--red);
    vertical-align: super;
}
.h-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
}
.h-stat-div {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
    margin: 0 4px;
}

.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeUp 1s var(--ease) 1.2s both;
}
.scroll-mouse {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
    background: var(--dark-2);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.trust-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.trust-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-logos span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.03em;
    transition: color 0.3s;
}
.trust-logos span:hover { color: rgba(255,255,255,0.6); }

/* ================================================
   ABOUT
   ================================================ */
.about { background: var(--light); }

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

/* About Visual */
.about-card-wrap {
    position: relative;
}
.a-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.a-card-main {
    background: var(--white);
    border: 1px solid var(--border);
}
.a-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}
.a-card-dots {
    display: flex;
    gap: 5px;
}
.a-card-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
}
.a-card-dots span:nth-child(1) { background: #FF5F57; }
.a-card-dots span:nth-child(2) { background: #FFBD2E; }
.a-card-dots span:nth-child(3) { background: #28C840; }
.a-card-title-bar {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.03em;
}
.a-card-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.infra-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.infra-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.infra-icon svg { width: 18px; height: 18px; }
.infra-icon.net { background: rgba(0,71,171,0.1); color: var(--blue); }
.infra-icon.sec { background: rgba(220,38,38,0.1); color: var(--red); }
.infra-icon.dc  { background: rgba(0,71,171,0.08); color: var(--blue-mid); }
.infra-icon.wl  { background: rgba(16,185,129,0.1); color: #059669; }

.infra-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.infra-info span { font-size: 13px; font-weight: 500; color: var(--dark-2); }
.infra-bar {
    height: 5px;
    background: var(--border);
    border-radius: 100px;
    overflow: hidden;
}
.infra-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    border-radius: 100px;
    animation: barGrow 1.5s var(--ease) forwards;
    width: 0 !important; /* Overridden by JS after animation */
}
.infra-fill.red { background: linear-gradient(90deg, var(--red-dark), var(--red)); }
@keyframes barGrow {
    from { width: 0 !important; }
}

.infra-pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    width: 34px;
    text-align: right;
    flex-shrink: 0;
}

.a-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--blue);
}
.a-float-badge.top-right { top: -18px; right: -18px; }
.a-float-badge.bot-left  { bottom: -18px; left: -18px; border-left-color: #22C55E; }

.a-float-badge strong { display: block; font-size: 13px; color: var(--dark); }
.a-float-badge small  { font-size: 11px; color: var(--gray); }
.dot-green {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
    animation: pulseDot 2s ease infinite;
}

/* About Text */
.about-text .section-tag { margin-bottom: 12px; }
.about-text .section-title { text-align: left; margin-bottom: 20px; }

.about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.about-features li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feat-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feat-icon.blue { background: rgba(0,71,171,0.1); color: var(--blue); }
.feat-icon.red  { background: rgba(220,38,38,0.1); color: var(--red); }
.about-features li strong { display: block; font-size: 15px; color: var(--dark); margin-bottom: 3px; }
.about-features li p { font-size: 14px; color: var(--gray); line-height: 1.55; }

.about-cta-row {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ================================================
   SERVICES
   ================================================ */
.services { background: var(--white); }

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

.svc-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
    transition-delay: var(--d, 0s);
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,71,171,0.04), rgba(220,38,38,0.02));
    opacity: 0;
    transition: opacity 0.3s;
}
.svc-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.svc-card:hover::after { opacity: 1; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover .svc-icon-wrap {
    background: var(--blue);
    color: var(--white);
}

.svc-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(0,71,171,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 18px;
    transition: var(--trans);
    position: relative;
    z-index: 1;
}
.svc-icon { width: 26px; height: 26px; }

.svc-card h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.svc-card p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    z-index: 1;
}
.svc-tags span {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    padding: 3px 10px;
    border-radius: 100px;
}

/* ================================================
   WHY US
   ================================================ */
.why-us {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
}
.why-us::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(220,38,38,0.04), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}
.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 32px 26px;
    transition: var(--trans);
    transition-delay: var(--d, 0s);
}
.why-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0,71,171,0.35);
    transform: translateY(-4px);
}
.why-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--red);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 18px;
    transition: opacity 0.3s;
}
.why-card:hover .why-num { opacity: 0.55; }
.why-card h3 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 12px;
}
.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
}

/* ================================================
   PROJECTS
   ================================================ */
.projects { background: var(--light); }

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proj-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--trans);
    transition-delay: var(--d, 0s);
}
.proj-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.proj-wide { grid-column: span 2; }

.proj-inner {
    padding: 30px;
    height: 100%;
    position: relative;
}

.proj-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 10px;
}
.proj-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 12px;
}
.proj-wide h3 { font-size: 26px; }
.proj-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 20px;
}
.proj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.proj-meta span {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    padding: 5px 12px;
    border-radius: 100px;
}
.proj-icon-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.proj-card:hover .proj-icon-badge { opacity: 1; }

/* ================================================
   CLIENTS TICKER
   ================================================ */
.clients { background: var(--white); overflow: hidden; }

.ticker-outer {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.ticker-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.ticker-fade.left {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}
.ticker-fade.right {
    right: 0;
    background: linear-gradient(-90deg, var(--white), transparent);
}

.ticker-track { overflow: hidden; }
.ticker-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerScroll 35s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }

.cn {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--dark);
    opacity: 0.3;
    padding: 0 28px;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.cn:hover { opacity: 0.75; }
.cs {
    color: var(--red);
    opacity: 0.3;
    font-size: 9px;
    flex-shrink: 0;
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, #EF4444 100%);
}
.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-text h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    color: var(--white);
    margin-bottom: 12px;
    max-width: 580px;
}
.cta-text p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    line-height: 1.65;
}

/* ================================================
   CONTACT
   ================================================ */
.contact { background: var(--white); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: start;
}

.ci-item {
    display: flex;
    gap: 14px;
    margin-bottom: 26px;
    align-items: flex-start;
}
.ci-icon {
    width: 44px; height: 44px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ci-item strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 4px; }
.ci-item p { font-size: 14px; color: var(--gray); line-height: 1.65; }

.ci-certs {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}
.ci-certs strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 10px;
}
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cert {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid rgba(0,71,171,0.15);
    padding: 5px 12px;
    border-radius: 6px;
}

.ci-group strong { font-size: 14px; color: var(--dark); display: block; margin-bottom: 4px; }
.ci-group p { font-size: 13px; color: var(--gray); }

/* Form */
.contact-form-wrap {
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cf-group { margin-bottom: 18px; }
.cf-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-2);
    margin-bottom: 7px;
}
.cf-group input,
.cf-group select,
.cf-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--dark);
    outline: none;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    -webkit-appearance: none;
}
.cf-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0,71,171,0.1);
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: var(--gray-light); }
.cf-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 15px;
    font-size: 15px;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    background: var(--dark);
    padding: 80px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo { margin-bottom: 14px; }
.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    line-height: 1.75;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.45);
    transition: var(--trans);
}
.footer-social a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s;
}
.footer-col li a:hover { color: rgba(255,255,255,0.75); }

.footer-col address {
    font-style: normal;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    line-height: 1.8;
    margin-bottom: 10px;
}
.footer-email {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    transition: color 0.3s;
    display: block;
    margin-bottom: 8px;
}
.footer-email:hover { color: rgba(255,255,255,0.7); }
.footer-duns {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.25); transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ================================================
   BACK TO TOP
   ================================================ */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 800;
    width: 44px; height: 44px;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-top:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

/* ================================================
   KEYFRAME ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-wide { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-visual { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text h2 { max-width: 100%; }
    .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 48px; }

    .nav-links, #navCta { display: none; }
    .hamburger { display: flex; }

    .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .proj-grid { grid-template-columns: 1fr; }
    .proj-wide { grid-column: span 1; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 0;
        padding: 16px 20px;
    }
    .h-stat {
        flex: 0 0 48%;
        padding: 10px 0;
    }
    .h-stat-div { display: none; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .contact-form-wrap { padding: 24px; }
    .cf-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .container { padding: 0 18px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { text-align: center; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .about-cta-row { flex-direction: column; }
    .about-cta-row .btn { text-align: center; justify-content: center; }
}
