@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --font-serif: 'Playfair Display', serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Al Gurg Exact Color Palette */
    --primary: #0a4c28; /* Dark Forest Green */
    --accent: #8a7243; /* Al Gurg Gold/Olive brand color */
    --accent-hover: #735e35;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f4f6f5; /* Soft beige-grey */
    --bg-tertiary: #eae6dd;  /* Warm sand */
    --border-color: #d8deda;
    
    --text-primary: #1c1c1c;
    --text-secondary: #5e5e5e;
    --text-muted: #8e8e8e;
    --text-navy: #0f2a1d; /* Deep dark green-black for titles */

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    
    --radius-sm: 0px; /* Al Gurg uses clean sharp corners */
    --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.2s ease;
    --max-width: 1200px;
}

/* --- BASE RESET & STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-navy);
    font-weight: 600;
    line-height: 1.25;
}

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

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.5rem auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    color: var(--text-navy);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.25rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.section-title.left-aligned {
    text-align: left;
}
.section-title.left-aligned::after {
    left: 0;
    transform: none;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.95rem 2.25rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-navy);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: #ffffff;
}

/* --- TRANSPARENT HEADER / NAVIGATION --- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Sticky Header State */
.header.sticky {
    position: fixed;
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

.header.sticky .nav-cta {
    background-color: var(--accent);
    color: #fff;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo-link img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-cta {
    background-color: var(--accent);
    color: #ffffff;
    padding: 0.7rem 1.75rem;
    font-size: 0.75rem;
}

.nav-cta:hover {
    background-color: var(--accent-hover);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all var(--transition-fast);
}

/* --- HERO SLIDER BANNER --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(12, 35, 23, 0.85) 0%, rgba(12, 35, 23, 0.4) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-text-content {
    max-width: 750px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 1px;
}

.hero-title span {
    font-style: italic;
    color: var(--accent);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.75rem;
    max-width: 600px;
    line-height: 1.65;
}

/* --- WHO WE ARE 3-COLUMN LAYOUT --- */
/* --- Heritage Section: Text card overlapping horizontal image slider --- */
.heritage-wrapper {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.heritage-wrapper .heritage-card-text {
    position: relative;
    z-index: 3;
    background-color: var(--bg-tertiary);
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42%;
    min-height: 420px;
}

.heritage-card-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.heritage-stats-row {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.heritage-mini-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.heritage-mini-stat .heritage-stat-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1;
    color: var(--accent);
}

.heritage-mini-stat .heritage-stat-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.heritage-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.heritage-link:hover {
    color: var(--text-navy);
}

/* The slider sits behind the text card */
.heritage-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.heritage-slider-track {
    display: flex;
    gap: 1.25rem;
    height: 100%;
    padding: 0;
    animation: heritageScroll 30s linear infinite;
}

.heritage-slide {
    position: relative;
    flex: 0 0 340px;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
}

.heritage-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 76, 40, 0.85) 0%, rgba(10, 76, 40, 0.2) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.heritage-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1.25rem;
    z-index: 2;
    color: #fff;
}

.heritage-slide-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.heritage-slide-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

@keyframes heritageScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-340px * 5 - 1.25rem * 5)); }
}

/* --- OUR FOUNDER SPLIT SECTION --- */
.founder-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-secondary);
}

.founder-visual {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

.founder-content-wrapper {
    padding: 6.5rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-tertiary);
}

.founder-quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-navy);
    margin-bottom: 2rem;
}

.founder-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* --- EXPERTISE / SECTORS SHOWCASE GRID --- */
.expertise-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.expertise-card {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    transition: all var(--transition-normal);
}

.expertise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 35, 23, 0.95) 0%, rgba(12, 35, 23, 0.5) 60%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: all var(--transition-normal);
}

.expertise-card:hover .expertise-overlay {
    background: linear-gradient(to top, rgba(138, 114, 67, 0.95) 0%, rgba(138, 114, 67, 0.65) 60%, rgba(0,0,0,0.15) 100%);
}

.expertise-card-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2.25rem;
    color: #ffffff;
    width: 100%;
}

.expertise-card-title {
    color: #ffffff !important;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.expertise-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.expertise-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.expertise-card:hover .expertise-link {
    color: #ffffff !important;
}

/* --- BANNER INTERMEDIATE SECTION --- */
.journey-banner {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
}

.journey-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 23, 0.75);
    z-index: 1;
}

.journey-banner .container {
    position: relative;
    z-index: 2;
}

.journey-title {
    color: #ffffff;
    font-size: 3rem;
    font-family: var(--font-serif);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* --- ABOUT PAGE STYLES --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

.value-card {
    background-color: var(--bg-secondary);
    padding: 3rem 2.25rem;
    border-top: 3px solid var(--accent);
}

.value-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.value-name {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.value-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- SECTORS / COMPANIES STYLES --- */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.filter-tab {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.company-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-tertiary);
}

.company-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    background-color: var(--accent);
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-navy);
    margin-bottom: 0.75rem;
}

.company-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.company-brand-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 0.75rem;
}

.btn-company {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.85rem;
    justify-content: center;
}

/* Banners for inner pages */
.page-banner {
    background-color: #0c2317;
    color: #ffffff;
    padding: 6.5rem 0;
    text-align: center;
    border-bottom: 3px solid var(--accent);
}

.page-banner-title {
    font-size: 3rem;
    color: #ffffff;
    font-family: var(--font-serif);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-banner-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- CAREERS PAGE LAYOUT --- */
.careers-grid-layout {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    gap: 2.5rem;
}

.filter-panel {
    background-color: var(--bg-secondary);
    padding: 2.25rem 1.75rem;
    height: fit-content;
}

.filter-group {
    margin-bottom: 1.75rem;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    color: var(--text-navy);
}

.search-input-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input, .select-filter {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.search-input {
    padding-left: 2.25rem;
}

.search-input:focus, .select-filter:focus {
    outline: none;
    border-color: var(--accent);
}

.clear-btn {
    width: 100%;
    font-size: 0.75rem;
    padding: 0.75rem;
}

/* Jobs Deck */
.job-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.job-listings-header h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.job-count {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

.job-deck {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.job-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-left: 3px solid var(--accent);
    transition: all var(--transition-normal);
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    background-color: var(--bg-tertiary);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.job-title-subsidiary h3 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.job-company-badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.job-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.job-requirements {
    font-size: 0.85rem;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1.75rem;
}

.job-requirements strong {
    color: var(--text-navy);
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.job-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.05);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
}

.job-actions {
    display: flex;
    justify-content: flex-end;
}

/* Submitted applications log panel */
.applications-dashboard {
    background-color: var(--bg-secondary);
    padding: 3rem 2.5rem;
    margin-top: 5rem;
}

.app-history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.applicant-history-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-card-details h4 {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
}

.app-card-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.status-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    letter-spacing: 1px;
}

.status-badge.screening {
    background-color: rgba(138, 114, 67, 0.12);
    color: var(--accent);
}

.btn-remove-app {
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.btn-remove-app:hover {
    color: #a81c1c;
}

/* --- CONTACT PAGE STYLES --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 3.5rem;
}

.contact-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    padding: 2.25rem;
    display: flex;
    gap: 1.5rem;
}

.contact-info-icon {
    font-size: 1.75rem;
    color: var(--accent);
}

.contact-info-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-info-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-container {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-navy);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* Whistleblower Hotline Block */
.whistleblower-card {
    background-color: #fcf6f6;
    border: 1px solid #ebd0d0;
    padding: 2.25rem;
    display: flex;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.whistle-icon {
    font-size: 2rem;
    color: #a81c1c;
}

.whistle-title {
    font-size: 1.25rem;
    color: #610d0d;
    margin-bottom: 0.5rem;
}

.whistle-desc {
    font-size: 0.85rem;
    color: #5c2020;
    line-height: 1.6;
}

/* --- FOOTER --- */
footer {
    background-color: #091b12; /* Dark Green Al Gurg Footer */
    color: rgba(255, 255, 255, 0.75);
    padding: 6.5rem 0 3rem 0;
    border-top: 4px solid var(--accent);
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1.1fr;
    gap: 3.5rem;
    margin-bottom: 5rem;
}

.footer-logo-desc {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    line-height: 1.7;
}

.footer-col-title {
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* --- JOB APPLICATION MODAL OVERLAY --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 35, 23, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: var(--bg-primary);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    padding: 3rem;
}

.close-modal-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal-btn:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.file-upload-drag {
    border: 1px dashed var(--accent);
    background-color: var(--bg-secondary);
    padding: 2.25rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.file-upload-drag.hover, .file-upload-drag:hover {
    background-color: var(--bg-tertiary);
}

.upload-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hidden-file-input {
    display: none;
}

.file-name-display {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
}

.upload-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--accent);
}

.success-message-container {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.success-message-container h3 {
    font-size: 2rem;
    margin: 1.5rem 0 0.5rem 0;
}

.success-message-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-checkmark {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--accent);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--accent);
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

/* --- MOBILE RESPONSIVENESS MEDIA QUERIES --- */
@media (max-width: 992px) {
    .heritage-wrapper .heritage-card-text {
        width: 100%;
        min-height: auto;
        position: relative;
    }
    .heritage-slider {
        position: relative;
        height: 280px;
    }
    .about-grid, .contact-grid, .expertise-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .founder-split-section {
        grid-template-columns: 1fr;
    }
    
    .founder-content-wrapper {
        padding: 4.5rem 2rem;
    }
    
    .companies-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background-color: #0c2317;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem 2rem;
        transition: left var(--transition-normal);
        z-index: 100;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .careers-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .companies-grid, .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
