/* ==========================================
   CdubS
   Technology Ecosystem
========================================== */

:root {
    --navy: #1B2A4A;
    --navy-dark: #101A30;
    --navy-light: #263A61;

    --gold: #C9A84C;
    --gold-light: #E0C675;

    --white: #ffffff;
    --off-white: #F5F7FA;
    --text: #26344D;
    --muted: #718096;

    --border: rgba(27, 42, 74, 0.12);

    --radius: 10px;
    --transition: 0.25s ease;
}


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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);
    background: var(--white);
}

a {
    text-decoration: none;
}

strong {
    color: var(--gold);
    font-weight: 700;
}


/* ==========================================
   NAVIGATION
========================================== */

.cdubs-nav {
    background: rgba(16, 26, 48, 0.96);
    border-bottom: 1px solid rgba(201, 168, 76, 0.18);

    backdrop-filter: blur(12px);

    padding: 14px 0;
}

.navbar-brand {
    gap: 10px;
}

.logo-mark {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);
    border-radius: 6px;

    color: var(--gold);
    font-weight: 800;
    font-size: 20px;

    position: relative;
}

.logo-mark::after {
    content: "";
    position: absolute;

    width: 7px;
    height: 7px;

    right: -4px;
    bottom: -4px;

    background: var(--gold);
    border-radius: 50%;
}

.logo-name {
    display: block;

    color: var(--white);
    font-size: 19px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text small {
    color: #9BA9BF;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-link {
    color: #DCE3EE !important;

    font-size: 13px;
    font-weight: 500;

    margin-left: 25px;

    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold) !important;
}


/* ==========================================
   HERO
========================================== */

.hero-section {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(201, 168, 76, 0.09),
            transparent 30%
        ),
        var(--navy-dark);

    color: var(--white);
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: 0.13;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.08) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 75%
        );
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2.5px;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.eyebrow span {
    display: inline-block;

    width: 25px;
    height: 1px;

    background: var(--gold);
}

.hero-section h1 {
    max-width: 760px;

    font-size: clamp(45px, 6vw, 78px);
    line-height: 0.98;

    font-weight: 700;
    letter-spacing: -3px;

    margin-bottom: 28px;
}

.hero-tagline {
    color: var(--gold-light);

    font-size: clamp(18px, 2vw, 23px);
    font-weight: 500;

    margin-bottom: 18px;
}

.hero-description {
    max-width: 650px;

    color: #B8C2D2;

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    padding: 12px 21px;

    transition: var(--transition);
}

.btn i {
    margin-left: 7px;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-dark);

    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);

    color: var(--navy-dark);

    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.35);
}

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


/* ==========================================
   NETWORK VISUAL
========================================== */

.network-visual {
    width: 410px;
    height: 410px;

    margin: auto;

    position: relative;
}

.network-visual::before {
    content: "";

    position: absolute;
    inset: 50px;

    border: 1px dashed rgba(201,168,76,0.25);
    border-radius: 50%;
}

.network-visual::after {
    content: "";

    position: absolute;
    inset: 105px;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50%;
}

.node {
    width: 66px;
    height: 66px;

    position: absolute;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(27,42,74,0.9);

    border: 1px solid rgba(201,168,76,0.55);

    color: var(--gold);

    border-radius: 50%;

    font-size: 22px;

    box-shadow:
        0 0 30px rgba(201,168,76,0.08);
}

.node-center {
    left: calc(50% - 33px);
    top: calc(50% - 33px);

    width: 86px;
    height: 86px;

    font-size: 28px;

    border-color: var(--gold);

    box-shadow:
        0 0 50px rgba(201,168,76,0.2);
}

.node-top {
    left: calc(50% - 33px);
    top: 15px;
}

.node-right {
    right: 15px;
    top: calc(50% - 33px);
}

.node-bottom {
    left: calc(50% - 33px);
    bottom: 15px;
}

.node-left {
    left: 15px;
    top: calc(50% - 33px);
}

.connection {
    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.5;

    transform-origin: left center;
}

.connection-1 {
    width: 150px;

    left: 205px;
    top: 128px;

    transform: rotate(-90deg);
}

.connection-2 {
    width: 150px;

    left: 240px;
    top: 205px;

    transform: rotate(0deg);
}

.connection-3 {
    width: 150px;

    left: 205px;
    top: 240px;

    transform: rotate(90deg);
}

.connection-4 {
    width: 150px;

    left: 170px;
    top: 205px;

    transform: rotate(180deg);
}


/* ==========================================
   SERVICES
========================================== */

.services-section {
    padding: 110px 0;

    background: var(--off-white);
}

.section-heading {
    max-width: 750px;
    margin: auto;
}

.section-heading h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 700;

    letter-spacing: -1.5px;

    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
}


/* SERVICE CARD */

.service-card {
    height: 100%;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(201,168,76,0.55);

    box-shadow:
        0 18px 45px rgba(27,42,74,0.10);
}

.service-image {
    height: 190px;

    position: relative;

    background-size: cover;
    background-position: center;
}


.sysadmin-image {
    background-image:
        url("../img/sys_admin.avif?auto=format&fit=crop&w=900&q=80");
}

.networking-image {
    background-image:
        url("../img/network.jpg?auto=format&fit=crop&w=900&q=80");
}

.containers-image {
    background-image:
        url("../img/container.jpg?auto=format&fit=crop&w=900&q=80");
}

.security-image {
    background-image:
        url("../img/security.jpg?auto=format&fit=crop&w=900&q=80");
}

.image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(27,42,74,0.88),
            rgba(16,26,48,0.35)
        );
}

.service-icon {
    width: 52px;
    height: 52px;

    position: absolute;

    left: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(27,42,74,0.88);

    border: 1px solid rgba(201,168,76,0.7);

    color: var(--gold);

    border-radius: 7px;

    font-size: 20px;
}

.service-content {
    padding: 25px;
}

.service-number {
    color: var(--gold);

    font-family: monospace;
    font-size: 11px;

    margin-bottom: 7px;
}

.service-content h3 {
    color: var(--navy);

    font-size: 23px;

    margin-bottom: 12px;
}

.service-content p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

.service-content ul {
    list-style: none;

    padding: 0;
    margin: 20px 0 0;
}

.service-content li {
    color: var(--navy);

    font-family: monospace;
    font-size: 11px;

    padding: 7px 0;

    border-top: 1px solid #E8ECF2;
}

.service-content li::before {
    content: "→";

    color: var(--gold);

    margin-right: 8px;
}


/* ==========================================
   APPROACH
========================================== */

.approach-section {
    padding: 110px 0;

    background: var(--white);
}

.approach-section h2 {
    color: var(--navy);

    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.approach-section p {
    color: var(--muted);

    line-height: 1.8;
}

.approach-section .lead {
    color: var(--text);

    font-size: 18px;
}


/* ARCHITECTURE PANEL */

.architecture-panel {
    background: var(--navy-dark);

    border-radius: 8px;

    border: 1px solid rgba(201,168,76,0.25);

    padding: 25px;

    box-shadow:
        0 25px 60px rgba(27,42,74,0.16);

    font-family: monospace;
}

.architecture-header {
    display: flex;

    align-items: center;

    color: #7F8EA6;

    font-size: 10px;

    letter-spacing: 1px;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.architecture-header > span:last-child {
    color: #75C98A;
}

.status-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    margin-right: 8px;

    background: #75C98A;

    border-radius: 50%;

    box-shadow: 0 0 10px rgba(117,201,138,0.6);
}

.architecture-line {
    display: flex;

    justify-content: space-between;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,0.06);

    font-size: 11px;
}

.architecture-line span {
    color: #7F8EA6;
}

.architecture-line strong {
    color: #C9D4E5;

    font-weight: 500;
}

.architecture-footer {
    color: var(--gold);

    font-size: 11px;

    padding-top: 22px;
}

.cursor {
    width: 7px;
    height: 13px;

    display: inline-block;

    margin-left: 3px;

    vertical-align: middle;

    background: var(--gold);

    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.text-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: 15px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}

.text-link:hover {
    color: var(--gold);
}


/* ==========================================
   CONTACT
========================================== */

.contact-section {
    padding: 90px 0;

    background: var(--navy-dark);
}

.contact-box {
    max-width: 850px;
    margin: auto;
}

.contact-box h2 {
    color: var(--white);

    font-size: clamp(35px, 5vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.contact-box p {
    color: #AEB9CA;

    margin-bottom: 30px;
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    padding: 30px 0;

    background: #0B1324;

    color: #8090A8;

    font-size: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--white);

    font-weight: 700;
    font-size: 18px;

    margin-bottom: 8px;
}

.footer-brand p {
    margin: 0;
}

.footer p {
    margin: 0;
}

.logo-mark.small {
    width: 30px;
    height: 30px;

    font-size: 15px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .navbar-collapse {
        padding: 15px 0;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0 !important;
    }

    .hero-section h1 {
        letter-spacing: -2px;
    }

}


@media (max-width: 767px) {

    .hero-section {
        min-height: auto;
    }

    .hero-section .min-vh-100 {
        min-height: 760px !important;
    }

    .hero-section h1 {
        font-size: 47px;
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }

    .services-section,
    .approach-section {
        padding: 75px 0;
    }

    .contact-section {
        padding: 70px 0;
    }

    .section-heading h2,
    .approach-section h2 {
        letter-spacing: -1px;
    }

    .contact-box h2 {
        letter-spacing: -1px;
    }

}


@media (max-width: 480px) {

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .service-image {
        height: 175px;
    }

}