:root {
    --primary: #8FBED8;
    --primary-light: #B8D6E9;
    --primary-mid: #7BAECC;
    --accent: #5F95BB;
    --accent-light: #8EBCE0;
    --accent-dark: #467CA3;
    --accent-glow: rgba(61, 96, 152, 0.12);
    --blue-subtle: #e8eef6;
    --text: #1e2a3a;
    --text-light: #5a6a7e;
    --text-muted: #8a96a8;
    --white: #ffffff;
    --off-white: #f6f8fb;
    --cream: #eef2f7;
    --grey-bg: #e8ecf2;
    --border: #d8dfe8;
    --border-light: #e8eef6;
    --shadow-sm: 0 2px 12px rgba(26, 42, 74, 0.05);
    --shadow-md: 0 8px 30px rgba(26, 42, 74, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 42, 74, 0.1);
    --shadow-xl: 0 30px 80px rgba(26, 42, 74, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Aptos', 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.4em;
    margin-bottom: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-inner {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-light), var(--white));
    border-radius: 2px;
    animation: loadBar 1.5s ease-out forwards;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes loadBar {
    to {
        width: 100%;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 42, 74, 0.08);
    padding: 8px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header.scrolled .logo {
    background: transparent;
    padding: 0;
}

.logo-img {
    height: 46px;
    width: auto;
    transition: var(--transition);
    filter: none;
}

.header.scrolled .logo-img {
    height: 40px;
    filter: none;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 12px;
}

.logo-img--footer {
    height: 46px;
    filter: none;
    opacity: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.03em;
}

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

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

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

.nav-link--cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 10px 24px !important;
}

.nav-link--cta:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.header.scrolled .hamburger span {
    background: var(--primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 42, 74, 0.75) 0%, rgba(26, 42, 74, 0.5) 40%, rgba(26, 42, 74, 0.85) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.15) 50%, transparent 50%), radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.1) 50%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 140px 0 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 36px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-accent {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.85;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 0 32px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    display: block;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    display: block;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 96, 152, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--accent-light);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.section--light .btn-outline,
.section--grey .btn-outline {
    color: var(--primary);
    border-color: var(--border);
}

.section--light .btn-outline:hover,
.section--grey .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section--light {
    background: var(--white);
}

.section--grey {
    background: var(--cream);
}

.section--dark {
    background: var(--primary);
    color: #1a3a5c;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-label--light {
    color: #2a5a8a;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 18px;
}

.section-title--light {
    color: #1a3a5c;
}

.section-line {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto;
}

.section-line--accent {
    background: var(--accent-light);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.02rem;
    max-width: 600px;
    margin: 24px auto 0;
    line-height: 1.8;
}

.section-subtitle--light {
    color: rgba(20, 50, 80, 0.7);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.75;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text-col p {
    color: var(--text-light);
    font-size: 0.98rem;
    margin-bottom: 16px;`n    text-align: justify;
    line-height: 1.8;
}

.about-img-col {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-col img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--accent);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
}

.badge-text {
    font-weight: 700;
    color: var(--white);
    font-size: 0.88rem;
    letter-spacing: 0.12em;
}

.focus-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.5) 1px, transparent 1px), radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 50px 50px;
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.vertical-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 32px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 50, 80, 0.12);
    transition: var(--transition);
}

.vertical-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(90, 138, 196, 0.25);
    transform: translateY(-4px);
}

.vertical-card--highlight {
    border-color: rgba(90, 138, 196, 0.15);
    background: rgba(90, 138, 196, 0.06);
}

.vertical-icon {
    color: #2a5a8a;
    margin-bottom: 18px;
}

.vertical-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 10px;
}

.vertical-card p {
    font-size: 0.88rem;
    color: rgba(20, 50, 80, 0.75);
    line-height: 1.7;
}

.vertical-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    background: rgba(90, 138, 196, 0.12);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.project-principles {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.principle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
}

.principle svg {
    color: var(--accent);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.project-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-row:hover {
    box-shadow: var(--shadow-md);
}

.project-row--reverse {
    direction: rtl;
}

.project-row--reverse>* {
    direction: ltr;
}

.project-img-wrap {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-slow);
}

.project-row:hover .project-img-wrap img {
    transform: scale(1.04);
}

.project-img-wrap--gradient {
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-img-wrap--gradient2 {
    background: linear-gradient(135deg, var(--primary-mid), #253d5b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-upcoming-icon {
    color: var(--accent-light);
    opacity: 0.3;
}

.project-status {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-status--gold {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.project-status--upcoming {
    background: transparent;
    border: 1px solid rgba(90, 138, 196, 0.4);
    color: var(--accent-light);
}

.project-info {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-location {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 8px;
}

.project-specs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-specs span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--blue-subtle);
    padding: 4px 12px;
    border-radius: 50px;
}

.project-info p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 8px;
}

.project-note {
    font-style: italic;
    color: var(--text-muted) !important;
    font-size: 0.88rem !important;
}

.leaders-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.leader-img {
    width: 220px;
    min-width: 220px;
    height: 220px;
    align-self: center;
    margin: 28px 0 28px 28px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-slow);
    display: block;
}

.leader-card:hover .leader-img img {
    transform: scale(1.04);
}

.leader-img--initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-mid));
}

.leader-initials {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-light);
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.leader-info {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 3px solid var(--accent);
}

.leader-name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.leader-role {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.leader-bio {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

.careers-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.careers-lead {
    font-size: 1.12rem;
    color: rgba(20, 50, 80, 0.85);
    line-height: 1.85;
    margin-bottom: 12px;
}

.careers-content>p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    margin-bottom: 40px;
}

.careers-apply {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.careers-apply h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.careers-apply p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.resume-format {
    margin: 16px 0;
}

.resume-format code {
    font-size: 1rem;
    color: var(--accent-light);
    background: rgba(90, 138, 196, 0.12);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(90, 138, 196, 0.2);
    display: inline-block;
}

.resume-example {
    margin-bottom: 24px !important;
}

.resume-example strong {
    color: rgba(255, 255, 255, 0.8);
}

.careers-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.35) !important;
    margin-top: 20px !important;
    font-size: 0.88rem !important;
}

.cta-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 42, 74, 0.9) 0%, rgba(26, 42, 74, 0.85) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.08rem;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

input,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: var(--radius-sm);
    color: var(--white);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.86rem;
    line-height: 1.6;
}

.info-card a {
    color: var(--accent);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--accent-dark);
}

.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-tagline {
    font-family: var(--font-display);
    color: var(--accent-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 14px 0 16px;
}

.footer-desc {
    font-size: 0.86rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-email {
    color: var(--accent-light);
    font-weight: 500;
    font-size: 0.92rem;
}

.footer-email:hover {
    color: var(--white);
}

.footer-address {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.amatrra-gallery {
    margin-top: 48px;
    padding: 48px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition-slow);
    border-radius: var(--radius-md);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.03em;
    background: linear-gradient(transparent, rgba(26, 42, 74, 0.85));
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover span {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leaders-grid {
        gap: 20px;
    }

    .leader-img {
        width: 180px;
        min-width: 180px;
        height: 180px;
    }

    .project-row,
    .project-row--reverse {
        grid-template-columns: 1fr;
    }

    .project-row--reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== PROJECT FILTERS ===== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--accent-light);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-md);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--color-white);
}

.project-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item.hidden-project {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    display: none;
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        inset: 0;
        background: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.75) !important;
        font-size: 1.15rem;
        padding: 12px 24px;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .verticals-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-content {
        padding: 120px 0 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-principles {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Leader card mobile stacking */
@media (max-width: 600px) {
    .leader-card {
        flex-direction: column;
        align-items: center;
    }
    .leader-img {
        width: 160px;
        min-width: 160px;
        height: 160px;
        margin: 24px 0 0 0;
        border-radius: 10px;
    }
    .leader-info {
        border-left: none;
        border-top: 3px solid var(--accent);
        padding: 20px 24px 24px;
        width: 100%;
    }
}



/* Footer text contrast fixes */
.footer { color: #1a3a5c; }
.footer h4 { color: #1a3a5c; }
.footer-tagline { color: #1a3a5c; }
.footer-desc { color: rgba(20, 50, 80, 0.75); }
.footer-links a { color: rgba(20, 50, 80, 0.7); }
.footer-links a:hover { color: #1a3a5c; }
.footer-email { color: #1a3a5c !important; }
.footer-address { color: rgba(20, 50, 80, 0.7); }
.footer-bottom p { color: rgba(20, 50, 80, 0.6); }

/* Careers section text contrast fixes */
.careers-lead { color: rgba(20, 50, 80, 0.85) !important; }
.careers-content p { color: rgba(20, 50, 80, 0.75); }
.careers-apply h3 { color: #1a3a5c; }
.careers-apply p { color: rgba(20, 50, 80, 0.75); }
.careers-note { color: rgba(20, 50, 80, 0.6) !important; font-style: italic; }
.resume-format code { color: #1a3a5c; }

/* Vertical card background slightly more opaque for contrast */
.vertical-card { background: rgba(255, 255, 255, 0.25) !important; border: 1px solid rgba(20, 50, 80, 0.1) !important; }
.vertical-card:hover { background: rgba(255, 255, 255, 0.4) !important; }

/* Nav link colors on scrolled header for light blue */
.hamburger span { background: #1a3a5c !important; }

/* Fix CTA overlay text */
.cta-title { color: #fff !important; }
.cta-text { color: rgba(255,255,255,0.85) !important; }
