
/* =========================================
   R&S TECHNOLOGY SERVICES
   COMPLETE WEBSITE STYLESHEET
   ========================================= */

:root {
    --rs-navy: #0B2D5B;
    --rs-deep-navy: #061F3C;
    --rs-blue: #0078D4;
    --rs-cyan: #38B6FF;
    --rs-light: #F3F7FC;
    --rs-text: #334155;
    --rs-slate: #64748B;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--rs-text);
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

/* =========================================
   NAVIGATION
   ========================================= */

.main-navbar {
    background: #ffffff;
    padding: 17px 0;
    border-bottom: 1px solid #E8EEF5;
    box-shadow: 0 2px 12px rgba(6, 31, 60, 0.04);
}

    .main-navbar .navbar-brand {
        display: flex;
        align-items: center;
        padding: 0;
        margin-right: 30px;
    }

.brand-logo {
    display: block;
    width: 235px;
    max-width: 100%;
    height: auto;
}

.navbar-nav {
    gap: 8px;
}

    .navbar-nav .nav-link {
        color: var(--rs-navy);
        font-size: 0.95rem;
        font-weight: 600;
        padding: 10px 14px !important;
        transition: color 0.2s ease;
    }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link:focus {
            color: var(--rs-blue);
        }

.btn-nav-contact {
    background: var(--rs-blue);
    color: #ffffff;
    border-radius: 7px;
    padding: 11px 22px;
    font-weight: 650;
    border: 1px solid var(--rs-blue);
}

    .btn-nav-contact:hover {
        background: var(--rs-navy);
        border-color: var(--rs-navy);
        color: #ffffff;
    }

/* =========================================
   SHARED BUTTONS
   ========================================= */

.btn-brand {
    background: var(--rs-blue);
    border: 1px solid var(--rs-blue);
    color: #ffffff;
    border-radius: 7px;
    padding: 13px 25px;
    font-weight: 650;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .btn-brand:hover,
    .btn-brand:focus {
        background: #0067B7;
        border-color: #0067B7;
        color: #ffffff;
        transform: translateY(-1px);
    }

/* =========================================
   HOMEPAGE HERO
   ========================================= */

.hero {
    padding: 95px 0;
    background: linear-gradient( 120deg, var(--rs-deep-navy), var(--rs-navy) 65%, #07528E );
    color: #ffffff;
}

.eyebrow {
    color: var(--rs-cyan);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    font-weight: 750;
    line-height: 1.13;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
}

    .hero h1 span {
        display: block;
        color: var(--rs-cyan);
    }

.hero-description {
    color: #D7E7F6;
    font-size: 1.12rem;
    line-height: 1.85;
    max-width: 670px;
    margin-bottom: 32px;
}

.hero .btn-outline-light {
    border-width: 1px;
    border-radius: 7px;
    padding: 13px 25px;
    font-weight: 650;
}

    .hero .btn-outline-light:hover {
        color: var(--rs-navy);
    }

/* =========================================
   INFORM HERO FEATURE CARD
   ========================================= */

.inform-hero-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    color: var(--rs-text);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.16);
}

.inform-card-heading {
    text-align: center;
    margin-bottom: 26px;
}

.highlight-label {
    display: inline-block;
    color: var(--rs-blue);
    background: #E8F4FD;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 1.2px;
}

.inform-card-heading h2 {
    color: var(--rs-navy);
    font-size: 2.2rem;
    font-weight: 750;
    margin: 13px 0 6px;
}

.inform-card-heading p {
    color: var(--rs-slate);
    font-size: 0.91rem;
    margin: 0;
}

/* =========================================
   INFORM NOTIFICATION FLOW
   ========================================= */

.notification-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
}

.flow-node {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: var(--rs-navy);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
}

.flow-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #E8F4FD;
    color: var(--rs-blue);
}

    .flow-icon svg {
        display: block;
        width: 30px;
        height: 30px;
        max-width: 30px;
        max-height: 30px;
    }

.flow-node-primary .flow-icon {
    background: var(--rs-blue);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.2);
}

.flow-connector {
    display: flex;
    align-items: center;
    flex: 0 1 24px;
    min-width: 10px;
    color: var(--rs-blue);
}

.flow-line {
    display: block;
    flex: 1;
    height: 2px;
    background: #BBDCF4;
}

.flow-arrow {
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
}

.flow-caption {
    margin-top: 23px;
    padding-top: 16px;
    border-top: 1px solid #E8EEF5;
    text-align: center;
    color: var(--rs-slate);
    font-size: 0.8rem;
}

/* =========================================
   SHARED SECTIONS
   ========================================= */

.section {
    padding: 90px 0;
    background: #ffffff;
}

.section-light {
    background: var(--rs-light);
}

.section-label {
    color: var(--rs-blue);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section h2 {
    color: var(--rs-navy);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 750;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section h3.section-subtitle {
    color: var(--rs-navy);
    font-size: 1.3rem;
    font-weight: 650;
    line-height: 1.5;
    margin-bottom: 20px;
}

.section p {
    line-height: 1.85;
}

.text-link {
    color: var(--rs-blue);
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
}

    .text-link:hover {
        color: var(--rs-navy);
    }

.section-heading {
    max-width: 800px;
    margin: 0 auto 45px;
}

    .section-heading h2 {
        margin-bottom: 15px;
    }

    .section-heading > p:last-child {
        color: var(--rs-slate);
        font-size: 1.05rem;
    }

/* =========================================
   FEATURE PANEL
   ========================================= */

.feature-panel {
    background: var(--rs-light);
    border: 1px solid #E3EBF5;
    border-radius: 14px;
    padding: 35px;
}

.section-light .feature-panel {
    background: #ffffff;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: #E0F1FF;
    color: var(--rs-blue);
    font-weight: 750;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.feature-panel h4 {
    color: var(--rs-navy);
    font-size: 1.12rem;
    font-weight: 750;
    margin-bottom: 10px;
}

.feature-panel p {
    color: var(--rs-slate);
    margin-bottom: 0;
}

.feature-panel hr {
    border: 0;
    border-top: 1px solid #DCE5F0;
    opacity: 1;
    margin: 24px 0;
}

.feature-panel h3 {
    color: var(--rs-blue);
    font-size: 2.4rem;
    font-weight: 750;
}

/* =========================================
   SERVICE CARDS
   ========================================= */

.service-card {
    background: #ffffff;
    border: 1px solid #E3EBF5;
    border-radius: 14px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(11, 45, 91, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(11, 45, 91, 0.09);
    }

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 10px;
    background: #E7F3FD;
    border-radius: 11px;
    color: var(--rs-blue);
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 22px;
}

    .service-icon svg {
        display: block;
        width: 30px;
        height: 30px;
    }

.service-card h3 {
    color: var(--rs-navy);
    font-size: 1.3rem;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--rs-slate);
    margin-bottom: 0;
}

/* =========================================
   INFORM PRODUCT PAGE
   ========================================= */

.product-hero {
    padding: 95px 0;
    background: linear-gradient( 120deg, var(--rs-deep-navy), var(--rs-navy) 65%, #07528E );
    color: #ffffff;
}

    .product-hero h1 {
        color: #ffffff;
        font-size: clamp(3.5rem, 6vw, 5rem);
        font-weight: 750;
        margin: 20px 0 12px;
    }

    .product-hero h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        font-weight: 600;
        line-height: 1.4;
        max-width: 750px;
        color: var(--rs-cyan);
    }

.product-hero-description {
    font-size: 1.1rem;
    line-height: 1.85;
    max-width: 750px;
    margin: 25px 0 32px;
    color: #D7E7F6;
}

.product-hero-panel {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 32px;
}

    .product-hero-panel .highlight-label {
        color: var(--rs-cyan);
        background: rgba(56, 182, 255, 0.12);
    }

    .product-hero-panel h3 {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 750;
        margin: 22px 0 15px;
    }

    .product-hero-panel p {
        color: #D7E7F6;
        line-height: 1.85;
        margin-bottom: 0;
    }

/* =========================================
   INFORM PROCESS CARDS
   ========================================= */

.process-card {
    position: relative;
}

    .process-card .service-icon {
        background: var(--rs-blue);
        color: #ffffff;
    }

/* =========================================
   INFORM MODERNIZATION PANEL
   ========================================= */

.modernization-panel {
    background: var(--rs-navy);
    border-radius: 15px;
    padding: 35px;
    color: #ffffff;
    box-shadow: 0 18px 35px rgba(11, 45, 91, 0.12);
}

.modernization-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

    .modernization-item:first-child {
        padding-top: 0;
    }

    .modernization-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

.modernization-number {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(56, 182, 255, 0.15);
    border-radius: 9px;
    color: var(--rs-cyan);
    font-size: 0.85rem;
    font-weight: 750;
}

.modernization-item h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 750;
    margin: 0 0 8px;
}

.modernization-item p {
    color: #CBDDED;
    font-size: 0.93rem;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   SERVICES PAGE
   ========================================= */

.services-hero {
    padding: 85px 0;
    background: linear-gradient( 120deg, var(--rs-deep-navy), var(--rs-navy) 65%, #07528E );
    color: #ffffff;
}

    .services-hero h1 {
        color: #ffffff;
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 750;
        line-height: 1.15;
        max-width: 850px;
        margin: 22px 0;
    }

.services-hero-description {
    color: #D7E7F6;
    font-size: 1.15rem;
    line-height: 1.85;
    max-width: 760px;
    margin-bottom: 30px;
}

.service-detail-card {
    display: flex;
    flex-direction: column;
}

    .service-detail-card .service-icon svg {
        display: block;
        width: 30px;
        height: 30px;
    }

.service-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

    .service-list li {
        position: relative;
        padding: 10px 0 10px 24px;
        border-top: 1px solid #E8EEF5;
        color: var(--rs-text);
        font-size: 0.94rem;
        line-height: 1.6;
    }

        .service-list li::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 18px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--rs-blue);
        }

.service-feature-section {
    padding: 90px 0;
    background: #ffffff;
}

    .service-feature-section h2 {
        color: var(--rs-navy);
        font-size: clamp(2rem, 3.5vw, 2.8rem);
        font-weight: 750;
        line-height: 1.2;
        margin-bottom: 24px;
    }

.service-callout {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-radius: 14px;
    border: 1px solid #E4EDF7;
    background: var(--rs-light);
}

.callout-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient( 90deg, var(--rs-blue), var(--rs-cyan) );
}

.service-callout h3 {
    color: var(--rs-navy);
    font-size: 2rem;
    font-weight: 750;
    margin: 15px 0;
}

.service-callout p:not(.section-label) {
    line-height: 1.8;
    margin-bottom: 25px;
}

/* =========================================
   CALL TO ACTION
   ========================================= */

.cta-section {
    padding: 80px 0;
    background: linear-gradient( 120deg, var(--rs-navy), var(--rs-deep-navy) );
    color: #ffffff;
}

    .cta-section h2 {
        color: #ffffff;
        font-size: clamp(2rem, 3.5vw, 2.8rem);
        font-weight: 750;
        margin-bottom: 18px;
    }

    .cta-section p {
        color: #D7E7F6;
        max-width: 720px;
        margin: 0 auto 30px;
        font-size: 1.05rem;
        line-height: 1.85;
    }

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: var(--rs-deep-navy);
    color: #B8CCDF;
    padding: 65px 0 0;
}

    .site-footer h4 {
        color: #ffffff;
        font-size: 1.2rem;
        font-weight: 750;
        margin-bottom: 20px;
    }

    .site-footer h5 {
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 750;
        margin-bottom: 20px;
    }

    .site-footer p {
        line-height: 1.8;
        max-width: 420px;
    }

    .site-footer a {
        display: block;
        color: #B8CCDF;
        font-size: 0.94rem;
        margin-bottom: 12px;
        transition: color 0.2s ease;
    }

        .site-footer a:hover {
            color: var(--rs-cyan);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 40px;
    padding: 22px 0;
    color: #9DB4CA;
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {
    .main-navbar {
        padding: 14px 0;
    }

    .navbar-nav {
        padding-top: 15px;
        gap: 4px;
    }

    .hero,
    .product-hero {
        padding: 70px 0;
    }

    .services-hero {
        padding: 65px 0;
    }

    .section,
    .service-feature-section {
        padding: 65px 0;
    }

    .cta-section {
        padding: 65px 0;
    }
}

@media (max-width: 575px) {
    .brand-logo {
        width: 195px;
    }

    .hero,
    .product-hero {
        padding: 55px 0;
    }

    .services-hero {
        padding: 55px 0;
    }

    .hero h1 {
        letter-spacing: -0.7px;
    }

    .inform-hero-card {
        padding: 20px 14px;
    }

    .flow-icon {
        width: 44px;
        height: 44px;
    }

        .flow-icon svg {
            width: 24px;
            height: 24px;
        }

    .flow-node {
        font-size: 0.62rem;
    }

    .flow-connector {
        flex-basis: 12px;
    }

    .section {
        padding: 55px 0;
    }

    .feature-panel,
    .service-card,
    .modernization-panel {
        padding: 25px;
    }

    .service-callout {
        padding: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
