.parallax {
    margin-top: 96px;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: visible;
    z-index: 0;
    isolation: isolate;
}

.parallax .opacity-full-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-text {
    background-image: linear-gradient(to right, #03addc, #3af3d6);
}

.color-black {
    color: #000;
    margin-top: 20px;
}
.color-white {
    color: #fff;
}

/* Keep fixed nav above the hero on this page */
header {
    position: relative;
    z-index: 1030;
}
header nav.navbar.fixed-top {
    z-index: 1030;
}

/* Hero: floating image with padded content (desktop) */
.hero-overflow-img {
    margin-top: 40px;
    margin-bottom: -80px;
    z-index: 1;
    min-height: 440px;
}
.cyber-hero-row {
    align-items: stretch;
}
.cyber-hero-text {
    padding-top: 40px !important;
    padding-bottom: 0 !important;
}
.cyber-hero-text h2 {
    margin-top: 0;
}

/* Stacked layout (tablet portrait + mobile): contained image, padded content */
@media (max-width: 991.98px) {
    .parallax {
        margin-top: 0;
        padding-top: 2.5rem;
        padding-bottom: 3rem;
    }
    .hero-overflow-img {
        margin-top: 0;
        margin-bottom: 0;
        min-height: 320px;
    }
    .cyber-hero-text {
        padding: 4rem !important;
    }
}

@media (max-width: 768px) {
    .parallax {
        margin-top: 0 !important;
    }
}
/* Cyber stats band */
.cyber-stats-section {
    background-color: #2e2a2a;
    position: relative;
    margin: 8rem 0 0 0;
    padding: 1rem 0;
}

.cyber-stats-section .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.cyber-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.cyber-stat {
    padding: 2rem 2rem;
}

.cyber-stat + .cyber-stat {
    border-top: 1px solid #ffffff;
}

.cyber-stat-top {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.cyber-stat-icon {
    color: #2fb7e8;
    font-size: 44px;
    line-height: 1;
    flex-shrink: 0;
    min-width: 52px;
}

.cyber-stat-number {
    color: #ffffff;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    margin: 0;
}

.cyber-stat-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    margin: 2px 0 0 0;
}

.cyber-stat-text {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Tablet: 3 on top, 2 on bottom, vertical lines + middle horizontal line */
@media (min-width: 768px) and (max-width: 991px) {
    .cyber-stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .cyber-stat {
        padding: 2rem 1.5rem;
    }

    .cyber-stat:nth-child(1),
    .cyber-stat:nth-child(2),
    .cyber-stat:nth-child(3) {
        grid-column: span 2;
    }

    .cyber-stat:nth-child(4),
    .cyber-stat:nth-child(5) {
        grid-column: span 3;
    }

    .cyber-stat + .cyber-stat {
        border-top: none;
    }

    .cyber-stat:nth-child(2),
    .cyber-stat:nth-child(3),
    .cyber-stat:nth-child(5) {
        border-left: 1px solid #ffffff;
    }

    .cyber-stat:nth-child(4),
    .cyber-stat:nth-child(5) {
        border-top: 1px solid #ffffff;
    }
}

/* Desktop: 5 across with vertical dividers */
@media (min-width: 992px) {
    .cyber-stats-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .cyber-stat {
        padding: 2.25rem 2rem;
    }

    .cyber-stat:nth-child(1),
    .cyber-stat:nth-child(2),
    .cyber-stat:nth-child(3),
    .cyber-stat:nth-child(4),
    .cyber-stat:nth-child(5) {
        grid-column: span 1;
    }

    .cyber-stat + .cyber-stat {
        border-top: none;
        border-left: 1px solid #ffffff;
    }
}

/* Cyber expertise section */
.cyber-expert-section {
    background-image: url('https://d2057z2iq79qyw.cloudfront.net/rwa/squiggly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ffffff;
    padding: 4.5rem 0;
}

.cyber-expert-title {
    color: #212121;
    font-weight: 700;
    font-size: 46px;
    line-height: 1.2;
    margin: 0;
}

.cyber-expert-title .accent {
    color: #3fb9ec;
}

.cyber-expert-section p.cyber-expert-text {
    color: #2b2b2b;
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 1.75rem 0;
}

.cyber-expert-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

.cyber-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background-image: linear-gradient(to right, #029ae6, #05c9cd, #41f8d7);
    border-radius: 999px;
    padding: 6px 7px 6px 19px;
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    text-transform: capitalize;
}

.cyber-pill-btn:hover {
    color: #ffffff;
}

.cyber-pill-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #04bbd4;
    font-size: 14px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .cyber-expert-title {
        font-size: 34px;
        margin-bottom: 2rem;
    }
}

/* Areas we recruit section */
.areas-section {
    background-color: #2b2b2b;
    padding: 90px 0;
}

.areas-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 3.5rem;
}

.area-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    height: 100%;
}

.area-card:hover {
    background-image: linear-gradient(160deg, #0aa8e6, #2ef0d2);
}

.area-card-icon {
    color: #2fb7e8;
    font-size: 60px;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.area-card:hover .area-card-icon {
    color: #ffffff;
}

.area-card-title {
    color: #1f1f1f;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.area-card:hover .area-card-title {
    color: #ffffff;
}

.area-card-text {
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.area-card:hover .area-card-text {
    color: #ffffff;
}

/* Why RWA for Security section */
.why-security-section {
    background-color: #ffffff;
    padding: 3rem 0;
    overflow: visible;
    position: relative;
}

.why-security-side-title {
    color: #3fb9ec;
    font-weight: 800;
    font-size: clamp(34px, 3.2vw, 54px);
    line-height: 1.1;
    margin: 0 0 2rem 0;
}

@media (min-width: 1200px) {
    .why-security-side-title {
        margin-bottom: 0;
    }

    .why-security-section .why-security-side {
        padding-right: 2rem !important;
    }
}

@media (min-width: 2000px) {
    .why-security-side-title {
        font-size: 90px;
        line-height: 1.05;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .why-security-section .why-security-gray,
    .why-security-section .why-security-black {
        padding: 3.5rem 2.5rem !important;
    }
}

.why-security-section .why-security-gray {
    background-color: #d2dadd;
    padding: 4rem 3rem !important;
}

.why-security-heading {
    color: #1f1f1f;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.why-security-gray > p {
    color: #2b2b2b;
    font-size: 17px;
    line-height: 1.65;
}

.why-security-list {
    list-style: none;
    margin: 2rem 0 0 0;
    padding: 0;
}

.why-security-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    color: #2b2b2b;
    font-size: 17px;
}

.why-security-list li:last-child {
    margin-bottom: 0;
}

.why-security-list i {
    color: #2fb7e8;
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.why-security-section .why-security-black {
    background-color: #1f1f1f;
    padding: 4rem 3rem !important;
}

.why-security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.why-security-feature:last-child {
    margin-bottom: 0;
}

.why-security-icon {
    color: #2fb7e8;
    font-size: 52px;
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.why-security-feature-title {
    color: #3fb9ec;
    font-weight: 700;
    font-size: 21px;
    margin-bottom: 0.35rem;
}

.why-security-feature-text {
    color: #e6e6e6;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 1199px) {
    .why-security-side-title {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .why-security-section .why-security-gray,
    .why-security-section .why-security-black {
        padding: 2.5rem 1.75rem !important;
    }
}

/* Typical cyber security roles section */
.cyber-roles-section {
    padding: 50px 0;
}

@media (max-width: 1199px) {
    .cyber-roles-section {
        padding: 40px 0;
    }
}

.cyber-roles-title {
    text-align: center;
    color: #1f1f1f;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 3.5rem;
}

.cyber-role-item {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 1.75rem;
    border-radius: 14px;
    background-color: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.cyber-role-item:hover {
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.cyber-role-icon {
    color: #00bcd4;
    font-size: 46px;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.cyber-role-title {
    color: #1f1f1f;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

@media (max-width: 992px) {
    .cyber-role-item {
        padding: 0;
    }
}

/* How it works section */
.cyber-how-section {
    background-color: #edf1f5;
    background-image: url('https://d2057z2iq79qyw.cloudfront.net/rwa/squiggly.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
}

.cyber-how-title {
    text-align: center;
    color: #1f1f1f;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin-bottom: 3.5rem;
}

.cyber-how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
}

.cyber-how-step {
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.cyber-how-step-icon {
    color: #2fb7e8;
    font-size: 56px;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.cyber-how-step-title {
    color: #1f1f1f;
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 0.5rem;
}

.cyber-how-step-text {
    color: #2b2b2b;
    font-size: 15px;
    margin: 0;
}

.cyber-how-arrow {
    flex: 0 0 80px;
    align-self: flex-start;
    margin: 34px 0.35rem 0 0.35rem;
    border-top: 2px dashed #1f1f1f;
    position: relative;
}

.cyber-how-arrow::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -7px;
    border-left: 9px solid #1f1f1f;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@media (max-width: 991px) {
    .cyber-how-steps {
        flex-direction: column;
        align-items: center;
    }

    .cyber-how-step {
        margin-bottom: 0.5rem;
        max-width: 320px;
    }

    .cyber-how-arrow {
        flex: none;
        align-self: center;
        width: 0;
        height: 56px;
        margin: 0.75rem 0;
        border-top: none;
        border-left: 2px dashed #1f1f1f;
    }

    .cyber-how-arrow::after {
        right: auto;
        left: -6px;
        top: auto;
        bottom: -2px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 9px solid #1f1f1f;
        border-bottom: none;
    }
}

/* Our Team banner section */
.bgteam {
    background: url('https://d2057z2iq79qyw.cloudfront.net/rwa/bgteam.jpg');
    height: 311px;
    background-size: cover;
    justify-content: center;
    align-items: center;
    display: flex;
}

.bottom-section {
    padding: 0;
}

.bgteam a {
    background: #fff;
    padding: 11px 30px;
    border-radius: 50px;
    color: #000;
}

.bgteam i {
    margin-left: 7px;
    color: #06c8d1;
}

/* Longer wordmark variant (e.g. "Software Development & Engineering").
   Prevents the shared word-break: break-word rule from splitting words
   and scales the text down so the longest word fits the narrow column. */
.why-security-side-title--long {
    font-size: clamp(26px, 2.6vw, 46px);
    line-height: 1.15;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

@media (min-width: 2000px) {
    .why-security-side-title--long {
        font-size: 56px;
        line-height: 1.05;
    }
}
