/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* الألوان الرئيسية - خلفية بيضاء للموقع */
    --primary-bg: #ffffff;
    --secondary-bg: #f5f5f5;
    --accent-orange: #ff8c00;
    --accent-orange-light: #ffa500;
    --accent-orange-dark: #ff7700;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-gray: #6b6b6b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --overlay-dark: rgba(0, 0, 0, 0.6);
    
    /* الخطوط */
    --font-primary: 'Cairo', sans-serif;
    
    /* المسافات */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(15, 15, 15, 0.98);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    direction: ltr;
}

.nav-contact-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 140, 0, 0.1);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 50%;
    color: var(--accent-orange);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-icon-link:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
}

.nav-icon-link.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.nav-icon-link i {
    transition: transform 0.3s ease;
}

.nav-icon-link:hover i {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    direction: rtl;
}


.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-link.active {
    background-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    direction: rtl;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.5));
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.8));
}

.logo-text {
    font-weight: 700;
}


/* ============================================
   Hero Section
   ============================================ */
/* الهيدر بنفس لون الناف بار - خلفية داكنة */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/header.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 0;
    filter: blur(2px) brightness(0.4);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        #1a1a1a 0%,
        rgba(26, 26, 26, 0.8) 30%,
        rgba(255, 140, 0, 0.15) 50%,
        rgba(26, 26, 26, 0.8) 70%,
        #1a1a1a 100%
    );
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 140, 0, 0.2) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
    z-index: 2;
    mix-blend-mode: overlay;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.hero-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    direction: ltr;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 140, 0, 0.15) 0%,
        transparent 50%
    );
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 140, 0, 0.3),
        inset 0 0 40px rgba(255, 140, 0, 0.1);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s ease;
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
    mix-blend-mode: normal;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2) saturate(1.3);
}

.hero-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(255, 140, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-image-wrapper:hover .hero-image-glow {
    opacity: 1;
}

.hero-content {
    position: relative;
    padding: 20px 0;
    text-align: right;
    direction: rtl;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 140, 0, 0.05) 50%,
        transparent 100%
    );
    border-radius: 15px;
    padding: 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.3;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-title-highlight {
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

.hero-title-normal {
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-orange-light);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(-5px);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding);
    background-color: var(--secondary-bg);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    box-shadow: 0 0 20px var(--accent-orange);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 140, 0, 0.15);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    border-color: var(--accent-orange);
}

.service-card:hover::before {
    opacity: 1;
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-glow {
    opacity: 1;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

.service-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 140, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.about-text {
    padding: 20px;
}

.about-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--accent-orange);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-label {
    font-weight: 600;
    color: var(--accent-orange);
}

.info-value {
    color: var(--text-light);
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: var(--section-padding);
    background-color: var(--secondary-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-us-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.15);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    border-color: var(--accent-orange);
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}

.why-us-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.why-us-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding);
    background-color: var(--primary-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.2);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.contact-details h3 {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-details p,
.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent-orange);
}

.contact-map-wrapper {
    background: var(--card-bg);
    padding: 0;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.9) contrast(1.1);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background-color: var(--accent-orange);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.map-link-btn:hover {
    background-color: var(--accent-orange-light);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.6);
    transform: translateY(-2px);
}

.map-link-btn span {
    font-size: 1.2rem;
}

/* ============================================
   Footer - نفس الشكل الأصلي الداكن
   ============================================ */
.footer {
    background-color: #0f0f0f;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 140, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-description {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-registration {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-title {
    color: var(--accent-orange);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(-5px);
}

.footer-services {
    list-style: none;
}

.footer-services li {
    margin-bottom: 12px;
}

.footer-services a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-services a:hover {
    color: var(--accent-orange);
    transform: translateX(-5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.8;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact .contact-icon {
    font-size: 1.2rem;
    min-width: 25px;
    margin-top: 2px;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 140, 0, 0.1);
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-orange);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-orange-light);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.6);
    transform: translateY(-5px);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero-wrapper {
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .nav-wrapper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .hamburger {
        display: flex;
        order: 0;
    }

    .nav-contact-icons {
        order: 1;
        gap: 10px;
    }

    .nav-icon-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 30px;
        gap: 15px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        z-index: 1000;
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        justify-content: flex-start;
        direction: rtl;
        align-items: stretch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        font-size: 1rem;
        padding: 12px 20px;
        width: 100%;
        text-align: right;
        display: block;
        direction: rtl;
        color: var(--text-dark);
    }

    .logo {
        order: 2;
        flex-shrink: 0;
        margin-left: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: rtl;
    }

    .hero-image-wrapper {
        order: 0;
        max-width: 100%;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        align-items: center;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid,
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 20px;
    }

    .hero {
        min-height: 90vh;
        padding-top: 70px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 0;
    }

    .hero-wrapper {
        direction: rtl;
    }

    .hero-image-wrapper {
        order: 0;
        aspect-ratio: 16/9;
    }

    .hero-content {
        order: 1;
        padding: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        align-items: center;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .section-title::after {
        width: 80px;
    }

    .services-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card,
    .why-us-card {
        padding: 25px;
    }

    .service-image-wrapper {
        height: 180px;
    }

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

    .about-image-wrapper {
        order: 1;
    }

    .about-text {
        order: 0;
    }

    .about-text {
        padding: 0;
    }

    .about-description {
        font-size: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-item {
        padding: 20px;
    }

    .map-container {
        height: 400px;
    }

    .map-overlay {
        top: 15px;
        left: 15px;
        right: auto;
    }

    .map-link-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

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

    .footer-section {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links,
    .footer-services,
    .footer-contact {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0 15px;
        --section-padding: 50px 0;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-contact-icons {
        gap: 8px;
    }

    .nav-icon-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-menu {
        top: 60px;
        padding: 20px;
        gap: 12px;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 10px 15px;
        text-align: right;
    }

    .nav-contact-icons {
        gap: 8px;
    }

    .nav-icon-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 85vh;
        padding-top: 60px;
    }

    .hero-wrapper {
        gap: 25px;
        padding: 20px 0;
    }

    .hero-image-wrapper {
        aspect-ratio: 16/10;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .service-card,
    .why-us-card {
        padding: 20px;
    }

    .service-image-wrapper {
        height: 150px;
        margin-bottom: 15px;
    }

    .service-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .service-description {
        font-size: 0.9rem;
    }

    .why-us-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .why-us-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .why-us-description {
        font-size: 0.9rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .info-item {
        padding: 12px;
        flex-direction: column;
        gap: 5px;
    }

    .contact-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-icon {
        font-size: 1.8rem;
    }

    .contact-details h3 {
        font-size: 1.1rem;
    }

    .contact-details p,
    .contact-details a {
        font-size: 0.95rem;
    }

    .map-container {
        height: 350px;
    }

    .map-overlay {
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .map-link-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 50px 0 25px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .footer-description {
        font-size: 0.95rem;
    }

    .footer-registration {
        font-size: 0.85rem;
    }

    .footer-links li,
    .footer-services li,
    .footer-contact li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 25px;
        font-size: 0.85rem;
    }

    .footer-bottom p {
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        left: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .service-card,
    .why-us-card {
        padding: 15px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        bottom: 12px;
        left: 12px;
    }
}
