:root {
    --primary-color: #26423e;
    --primary-dark: #234742;
    --accent-color: #407b7d;
    --accent-orange: #984b38;
    --bg-color: #f9f7f6;
    --section-bg: #fbfaf9;
    --card-bg: #ffffff;
    --border-color: #ebe6e3;
    --text-primary: #1f1f1f;
    --text-secondary: rgba(31, 31, 31, 0.7);
    --ivory-color: #FFFFF0;
    --loader-bg: #ffffff;
    --accent-pink: #EAE1D7;
    --pink-hover: #DBCFBE;
    --header-height: 80px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --primary-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --heading-font: "Playfair Display", serif;
    --arabic-font: "Tajawal", sans-serif;
}



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

html {
    scroll-behavior: smooth;
}

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


body.rtl {
    direction: rtl;
    font-family: var(--arabic-font);
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6 {
    font-family: var(--arabic-font);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}


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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: var(--primary-color);
}

/* Header */
header {
    height: auto;
    display: flex;
    align-items: center;
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 12px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-left: -16px;
    margin-right: 40px;
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 32px;
    margin: 0 auto;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--accent-pink);
    padding: 8px 18px;
    border-radius: 4px; /* Sophisticated square shape */
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



.nav-links a:hover {
    background: var(--pink-hover);
    transform: translateY(-2px);
}


.lang-switch-container {
    display: flex;
    align-items: center;
}

.header-divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
    margin: 0 20px;
}

.lang-switch {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px; /* Matching the main nav */
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}


.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    background: url('photo/Kjamal%20Wallpaper.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 0;
    text-align: center;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    font-weight: 500;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    font-weight: 400;
}

.cta-btn {
    background: var(--accent-pink);
    color: var(--primary-color);
    padding: 16px 40px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(248, 200, 220, 0.4);
}

.cta-btn:hover {
    background: var(--pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(248, 200, 220, 0.6);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 1 / 1;
}

body.rtl .service-card {
    text-align: center;
    align-items: center;
}

.service-card:hover {
    border-color: rgba(38, 66, 62, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-icon {
    font-size: 1.75rem;
    color: var(--accent-orange);
    margin-bottom: 24px;
    width: 64px;
    height: 64px;
    background: var(--bg-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Why Us */
.about {
    background-color: var(--accent-pink);
    background-image: none;
    border-radius: 40px;
    margin: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(38, 66, 62, 0.05);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    background: transparent;
    padding: 60px;
}


.about h2,
.about p,
.about .features-list li {
    color: var(--primary-color) !important;
}

.about-img {
    background: transparent;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.about-img iframe {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}




@media(max-width: 968px) {
    .about {
        margin: 20px;
        border-radius: 24px;
    }
}







.features-list li i {
    color: var(--accent-orange) !important;
}



/* Contact */
.contact-info p {
    color: var(--text-secondary);
}

.contact-info h4 {
    color: var(--primary-color);
}

.map-placeholder {
    border-radius: 24px !important;
    overflow: hidden;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--accent-pink);
    color: var(--primary-color);
    margin-top: 40px;
    border-radius: 40px 40px 0 0;
    border-top: 1px solid var(--border-color);
}


.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}


.footer-logo span {
    color: var(--accent-orange);
}

.footer-links h4 {
    margin-bottom: 24px;
    color: var(--primary-color);
    font-weight: 600;
}


.footer-links ul li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.footer-links ul li:hover {
    color: var(--primary-color);
}


/* Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.section.visible .service-card {
    opacity: 1;
    transform: translateY(0);
}

.section.visible .service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.section.visible .service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.section.visible .service-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 968px) {
    header {
        width: 95%;
        top: 16px;
        padding: 12px 20px;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 400px;
    }

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

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

    .nav-links {
        display: none;
    }
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: var(--ivory-color);
    font-family: 'Helvetica', 'Arial', 'Tajawal', sans-serif;
    margin-bottom: 30px;
}