:root {
    --primary: #0B1F3A;
    --secondary: #0F62FE;
    --secondary-dark: #0047C7;

    --white: #FFFFFF;
    --background: #F7F9FC;
    --surface: #FFFFFF;
    --surface-dark: #102744;

    --text: #101828;
    --text-muted: #667085;
    --border: #E4E7EC;

    --header-height: 88px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 8px 30px rgba(11, 31, 58, 0.07);
    --shadow-md: 0 20px 55px rgba(11, 31, 58, 0.12);

    --transition: 0.3s ease;
}

[data-theme="dark"] {
    --background: #08182D;
    --surface: #0D223E;
    --text: #F8FAFC;
    --text-muted: #B9C3D0;
    --border: rgba(255,255,255,0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    transition:
        background var(--transition),
        color var(--transition);
}

body,
button,
input,
textarea,
select {
    font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.custom-container {
    width: min(100% - 40px, 1440px);
    margin-inline: auto;
}

.section-padding {
    padding: 110px 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.site-header .navbar {
    min-height: var(--header-height);
    padding: 0;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 35px rgba(11, 31, 58, 0.08);
    backdrop-filter: blur(18px);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(8, 24, 45, 0.96);
}

.brand-logo {
    width: 190px;
    max-height: 62px;
    object-fit: contain;
}

.navbar-nav {
    gap: 6px;
}

.nav-link {
    position: relative;
    padding: 32px 12px !important;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.site-header.scrolled .nav-link {
    color: var(--text);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--secondary);
}

.nav-link::after {
    position: absolute;
    bottom: 23px;
    left: 12px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--secondary);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 24px);
}

.dropdown-toggle::after {
    position: static;
    width: auto;
    height: auto;
    margin-left: 6px;
    vertical-align: middle;
    border: 0;
    content: "\f078";
    background: none;
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
}

.mega-menu {
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    padding: 36px 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.mega-menu-title {
    display: block;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

[data-theme="dark"] .mega-menu-title {
    color: var(--white);
}

.mega-menu a {
    display: block;
    padding: 7px 0;
    color: var(--text-muted);
    font-size: 14px;
    transition:
        color var(--transition),
        transform var(--transition);
}

.mega-menu a:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

.theme-toggle,
.hero-controls button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: var(--transition);
}

.site-header.scrolled .theme-toggle {
    border-color: var(--border);
    background: var(--surface);
    color: var(--text);
}

.theme-toggle:hover,
.hero-controls button:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    color: var(--white);
}

.btn-primary-custom,
.btn-outline-light-custom,
.btn-light-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn-primary-custom {
    border: 1px solid var(--secondary);
    background: var(--secondary);
    color: var(--white);
}

.btn-primary-custom:hover {
    border-color: var(--secondary-dark);
    background: var(--secondary-dark);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.28);
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-outline-light-custom:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-light-custom {
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--primary);
}

.btn-light-custom:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg-custom {
    min-height: 58px;
    padding: 0 30px;
}

.hero-section {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-carousel,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 1;
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.06);
    transition:
        opacity 1.3s ease,
        transform 8s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 19, 38, 0.94) 0%,
            rgba(5, 19, 38, 0.77) 48%,
            rgba(5, 19, 38, 0.48) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: var(--header-height);
}

.hero-copy {
    width: min(760px, 100%);
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 22px;
    color: #BFD4FF;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 850px;
    margin: 0;
    color: var(--white);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 0.98;
}

.hero-copy h1 span {
    display: block;
    color: #77A8FF;
}

.hero-copy p {
    max-width: 680px;
    margin: 30px 0 36px;
    color: rgba(255,255,255,0.82);
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-controls {
    position: absolute;
    right: max(20px, calc((100vw - 1440px) / 2 + 20px));
    bottom: 45px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-indicator {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.35);
    transition: width var(--transition), background var(--transition);
}

.hero-indicator.active {
    width: 54px;
    background: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 42px;
    left: 50%;
    z-index: 4;
    width: 26px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    border-radius: 5px;
    background: var(--white);
    transform: translateX(-50%);
    animation: scrollIndicator 1.8s infinite;
}

@keyframes scrollIndicator {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}

.intro-section {
    background: var(--surface);
}

.section-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label-light {
    color: #BFD4FF;
}

.section-title {
    max-width: 800px;
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.12;
}

.section-introduction {
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.text-link i {
    transition: transform var(--transition);
}

.text-link:hover i {
    transform: translateX(5px);
}

.divisions-section {
    background: var(--background);
}

.section-heading {
    display: flex;
    margin-bottom: 50px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.division-card {
    display: flex;
    height: 100%;
    min-height: 350px;
    padding: 38px;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.division-card:hover {
    border-color: rgba(15,98,254,0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.division-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 45px;
    place-items: center;
    border-radius: 12px;
    background: rgba(15,98,254,0.1);
    color: var(--secondary);
    font-size: 25px;
}

.division-card h3 {
    margin-bottom: 15px;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
}

.division-card p {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

.division-card span {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.cta-section {
    padding: 0 0 110px;
    background: var(--background);
}

.cta-panel {
    display: flex;
    padding: 65px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, var(--primary), #123C73);
}

.cta-panel h2 {
    max-width: 780px;
    margin: 0;
    color: var(--white);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.15;
}

.site-footer {
    padding: 85px 0 30px;
    background: #061426;
    color: rgba(255,255,255,0.72);
}

.footer-top {
    padding-bottom: 60px;
}

.footer-logo {
    width: 210px;
    max-height: 70px;
    margin-bottom: 25px;
    object-fit: contain;
}

.footer-description {
    max-width: 430px;
    font-size: 15px;
    line-height: 1.8;
}

.site-footer h3 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.site-footer a {
    display: block;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition:
        color var(--transition),
        transform var(--transition);
}

.site-footer a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    margin: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
}

.social-links a:hover {
    border-color: var(--secondary);
    background: var(--secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    padding-top: 25px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}
