:root {
    /* Professional Corporate Palette - Avoiding "AI Vibrance" */
    --primary: #0a1f44;
    /* Deep Navy - Trust & Authority */
    --secondary: #b5893d;
    /* Polished Gold - Value & Excellence */
    --accent: #2c3e50;
    /* Slate Gray */
    --text-main: #1a1a1a;
    --text-muted: #4a4a4a;
    --text-light: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #071529;
    --border: #e1e4e8;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--bg-light);
    color: var(--text-main);
}

.bg-light h2,
.bg-light h3,
.bg-light h4 {
    color: var(--primary);
}

.bg-light p {
    color: var(--text-muted);
}

.bg-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--text-light);
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.7);
}

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

.text-gray {
    color: #8a99af;
}

.bg-primary {
    background: var(--primary);
    color: var(--text-light);
}

.text-white {
    color: var(--text-light) !important;
}

.text-gray-light {
    color: rgba(255, 255, 255, 0.7);
}

.text-center {
    text-align: center;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-contact a {
    color: var(--text-gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary);
}

/* Unified Header & Nav */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--secondary);
    text-transform: uppercase;
}

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

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--secondary);
}

.nav-links a:not(.btn).active {
    border-bottom-color: var(--secondary);
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    /* Forcing perfect vertical centering */
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #0d2a5c;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
    /* Reverting to dark navy text */
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #c99b4a;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/sahara_hero_bg_1770015043861.png') center/cover no-repeat;
    overflow: hidden;
    padding-top: 100px;
    /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 31, 68, 0.9), rgba(10, 31, 68, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin-bottom: 4.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.hero-btns {
    display: flex;
    gap: 2.5rem;
}

/* Bridge Section */
.bridge-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.bridge-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.bridge-pillars {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.pillar h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.bridge-visual {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.visual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.visual-card .highlight {
    color: var(--secondary);
    font-size: 1.5rem;
    padding: 1rem 3rem;
    border: 2px solid var(--secondary);
    border-radius: 4px;
}

.arrow {
    width: 2px;
    height: 40px;
    background: var(--border);
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--border);
}

/* Services */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    border-bottom: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-bottom-color: var(--secondary);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(10, 31, 68, 0.1);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Sectors */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sector-card {
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sector-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.sector-card-content {
    padding: 2rem;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.sector-card:hover .sector-img {
    transform: scale(1.05);
}

.sector-card h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* Partnership Specific */
.partner-type-detail {
    padding: 3rem;
    border-left: 4px solid var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.partner-type-detail span.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.partner-type-detail h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.partner-type-detail p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.value-point {
    margin-bottom: 1.5rem;
}

.value-point strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.value-point p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.lifecycle-detailed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.lifecycle-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.bg-light .lifecycle-step {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.bg-light .lifecycle-step h3 {
    color: var(--primary);
}

.bg-light .lifecycle-step p {
    color: var(--text-muted);
}

.lifecycle-step:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.lifecycle-step h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lifecycle-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* About Section */
.creds {
    display: flex;
    gap:
        3rem;
    margin-top: 2rem;
}

.cred-item {
    display: flex;
    flex-direction: column;
}

.cred-item strong {
    font-size: 1.5rem;
    color: var(--secondary);
}

.cred-item span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.gateway-box {
    background: var(--primary);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    height: 100%;
    min-height: 400px;
    position: relative;
    border-radius: 8px;
}

.gateway-box span {
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.9rem;
}

.gateway-box .line {
    width: 60px;
    height: 1px;
    background: var(--secondary);
    margin-bottom: 10px;
}

/* Contact */
.info-list {
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

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

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer Enhancement */
footer {
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-desc {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-creds {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}

footer h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

footer ul li a {
    color: #8a99af;
    font-size: 0.9rem;
}

footer ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-weight: 700;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #5d6d85;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .partnership-layout {
        grid-template-columns: 1fr;
    }
}

/* Multi-page Elements */

.sub-hero {
    padding: 160px 0 80px;
}

.sub-hero h1 {
    font-size: 3rem;
    color: var(--text-light) !important;
    margin-bottom: 1rem;
}

.sub-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Detailed Grids */
.service-detail-grid {
    display: grid;
    gap: 4rem;
}

.service-detail-item h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.detail-content ul {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
}

.detail-content ul li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-muted);
}

.detail-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

/* Sector Details */
.sector-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.sector-detail-item.reverse {
    direction: rtl;
}

.sector-detail-item.reverse .sector-detail-text {
    direction: ltr;
}

.sector-detail-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.sector-detail-text h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Lifecycle Detailed */
.lifecycle-detailed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.lifecycle-step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    color: var(--text-light);
    /* Fix contrast */
}

.lifecycle-step:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    /* More visible */
    margin-bottom: 1rem;
    opacity: 0.5;
}

.lifecycle-step h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.lifecycle-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Stats Cards */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {

    .sector-detail-item,
    .lifecycle-detailed,
    .about-stats-grid {
        grid-template-columns: 1fr;
        direction: ltr !important;
    }
}

@media (max-width: 600px) {

    .services-grid,
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Contact Page Specific */
.contact-info-page h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-top: 3rem;
}

.method-item {
    margin-bottom: 2.5rem;
}

.method-item strong {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.method-item a,
.method-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-page-form {
    background: #fff;
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.contact-page-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-page-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .lifecycle-detailed {
        grid-template-columns: 1fr;
    }

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

/* About Details */
.about-details .detail-box {
    margin-bottom: 3rem;
}

.about-details .detail-box h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-details .detail-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.value-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-top: 4px solid var(--secondary);
}

/* Services Refinement */
.service-detail-grid {
    display: grid;
    gap: 3rem;
}

.service-detail-card {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(181, 137, 61, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.service-icon-box svg {
    width: 30px;
    height: 30px;
}

.service-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0;
}

.check-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    list-style: none;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 900;
}

/* Contact CTA Section */
.contact-cta {
    padding: 120px 0;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.25rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
}

/* ==========================================================================
   Mobile Responsiveness (768px and below)
   ========================================================================== */

@media (max-width: 768px) {

    /* Global Adjustments */
    .section {
        padding: 60px 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Logo scaling to prevent toggle overlap */
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    /* Header & Navigation */
    header {
        height: 70px;
        overflow: visible !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        /* Over everything */
        padding: 2rem;
        display: flex;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        color: var(--primary) !important;
        font-size: 1.5rem;
        font-weight: 600;
        display: block;
        padding: 1rem;
    }

    .nav-links .btn-secondary {
        background: var(--secondary) !important;
        color: var(--primary) !important;
        max-width: 250px;
        margin: 0 auto;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 2100;
        /* Higher than nav-links */
        position: relative;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--primary);
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    /* Sub-Hero (subpages) */
    .sub-hero {
        padding: 120px 0 60px;
        height: auto;
    }

    /* Service/Project Details */
    .service-detail-card,
    .detail-box {
        padding: 2rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-sectors,
    .footer-contact {
        align-items: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-sectors {
        display: none;
    }

    .social-links {
        justify-content: center;
    }

    /* Body no-scroll when menu open */
    body.no-scroll {
        overflow: hidden;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
/* Form Status Messages */
.form-status {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: none;
    border: 1px solid transparent;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.form-status.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

.form-status.loading {
    background-color: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}
