/* ====================================
   TALAAT TECHNOLOGY - Main Stylesheet
   Brand Color: #22405A (Logo Color)
   ==================================== */

/* ====================================
   CSS VARIABLES - Single Source of Truth
   ==================================== */
:root {
    /* Brand Colors - Based on Logo #22405A */
    --brand: #22405A;           /* Primary brand color (logo) */
    --brand-2: #1B3449;         /* Darker shade for depth */
    --brand-3: #2B506B;         /* Slightly lighter shade */
    --accent: #3FB7C6;          /* Secondary accent (complements brand) */
    --accent-2: #2FA3B2;        /* Hover state for accent */
    --accent-light: rgba(63, 183, 198, 0.12);
    
    /* Text Colors */
    --text: #0F172A;            /* Primary text */
    --muted: #64748B;           /* Muted/secondary text */
    --white: #FFFFFF;
    
    /* Surface & Background */
    --surface: #FFFFFF;         /* Card/element background */
    --bg: #F7FAFC;              /* Light page background */
    --line: #E2E8F0;            /* Borders/dividers */
    
    /* Brand Tints (for icons/badges) */
    --brand-tint: rgba(34, 64, 90, 0.10);
    --brand-tint-hover: rgba(34, 64, 90, 0.15);
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.15);
    
    /* Typography */
    --font-en: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 72px;
    --section-padding-mobile: 44px;
    --container-max: 1200px;
    
    /* Border Radius */
    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ====================================
   RESET & BASE STYLES
   ==================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--surface);
}

/* RTL Support */
[dir="rtl"] body {
    font-family: var(--font-ar);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Focus States - Accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ====================================
   CONTAINER
   ==================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    font-weight: 600;
}

h5 {
    font-size: 16px;
    font-weight: 600;
}

h6 {
    font-size: 14px;
    font-weight: 600;
}

p {
    font-weight: 400;
    line-height: 1.65;
}

/* Mobile Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 34px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 18px;
    }
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-2);
    border-color: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(63, 183, 198, 0.35);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--brand);
    border-color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--white);
}

/* ====================================
   HEADER & NAVIGATION
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #22405A; /* Exact brand color - no gradient */
    padding: 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent; /* No background behind logo */
}

.logo img {
    height: fit-content;
    width: 60px;
    background: transparent; /* Transparent logo container */
    filter: none; /* No filters */
}

.logo-text {
    font-family: var(--font-en);
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* Arabic Logo Text */
[dir="rtl"] .logo-text {
    font-family: var(--font-ar);
    font-weight: 700;
    letter-spacing: 0;
}

/* Optional: Two-tone brand text styling */
.logo-text .brand-name {
    opacity: 1;
}

.logo-text .brand-suffix {
    opacity: 0.85;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
    border-radius: 1px;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-switch svg {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background-color: #22405A; /* Exact brand color - no gradient */
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 12px;
        text-align: center;
    }
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    color: var(--white);
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(34, 64, 90, 0.75) 0%, rgba(27, 52, 73, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 var(--section-padding-mobile);
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}

/* Page Hero (smaller for internal pages) */
.page-hero {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

/* ====================================
   SECTIONS
   ==================================== */
.section {
    padding: var(--section-padding) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }
}

.section-gray {
    background-color: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--brand-tint);
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.section-title {
    margin-bottom: 12px;
}

.section-description {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* ====================================
   CARDS
   ==================================== */
.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--line);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Card with image */
.card.card-with-image {
    padding: 0;
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-with-image .card-content {
    padding: 24px;
}

.card-with-image .card-icon {
    margin-bottom: 16px;
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand);
    color: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.card-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .card-grid,
    .card-grid-2,
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Icon Cards (smaller, for features) */
.icon-card {
    text-align: center;
    padding: 24px;
    background: transparent;
    box-shadow: none;
    border: none;
}

.icon-card:hover {
    box-shadow: none;
    transform: none;
}

.icon-card .card-icon {
    margin: 0 auto 16px;
    background-color: var(--brand-tint);
    color: var(--brand);
}

.icon-card .card-title {
    font-size: 16px;
}

.icon-card .card-text {
    font-size: 14px;
}

/* ====================================
   ABOUT SECTION (Home)
   ==================================== */
.about-preview {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-preview h2 {
    margin-bottom: 20px;
}

.about-preview p {
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 17px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--accent-2);
    gap: 12px;
}

.learn-more svg {
    width: 20px;
    height: 20px;
}

[dir="rtl"] .learn-more svg {
    transform: rotate(180deg);
}

/* ====================================
   ABOUT PAGE - Content
   ==================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto 48px;
}

.about-content p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
    text-align: center;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
    padding: var(--section-padding) 0;
    text-align: center;
    color: var(--white);
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--section-padding-mobile) 0;
    }
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
}

/* ====================================
   FAQ ACCORDION
   ==================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    background-color: var(--bg);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--muted);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ====================================
   CONTACT PAGE
   ==================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* Honeypot field */
.form-honey {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-submit {
    width: 100%;
    height: 48px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading {
    pointer-events: none;
}

/* Button Spinner */
.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

[dir="rtl"] .btn-spinner {
    margin-right: 0;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Messages */
.form-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.contact-info-card h3 {
    margin-bottom: 24px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-tint);
    color: var(--brand);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.contact-info-content p,
.contact-info-content a {
    color: var(--muted);
    font-size: 15px;
}

.contact-info-content a:hover {
    color: var(--accent);
}

/* Map Section */
.map-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.map-card h3 {
    margin-bottom: 20px;
}

.map-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.map-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--bg);
    color: var(--muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.map-tab:hover,
.map-tab.active {
    background-color: var(--accent);
    color: var(--white);
}

.map-iframe-wrapper {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--bg);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    background-color: var(--accent-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.map-link:hover {
    background-color: var(--accent);
    color: var(--white);
}

.map-link svg {
    width: 16px;
    height: 16px;
}

/* Placeholder fallback (if needed) */
.map-placeholder {
    width: 100%;
    height: 280px;
    background-color: var(--bg);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    gap: 8px;
}

.map-placeholder svg {
    width: 48px;
    height: 48px;
}

.map-placeholder p {
    font-size: 14px;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 40px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 14px;
}

.footer-contact-item strong {
    display: block;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ====================================
   RTL ADJUSTMENTS
   ==================================== */
[dir="rtl"] .nav-link.active::after {
    left: 0;
    right: 0;
}

[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .card-icon {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .icon-card .card-icon {
    margin: 0 auto 16px;
}

/* RTL Text Alignment */
[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .form-label {
    text-align: right;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.card-grid > *:nth-child(1) { animation-delay: 0.1s; }
.card-grid > *:nth-child(2) { animation-delay: 0.2s; }
.card-grid > *:nth-child(3) { animation-delay: 0.3s; }
.card-grid > *:nth-child(4) { animation-delay: 0.4s; }

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .lang-switch,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero,
    .page-hero {
        padding-top: 40px;
        background: none !important;
        color: #000 !important;
    }
    
    .hero-title,
    .page-hero h1 {
        color: #000 !important;
    }
}
