:root {
    --ctcs-navy-dark: #0B1030;
    --ctcs-navy: #151B4D;
    --ctcs-indigo: #2E3192;
    --ctcs-blue-accent: #3B47CC;
    --ctcs-teal: #22D3B0;
    --ctcs-white: #FFFFFF;
    --ctcs-bg-light: #F4F6FB;
    --ctcs-card-blue: #E8ECFB;
    --ctcs-icon-muted: #8B93C9;
    --ctcs-text-dark: #1B2459;
    --ctcs-text-muted: #64708A;
    --ctcs-shadow: 0 12px 30px rgba(14, 21, 70, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ctcs-text-dark);
    background-color: var(--ctcs-white);
    line-height: 1.65;
    padding-top: 88px;
}

body.page-home {
    padding-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
    color: var(--ctcs-text-dark);
    letter-spacing: -0.01em;
}

p {
    color: var(--ctcs-text-muted);
}

a {
    color: inherit;
}

.container {
    /*max-width: 1350px;
    margin: 0 auto;*/
    width: 90%;
}

.section-light {
    background: var(--ctcs-bg-light);
}

.section-dark {
    background: linear-gradient(145deg, var(--ctcs-navy-dark) 0%, var(--ctcs-indigo) 100%);
    color: var(--ctcs-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark li {
    color: var(--ctcs-white);
}

.eyebrow {
    display: inline-block;
    color: var(--ctcs-teal);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
}

.section-padding {
    padding: 5.5rem 0;
}

.ctcs-navbar {
    transition: all 0.3s ease;
    background: var(--ctcs-navy);
    /*background: rgba(11, 16, 48, 0.35);*/
    backdrop-filter: blur(5px);
}

.ctcs-navbar.scrolled {
    background: rgba(11, 16, 48, 0.90);
    box-shadow: 0 8px 20px rgba(8, 14, 44, 0.25);
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-wordmark {
    font-weight: 800;
    color: var(--ctcs-white);
    letter-spacing: 0.06em;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0.2rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ctcs-teal) !important;
}

.nav-phone {
    color: var(--ctcs-white);
    text-decoration: none;
    font-weight: 600;
}

.nav-phone i {
    color: var(--ctcs-teal);
}

.btn-pill {
    border-radius: 999px;
    padding: 0.68rem 1.4rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
    transform: translateY(-2px);
}

.btn-quote,
.btn-primary-ctcs {
    background: var(--ctcs-teal);
    color: var(--ctcs-navy-dark);
    border: 1px solid transparent;
}

.btn-quote:hover,
.btn-primary-ctcs:hover {
    background: #1ac09f;
    box-shadow: 0 10px 20px rgba(34, 211, 176, 0.28);
    color: var(--ctcs-navy-dark);
}

.btn-outline-ctcs {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--ctcs-white);
    background: transparent;
}

.btn-outline-ctcs:hover {
    background: var(--ctcs-white);
    color: var(--ctcs-navy);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    background-image: linear-gradient(90deg, rgba(21, 27, 77, 1) 10%, rgba(21, 27, 77, 0.8) 40%, rgba(21, 27, 77, 0) 80%), url("../img/new-hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.orb-a {
    width: 440px;
    height: 440px;
    right: -170px;
    top: -180px;
    background: rgba(255, 255, 255, 0.08);
}

.orb-b {
    width: 330px;
    height: 330px;
    left: -130px;
    bottom: -120px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 60ch;
}

.hero-image-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(2, 9, 32, 0.35);
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 48, 0) 20%, rgba(11, 16, 48, 0.26) 100%);
}

.info-card,
.service-card,
.support-card,
.stat-card,
.contact-card,
.vision-card,
.client-card {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--ctcs-shadow);
    background: var(--ctcs-white);
}

.info-card,
.service-card,
.support-card,
.client-card {
    height: 100%;
    padding: 1.5rem;
}

.icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ctcs-card-blue);
    color: var(--ctcs-indigo);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.icon-badge.icon-dark {
    background: rgba(255, 255, 255, 0.18);
    color: var(--ctcs-white);
}

.stat-grid {
    margin-top: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    background: #f0f3fa;
}

.stat-value {
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-family: "Playfair Display", serif;
    color: var(--ctcs-navy);
    line-height: 1;
}

.stat-label {
    color: var(--ctcs-text-muted);
    font-weight: 600;
    margin-top: 0.45rem;
}

.services-grid .service-card h3,
.support-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.65rem;
}

.why-list {
    display: grid;
    gap: 1.25rem;
}

.why-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.why-item i {
    color: var(--ctcs-teal);
    margin-top: 0.2rem;
}

.client-marquee {
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.client-pill {
    border: 1px solid #dae1f4;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--ctcs-text-dark);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
}

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

.cta-banner {
    border-radius: 20px;
    padding: 2rem;
    background: linear-gradient(140deg, var(--ctcs-navy) 0%, var(--ctcs-blue-accent) 100%);
    color: #fff;
    box-shadow: 0 20px 35px rgba(19, 25, 80, 0.35);
}

.cta-banner h2,
.cta-banner p {
    color: #fff;
}

.table-ctcs {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ctcs-shadow);
}

.table-ctcs th {
    background: var(--ctcs-navy);
    color: #fff;
}

.table-ctcs td {
    background: #fff;
}

.client-filter-btn {
    border-radius: 999px;
    border: 1px solid #c7d0eb;
    color: var(--ctcs-text-dark);
    font-weight: 700;
}

.client-filter-btn.active,
.client-filter-btn:hover {
    background: var(--ctcs-indigo);
    color: #fff;
    border-color: var(--ctcs-indigo);
}

.form-control,
.form-select {
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    border-color: #d8dff3;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ctcs-blue-accent);
    box-shadow: 0 0 0 0.2rem rgba(59, 71, 204, 0.2);
}

#contactFeedback {
    min-height: 26px;
}

.ctcs-footer {
    margin-top: 4rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.footer-links li {
    margin-bottom: 0.52rem;
    color: rgba(255, 255, 255, 0.82);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links a:hover,
.footer-inline-link:hover {
    color: var(--ctcs-teal);
}

.footer-tagline {
    color: var(--ctcs-teal) !important;
    font-weight: 700;
}

.footer-rule {
    border-color: rgba(255, 255, 255, 0.14);
}

.footer-inline-link {
    color: #fff;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    body {
        padding-top: 80px;
    }

    .ctcs-navbar {
        background: rgba(11, 16, 48, 0.94);
    }

    .nav-cta-wrap {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero {
        min-height: auto;
        padding-top: 1.4rem;
        background-image: linear-gradient(90deg, #0B1030 0%, #151B4D 100%);
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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