/* ===== Raha Style - مطابق لموقع rahahome.com ===== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {
    --primary: #6cc24a;
    --primary-dark: #5aad3c;
    --primary-light: #8dd670;
    --secondary: #4a2d7a;
    --secondary-dark: #3a1f6a;
    --accent: #f7c948;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-green: #6cc24a;
    --bg-purple: #3d1f5c;
    --text-dark: #1a1a2e;
    --text-sub: #555;
    --text-muted: #888;
    --text-light: #aaa;
    --border: #e5e7eb;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Tajawal", system-ui, arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
}

/* ===== Navbar ===== */
.raha-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.raha-nav .logo {
    height: 55px;
}

.raha-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.raha-nav-links a {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.raha-nav-links a:hover,
.raha-nav-links a.active {
    color: var(--primary);
}

.raha-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.raha-nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.raha-nav-right .phone-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
}

.raha-nav-right .lang-btn {
    font-size: 13px;
    color: var(--text-sub);
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 5px 12px;
}

.raha-nav-right .cta-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.raha-nav-right .cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Hero Section ===== */
.raha-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background: var(--bg-white);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.raha-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border: 40px solid rgba(108, 194, 74, 0.08);
    border-radius: 50%;
}

.raha-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: 200px;
    width: 200px;
    height: 200px;
    border: 20px solid rgba(108, 194, 74, 0.06);
    border-radius: 50%;
}

.hero-content {
    flex: 1;
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 2;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ===== Service Feature Cards (3 cards under hero) ===== */
.raha-features-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 80px;
    background: var(--bg-light);
}

.feature-strip-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    max-width: 350px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-strip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-strip-card .icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-strip-card .icon-wrap i {
    font-size: 50px;
    color: var(--primary);
}

.feature-strip-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-strip-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== About Section (لأنك تستحق الراحة) ===== */
.raha-about {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px;
    background: var(--bg-white);
}

.raha-about .about-image {
    flex: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.raha-about .about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.raha-about .about-content {
    flex: 1;
}

.raha-about .about-label {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.raha-about .about-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.raha-about .about-content p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 2;
}

/* ===== Services Cards Section ===== */
.raha-services {
    padding: 80px;
    background: var(--bg-light);
}

.raha-services .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card-raha {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s;
}

.service-card-raha:hover {
    transform: scale(1.02);
}

.service-card-raha img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-raha .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.service-card-raha .card-overlay h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card-raha .card-overlay p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-card-raha .card-overlay .read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== Stats Section (أرقام راحة تتحدث) ===== */
.raha-stats {
    padding: 80px;
    background: var(--bg-white);
    text-align: center;
}

.raha-stats h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item .stat-icon i {
    font-size: 40px;
    color: var(--primary);
}

.stat-item .stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Green Section (خدمات أخرى) ===== */
.raha-green-section {
    background: var(--bg-green);
    padding: 80px;
    color: white;
}

.raha-green-section h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

.raha-green-section .section-desc {
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 2;
}

.green-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.green-service-card {
    text-align: center;
    padding: 30px 20px;
}

.green-service-card .circle-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid rgba(255,255,255,0.3);
}

.green-service-card .circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.green-service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.green-service-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.green-service-card .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.green-service-card .arrow-link:hover {
    opacity: 1;
}

/* ===== Testimonials Section ===== */
.raha-testimonials {
    padding: 80px;
    background: var(--bg-light);
    text-align: center;
}

.raha-testimonials h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.testimonials-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 300px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    text-align: right;
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== Social Side Bar ===== */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.social-sidebar a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.social-sidebar a.fb { background: #3b5998; }
.social-sidebar a.tw { background: #1da1f2; }
.social-sidebar a.ig { background: #e4405f; }
.social-sidebar a.yt { background: #ff0000; }

.social-sidebar a:hover {
    width: 50px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

.whatsapp-float .wa-text {
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    font-weight: 600;
}

/* ===== Footer ===== */
.raha-footer {
    background: var(--bg-purple);
    color: white;
    padding: 60px 80px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand .footer-address {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 2;
}

.footer-brand .footer-phone {
    font-size: 16px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    direction: ltr;
    justify-content: flex-end;
}

.footer-links-col {
    flex: 0 0 auto;
}

.footer-links-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.footer-links-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-links-col a:hover {
    color: white;
}

.footer-social-col {
    flex: 0 0 auto;
}

.footer-social-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-social-row {
    display: flex;
    gap: 10px;
}

.footer-social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.footer-social-row a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: white;
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: all 0.3s;
    border: none;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Buttons ===== */
.btn-raha {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Tajawal", system-ui;
}

.btn-raha:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-raha-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Tajawal", system-ui;
}

.btn-raha-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== Form Styles (for services page) ===== */
.raha-form-container {
    background: var(--bg-light);
    padding: 60px 80px;
    min-height: 60vh;
}

.raha-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.raha-form .form-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.raha-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.raha-form .form-control,
.raha-form .form-select {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s;
    height: 50px;
    font-family: "Tajawal", system-ui;
    direction: rtl;
    width: 100%;
}

.raha-form .form-control:focus,
.raha-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 194, 74, 0.15);
    outline: none;
}

/* ===== Tabs ===== */
.raha-tabs {
    display: flex;
    background: #f0fdf4;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 194, 74, 0.3);
}

.raha-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.raha-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .raha-nav {
        padding: 12px 30px;
    }
    .raha-hero {
        padding: 40px 30px;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .raha-features-strip {
        padding: 40px 30px;
    }
    .raha-about {
        padding: 40px 30px;
    }
    .raha-services {
        padding: 40px 30px;
    }
    .raha-stats {
        padding: 40px 30px;
    }
    .raha-green-section {
        padding: 40px 30px;
    }
    .raha-testimonials {
        padding: 40px 30px;
    }
    .raha-footer {
        padding: 40px 30px 20px;
    }
}

@media (max-width: 768px) {
    .raha-nav {
        padding: 10px 16px;
        flex-wrap: wrap;
    }
    .raha-nav .logo {
        height: 40px;
    }
    .raha-nav-links {
        display: none;
    }
    .raha-hero {
        flex-direction: column-reverse;
        padding: 30px 16px;
        min-height: auto;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content p {
        max-width: 100%;
    }
    .hero-image img {
        max-height: 300px;
    }
    .raha-features-strip {
        flex-direction: column;
        align-items: center;
        padding: 30px 16px;
        gap: 20px;
    }
    .feature-strip-card {
        max-width: 100%;
    }
    .raha-about {
        flex-direction: column;
        padding: 30px 16px;
        gap: 30px;
    }
    .raha-about .about-image img {
        height: 300px;
    }
    .raha-services {
        padding: 30px 16px;
    }
    .raha-services .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card-raha {
        height: 300px;
    }
    .raha-stats {
        padding: 30px 16px;
    }
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
    .raha-green-section {
        padding: 30px 16px;
    }
    .green-services-grid {
        grid-template-columns: 1fr;
    }
    .raha-testimonials {
        padding: 30px 16px;
    }
    .footer-top {
        flex-direction: column;
    }
    .raha-footer {
        padding: 30px 16px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .social-sidebar {
        display: none;
    }
    .raha-form-container {
        padding: 20px 16px;
    }
    .raha-form {
        padding: 24px 20px;
    }
}

/* ===== Step Indicator ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 8px;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(108, 194, 74, 0.3);
    transition: all 0.3s;
}

.step-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.step-dot.completed {
    background: var(--primary-light);
}

/* ===== Loading Spinner ===== */
.raha-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(108, 194, 74, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: white;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.cookie-banner .cookie-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* ===== Green Confirm Button ===== */
.btn-raha-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    font-family: "Tajawal", system-ui, arial, sans-serif;
    letter-spacing: 0.5px;
}
.btn-raha-green:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}
.btn-raha-green:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}
.btn-raha-green:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
