/* RESET */
@import url('../cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: black;
    font-weight: 900;
    background-color: white;
    /* Framer-like dark background */
    line-height: 1.4;
}

html {
    scroll-behavior: smooth;
}


/* HEADER */
.header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 70px;

}

.logo {
    margin: 0;
}

.nav {
    display: flex;
    gap: 1rem;
}

.nav a {
    color: black;
    text-decoration: none;
    font-weight: 300;
}

.nav a:hover {
    color: #D9AC5B;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn,
.signup-btn {
    background: none;
    border: 1px solid #0F4341;
    color: #D9AC5B;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background 0.3s ease;
    background-color: #0F4341;
}

.signup-btn {
    border: 1px solid #D9AC5B;
    background-color: white;
}

.signup-btn:hover,
.login-btn:hover {
    background-color: #0F4341;
}

/* HAMBURGER MENU (MOBILE) */
.hamburger {
    display: none;
    /* Hidden on desktop by default */
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

html[dir="rtl"] .hero {
    text-align: center;
    /* Ensures text aligns correctly in Arabic */
}

html[dir="rtl"] .hero-image {
    margin-right: 0;
    margin-left: 150px;
    /* Mirror the margin for RTL */
}


.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: auto;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 1000;
}

.subtitle {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 2rem;
    font-weight: 400;
}

.social-icons {
    margin-bottom: 2rem;
}

.social-icons a {
    margin: 0 0.5rem;
    color: #D9AC5B;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-btn,
.video-btn {
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.cta-btn {
    background-color: #0F4341;
    color: #D9AC5B;
    font-weight: 300;
}

.cta-btn:hover,
.video-btn:hover {
    opacity: 0.8;
}

.video-btn {
    color: #D9AC5B;
    background-color: white;
    border: 1px solid #D9AC5B;
}

/* HERO IMAGE / MOCK UI */
.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    margin-right: 150px;
}

.gradient-bubble {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #0c0cff, #000);
    position: absolute;
    z-index: 1;
    opacity: 0.8;
}

.mock-ui {
    position: relative;
    z-index: 2;
    background-color: #111;
    padding: 1rem;
    border-radius: 8px;
    max-width: 300px;
    text-align: left;
    font-size: 0.9rem;
    border: 1px solid #333;
}

.mock-ui p {
    margin-bottom: 1rem;
    color: #eee;
    font-weight: 300;
}

.ui-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ui-button {
    background-color: #222;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    color: #bbb;
    font-size: 0.8rem;
}

.ui-content h3 {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.ui-artboard {
    width: 100%;
    height: 100px;
    background-color: #222;
    border: 1px dashed #444;
    border-radius: 4px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    font-size: 0.8rem;
}

/* MEDIA QUERIES */
/* For screens up to 992px (tablet & below) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .gradient-bubble {
        width: 300px;
        height: 300px;
    }
}

/* MEDIA QUERIES */
/* For screens up to 768px (mobile & below) */
@media (max-width: 768px) {

    /* Show hamburger, hide nav by default */
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        /* or absolute */
        top: 60px;
        /* adjust for header height */
        right: 0;
        background-color: white;
        /* Changed from #000 to white */
        flex-direction: column;
        gap: 0;
        width: 200px;
        transform: translateX(100%);
        /* off-screen by default */
        transition: transform 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        /* ensure it's on top of other elements */
    }

    .nav a {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        /* Changed from #333 to #eee */
        color: black;
        /* Explicitly set text color to black */
    }

    .nav a:last-child {
        border-bottom: none;
    }

    /* Fix the hamburger bar color to match the theme */
    .bar {
        background-color: #0F4341;
        /* Changed from #fff to match the site's theme */
    }

    .auth-buttons {
        display: none;
        /* Hide auth buttons in the header by default on mobile */
    }

    /* Re-style the hero layout */
    .hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-image {
        margin-top: 2rem;
        justify-content: flex-start;
    }
}

/* Show nav when open (toggle in JS) */
.nav.open,
.nav.active {
    transform: translateX(0);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
    margin-bottom: 30px;
    justify-content: center;
    /* Added to center the icons */
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0F4341;
    color: #D9AC5B;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: #D9AC5B;
    color: #0F4341;
    transform: scale(1.1);
}

#vision {
    background: linear-gradient(#0F4341, #D9AC5B);
}

/* Vision Section Styles */
.vision-section {
    background: linear-gradient(135deg, #0F4341 0%, #0a2e2d 100%);
    padding: 6rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(217, 172, 91, 0.15) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(217, 172, 91, 0.1) 0%, transparent 20%);
    z-index: 1;
}

.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vision-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #D9AC5B;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.title-underline {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, transparent, #D9AC5B, transparent);
    margin: 0 auto;
}

.vision-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.vision-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(217, 172, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #D9AC5B, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vision-card:hover::before {
    transform: translateX(0);
}

.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0F4341 0%, #D9AC5B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vision-icon i {
    font-size: 1.8rem;
    color: white;
}

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #D9AC5B;
    position: relative;
}

.vision-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-weight: 400;
}

.vision-showcase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(15, 67, 65, 0.6);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(217, 172, 91, 0.1);
    position: relative;
    overflow: hidden;
}

.showcase-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.showcase-content h3 {
    font-size: 1.8rem;
    color: #D9AC5B;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.showcase-content h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 40%;
    height: 3px;
    background: #D9AC5B;
}

.vision-features {
    list-style: none;
    margin-bottom: 2rem;
}

.vision-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.vision-features li i {
    color: #D9AC5B;
    margin-left: 10px;
    font-size: 1.2rem;
}

.showcase-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.showcase-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.showcase-btn.primary {
    background: #D9AC5B;
    color: #0F4341;
}

.showcase-btn.secondary {
    background: transparent;
    color: #D9AC5B;
    border: 1px solid #D9AC5B;
}

.showcase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.showcase-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(217, 172, 91, 0.1);
    border: 1px solid rgba(217, 172, 91, 0.3);
    animation: float 6s infinite ease-in-out;
}

.shape1 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

.shape3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.logistics-icon {
    width: 150px;
    height: 150px;
    fill: #D9AC5B;
    z-index: 3;
    position: relative;
    animation: pulse 3s infinite ease-in-out;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    position: relative;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #D9AC5B;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -60%);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .vision-showcase {
        padding: 2rem;
    }

    .showcase-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {

    .vision-section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .vision-card {
        min-width: 100%;

    }


    .showcase-buttons {
        flex-direction: column;
    }

    .showcase-btn {
        width: 100%;
    }

    .stat-item {
        min-width: 40%;
    }
}

@media (max-width: 480px) {
    .stat-item {
        min-width: 100%;
    }
}

/* Services Section Styles */
.services-section {
    background-color: #fff;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Background Decorations */
.services-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.services-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.showcase-image img {
    width: 100%;
    max-width: 400px;
    /* optional: limits the image size on larger screens */
    height: auto;
}

.circle-top-right {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, #D9AC5B 0%, transparent 70%);
}

.circle-bottom-left {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, #0F4341 0%, transparent 70%);
}

.services-bg-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(15, 67, 65, 0.05), transparent);
    transform: rotate(-30deg);
}

.line1 {
    width: 80%;
    top: 20%;
    left: -10%;
}

.line2 {
    width: 60%;
    top: 50%;
    right: -10%;
}

.line3 {
    width: 70%;
    bottom: 30%;
    left: 20%;
}

/* Header */
.services-header {
    text-align: center;
    margin-bottom: 5rem;
}

.services-title-container {
    display: inline-block;
    position: relative;
    margin-bottom: 1.5rem;
}

.services-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    color: #D9AC5B;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.services-title {
    font-size: 2.8rem;
    color: #0F4341;
    margin: 0;
    position: relative;
    display: inline-block;
}

.services-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #D9AC5B, transparent);
    border-radius: 2px;
}

.services-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(15, 67, 65, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon-container {
    width: 80px;
    height: 80px;
    background: #0F4341;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    transform: rotate(0deg);
}

.service-card:hover .service-icon-container {
    background: #D9AC5B;
    transform: rotate(10deg);
}

.service-icon-container i {
    font-size: 2rem;
    color: #fff;
}

.service-title {
    font-size: 1.5rem;
    color: #0F4341;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: #fff;
}

.service-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.8);
}

.service-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #D9AC5B;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-link span {
    margin-left: 0.5rem;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: #fff;
}

.service-card:hover .service-link i {
    transform: translateX(-5px);
}

.service-hover-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0F4341 0%, #0a2e2d 100%);
    z-index: 0;
    opacity: 0;
    transition: all 0.4s ease;
}

.service-card:hover .service-hover-bg {
    opacity: 1;
}

/* Services CTA */
.services-cta {
    background-image: url("background.png");


    border-radius: 20px;
    padding: 4rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.services-cta-content {
    flex: 1;
    min-width: 300px;
    padding-left: 2rem;
    position: relative;
    z-index: 2;
}

.services-cta-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.services-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.services-cta-button {
    background: #D9AC5B;
    color: #0F4341;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-cta-button:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.services-cta-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(217, 172, 91, 0.1);
}

.circle1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: 10%;
}

.circle2 {
    width: 150px;
    height: 150px;
    bottom: -75px;
    right: 30%;
}

.circle3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
}

.cta-shape {
    position: absolute;
}

.shape1 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.03);
    top: 30%;
    right: -50px;
    animation: morphShape 10s infinite alternate;
}

.shape2 {
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: rgba(217, 172, 91, 0.05);
    bottom: -50px;
    left: 10%;
    animation: morphShape 15s infinite alternate;
    animation-delay: 2s;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .services-section {
        padding: 6rem 2rem;
    }

    .services-cta {
        padding: 3rem 2rem;
    }

    .services-cta-content {
        padding-left: 0;
        margin-bottom: 2rem;
        text-align: center;
    }

    .services-cta-content p {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .services-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 4rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-description {
        font-size: 1rem;
    }
}

.contact-section {
    padding: 8rem 3rem;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #D9AC5B;
    margin-bottom: 1rem;
    position: relative;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #D9AC5B;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: #D9AC5B;
    margin-left: 1rem;
    width: 25px;
    text-align: center;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-weight: 600;
    color: #444;
    margin-bottom: 0.3rem;
}

.contact-info-text {
    color: #666;
    line-height: 1.5;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f3f3;
    color: #666;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #D9AC5B;
    color: #fff;
    transform: translateY(-3px);
}

.contact-hours {
    margin-top: 2.5rem;
}

.contact-form {
    flex: 2;
    min-width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.form-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: #D9AC5B;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 0;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #D9AC5B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 172, 91, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    background-color: #D9AC5B;
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #c69845;
    transform: translateY(-2px);
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Background Decorations */
.contact-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-bg-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-top-right {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: rgba(217, 172, 91, 0.05);
}

.circle-bottom-left {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    background: rgba(217, 172, 91, 0.03);
}

.contact-bg-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 172, 91, 0.2), transparent);
}

.line1 {
    top: 15%;
    right: 5%;
    width: 150px;
    transform: rotate(-30deg);
}

.line2 {
    top: 60%;
    left: 5%;
    width: 200px;
    transform: rotate(20deg);
}

.line3 {
    bottom: 20%;
    right: 10%;
    width: 120px;
    transform: rotate(-15deg);
}

.contact-shape {
    position: absolute;
}

.shape1 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(217, 172, 91, 0.03);
    top: 20%;
    right: -50px;
    animation: morphShape 10s infinite alternate;
}

.shape2 {
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: rgba(217, 172, 91, 0.05);
    bottom: 30%;
    left: -50px;
    animation: morphShape 15s infinite alternate;
    animation-delay: 2s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-section {
        padding: 6rem 2rem;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-form,
    .contact-info {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .map-container {
        height: 300px;
    }
}


html:lang(en) .form-title::after {
    left: 0;
    right: auto;
}

html:lang(en) .form-title {
    text-align: left;
}

html:lang(en) .form-label,
html:lang(en) .form-control,
html:lang(en) .form-submit {
    text-align: left;
    direction: ltr;
}

html:lang(en) .contact-info-text {
    text-align: left;
}

html:lang(en) .contact-info-title::after {
    left: 0;
    right: auto;
}

html:lang(en) .contact-info-icon {
    margin-right: 10px;
    margin-left: 0;
}

.faq-section {
    position: relative;
    padding: 6rem 4rem;
    background-color: #fff;
    overflow: hidden;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    direction: rtl;
}

.faq-subtitle {
    color: #D9AC5B;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.faq-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #D9AC5B;
}

.faq-description {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    direction: rtl;
}

.faq-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: #444;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f3f3f3;
    color: #D9AC5B;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background-color: #D9AC5B;
    color: #fff;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Background Decorations - matching contact section */
.faq-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.faq-bg-circle {
    position: absolute;
    border-radius: 50%;
}

.faq-circle-top-left {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    background: rgba(217, 172, 91, 0.05);
}

.faq-circle-bottom-right {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    background: rgba(217, 172, 91, 0.03);
}

.faq-bg-line {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 172, 91, 0.2), transparent);
}

.faq-line1 {
    top: 25%;
    left: 5%;
    width: 150px;
    transform: rotate(30deg);
}

.faq-line2 {
    top: 60%;
    right: 5%;
    width: 200px;
    transform: rotate(-20deg);
}

.faq-line3 {
    bottom: 15%;
    left: 10%;
    width: 120px;
    transform: rotate(15deg);
}

.faq-shape {
    position: absolute;
}

.faq-shape1 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(217, 172, 91, 0.03);
    top: 20%;
    left: -50px;
    animation: morphShape 10s infinite alternate;
}

.faq-shape2 {
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: rgba(217, 172, 91, 0.05);
    bottom: 30%;
    right: -50px;
    animation: morphShape 15s infinite alternate;
    animation-delay: 2s;
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .faq-section {
        padding: 6rem 2rem;
    }
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2.2rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 4rem 1.5rem;
    }

    .faq-title {
        font-size: 1.8rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}


/* Stats Section */
.stats-section {
    padding: 7rem 3rem;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.stats-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stats-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(15, 67, 65, 0.05);
}

.stats-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: 10%;
}

.stats-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 5%;
}

.stats-bg-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(217, 172, 91, 0.05);
    top: 20%;
    right: -200px;
    animation: morphShape 15s infinite alternate;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #0F4341, #D9AC5B);
    transition: all 0.3s ease;
}

.stat-card:hover::before {
    height: 10px;
}

.stat-icon {
    font-size: 2.5rem;
    color: #0F4341;
    margin-bottom: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #D9AC5B;
    margin-bottom: 0.5rem;
    font-family: "Cairo", sans-serif;
}

.stat-title {
    font-size: 1.5rem;
    color: #0F4341;
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Optional: Add animation for numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 1s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 5rem 2rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-title {
        font-size: 1.3rem;
    }
}


/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 15px;
    text-decoration: none;
    /* Adjust based on your layout */
}

.lang-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 0 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: #c69845;
    /* Or your primary color */
    color: white;
    border-color: #c69845;
}

.lang-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

/* Adjust responsive styles */
@media (max-width: 768px) {
    html[dir="rtl"] .language-switcher {
        position: absolute;
        top: 30px;
        left: 100px;
        z-index: 101;
    }


    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
}


#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* semi-transparent white */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    /* Make sure it is above other content */
}

.loading-spinner {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}



/* Insurance Section */
.insurance-section {
    padding: 6rem 2rem;
    background-color: #f9f9f9;

}

.insurance-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.insurance-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.insurance-icon {
    font-size: 4rem;
    color: #D9AC5B;
    margin-bottom: 1.5rem;
    display: block;
}

.insurance-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.insurance-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 67, 65, 0.05);
    text-align: center;
}

.insurance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.insurance-card-icon {
    width: 70px;
    height: 70px;
    background: #0F4341;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.insurance-card:hover .insurance-card-icon {
    background: #D9AC5B;
    transform: rotate(10deg);
}

.insurance-card-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.insurance-card-title {
    font-size: 1.4rem;
    color: #0F4341;
    margin-bottom: 1rem;
    font-weight: 600;
}

.insurance-card-description {
    color: #555;
    line-height: 1.6;
}

.insurance-details {
    background: linear-gradient(135deg, #0F4341 0%, #0a2e2d 100%);
    border-radius: 20px;
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.insurance-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.insurance-subtitle::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: #D9AC5B;
    border-radius: 2px;
}

.insurance-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.insurance-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.insurance-benefits li i {
    color: #D9AC5B;
    margin-left: 1rem;
    font-size: 1.2rem;
}

.insurance-cta {
    text-align: center;
    margin-top: 2rem;
}

.insurance-button {
    background: #D9AC5B;
    color: #0F4341;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.insurance-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #e0b96a;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .insurance-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .insurance-details {
        padding: 2rem;
    }

    .insurance-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .insurance-section {
        padding: 4rem 1.5rem;
    }

    .insurance-icon {
        font-size: 3rem;
    }

    .insurance-description {
        font-size: 1.1rem;
    }

    .insurance-subtitle {
        font-size: 1.5rem;
    }
}

.container {
    max-width: 1200px;
    /* or your desired width */
    margin: 0 auto;
    padding: 0 15px;
}