/*
  Project: DANA / CAMSEC Website - Enhanced Version
  Version: 8.0.0
*/

/* Table of Contents
------------------------------------
1. Global Styles & Variables
2. Helper Classes & Effects
3. Loading Screen
4. Header & Navigation
5. Hero Section (Slider)
6. Section Styles
7. Cards & Interactive Elements
8. FAQ Section
9. Contact Section
10. Footer
11. Floating Buttons & Notifications
12. Responsive Design
13. Animations
------------------------------------*/

/* 1. Global Styles & Variables
------------------------------------*/
:root {
    --primary-color: #F24B2A;
    --primary-hover: #e04120;
    --dark-color: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --whatsapp-color: #25D366;
    --success-color: #28a745;
    --error-color: #dc3545;

    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #ff6b47 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-secondary) 0%, var(--dark-color) 100%);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15); /* Enhanced Shadow */
    
    --font-primary: 'Tajawal', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease-in-out;
    --border-radius: 10px;
    --border-radius-lg: 16px;
}

[data-lang="en"] { --font-primary: 'Inter', sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--dark-color); font-weight: 700; line-height: 1.4; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.3rem); }
h4 { font-size: clamp(1rem, 2.5vw, 1.1rem); }
p { font-size: clamp(0.875rem, 2vw, 0.95rem); color: var(--text-muted); }

.container { 
    width: 100%; /* Ensures container does not overflow */
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* 2. Helper Classes & Effects
------------------------------------*/
.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden; /* For ripple effect */
}
.btn-primary { background: var(--gradient-primary); color: var(--bg-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--bg-white); }
.btn-secondary { background-color: transparent; color: var(--bg-white); border-color: rgba(255, 255, 255, 0.7); }
.btn-secondary:hover { background-color: var(--bg-white); color: var(--primary-color); }

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-effect {
    to { transform: scale(4); opacity: 0; }
}


/* 3. Loading Screen
------------------------------------*/
#loading-screen {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--dark-color);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { width: 45px; height: 45px; border: 4px solid rgba(255, 255, 255, 0.2); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 1s linear infinite; }
.loading-text { color: var(--bg-white); margin-top: 15px; font-size: 0.9rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 4. Header & Navigation
------------------------------------*/
.header {
    position: fixed; top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
    padding: 10px 0;
}
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.navbar { display: flex; justify-content: space-between; align-items: center; }

/* Logo Styling Change */
.nav-logo {
    padding: 5px;
    background-color: transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.header:not(.scrolled) .nav-logo {
    background-color: transparent; /* Removed white background for visibility at the top */
}
.logo-img { max-height: 40px; transition: var(--transition); }
.header:not(.scrolled) .logo-img { 
    filter: none; /* Removed filter to show original logo on white bg */
}

.nav-menu { display: flex; align-items: center; gap: 25px; }
.nav-link {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}
.header.scrolled .nav-link { color: var(--dark-color); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--primary-color); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary-color); }
.header:not(.scrolled) .nav-link:hover, .header:not(.scrolled) .nav-link.active { color: var(--bg-white); }
.nav-controls { display: flex; align-items: center; gap: 15px; }
.lang-btn { border: 1px solid var(--bg-white); color: var(--bg-white); padding: 6px 16px; border-radius: 25px; font-size: 0.85rem; transition: var(--transition); }
.header.scrolled .lang-btn { color: var(--primary-color); border-color: var(--primary-color); }
.lang-btn:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--bg-white); }
.cta-btn { padding: 8px 20px; background: var(--gradient-primary); color: white; border-radius: 25px; font-size: 0.85rem; transition: var(--transition); }
.cta-btn:hover { transform: scale(1.05); box-shadow: var(--shadow-lg); color: white; }
.hamburger { display: none; cursor: pointer; background: transparent; border: none; z-index: 1001;}
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--bg-white); transition: var(--transition); }
.header.scrolled .bar { background-color: var(--dark-color); }

/* 5. Hero Section (Slider)
------------------------------------*/
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; color: var(--bg-white); overflow: hidden; padding: 0; }
.hero-slider { position: relative; width: 100%; height: 100%; }

/* --- Professional Hero Animations & Transitions --- */
@keyframes slow-zoom-out {
    from { transform: scale(1.15); }
    to { transform: scale(1); }
}

@keyframes slow-pan-left {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes subtle-zoom-rotate {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1.1) rotate(1.5deg); }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-size: cover; 
    background-position: center; 
    display: flex; align-items: center; 
    opacity: 0; visibility: hidden; 
    transition: opacity 1s ease-in-out; /* Smoother, slightly faster fade */
    transform: scale(1.15); /* Start slightly zoomed for all slides to prep for animation */
}
.hero-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); } /* Slightly lighter overlay */

.hero-slide.active { 
    opacity: 1; 
    visibility: visible; 
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Apply different animations to each slide */
.hero-slide:nth-child(1).active {
    animation-name: slow-zoom-out;
    animation-duration: 25s;
}
.hero-slide:nth-child(2).active {
    background-size: 150% 150%; /* Required for panning effect */
    animation-name: slow-pan-left;
    animation-duration: 40s;
}
.hero-slide:nth-child(3).active {
    animation-name: subtle-zoom-rotate;
    animation-duration: 30s;
}

.hero-content { position: relative; text-align: center; z-index: 2; }

/* Staggered animations for hero content */
.hero-slide .hero-title,
.hero-slide .hero-description,
.hero-slide .hero-buttons {
    opacity: 0; /* Start hidden */
}

.hero-slide.active .hero-title,
.hero-slide.active .hero-description,
.hero-slide.active .hero-buttons {
    animation: fade-in-up 0.7s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-slide.active .hero-title {
    animation-delay: 0.6s;
}
.hero-slide.active .hero-description {
    animation-delay: 0.9s;
}
.hero-slide.active .hero-buttons {
    animation-delay: 1.2s;
}

.hero-title { font-size: clamp(2.2rem, 6vw, 3.5rem); font-weight: 800; color: var(--bg-white); margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-description { font-size: clamp(0.95rem, 3vw, 1.15rem); max-width: 650px; margin: 0 auto 2rem; color: rgba(255,255,255,0.9); }
.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.slider-controls { position: absolute; top: 50%; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 30px; transform: translateY(-50%); z-index: 3; }
.slider-arrow { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: var(--transition); backdrop-filter: blur(5px); }
.slider-arrow:hover { background: var(--primary-color); border-color: var(--primary-color); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; }
.slider-dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: var(--transition); border: none; padding: 0; }
.slider-dot.active, .slider-dot:hover { background: var(--bg-white); transform: scale(1.2); }


/* 6. Section Styles
------------------------------------*/
section { padding: 80px 0; overflow: hidden; /* Prevent AOS overflow issues */ }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { margin-bottom: 10px; position: relative; display: inline-block; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: var(--gradient-primary); border-radius: 2px; }
.section-tagline { color: var(--primary-color); font-weight: 600; margin-bottom: 8px; display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* 7. Cards & Interactive Elements
------------------------------------*/
.services, .why-choose { background-color: var(--bg-light); }
.about-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: center; }
.about-image { position: relative; border-radius: var(--border-radius-lg); overflow: hidden; }
.about-image img { 
    border-radius: var(--border-radius-lg); 
    box-shadow: var(--shadow-lg); 
    width: 100%; height: 100%; object-fit: cover; 
    transition: transform 0.5s ease;
}
.about-image:hover img {
    transform: scale(1.05);
}
.image-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; padding: 20px; border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); }
.overlay-content h4 { color: white; margin-bottom: 5px; }
.overlay-content p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.85rem; }

.vision-mission-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
.vm-card {
    background: var(--bg-white); padding: 25px; border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}
[dir="rtl"] .vm-card { border-left: none; border-right: 4px solid var(--primary-color); }
.vm-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-md); 
    border-left-color: var(--primary-hover);
}
[dir="rtl"] .vm-card:hover {
    border-right-color: var(--primary-hover);
}
.vm-card .section-tagline { text-align: start; margin-bottom: 10px; transition: var(--transition); }
.vm-card:hover h3, .vm-card:hover .section-tagline {
    color: var(--primary-color);
}

.values-section { margin-top: 60px; text-align: center; }
.values-title { margin-bottom: 40px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.services-grid, .features-grid, .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }

.service-card, .feature-card, .value-item, .project-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before, .feature-card::before, .value-item::before, .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

[dir="rtl"] .service-card::before, 
[dir="rtl"] .feature-card::before, 
[dir="rtl"] .value-item::before, 
[dir="rtl"] .project-card::before {
    transform-origin: right;
}

[dir="ltr"] .service-card::before, 
[dir="ltr"] .feature-card::before, 
[dir="ltr"] .value-item::before, 
[dir="ltr"] .project-card::before {
    transform-origin: left;
}

.service-card:hover, .feature-card:hover, .value-item:hover, .project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg); /* Enhanced shadow */
}

.service-card:hover::before, .feature-card:hover::before, .value-item:hover::before, .project-card:hover::before {
    transform: scaleX(1);
}

.service-card h3, .feature-card h3, .value-item h4, .project-card h3 {
    transition: color 0.3s ease;
}

.service-card:hover h3, .feature-card:hover h3, .value-item:hover h4, .project-card:hover h3 {
    color: var(--primary-color);
}

.service-icon, .feature-icon, .value-icon {
    width: 60px; height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover .service-icon, .feature-card:hover .feature-icon, .value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}
.project-content { padding: 0; }

/* 8. FAQ Section
------------------------------------*/
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background-color: var(--bg-light); border-radius: var(--border-radius); margin-bottom: 15px; border: 1px solid var(--border-color); overflow: hidden; transition: var(--transition); }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; background: transparent; border: none; padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: start; font-family: inherit; font-size: 1rem; font-weight: 600; position: relative; }
[dir="rtl"] .faq-question { text-align: right; }
.faq-question i { transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 20px 20px; font-size: 0.9rem; }

/* 9. Contact Section
------------------------------------*/
.contact { background-color: var(--bg-light); }
.contact-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.contact-info .section-title { text-align: start; }
.contact-info .section-title::after { left: 0; transform: none; }
[dir="rtl"] .contact-info .section-title::after { right: 0; left: auto; }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; padding: 12px; font-size: 0.9rem; transition: var(--transition); border-radius: var(--border-radius); }
.info-item:hover { background-color: var(--bg-white); transform: translateX(5px); }
[dir="rtl"] .info-item:hover { transform: translateX(-5px); }
.info-item i { font-size: 1.1rem; }
.contact-form { background-color: var(--bg-white); padding: 35px; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }
.form-group { position: relative; margin-bottom: 30px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 10px; border: none; border-bottom: 2px solid var(--border-color); font-size: 0.95rem; font-family: inherit; background: transparent; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-bottom-color: var(--primary-color); }
.form-group label { position: absolute; top: 12px; left: 10px; color: var(--text-muted); transition: var(--transition); pointer-events: none; background-color: var(--bg-white); padding: 0 5px; font-size: 0.95rem; }
[dir="rtl"] .form-group label { left: auto; right: 10px; }
.form-group input:focus + label, .form-group input:valid + label, .form-group textarea:focus + label, .form-group textarea:valid + label, .form-group select:focus + label, .form-group select:valid + label { top: -10px; font-size: 0.8rem; color: var(--primary-color); }
.form-submit-btn { width: 100%; }

/* 10. Footer
------------------------------------*/
.footer { background: var(--gradient-dark); color: rgba(255,255,255,0.8); padding: 60px 0 20px; font-size: 0.9rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 50px; margin-bottom: 40px; }
.footer-section h3, .footer-section h4 { color: var(--bg-white); margin-bottom: 20px; font-size: 1.15rem; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
[dir="rtl"] .footer-links a:hover { padding-left: 0; padding-right: 5px; }
.footer-contact i { color: var(--primary-color); margin-right: 10px; }
[dir="rtl"] .footer-contact i { margin-right: 0; margin-left: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* 11. Floating Buttons & Notifications
------------------------------------*/
.back-to-top, .whatsapp-float {
    position: fixed; width: 45px; height: 45px; border-radius: 50%; color: white; border: none;
    font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-lg); transition: var(--transition);
    z-index: 999; display: flex; align-items: center; justify-content: center;
}
.back-to-top { bottom: 30px; right: 30px; background: var(--gradient-primary); opacity: 0; visibility: hidden; transform: translateY(20px); }
[dir="rtl"] .back-to-top { right: auto; left: 30px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: scale(1.1) translateY(-3px); }
.whatsapp-float { bottom: 90px; right: 30px; background-color: var(--whatsapp-color); }
[dir="rtl"] .whatsapp-float { right: auto; left: 30px; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); background-color: #128C7E; color: white; }

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 150%);
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transition: transform 0.4s ease-in-out;
}
.notification.show { transform: translate(-50%, 0); }
.notification-success { background-color: var(--success-color); }
.notification-error { background-color: var(--error-color); }

/* 12. Responsive Design
------------------------------------*/
@media (max-width: 992px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh; background-color: var(--dark-color); flex-direction: column; justify-content: center; transition: right 0.4s ease; box-shadow: var(--shadow-lg); }
    [dir="rtl"] .nav-menu { right: auto; left: -100%; transition: left 0.4s ease; }
    .nav-menu.active { right: 0; }
    [dir="rtl"] .nav-menu.active { left: 0; }
    .nav-link { color: white !important; font-size: 1.1rem; padding: 15px 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hamburger.active .bar { background-color: white; }
    .cta-btn { display: none; }
    .about-content, .contact-content { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 30px; }
    .about-text .section-title, [dir="rtl"] .about-text .section-title,
    .contact-info .section-title, [dir="rtl"] .contact-info .section-title { text-align: center; }
    .about-text .section-title::after, [dir="rtl"] .about-text .section-title::after,
    .contact-info .section-title::after, [dir="rtl"] .contact-info .section-title::after { left: 50%; transform: translateX(-50%); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-section.about-us { grid-column: 1 / -1; }
    section { padding: 60px 0; }
}

@media (max-width: 768px) {
    .slider-controls { display: none; }
    .hero { min-height: 80vh; } /* <<< ✨ هذا هو الإصلاح: تمت إزالة 'height: auto' */
    .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); } /* Adjusted for better impact */
    .hero-description { font-size: clamp(1rem, 4vw, 1.1rem); max-width: 90%; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .btn { width: 100%; max-width: 280px; }
    .values-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    [dir="rtl"] .footer-content { text-align: center; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .back-to-top, .whatsapp-float { width: 40px; height: 40px; font-size: 1rem; right: 15px; }
    [dir="rtl"] .back-to-top, [dir="rtl"] .whatsapp-float { left: 15px; }
    .whatsapp-float { bottom: 75px; }
    .back-to-top { bottom: 20px; }
    .contact-form { padding: 25px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .hero-description { font-size: clamp(0.9rem, 4vw, 1rem); }
}

/* 13. Animations & Accessibility
------------------------------------*/
[data-aos] { transition-property: transform, opacity; }
*:focus-visible { 
    outline: 3px solid var(--primary-color); 
    outline-offset: 3px;
    border-radius: 4px;
}

.moez-link {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem; /* صغير ومرتب */
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}
.moez-link span {
    font-weight: 600;
    color: #F24B2A; /* اللون الأساسي للموقع */
}
.moez-link:hover {
    color: #F24B2A;
    transform: scale(1.05);
}
.footer-bottom {
    text-align: center;   /* يخلي النص في المنتصف */
    padding: 15px 0;      /* مسافة فوق وتحت */
    font-size: 0.85rem;   /* حجم خط صغير ومرتب */
    color: #666;
    border-top: 1px solid #eee; /* خط فاصل رفيع */
}
.developer-credit {
    text-align: center;    /* يخلي النص في الوسط */
    margin-top: 10px;      /* مسافة صغيرة فوق */
    font-size: 0.85rem;    /* خط صغير ومرتب */
    color: #666;
}
.developer-credit a {
    color: #F24B2A;        /* اللون الأساسي بتاعك */
    text-decoration: none;
    font-weight: 600;
}
.developer-credit a:hover {
    text-decoration: underline;
}
