/* ============================================================
   MISSOTAA MINERALS — Premium Corporate Stylesheet
   ============================================================ */

/* Custom Properties - Premium Mineral Aesthetics */
:root {
    /* Custom Luxury Mineral Palette */
    --clr-brown: #6F6249;
    --clr-brown-dark: #5c503b;
    --clr-stone: #A69F8E;
    --clr-sand: #D2CEC4;
    --clr-dark: #2F2F2F;
    --clr-white: #ffffff;
    --clr-black: #1a1715;

    /* Backgrounds */
    --clr-bg: #F7F6F2;
    --clr-bg-alt: #ffffff;
    --clr-bg-dark: #2F2F2F;
    --clr-bg-light: #E8E6DF;

    /* Typography */
    --clr-text-main: #2F2F2F;
    --clr-text: #2F2F2F;
    --clr-text-muted: #6b6b6b;

    --font-heading: 'Montserrat', 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Base Dimensions */
    --max-width: 1400px;
    --header-height: 90px;
    --nav-height: 90px;

    /* Transitions & Shadows (Refined for Premium Feel) */
    --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 15px rgba(0, 0, 0, 0.02);
}

/* ============================================================
   BASE RESETS
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.7;
    max-width: 100%;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
}

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

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

ul {
    list-style: none;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Section spacing (More breathing room) */
section {
    position: relative;
    padding: 6rem 0; /* Premium spacing by default */
}

/* Typography styles */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Scaled up slightly for premium presence */
    margin-bottom: 2rem;
    color: var(--clr-text-main);
    position: relative;
    display: block; /* Ensure it drops to its own line */
    line-height: 1.15;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: var(--underline-width, 60px);
    height: 3px;
    background: linear-gradient(90deg, var(--clr-brown), var(--clr-stone));
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--clr-brown), transparent);
    width: var(--underline-width, 100px);
}

.section-subtitle {
    color: var(--clr-brown);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content; /* Ensure it doesn't span full width unnecessarily */
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--clr-brown);
    flex-shrink: 0;
}

.text-center .section-subtitle {
    justify-content: center;
}

.text-center .section-subtitle::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: var(--clr-brown);
    flex-shrink: 0;
}

/* Gradient Text Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--clr-brown), var(--clr-stone));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Utilities */
.text-center { text-align: center; }

/* ============================================================
   RESPONSIVE SPLIT LAYOUT
   ============================================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.split-layout.rtl {
    direction: rtl;
}

.split-layout.rtl > * {
    direction: ltr;
}

/* ============================================================
   GLASS PANEL / CARD COMPONENT
   ============================================================ */
.glass-panel {
    background: var(--clr-white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-hover) !important;
}

.service-card:hover i {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

/* Project Card Overlay */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(47,47,47,0.8) 0%, transparent 50%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover .img-zoom {
    transform: scale(1.08);
}

/* ============================================================
   IMAGE EFFECTS
   ============================================================ */
.img-wrap {
    overflow: hidden;
    position: relative;
    border-radius: var(--radius);
}

.img-zoom {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-wrap:hover .img-zoom {
    transform: scale(1.05);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    line-height: 1.2;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.08);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.btn:hover::after {
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    text-decoration: none;
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--clr-brown);
    color: var(--clr-white);
    border-color: var(--clr-brown);
}

.btn-primary:hover {
    background-color: var(--clr-brown-dark);
    border-color: var(--clr-brown-dark);
    color: var(--clr-white);
}

.btn,
.btn:hover,
.btn:focus,
.btn:focus-visible {
    text-decoration: none !important;
}

.btn.btn-outline-dark {
    border-color: var(--clr-brown);
    color: var(--clr-brown);
}

.btn.btn-outline-dark:hover,
.btn.btn-outline-dark:focus-visible {
    background-color: var(--clr-brown);
    border-color: var(--clr-brown);
    color: var(--clr-white);
}

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

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-dark);
    border-color: var(--clr-white);
}

/* ============================================================
   NAVBAR (Bootstrap-integrated Overrides)
   ============================================================ */

/* Responsive Logo Setup */
.navbar-brand img {
    height: auto;
    max-height: 82px;
    max-width: min(72vw, 320px);
    width: auto;
    transition: var(--transition-fast);
}

.main-footer img {
    height: auto;
    max-height: 82px;
    max-width: min(100%, 280px);
    width: auto;
    transition: var(--transition-fast);
}

@media (max-width: 991px) {
    .navbar-brand img {
        max-height: 58px;
        max-width: min(70vw, 260px);
    }

    .main-footer img {
        max-height: 58px;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        max-height: 52px;
        max-width: min(68vw, 220px);
    }

    .main-footer img {
        max-height: 52px;
    }
}

/* Smooth navbar transition on scroll */
.navbar {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar .nav-link {
    position: relative;
    padding: 8px 12px !important;
    line-height: 1.35;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background-color: var(--clr-brown);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active nav indicator — use a refined bottom border style */
.navbar .nav-link.active-page {
    color: var(--clr-brown) !important;
}

.navbar .nav-link.active-page::after {
    transform: scaleX(1);
}

/* Dropdown styling */
.navbar .dropdown-menu {
    border-radius: var(--radius);
    padding: 8px 0;
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-md);
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: var(--clr-bg);
    color: var(--clr-brown);
    padding-left: 20px;
}

/* Navbar CTA button */
.navbar .btn-primary {
    border-radius: var(--radius);
    letter-spacing: 1px;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(111, 98, 73, 0.2);
}

.navbar .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(111, 98, 73, 0.35);
}

/* Legacy header styles (kept for compatibility) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: transparent;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(210, 206, 196, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-md);
    height: 70px;
    border-bottom: 1px solid rgba(111, 98, 73, 0.1);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    padding: 12px 0 !important;
}

.header-scrolled .logo {
    color: var(--clr-dark);
}

.header-scrolled .nav-links a,
.header-scrolled .mobile-menu-toggle {
    color: var(--clr-text-main);
}

.header-scrolled .dropdown-content {
    background-color: var(--clr-white);
    box-shadow: var(--shadow-soft);
}

.header-scrolled .dropdown-content a {
    color: var(--clr-text-main);
}

.header-scrolled .dropdown-content a:hover {
    background-color: var(--clr-bg);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-brown);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--clr-brown); }
.logo span { color: var(--clr-stone); font-weight: 500; }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--clr-text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--clr-brown);
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-brown);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-brown);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--clr-white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li { width: 100%; }

.dropdown-content a {
    padding: 10px 20px;
    font-size: 0.9rem;
    text-transform: none;
    display: block;
}

.dropdown-content a::after { display: none; }

.dropdown-content a:hover {
    background-color: var(--clr-bg);
    color: var(--clr-brown);
    padding-left: 24px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-white);
    padding-top: 4rem;
    padding-bottom: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-footer > .text-center {
    margin-top: 0 !important;
}

/* Footer readability lift on dark background */
.main-footer {
    --footer-text-soft: rgba(255, 255, 255, 0.82);
    --footer-text-mid: rgba(255, 255, 255, 0.9);
}

.main-footer p,
.main-footer span,
.main-footer .list-unstyled a {
    color: var(--footer-text-soft) !important;
}

.main-footer h3,
.main-footer h4 {
    color: var(--footer-text-mid) !important;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.footer-col h3 span { color: var(--clr-sand); }

.footer-col p {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--clr-brown);
}

.footer-col ul li { margin-bottom: 0.8rem; }

.footer-col ul a {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--clr-sand);
    padding-left: 5px;
}

/* Footer link hover for Bootstrap-based footers */
.main-footer a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.main-footer a:hover {
    color: var(--clr-sand) !important;
}

.contact-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-text-muted);
}

.contact-col i {
    color: var(--clr-brown);
    width: 20px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--clr-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-brown);
    transform: translateY(-3px);
    color: var(--clr-white) !important;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--clr-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   REVEAL / SCROLL ANIMATIONS (Premium Subtle)
   ============================================================ */
/* Elements are visible by default — GSAP animates them in.
   If GSAP fails to load, content remains fully visible. */
.reveal, .reveal-left, .reveal-right {
    will-change: opacity, transform;
}

/* CSS-only fallback for when JS adds .active class */
.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ============================================================
   PAGE HEADER (Internal Pages)
   ============================================================ */
.page-header {
    height: auto;
    min-height: 420px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--nav-height) + 56px);
    padding-bottom: 56px;
    position: relative;
    background-color: var(--clr-bg-dark);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Disable parallax on touch/mobile for performance */
@supports (-webkit-overflow-scrolling: touch) {
    .page-header {
        background-attachment: scroll;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 38, 34, 0.75) 0%, rgba(111, 98, 73, 0.35) 100%);
    z-index: 1;
}

.page-title-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transform: none;
    opacity: 1;
    animation: none;
    margin-top: 0;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title-content h1 {
    font-size: clamp(2.1rem, 5.2vw, 3.8rem);
    margin-bottom: 0.7rem;
    letter-spacing: 2px;
    line-height: 1.2;
    padding-top: 10px;
    color: var(--clr-white);
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Keep page-header title words fully white (no gradient tint) */
.page-title-content h1 .text-gradient {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: var(--clr-white);
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--clr-white);
}

.breadcrumb span {
    color: var(--clr-sand);
}

/* ============================================================
   FORM ENHANCEMENTS
   ============================================================ */
.form-control,
.form-select {
    padding: 14px 16px;
    border: 1.5px solid rgba(111, 98, 73, 0.15);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--clr-brown);
    box-shadow: 0 0 0 3px rgba(111, 98, 73, 0.1);
    outline: none;
    background-color: var(--clr-white);
}

.form-control::placeholder {
    color: var(--clr-stone);
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SCROLL INDICATOR ANIMATION
   ============================================================ */
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

.scroll-indicator .wheel {
    animation: scrollBounce 2s ease-in-out infinite;
}

/* Hide scroll indicator when not in hero viewport */
.scroll-indicator {
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Ensure FontAwesome renders correctly */
.fa-solid, .fa-regular, .fa-brands,
.fas, .far, .fab {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
}

/* ============================================================
   HERO SECTION – MOBILE FIX
   ============================================================ */
.hero {
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

/* Large Desktop */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .py-5 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .py-5 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    
    .page-header {
        height: 40vh;
        min-height: 300px;
        background-attachment: scroll;
    }
}

/* Mobile Menu & Smaller Screens */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--clr-bg-alt);
        flex-direction: column;
        gap: 0;
        clip-path: circle(0 at top right);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at top right);
    }

    .nav-links li {
        width: 100%;
        border-top: 1px solid rgba(111, 98, 73, 0.08);
    }

    .nav-links a {
        display: block;
        padding: 18px 20px;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: transparent;
        padding: 0;
    }

    .dropdown-content a {
        padding: 14px;
        background-color: rgba(111, 98, 73, 0.03);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .page-title-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .py-5 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.85rem;
        width: auto;
        justify-content: center;
    }
    
    /* Hero mobile adjustments */
    .hero {
        padding: 0 6% !important;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem) !important;
    }
    
    .hero-action {
        flex-direction: column;
    }
    
    .hero-action .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Navbar mobile dropdown fix */
    .navbar .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        animation: none;
    }
    
    .navbar .dropdown-item {
        text-align: center;
        padding: 12px 16px;
    }
}

/* Desktop header menu: center Home/About, keep Contact at last (right) */
@media (min-width: 992px) {
    .navbar .navbar-collapse {
        width: 100%;
        position: relative;
    }

    .navbar .navbar-nav {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar .navbar-nav .nav-item.ms-lg-3 {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 !important;
    }
}

/* Hero text alignment consistency */
.hero .hero-content {
    width: min(100%, 760px);
    text-align: left;
    align-items: flex-start;
}

.hero .hero-action {
    align-items: center;
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        width: 94%;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .page-header {
        height: 35vh;
        min-height: 250px;
    }
    
    .page-title-content h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
    }
    
    .py-5 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .glass-panel {
        border-radius: var(--radius);
    }
    
    .hero h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
    }
}

/* Extra Small Mobile - 320px */
@media (max-width: 360px) {
    .container {
        width: 96%;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .hero {
        padding: 0 4% !important;
    }
    
    .hero-subtitle {
        font-size: 0.75rem !important;
        letter-spacing: 2px !important;
    }
    
    .hero h1 {
        font-size: 1.5rem !important;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--clr-brown);
    outline-offset: 2px;
}

/* Skip to content for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal, .reveal-left, .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .main-header,
    .navbar,
    .main-footer,
    .scroll-indicator,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ============================================================
   ICON & SUBTITLE ALIGNMENT REFINEMENTS
   ============================================================ */

/* Consistent icon sizing in service cards */
.service-card i,
.glass-panel > i {
    display: inline-block;
    transition: transform 0.4s ease, color 0.3s ease;
}

/* Icon + text list alignment */
.d-flex.align-items-center i,
.d-flex.align-items-start i {
    flex-shrink: 0;
    line-height: 1;
}

/* Section subtitle — ensure proper centering in text-center context */
.text-center .section-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* When subtitle is used with d-inline-block override */
.section-subtitle.d-inline-block {
    display: inline-flex !important;
}

/* Contact info icon alignment */
.contact-col .d-flex i,
.contact-section .d-flex i {
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* Footer link arrow transition */
.main-footer .list-unstyled a {
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-footer .list-unstyled a:hover {
    color: var(--clr-sand) !important;
    transform: none;
}

/* Final premium cohesion pass */
section > .container > .text-center > p,
section > .container > .row + .text-center > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.glass-panel {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,1));
}

.glass-panel:hover,
.service-card:hover,
.project-card:hover {
    box-shadow: 0 18px 46px rgba(24, 22, 19, 0.1) !important;
}

.section-subtitle {
    color: var(--clr-brown);
}

.section-title {
    margin-bottom: 1.6rem;
}

p {
    line-height: 1.78;
}

.glass-panel ul {
    margin-bottom: 0;
}

.glass-panel ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.glass-panel ul li i {
    margin-top: 3px;
}

.market-tags span:hover {
    background: rgba(111, 98, 73, 0.16);
    border-color: rgba(111, 98, 73, 0.3);
}

.main-footer .contact-col span,
.main-footer .contact-col p {
    line-height: 1.65;
}

/* Homepage premium blocks */
.premium-point-card {
    border-top: 3px solid rgba(111, 98, 73, 0.2);
}

.premium-point-card h3 {
    letter-spacing: 0.2px;
}

/* About page premium content blocks */
.capacity-focus .glass-panel ul,
.markets-growth .glass-panel ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.capacity-focus .glass-panel li,
.markets-growth .glass-panel li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--clr-text-main);
}

.capacity-focus .glass-panel li:last-child,
.markets-growth .glass-panel li:last-child {
    margin-bottom: 0;
}

.capacity-focus .glass-panel li i,
.markets-growth .glass-panel li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.markets-growth .markets-card {
    border-top: 3px solid rgba(111, 98, 73, 0.2);
}

.market-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.market-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(111, 98, 73, 0.08);
    border: 1px solid rgba(111, 98, 73, 0.18);
    color: var(--clr-text-main);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.markets-cta {
    margin-top: auto;
}

/* Certification card alignment */
.certifications .bg-white {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certifications .bg-white:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Team card icon alignment */
.team-card .rounded-circle {
    border: 2px solid rgba(111, 98, 73, 0.08) !important;
}

/* Operations page — alternating section vertical alignment */
.operations-grid .row {
    margin-bottom: 2rem;
}

/* Product card list icon alignment */
.glass-panel ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.glass-panel ul li i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* Mobile icon sizing */
@media (max-width: 768px) {
    .service-card i.display-5,
    .glass-panel i.display-5,
    .certifications i.display-4 {
        font-size: 2.5rem !important;
    }
    
    .section-subtitle {
        font-size: 0.78rem;
        letter-spacing: 2px;
        justify-content: flex-start;
    }
    
    .text-center .section-subtitle {
        justify-content: center;
    }
    
    /* Improve card padding on mobile */
    .glass-panel {
        padding: 24px !important;
    }
    
    .service-card {
        padding: 24px !important;
    }
}

@media (max-width: 480px) {
    .section-subtitle::before {
        width: 20px;
    }
    
    .text-center .section-subtitle::after {
        width: 20px;
    }
    
    /* Contact info cards spacing */
    .contact-section .d-flex {
        gap: 12px !important;
    }
}

/* ============================================================
   2026 CLEAN UI + RESPONSIVE FIX PACK
   ============================================================ */

/* Stronger icon font fallback to avoid missing glyphs on some setups */
.fa-solid, .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.fa-regular, .far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Overall visual cleanup */
body {
    background: linear-gradient(180deg, #faf9f6 0%, #f7f6f2 100%);
}

section {
    padding-top: clamp(3.5rem, 7vw, 6rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

/* Shared shell polish */
.navbar.fixed-top {
    border-bottom: 1px solid rgba(47, 47, 47, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.main-footer {
    margin-top: 0 !important;
}

/* Cards and media consistency */
.service-card,
.project-card,
.glass-panel {
    border-radius: 14px !important;
}

.project-card {
    min-height: 280px;
}

.project-card img,
.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Icon alignment fixes across sections */
.service-card i,
.project-card i,
.contact-col i,
.contact-section i,
.certifications i,
.team-card i,
.clients i,
.careers i {
    vertical-align: middle;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-section .d-flex,
.contact-col .d-flex {
    align-items: flex-start !important;
}

.contact-section .d-flex i,
.contact-col .d-flex i {
    min-width: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Hero cleanup */
.hero h1 {
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 62ch !important;
}

/* Keep navbar CTA readable on mobile (overrides generic .btn mobile rule) */
@media (max-width: 768px) {
    .navbar .navbar-toggler {
        margin-left: auto;
    }

    .navbar .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(47, 47, 47, 0.08);
        border-radius: 12px;
        margin-top: 10px;
        padding: 8px 10px 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .navbar .btn,
    .navbar .btn-primary {
        width: auto !important;
        min-width: 140px;
    }

    .navbar .navbar-nav {
        gap: 0 !important;
        width: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        align-items: stretch !important;
    }

    .navbar .nav-item {
        width: 100%;
    }

    .navbar .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 16px !important;
        line-height: 1.4;
    }

    .navbar .nav-link.dropdown-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
    }

    .navbar .dropdown-item {
        display: block;
        white-space: normal;
        text-align: center;
        padding: 10px 14px;
    }

    .navbar .dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        float: none;
        width: 100%;
        border: none;
        border-radius: 8px;
        box-shadow: none;
        margin-top: 2px;
        background: rgba(111, 98, 73, 0.05);
    }

    .navbar .dropdown-toggle::after {
        margin-left: 8px;
    }

    .navbar .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 10px;
        text-align: center;
        position: static !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .navbar .nav-item.ms-lg-3 .btn {
        width: min(260px, 90%) !important;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
        justify-content: center;
    }

    .hero {
        justify-content: center !important;
        text-align: center;
        padding: 0 5% !important;
    }

    .hero .hero-content {
        margin-top: 36px;
    }

    .hero .hero-subtitle {
        padding-left: 0 !important;
        letter-spacing: 2px !important;
    }

    .hero .hero-subtitle span {
        display: none !important;
    }

    .hero .hero-action {
        justify-content: center;
    }

    .scroll-indicator {
        display: none !important;
    }

    .page-header {
        background-position: center 35%;
    }

    .page-title-content {
        padding: 0 18px;
    }

    .glass-panel,
    .service-card {
        padding: 22px !important;
    }

    .contact-section .glass-panel {
        padding: 24px !important;
    }

    .footer-container,
    .main-footer .row {
        row-gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    section {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }

    .hero {
        min-height: 92svh;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }

    .section-title {
        line-height: 1.2;
        margin-bottom: 1.4rem;
    }

    .section-subtitle {
        letter-spacing: 1.5px;
    }

    .btn {
        border-radius: 10px;
    }

    .contact-section .glass-panel {
        border-radius: 12px !important;
    }

    .section-title {
        margin-bottom: 1.1rem;
    }

    .glass-panel,
    .service-card,
    .project-card {
        border-radius: 12px !important;
    }
}

/* Prevent sticky hover states on touch devices */
@media (hover: none) {
    .glass-panel:hover,
    .service-card:hover,
    .project-card:hover,
    .btn:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }

    .img-wrap:hover .img-zoom,
    .project-card:hover .img-zoom {
        transform: none !important;
    }
}

/* ============================================================
   ABOUT PAGE TYPOGRAPHY + ALIGNMENT CLEANUP
   ============================================================ */
.about-page {
    font-family: var(--font-body);
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6 {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.01em;
}

.about-page p,
.about-page li,
.about-page span {
    font-family: var(--font-body) !important;
}

.about-page .section-title {
    margin-bottom: 1.35rem !important;
    line-height: 1.18 !important;
}

.about-page .section-subtitle {
    letter-spacing: 2.2px !important;
}

.about-page .about-overview p,
.about-page .leadership p,
.about-page .certifications p,
.about-page .markets-growth p,
.about-page .capacity-focus p,
.about-page .glass-panel li span {
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
    color: var(--clr-text-muted) !important;
}

.about-page .about-overview .list-unstyled li span,
.about-page .capacity-focus li span,
.about-page .markets-growth li span {
    color: var(--clr-text-main) !important;
}

.about-page .glass-panel h3,
.about-page .glass-panel .h5,
.about-page .glass-panel .h6 {
    font-weight: 700;
}

.about-page .glass-panel {
    border-radius: 14px !important;
}

.about-page .certifications .bg-white h5,
.about-page .certifications .bg-white span {
    font-family: var(--font-body) !important;
}

.about-page .breadcrumb,
.about-page .breadcrumb a,
.about-page .breadcrumb span {
    font-family: var(--font-body) !important;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-page .section-title {
        margin-bottom: 1.1rem !important;
    }

    .about-page .about-overview p,
    .about-page .leadership p,
    .about-page .certifications p,
    .about-page .markets-growth p,
    .about-page .capacity-focus p,
    .about-page .glass-panel li span {
        font-size: 0.98rem !important;
        line-height: 1.7 !important;
    }
}

/* About page refreshed premium layout */
.about-page .about-clean-intro p,
.about-page .about-clean-pillars p,
.about-page .about-clean-capacity p,
.about-page .about-clean-global p {
    font-size: 1rem;
    line-height: 1.78;
}

.about-page .about-clean-list li,
.about-page .about-clean-card-sm ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.about-page .about-clean-list li:last-child,
.about-page .about-clean-card-sm ul li:last-child {
    margin-bottom: 0;
}

.about-page .about-clean-list i,
.about-page .about-clean-card-sm i {
    color: #198754;
    margin-top: 4px;
    flex-shrink: 0;
}

.about-page .about-clean-image {
    border-radius: 16px;
    position: relative;
}

.about-page .about-clean-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 4px solid var(--clr-brown);
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.about-page .about-clean-badge h4 {
    margin: 0;
    font-size: 1.2rem;
}

.about-page .about-clean-badge p {
    margin: 2px 0 0;
    font-size: 0.76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-page .about-clean-card {
    padding: 38px;
    border-top: 3px solid rgba(111, 98, 73, 0.3);
}

.about-page .about-clean-card i {
    font-size: 2rem;
    color: var(--clr-brown);
    margin-bottom: 14px;
}

.about-page .about-clean-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.about-page .about-clean-team {
    text-align: center;
    padding: 34px 24px;
    border-top: 3px solid rgba(111, 98, 73, 0.25);
}

.about-page .about-clean-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-bg-light);
    border: 1px solid rgba(111, 98, 73, 0.18);
}

.about-page .about-clean-avatar i {
    font-size: 2rem;
    color: var(--clr-stone);
}

.about-page .about-clean-team h4 {
    margin-bottom: 6px;
    font-size: 1.15rem;
}

.about-page .about-clean-team span {
    color: var(--clr-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.78rem;
    font-weight: 600;
}

.about-page .about-clean-card-sm {
    padding: 30px;
    border-top: 3px solid rgba(111, 98, 73, 0.2);
}

.about-page .about-clean-card-sm h3 {
    font-size: 1.22rem;
    margin-bottom: 12px;
}

.about-page .about-clean-card-sm ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page .about-clean-global .glass-panel .btn {
    align-self: flex-start;
}

@media (max-width: 991px) {
    .about-page .about-clean-image {
        height: 420px !important;
    }
}

@media (max-width: 768px) {
    .about-page .about-clean-card,
    .about-page .about-clean-team,
    .about-page .about-clean-card-sm {
        padding: 22px !important;
    }

    .about-page .about-clean-image {
        height: 340px !important;
    }

    .about-page .about-clean-badge {
        right: 12px;
        left: 12px;
        bottom: 12px;
        padding: 10px 12px;
    }

    .about-page .about-clean-badge h4 {
        font-size: 1rem;
    }
}

/* Home hero alignment: keep left-aligned across devices */
.home-hero .hero-content {
    width: min(100%, 820px);
    text-align: left;
    margin-inline: 0;
}

.home-hero .hero-action {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .home-hero.hero {
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0 6% !important;
    }

    .home-hero .hero-content {
        width: min(100%, 680px) !important;
        margin-top: 24px;
        margin-inline: 0 !important;
        text-align: left !important;
    }

    .home-hero .hero-action {
        justify-content: flex-start !important;
    }

    .home-hero .hero-action .btn {
        width: auto;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .home-hero.hero {
        min-height: 92svh;
        height: 92svh !important;
        align-items: flex-start !important;
        padding: calc(86px + 20px) 6% 28px !important;
    }

    .home-hero .hero-bg img {
        object-position: 62% center;
    }

    .home-hero .hero-content {
        width: min(100%, 560px) !important;
        max-width: 560px !important;
        margin-top: 0 !important;
    }

    .home-hero h1 {
        font-size: clamp(1.9rem, 9.2vw, 2.8rem) !important;
        margin-bottom: 14px !important;
    }

    .home-hero p {
        font-size: 0.98rem !important;
        line-height: 1.65 !important;
        max-width: 34ch !important;
        margin-bottom: 20px !important;
    }

    .home-hero .hero-action {
        gap: 12px !important;
    }

    .home-hero .hero-action .btn {
        padding: 13px 22px !important;
    }
}

@media (max-width: 480px) {
    .home-hero.hero {
        min-height: 88svh;
        height: 88svh !important;
        padding: calc(78px + 16px) 5% 20px !important;
    }

    .home-hero .hero-bg img {
        object-position: 68% center;
    }

    .home-hero .hero-content {
        width: 100% !important;
        max-width: 420px !important;
    }

    .home-hero .hero-action {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero .hero-action .btn {
        width: 100% !important;
    }
}

/* Final mobile alignment pass: center hero + commitment section */
@media (max-width: 768px) {
    .home-hero.hero {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        padding: calc(82px + 12px) 6% 24px !important;
    }

    .home-hero .hero-content {
        margin-inline: auto !important;
        text-align: center !important;
    }

    .home-hero .hero-action {
        justify-content: center !important;
    }

    .safety .col-lg-7 {
        text-align: center;
    }

    .safety .section-subtitle {
        margin-inline: auto;
    }

    .safety .btn {
        margin-left: auto;
        margin-right: auto;
    }

    .safety .col-lg-5 .bg-white {
        border-left: none !important;
        border-top: 4px solid var(--clr-brown);
    }
}

/* Internal page hero title crop fix (About/Contact) */
@media (max-width: 768px) {
    .page-header {
        min-height: 350px !important;
        padding-top: calc(var(--nav-height) + 36px);
        padding-bottom: 36px;
        align-items: flex-start;
    }

    .page-title-content {
        transform: none;
        opacity: 1;
        animation: none;
        padding-top: 4px;
        margin-top: 0;
    }

    .page-title-content h1 {
        font-size: clamp(1.75rem, 7.2vw, 2.35rem) !important;
        line-height: 1.22;
        margin-bottom: 0.6rem;
        padding-top: 8px;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 315px !important;
        padding-top: calc(var(--nav-height) + 26px);
        padding-bottom: 28px;
    }

    .page-title-content h1 {
        font-size: clamp(1.55rem, 7vw, 2rem) !important;
        line-height: 1.24;
        padding-top: 8px;
    }

    .page-title-content {
        margin-top: 0;
    }
}
