/* =========================================================
   FORTEX SECURITY SERVICES LLP
   Main Stylesheet
   Clean + Consolidated + Corrected
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #0b3d91;
    --primary-dark: #082d6b;
    --primary-light: #1658c7;

    --secondary: #ffc107;
    --secondary-dark: #e6ac00;

    --dark: #09172f;
    --dark-soft: #162b55;

    --light: #f4f7fb;
    --surface: #ffffff;

    --text: #424f6e;
    --muted: #6b7a95;

    --border: #d7e1f5;

    --success: #198754;
    --danger: #dc3545;

    --shadow-sm: 0 8px 25px rgba(9, 23, 47, 0.06);
    --shadow-md: 0 18px 40px rgba(9, 23, 47, 0.08);
    --shadow-lg: 0 26px 55px rgba(9, 23, 47, 0.14);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* =========================================================
   GLOBAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: linear-gradient(
        180deg,
        #f5f8fc 0%,
        #eef2f8 100%
    );
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100%;
}

section {
    padding: 90px 0;
}

button,
a,
input,
textarea,
select {
    font-family: inherit;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
}

p {
    line-height: 1.8;
}

.text-muted-light {
    color: #6f7a95 !important;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--dark);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-title p {
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.9;
}

.section-title .divider {
    width: 64px;
    height: 4px;
    margin: 1.5rem auto 0;
    background: var(--secondary);
    border-radius: 999px;
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        #0d3165 100%
    );
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar a {
    color: #fff;
    transition: 0.25s ease;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    background: #fff !important;
    border-bottom: 1px solid #e5e7eb;
    min-height: 70px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    z-index: 1000;
}

.navbar:hover {
    background: #fff !important;
}

.navbar-brand {
    color: #111827 !important;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: #111827 !important;
}

.navbar-brand img {
    height: 0.8in;
    width: 0.8in;
    object-fit: contain;
}

.navbar-brand .fs-5 {
    letter-spacing: 0.08em;
    font-size: 1rem;
    color: #111827 !important;
}

.navbar-brand small,
.navbar-brand .text-white {
    color: #111827 !important;
}

.navbar-brand small {
    font-size: 14px;
}

.nav-link {
    color: #111827 !important;
    margin-left: 14px;
    font-weight: 500;
    transition: 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

.navbar-toggler {
    border-color: #111827;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: brightness(0);
}

.navbar-nav .btn {
    min-width: 145px;
    font-weight: 600;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.btn-rounded {
    border-radius: 999px;
}

.btn-warning {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
    font-weight: 700;
}

.btn-warning:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.25);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.22);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #fff;
    color: #fff;
}

/* =========================================================
   GENERAL HERO
========================================================= */

.page-hero,
.company-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(3, 8, 18, 0.95),
            rgba(12, 28, 55, 0.95)
        );
    color: #fff;
}

.page-hero::before,
.company-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.08),
            transparent 24%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 255, 255, 0.05),
            transparent 20%
        );

    pointer-events: none;
}

.page-hero .container,
.company-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1,
.page-hero h2,
.page-hero h3,
.company-hero h1,
.company-hero h2,
.company-hero h3 {
    color: #fff;
}

.page-hero p,
.page-hero .lead,
.company-hero p,
.company-hero .lead {
    color: #d8e1f4;
}

.page-hero .btn,
.company-hero .btn {
    box-shadow: 0 18px 40px rgba(9, 23, 47, 0.2);
}

.page-hero {
    min-height: 64vh;
    display: flex;
    align-items: center;
}

/* =========================================================
   HOME HERO
========================================================= */

.fortex-home-hero {
    min-height: 92vh;
    position: relative;

    background:
        linear-gradient(
            180deg,
            rgba(2, 15, 43, 0.35),
            rgba(2, 15, 43, 0.60)
        ),
        url("../images/security-team.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.fortex-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(2, 15, 43, 0.10),
        rgba(2, 15, 43, 0.35)
    );

    pointer-events: none;
    z-index: 1;
}

.fortex-home-hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.02;
}

.hero p {
    color: #f2f6ff;
    font-size: 1.15rem;
    max-width: 700px;
    margin: auto;
    line-height: 1.85;
}

.hero .btn {
    min-width: 180px;
}

/* =========================================================
   FORTEX HOME ENHANCEMENT
========================================================= */

.fortex-home-hero {
    position: relative;
    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            rgba(5, 15, 35, 0.97),
            rgba(10, 35, 70, 0.94)
        );

    overflow: hidden;
}

.fortex-home-hero::before {
    content: "";
    position: absolute;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(255, 193, 7, 0.18);
    border-radius: 50%;

    right: -120px;
    top: -150px;
}

.fortex-home-hero::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(255, 193, 7, 0.12);
    border-radius: 50%;

    left: -150px;
    bottom: -180px;
}

.fortex-home-hero .container {
    position: relative;
    z-index: 2;
}

.fortex-home-hero h1,
.fortex-home-hero h2,
.fortex-home-hero h3 {
    color: #fff;
}

.hero-stat {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong {
    display: block;
    color: var(--secondary);
    font-size: 1.05rem;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.hero-security-panel {
    padding: 40px 30px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(10px);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.security-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.security-flow div {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.security-flow span {
    display: block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.security-flow strong {
    color: #fff;
}

/* =========================================================
   CARDS
========================================================= */

.card,
.feature-card,
.stat-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(9, 23, 47, 0.06);
    box-shadow: var(--shadow-md);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card:hover,
.feature-card:hover,
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body,
.feature-card .card-body,
.stat-card .card-body {
    padding: 2rem;
}

.card {
    border: none;
    overflow: hidden;
}

/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-card {
    background: #fff;
}

.home-feature-card {
    height: 100%;
    padding: 28px;

    border-radius: var(--radius-md);

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

.home-feature-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.home-feature-card h5 {
    font-weight: 700;
}

.home-feature-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* =========================================================
   ICON BOX
========================================================= */

.icon-box {
    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(11, 61, 145, 0.08);

    color: var(--primary);

    margin: auto;
}

.icon-box i {
    font-size: 1.65rem;
}

/* =========================================================
   COMPANY PAGE
========================================================= */

.company-hero {
    background:
        linear-gradient(
            135deg,
            rgba(3, 8, 18, 0.95),
            rgba(12, 28, 55, 0.95)
        );
}

.company-hero h1 {
    color: #fff;
    letter-spacing: 0.04em;
}

.company-hero .lead {
    color: #d8e1f4;
}

.company-stat {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    align-items: flex-start;
}

.company-stat h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.company-stat p {
    margin-bottom: 0;
    color: #5c677d;
    line-height: 1.75;
}

.company-stat .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 12px 28px rgba(11, 61, 145, 0.16);
}

.company-stat .icon-box i {
    font-size: 1.25rem;
}

.company-highlight-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.07);
}

.company-value-row {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.company-value-row > i {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(11, 61, 145, 0.08);

    color: var(--primary);
}

.company-value-row strong {
    display: block;
    margin-bottom: 3px;
}

.company-value-row p {
    margin: 0;
    color: #6c757d;
}

.company-process-card {
    height: 100%;
    padding: 24px 15px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.company-process-card > span {
    display: block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.company-process-card i {
    display: block;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 12px;
}

.company-process-card h6 {
    font-weight: 700;
}

.company-process-card p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* =========================================================
   SECURITY PROCESS
========================================================= */

.security-process-card {
    height: 100%;
    padding: 30px 22px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.035);
}

.security-process-card i {
    display: block;
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.security-process-card span {
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
}

.security-process-card h5 {
    color: #fff;
    margin-top: 7px;
}

.security-process-card p {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0;
}

/* =========================================================
   INDUSTRY PILLS
========================================================= */

.industry-pill {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    transition: all 0.2s ease;
}

.industry-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 61, 145, 0.25);
    box-shadow: var(--shadow-md);
}

.industry-pill i {
    color: var(--primary);
    font-size: 1.35rem;
}

/* =========================================================
   DARK VALUE CARDS
========================================================= */

.card-value {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 16, 30, 0.95);
    color: #e9edf5;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.card-value h5 {
    color: #fff;
}

.card-value i {
    color: var(--secondary);
}

/* =========================================================
   FORMS
========================================================= */

.form-control,
.form-select {
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: none;
    transition: all 0.25s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 0.15rem rgba(11, 61, 145, 0.12);
}

textarea.form-control {
    min-height: 140px;
}

.contact-info .list-group-item {
    border: none;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.contact-info .list-group-item + .list-group-item {
    margin-top: 1rem;
}

.contact-info .bg-light {
    background: rgba(255, 255, 255, 0.95) !important;
}

.contact-info .btn-primary,
.contact-info .btn-success {
    border-radius: 1rem;
}

/* =========================================================
   FORTEX DESCRIPTION
========================================================= */

.fortex-description {
    color: #222 !important;
    text-align: left;
    max-width: 750px;
    margin-left: auto;
    margin-right: 20px;
    line-height: 1.7;
}

/* =========================================================
   GALLERY GENERAL
========================================================= */

.admin-gallery-thumb {
    height: 220px;
    object-fit: cover;
}

.gallery-card-img {
    height: 350px;
    object-fit: cover;
}

/* =========================================================
   SPECIAL COMPONENTS
========================================================= */

.auth-side {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            #1b63d0
        );
}

.investor-highlight {
    background: #0d3b66;
}

.overlay-gradient {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.65)
        );

    mix-blend-mode: multiply;
}

/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-button {
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999;
}

.position-fixed.whatsapp-button,
.position-fixed.btn-success {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    transition: 0.3s ease;
}

.position-fixed.whatsapp-button:hover,
.position-fixed.btn-success:hover {
    transform: scale(1.05);
}

/* =========================================================
   BACK TO TOP
========================================================= */

#topBtn {
    display: none;
    bottom: 90px;
    right: 25px;
    z-index: 999;
    transition: 0.25s ease;
}

/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #081a31;
    color: #c9d3e4;
    padding: 80px 0;
}

footer h4,
footer h5 {
    color: #fff;
}

footer p,
footer small {
    color: #b0bccf;
}

footer a {
    color: #b0bccf;
    transition: 0.25s ease;
}

footer a:hover {
    color: var(--secondary);
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

footer .social-icon {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    color: #fff;

    margin-right: 0.65rem;

    transition: 0.25s ease;
}

footer .social-icon:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--dark);
}

/* =========================================================
   ANIMATION
========================================================= */

.fade-up {
    animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   CAREERS PAGE
========================================================= */

.careers-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 193, 7, 0.12),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #030812 0%,
            #0b2348 55%,
            #0b3d91 100%
        );

    position: relative;
    overflow: hidden;
}

.careers-hero::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(255, 193, 7, 0.12);
    border-radius: 50%;

    right: -180px;
    top: -180px;
}

.careers-hero::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;

    left: -150px;
    bottom: -160px;
}

.careers-hero .container {
    position: relative;
    z-index: 2;
}

.careers-hero h1 {
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.careers-hero .lead {
    color: #d8e1f4;
    max-width: 700px;
}

.careers-hero-card {
    padding: 35px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.career-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(25, 135, 84, 0.15);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #9ff0c4;
    font-size: 0.82rem;
    font-weight: 600;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #35d77c;
    box-shadow: 0 0 0 5px rgba(53, 215, 124, 0.12);
}

.career-hero-icon {
    width: 78px;
    height: 78px;
    margin-top: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.22);

    color: var(--secondary);
    font-size: 2rem;
}

.careers-hero-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.career-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
}

.career-mini-stats div {
    text-align: center;
}

.career-mini-stats div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.career-mini-stats strong {
    display: block;
    color: var(--secondary);
    font-size: 1.25rem;
}

.career-mini-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.78rem;
}

/* =========================================================
   CAREER BENEFITS
========================================================= */

.careers-benefits-section {
    background: #fff;
}

.career-benefit-card {
    height: 100%;
    padding: 30px 25px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(9, 23, 47, 0.07);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.career-benefit-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 61, 145, 0.15);
}

.career-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 17px;

    background: rgba(11, 61, 145, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
}

.career-benefit-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.career-benefit-card p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* =========================================================
   CAREER PROCESS
========================================================= */

.career-process-section {
    background:
        linear-gradient(
            180deg,
            #f5f8fc 0%,
            #edf2f9 100%
        );
}

.career-process-card {
    height: 100%;
    position: relative;
    padding: 35px 28px;
    text-align: center;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(9, 23, 47, 0.06);
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
}

.career-process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.process-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(11, 61, 145, 0.12);
    font-size: 2rem;
    font-weight: 800;
}

.process-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 20px;

    background: rgba(11, 61, 145, 0.08);
    color: var(--primary);
    font-size: 1.7rem;
}

.career-process-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.career-process-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* =========================================================
   APPLICATION
========================================================= */

.careers-application-section {
    background: #fff;
}

.openings-wrapper {
    position: sticky;
    top: 100px;
}

.opening-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 17px;
    margin-bottom: 12px;

    border-radius: 16px;

    background: #f7f9fc;
    border: 1px solid rgba(9, 23, 47, 0.06);

    transition: 0.25s ease;
}

.opening-item:hover {
    transform: translateX(5px);
    background: #fff;
    border-color: rgba(11, 61, 145, 0.15);
    box-shadow: var(--shadow-sm);
}

.opening-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(11, 61, 145, 0.08);
    color: var(--primary);
}

.opening-item h6 {
    margin: 0 0 3px;
    font-weight: 700;
}

.opening-item small {
    color: var(--muted);
}

.career-note {
    display: flex;
    gap: 12px;

    margin-top: 25px;
    padding: 18px;

    border-radius: 16px;

    background: rgba(255, 193, 7, 0.09);
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.career-note i {
    color: #c28d00;
    margin-top: 4px;
}

.career-note p {
    margin: 0;
    color: #66572e;
    font-size: 0.86rem;
}

/* =========================================================
   APPLICATION CARD
========================================================= */

.career-application-card {
    padding: 38px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(9, 23, 47, 0.07);
    box-shadow: var(--shadow-lg);
}

.application-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 30px;
    padding-bottom: 25px;

    border-bottom: 1px solid #edf0f5;
}

.application-header h2 {
    font-weight: 800;
    margin-bottom: 8px;
}

.application-header p {
    color: var(--muted);
    margin-bottom: 0;
}

.application-header-icon {
    width: 65px;
    height: 65px;

    flex: 0 0 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: rgba(11, 61, 145, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.form-section-title span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: var(--primary);
    color: #fff;

    font-size: 0.75rem;
    font-weight: 700;
}

.form-section-title h5 {
    margin: 0;
    font-weight: 700;
}

.career-application-card .form-label {
    color: var(--dark);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.career-application-card .form-control,
.career-application-card .form-select {
    min-height: 52px;
}

.career-application-card textarea.form-control {
    min-height: 145px;
}

.resume-upload {
    position: relative;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    border: 1px dashed #bdc9dd;
    border-radius: 15px;

    background: #f8faff;
    overflow: hidden;
}

.resume-upload > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(11, 61, 145, 0.08);
    color: var(--primary);
}

.resume-upload strong {
    display: block;
    font-size: 0.9rem;
}

.resume-upload small {
    color: var(--muted);
}

.resume-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.application-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 25px;

    border-top: 1px solid #edf0f5;
}

.application-security {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--muted);
    font-size: 0.8rem;
}

.application-security i {
    color: var(--success);
}

/* =========================================================
   CAREER CTA
========================================================= */

.career-cta {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #07152d,
            #0b3d91
        );
}

.career-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 45px;

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.career-cta h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
}

.career-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    max-width: 650px;
}

/* =========================================================
   TEAM HERO
========================================================= */

.team-hero {
    position: relative;
}

.team-hero-description {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-hero-card {
    position: relative;
    overflow: hidden;
}

.team-hero-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.08);
    pointer-events: none;
}

.team-hero-card::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px solid rgba(255, 193, 7, 0.12);
    pointer-events: none;
}

/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-hero {
    position: relative;

    padding: 110px 0 100px;

    background:
        linear-gradient(
            135deg,
            rgba(5, 15, 30, 0.98),
            rgba(10, 28, 52, 0.96)
        );

    color: #fff;
    overflow: hidden;
}

.gallery-hero::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -180px;

    border-radius: 50%;
    background: rgba(255, 193, 7, 0.08);
}

.gallery-hero::after {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    left: -180px;
    bottom: -180px;

    border-radius: 50%;
    background: rgba(13, 110, 253, 0.08);
}

.gallery-hero .container {
    position: relative;
    z-index: 2;
}

.gallery-hero h1,
.gallery-hero h2,
.gallery-hero h3 {
    color: #fff;
}

.gallery-hero-text {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    max-width: 700px;
}

/* =========================================================
   GALLERY HERO CARD
========================================================= */

.gallery-hero-card {
    position: relative;

    padding: 40px;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(12px);

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.gallery-hero-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: rgba(255, 193, 7, 0.12);
    color: #ffc107;

    font-size: 30px;

    margin-bottom: 25px;
}

.gallery-hero-card p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.gallery-mini-stats {
    margin-top: 30px;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gallery-mini-stats > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-mini-stats > div > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 193, 7, 0.10);
    color: #ffc107;
}

.gallery-mini-stats strong,
.gallery-mini-stats span {
    display: block;
}

.gallery-mini-stats strong {
    color: #fff;
}

.gallery-mini-stats span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

/* =========================================================
   GALLERY INTRO
========================================================= */

.gallery-intro-section {
    padding: 90px 0 40px;
    background: #fff;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
}

.gallery-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 28px;

    border-radius: 50px;

    font-weight: 600;

    color: #172033;
    background: #f1f3f6;

    transition: all 0.3s ease;
}

.gallery-tab:hover {
    transform: translateY(-2px);
    color: #172033;
}

.gallery-tab.active {
    background: #ffc107;
    color: #111;
}

/* =========================================================
   GALLERY PHOTO SECTION
========================================================= */

.gallery-photo-section {
    padding: 100px 0;
    background: #f8fafc;
}

/* =========================================================
   PHOTO CARD
========================================================= */

.gallery-photo-card {
    height: 100%;

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

/* =========================================================
   PHOTO FRAME
========================================================= */

.gallery-photo-wrapper {
    position: relative;

    width: 100%;
    height: 320px;

    overflow: hidden;

    background: #f1f3f5;
}

/* =========================================================
   GALLERY IMAGE
========================================================= */

.gallery-photo-img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    background: #f1f3f5;

    transition: transform 0.5s ease;
}

.gallery-photo-card:hover .gallery-photo-img {
    transform: scale(1.03);
}

/* =========================================================
   PHOTO OVERLAY
========================================================= */

.gallery-photo-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0);

    transition: background 0.3s ease;

    pointer-events: none;
}

.gallery-photo-card:hover .gallery-photo-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.gallery-photo-view {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 193, 7, 0.95);
    color: #111;

    opacity: 0;

    transform: scale(0.7);

    transition: all 0.3s ease;
}

.gallery-photo-card:hover .gallery-photo-view {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   PHOTO CONTENT
========================================================= */

.gallery-photo-content {
    padding: 20px;
}

.gallery-photo-content span {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #d39e00;
}

.gallery-photo-content h4 {
    margin: 0;

    font-size: 20px;
    font-weight: 700;

    color: #17202a;
}

/* =========================================================
   VIDEO SECTION
========================================================= */

.gallery-video-section {
    padding: 100px 0;
    background: #fff;
}

/* =========================================================
   VIDEO CARD
========================================================= */

.gallery-video-card {
    height: 100%;

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.gallery-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.13);
}

/* =========================================================
   VIDEO WRAPPER
========================================================= */

.gallery-video-wrapper {
    position: relative;

    width: 100%;

    /*
       Responsive 8:7 video area.
       This replaces the old conflicting 700px height rule.
    */
    aspect-ratio: 8 / 7;

    background: #050505;

    overflow: hidden;
}

.gallery-video-wrapper video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    background: #050505;
}

/* =========================================================
   VIDEO BADGE
========================================================= */

.video-badge {
    position: absolute;

    left: 18px;
    top: 18px;

    z-index: 3;

    padding: 8px 13px;

    border-radius: 30px;

    background: rgba(0, 0, 0, 0.70);

    color: #ffc107;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.7px;
}

/* =========================================================
   VIDEO CONTENT
========================================================= */

.gallery-video-content {
    padding: 25px;
}

.gallery-video-content h4 {
    margin-top: 8px;
    margin-bottom: 10px;
    font-weight: 700;
}

.gallery-video-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.7;
}

.video-category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #d39e00;
}

/* =========================================================
   EMPTY GALLERY
========================================================= */

.gallery-empty {
    padding: 70px 20px;

    text-align: center;

    background: #fff;

    border-radius: 20px;

    border: 1px dashed #d9dde3;
}

.gallery-empty i {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 20px;
}

.gallery-empty h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-empty p {
    color: var(--muted);
    margin-bottom: 0;
}

/* =========================================================
   ENVIRONMENTS
========================================================= */

.gallery-environment-section {
    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #08111f,
            #101d31
        );
}

.gallery-environment-section .section-title h2 {
    color: #fff;
}

.gallery-environment-section .section-title p {
    color: rgba(255, 255, 255, 0.65);
}

.gallery-environment-card {
    height: 100%;

    padding: 35px 30px;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    background: rgba(255, 255, 255, 0.04);

    color: #fff;

    transition: all 0.3s ease;
}

.gallery-environment-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 193, 7, 0.45);

    background: rgba(255, 255, 255, 0.07);
}

.gallery-environment-card i {
    font-size: 32px;
    color: #ffc107;
    margin-bottom: 20px;
}

.gallery-environment-card h4 {
    color: #fff;
    font-weight: 700;
}

.gallery-environment-card p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
    line-height: 1.7;
}

/* =========================================================
   FINAL CTA
========================================================= */

.gallery-final-cta {
    padding: 80px 0;
    background: #f7f8fa;
}

.gallery-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 45px 50px;

    border-radius: 24px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
}

.gallery-final-inner h2 {
    font-weight: 700;
    margin: 10px 0;
}

.gallery-final-inner p {
    color: #6c757d;
    margin-bottom: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    section {
        padding: 80px 0;
    }

    .page-hero h1,
    .company-hero h1 {
        font-size: 2.75rem;
    }

    .fortex-home-hero {
        padding: 80px 0;
    }

    .fortex-home-hero h1 {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .navbar-nav {
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 0.75rem;
    }

    .navbar-nav .btn {
        width: 100%;
    }

    .careers-hero {
        min-height: auto;
        padding: 90px 0;
    }

    .careers-hero h1 {
        font-size: 3rem;
    }

    .openings-wrapper {
        position: static;
    }

    .career-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .team-hero {
        text-align: center;
    }

    .team-hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .team-hero .d-flex {
        justify-content: center;
    }

    .gallery-hero {
        padding: 80px 0;
    }

    .gallery-hero-card {
        padding: 30px;
    }

    .gallery-photo-wrapper {
        height: 300px;
    }

    .gallery-final-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    section {
        padding: 70px 0;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .page-hero,
    .company-hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero {
        min-height: 80vh;
        padding: 80px 22px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .fortex-home-hero {
        padding: 65px 0;
    }

    .fortex-home-hero h1 {
        font-size: 2.25rem;
    }

    .hero-security-panel {
        padding: 30px 20px;
    }

    .security-flow {
        grid-template-columns: 1fr 1fr;
    }

    .company-stat {
        padding: 1.5rem;
    }

    .company-stat .icon-box {
        width: 56px;
        height: 56px;
    }

    .company-highlight-card {
        padding: 28px 20px;
    }

    .industry-pill {
        padding: 15px;
    }

    .careers-hero {
        padding: 75px 0;
    }

    .careers-hero h1 {
        font-size: 2.45rem;
    }

    .careers-hero-card {
        padding: 27px;
    }

    .career-application-card {
        padding: 25px 20px;
        border-radius: 22px;
    }

    .application-header {
        flex-direction: column;
    }

    .application-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .application-footer .btn {
        width: 100%;
    }

    .career-cta-inner {
        padding: 30px 24px;
    }

    .career-cta-inner .btn {
        width: 100%;
    }

    .team-hero h1 {
        font-size: 2.7rem;
        line-height: 1.1;
    }

    .team-hero .lead {
        font-size: 1.05rem;
    }

    .team-hero-card {
        padding: 30px 24px;
    }

    .gallery-hero {
        padding: 65px 0;
    }

    .gallery-hero h1 {
        font-size: 2.7rem;
    }

    .gallery-photo-wrapper {
        height: 280px;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-tab {
        justify-content: center;
    }

    .gallery-final-inner {
        padding: 35px 25px;
    }

    .gallery-final-inner .btn {
        width: 100%;
    }

    .gallery-video-wrapper {
        aspect-ratio: 8 / 7;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 75vh;
    }

    .hero h1,
    .fortex-home-hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .section-title {
        margin-bottom: 2.25rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .security-flow {
        grid-template-columns: 1fr;
    }

    .hero-security-panel {
        padding: 25px 18px;
    }

    .navbar-brand img {
        height: 0.65in;
        width: 0.65in;
    }

    footer {
        padding: 60px 0;
    }

    .careers-hero h1 {
        font-size: 2.1rem;
    }

    .career-mini-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .career-mini-stats div + div {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 15px;
    }

    .career-benefit-card {
        padding: 25px 20px;
    }

    .career-process-card {
        padding: 28px 20px;
    }

    .career-cta {
        padding: 50px 0;
    }

    .gallery-photo-wrapper {
        height: 230px;
    }

    .gallery-video-wrapper {
        aspect-ratio: 8 / 7;
    }

    .gallery-video-content {
        padding: 20px;
    }

    .gallery-environment-card {
        padding: 28px 22px;
    }
}

/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 480px) {

    .gallery-photo-wrapper {
        height: 230px;
    }

    .gallery-hero h1 {
        font-size: 2.25rem;
    }

    .gallery-hero-card {
        padding: 25px 20px;
    }

    .gallery-final-inner {
        padding: 28px 20px;
    }

    .career-application-card {
        padding: 22px 16px;
    }
}