:root {
    --primary-color: #0d9488;
    /* Teal-600 */
    --primary-dark: #0f766e;
    /* Teal-700 */
    --secondary-color: #0f172a;
    /* Slate-900 */
    --accent-color: #fca5a5;
    /* Red-300 - soft accent */
    --light-bg: #f8fafc;
    /* Slate-50 */
    --white: #ffffff;
    --text-main: #334155;
    /* Slate-700 */
    --text-light: #64748b;
    /* Slate-500 */
    --border-color: #e2e8f0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --container-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset & Basics */
* {
    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;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 22px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-light:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a,
.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover,
.social-links a:hover {
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.btn-primary {
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #cbd5e1;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow);
    background-image: url('images/landing.jpg');
    background-size: cover;
    background-position: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Contact Details */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.contact-container h2 {
    margin-bottom: 15px;
}

.contact-container p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col p a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover,
.footer-col p a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-socials {
    margin-top: 15px;
    justify-content: flex-start;
}

.footer-socials a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        text-align: center;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-links li {
        margin: 15px 0;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .top-bar {
        display: none;
        /* Hide top bar on very small screens if crowded */
    }
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: var(--light-bg);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.vm-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.vm-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 2rem;
    color: var(--primary-color);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.vm-card p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: 'Tahoma', sans-serif;
    /* Fallback for Arabic */
}

[dir="rtl"] .contact-info a,
[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .logo i {
    margin-left: 8px;
    margin-right: 0;
}

/* Partners Section */
.partners-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 20px 0;
}

.partner-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}