/* ==========================================================================
   Sunaa Alfuras | صُناع الفرص - Official Stylesheet (RTL)
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #1A2B4A;
    /* Dark Navy - Trust, Corporate */
    --secondary: #2C3E50;
    /* Charcoal - Stability */
    --accent: #4A90E2;
    /* Professional Blue - Innovation, Action */
    --accent-hover: #357ABD;
    --background: #F8F9FA;
    /* Off-white for less eye strain */
    --surface: #FFFFFF;

    /* Text Colors */
    --text-main: #2C3E50;
    --text-muted: #596A7A;
    --text-light: #F8F9FA;

    /* Grays */
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-800: #1F2937;

    /* Typography */
    --font-heading: 'Cairo', 'Playfair Display', serif;
    --font-body: 'Cairo', 'Inter', sans-serif;

    /* Spacing & Layout */
    --container-width: 1140px;
    --section-padding: 5rem 0;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    /* Enforce RTL layout natively */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== TYPOGRAPHY UTILS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== BUTTONS ==================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--surface);
    box-shadow: 0 4px 14px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    color: var(--surface);
}

.btn-secondary {
    background-color: transparent;
    color: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--surface);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
}

.logo-en {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-ar {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.logo--light .logo-en {
    color: var(--surface);
}

.logo--light .logo-ar {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    margin-right: 2rem;
    /* Was margin-left in LTR */
    position: relative;
}

/* Fix RTL initial margin for the first or last item depending on flex direction */
.nav-links a:first-child {
    margin-right: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    /* Align right in RTL */
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--primary);
    color: var(--surface);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    background-color: var(--surface);
    position: absolute;
    top: 100%;
    right: 0;
    /* RTL alignment */
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.mobile-nav.open {
    display: block;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-link {
    display: block;
    padding: 1rem 5%;
    color: var(--text-main);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-link:last-child {
    border-bottom: none;
}

.mobile-link:hover {
    background-color: var(--gray-100);
    color: var(--accent);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background-color: var(--primary);
    color: var(--surface);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero_bg.png');
    /* The generated image */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    margin-left: 8px;
    /* Was margin-right in LTR */
    display: inline-block;
    box-shadow: 0 0 10px var(--accent);
}

.hero-title {
    font-size: 4rem;
    color: var(--surface);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--surface);
    line-height: 1;
}

.stat-plus {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    margin-top: 10px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==================== ABOUT SECTION ==================== */
.section-about {
    padding: var(--section-padding);
    background-color: var(--surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.05);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    /* Was right in LTR, keeping left to stick out correctly */
    background-color: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
}

.about-img-badge svg {
    color: var(--accent);
}

.about-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-pillars {
    display: grid;
    gap: 1.5rem;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    /* spacing between icon and text natively handles RTL in flex */
}

.pillar-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.pillar-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.pillar-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ==================== SERVICES SECTION ==================== */
.section-services {
    padding: var(--section-padding);
    background-color: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--surface);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--surface);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    position: relative;
    padding-right: 1.5rem;
    /* Was padding-left */
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.service-list li::before {
    content: '→';
    /* Right arrow since it's RTL */
    position: absolute;
    right: 0;
    /* Was left */
    top: 0;
    color: var(--accent);
    font-family: monospace;
    transform: scaleX(-1);
    /* Flip the arrow visually for Arabic (←) */
}

.service-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    /* Was right */
    background-color: var(--gray-100);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
}

/* 4th card: full width when alone in second row (e.g. 3-col layout) */
.service-card--full-width {
    grid-column: 1 / -1;
}

.service-card--featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--surface);
    border: none;
}

.service-card--featured .service-title {
    color: var(--surface);
}

.service-card--featured .service-list li {
    color: rgba(255, 255, 255, 0.8);
}

.service-card--featured .service-list li::before {
    color: var(--accent);
}

.service-card--featured .service-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--surface);
}

.service-disclaimer {
    background-color: rgba(255, 255, 255, 0.1);
    border-right: 3px solid #F5A623;
    /* Was border-left, using right for RTL */
    padding: 1rem;
    border-radius: 0 4px 4px 0;
    /* Adjusted border radius */
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-disclaimer svg {
    color: #F5A623;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==================== PARTNERS SECTION ==================== */
.section-partners {
    padding: var(--section-padding);
    background-color: var(--surface);
    border-top: 1px solid var(--gray-200);
    overflow: hidden;
    /* Hide horizontal scroll */
}

.partners-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--surface) 0%, transparent 100%);
}

.partners-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--surface) 0%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    /* In RTL, standard translates might act weird, CSS animation handles it */
    animation: scroll-partners 30s linear infinite;
}

.partner-logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo img,
.partner-logo svg {
    max-width: 100%;
    max-height: 100%;
}

@keyframes scroll-partners {

    /* Since track wrapper has direction RTL but inline style dir=ltr was set on html, 
       we keep the LTR scroll direction (-x) */
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* ==================== CONTACT SECTION ==================== */
.section-contact {
    padding: var(--section-padding);
    background-color: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--surface);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
}

.contact-form {
    background-color: var(--surface);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.9375rem;
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    background-color: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--surface);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-status.success {
    color: #27ae60;
}

.form-status.error {
    color: #e74c3c;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-top-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links-group h4 {
    color: var(--surface);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 0.75rem;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links-group a:hover {
    color: var(--accent);
    transform: translateX(-5px);
    /* Translate leftwards in RTL */
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-disclaimer p {
    color: #F8F9FA;
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal-links a:hover {
    color: var(--surface);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 1rem 0;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 90%;
    gap: 1rem;
}

.cookie-content p {
    font-size: 0.875rem;
    margin: 0;
}

.cookie-btns {
    display: flex;
    gap: 0.5rem;
}

.cookie-btns button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-cookie-accept {
    background-color: var(--primary);
    color: var(--surface);
}

.btn-cookie-accept:hover {
    background-color: var(--accent);
}

.btn-cookie-decline {
    background-color: var(--gray-200);
    color: var(--text-muted);
}

.btn-cookie-decline:hover {
    background-color: var(--gray-300);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Could be left for RTL, but bottom-right works well */
    width: 45px;
    height: 45px;
    background-color: var(--accent);
    color: var(--surface);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* ==================== ANIMATIONS ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-top-inner {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-badge {
        left: auto;
        right: 20px;
        bottom: -20px;
    }

    /* Prevent cut-off */
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    :root {
        --section-padding: 3.5rem 0;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        border: none;
        padding-top: 0;
    }

    .stat-divider {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Legal Pages Specific Styles */
.legal-page-header {
    background-color: var(--primary);
    color: var(--surface);
    padding: 150px 0 80px;
    text-align: center;
}

.legal-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--surface);
}

.legal-last-updated {
    color: var(--accent);
    font-size: 0.9375rem;
}

.legal-content-section {
    padding: 4rem 0;
    background-color: var(--surface);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
}

.legal-container h2 {
    color: var(--primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-container h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
}

.legal-container p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.legal-container ul {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
    /* Was padding-left */
}

.legal-container li {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}