/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    color-scheme: only dark;
}

body {
    font-family: 'Tajawal', sans-serif;
    font-weight: 300;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 22px 40px;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a0a0a0, #c0c0c0);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #a0a0a0;
}

/* ===== HAMBURGER MENU ===== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ===== 3D INTRO SECTION ===== */
.intro-3d {
    position: relative;
    background: #000000;
    padding: 140px 40px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    overflow: hidden;
}

.intro-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(160, 160, 160, 0.08), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.04), transparent 50%);
    pointer-events: none;
}

.intro-3d-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.intro-3d-model {
    width: 100%;
    max-width: 650px;
    height: 680px;
    position: relative;
    margin-top: -50px;
    animation: modelFadeIn 1.8s ease-out 0.5s both;
}

@keyframes modelFadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.intro-3d-model model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
    --progress-bar-color: transparent;
    --progress-bar-height: 0px;
    --progress-mask: transparent;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.intro-3d-model model-viewer.loaded {
    opacity: 1;
}

.intro-3d-model model-viewer::part(default-progress-bar) {
    display: none;
}

.intro-3d-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    animation: introFadeIn 1.2s ease-out 0.3s both;
}

.intro-3d-logo {
    max-width: 540px;
    width: 100%;
    height: auto;
}

.intro-3d-tagline {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
    text-align: center;
}

.tagline-fixed {
    color: rgba(255, 255, 255, 0.85);
}

#typewriter-text {
    color: #ffffff;
    font-weight: 600;
}

.typewriter-cursor {
    color: #ffffff;
    margin-inline-start: 4px;
    font-weight: 300;
    animation: blink 1s infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: 200% 50%; }
    100% { background-position: -200% 50%; }
}

/* About Block inside 3D Intro */
.intro-3d-about {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 20px;
}

.intro-3d-about-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.intro-3d-about-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.intro-3d-about-desc {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 300;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.intro-3d-about-desc strong {
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 600px) {
    .intro-3d-about-title {
        margin-bottom: 20px;
    }

    .intro-3d-about-divider {
        margin-bottom: 28px;
    }

    .intro-3d-about-desc {
        font-size: 0.95rem;
        line-height: 1.9;
    }
}

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

@media (max-width: 968px) {
    .intro-3d {
        padding: 80px 25px 40px;
        gap: 30px;
    }

    .intro-3d-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .intro-3d-model {
        height: 500px;
        order: -1;
        margin-top: 0;
    }

    .intro-3d-model model-viewer {
        transform: scale(1);
    }

    .intro-3d-text {
        gap: 20px;
        order: 1;
    }

    .intro-3d-logo {
        max-width: 380px;
    }

    .intro-3d-tagline {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .intro-3d {
        padding: 70px 20px 30px;
    }

    .intro-3d-model {
        height: 400px;
    }

    .intro-3d-model model-viewer {
        transform: scale(1);
    }

    .intro-3d-logo {
        max-width: 300px;
    }

    .intro-3d-tagline {
        font-size: 1.05rem;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1613977257363-707ba9348227?w=1920&q=85') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logo-img {
    max-width: min(640px, 80vw);
    height: auto;
    filter: drop-shadow(0 4px 40px rgba(0, 0, 0, 0.5));
    animation: heroLogoIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

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

.hero-subtitle {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    margin-top: 5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1578895101408-1a36b834405b?w=1920&q=85') center center / cover no-repeat;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.btn-secondary {
    background: #a0a0a0;
    color: #0a0a0a;
    border: 2px solid #a0a0a0;
}

.btn-secondary:hover {
    background: transparent;
    color: #a0a0a0;
    transform: translateY(-3px);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: #2a2a2a;
    background-image: linear-gradient(#2a2a2a, #2a2a2a);
    padding: 100px 40px;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 60px;
    line-height: 1.4;
}

.about-title {
    text-align: center;
}

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

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    text-align: justify;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: #0a0a0a;
    padding: 100px 40px;
    overflow: hidden;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.why-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.why-text p {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    text-align: justify;
}

.why-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-image:hover img {
    transform: scale(1.05);
}

/* ===== MISSION SECTION ===== */
.mission-section {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('background1.png') center center / cover no-repeat;
    overflow: hidden;
}

.mission-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.mission-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 80px 40px;
}

.mission-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.mission-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* ===== CONTACT / FOOTER ===== */
.contact-section {
    background: #000000;
    padding: 80px 40px 30px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.contact-info p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.8;
}

.contact-phone,
.contact-email {
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 1px;
    text-align: right;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    transition: opacity 0.4s ease;
}

.social-icon.tiktok,
.social-icon.instagram,
.social-icon.snapchat {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.social-icon.tiktok:hover,
.social-icon.instagram:hover,
.social-icon.snapchat:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0a0a;
    transform: translateY(-4px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
    position: relative;
    padding: 110px 0 110px;
    background: #2a2a2a;
    background-image: linear-gradient(#2a2a2a, #2a2a2a);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.partners-header .section-title {
    margin-bottom: 15px;
}

.partners-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    letter-spacing: 1px;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    direction: ltr;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: partnersScroll 45s linear infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.partners-strip {
    height: 220px;
    width: auto;
    max-width: none;
    display: block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 80px 0 80px;
    }

    .partners-header {
        margin-bottom: 45px;
    }

    .partners-strip {
        height: 140px;
    }

    .partners-track {
        gap: 40px;
        animation-duration: 35s;
    }
}

/* ===== ADVERTISE CTA SECTION ===== */
.advertise-cta {
    position: relative;
    padding: 110px 40px;
    background: url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1920&q=85') center/cover no-repeat fixed;
    text-align: center;
    overflow: hidden;
}

.advertise-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.advertise-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.advertise-cta-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0;
    margin-bottom: 22px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.advertise-cta-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.advertise-cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 40px;
    letter-spacing: 0.3px;
}

.btn-advertise {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a0a0a;
    background: linear-gradient(135deg, #ffffff 0%, #d5d5d5 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.6px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.btn-advertise:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.btn-advertise i {
    transition: transform 0.3s ease;
    font-size: 0.95rem;
}

.btn-advertise:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .advertise-cta {
        padding: 80px 25px;
        background-attachment: scroll;
    }

    .advertise-cta-desc {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-advertise {
        padding: 14px 36px;
        font-size: 1rem;
    }
}

/* ===== PROPERTY REQUEST CTA ===== */
.property-request-cta {
    padding: 100px 40px;
    background: #2a2a2a;
    background-image: linear-gradient(#2a2a2a, #2a2a2a);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.property-request-content {
    max-width: 700px;
    margin: 0 auto;
}

.property-request-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    opacity: 0.9;
}

.property-request-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.property-request-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-property-request {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 42px;
    background: #ffffff;
    color: #0a0a0a;
    font-family: 'Tajawal', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-property-request::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.btn-property-request:hover {
    transform: translateY(-3px);
    filter: brightness(0.92);
}

.btn-property-request i {
    transition: transform 0.3s ease;
    font-size: 0.95rem;
}

.btn-property-request:hover i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .property-request-cta {
        padding: 80px 25px;
    }

    .property-request-desc {
        font-size: 1rem;
    }

    .btn-property-request {
        padding: 14px 36px;
        font-size: 1rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    position: relative;
    padding: 120px 0 130px;
    background: #0a0a0a;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 20px;
}

.testimonials-header .section-title {
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    letter-spacing: 1px;
}

.testimonials-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
    padding: 10px 14px;
}

.testimonials-marquee:hover .testimonials-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.testimonial-card {
    flex: 0 0 auto;
    width: 380px;
    min-height: 260px;
    padding: 36px 32px 30px;
    background: linear-gradient(145deg, #1e1e1e 0%, #181818 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
}

.quote-icon {
    position: absolute;
    top: 22px;
    left: 28px;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.08);
    transition: color 0.4s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(255, 255, 255, 0.18);
}

.testimonial-text {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0a0a0a;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* Review Submission Form */
.review-form-wrapper {
    max-width: 760px;
    margin: 90px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.review-form-card {
    background: linear-gradient(145deg, #1e1e1e 0%, #181818 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 45px 50px;
    position: relative;
    overflow: hidden;
}

.review-form-head {
    text-align: center;
    margin-bottom: 35px;
}

.review-form-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.review-form-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.form-field input,
.form-field textarea {
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    transition: border-color 0.3s ease, background 0.3s ease;
    resize: vertical;
    min-height: unset;
}

.form-field textarea {
    min-height: 110px;
    line-height: 1.8;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.rating-stars {
    display: flex;
    gap: 10px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-height: 52px;
    align-items: center;
}

.rating-stars .star {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rating-stars .star:hover {
    transform: scale(1.15);
}

.rating-stars .star.active,
.rating-stars .star.hover-active {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.btn-review-submit {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a0a0a;
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    margin-top: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    align-self: center;
    min-width: 220px;
}

.btn-review-submit:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-review-submit:active {
    transform: translateY(-1px);
}

.btn-review-submit i {
    transition: transform 0.3s ease;
}

.btn-review-submit:hover i {
    transform: translateX(-4px);
}

.review-form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    margin-top: 10px;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.35);
    border-radius: 12px;
    color: #6ed472;
    font-weight: 500;
    font-size: 0.98rem;
    animation: successFade 0.5s ease;
}

.review-form-success.show {
    display: flex;
}

.review-form-success i {
    font-size: 1.2rem;
}

@keyframes successFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0 90px;
    }


    .testimonials-header {
        margin-bottom: 50px;
    }

    .testimonial-card {
        width: 300px;
        min-height: 230px;
        padding: 28px 24px 24px;
    }

    .testimonial-text {
        font-size: 0.92rem;
        line-height: 1.8;
    }

    .testimonials-track {
        gap: 20px;
        animation-duration: 60s;
    }

    .review-form-wrapper {
        margin-top: 60px;
    }

    .review-form-card {
        padding: 32px 24px;
        border-radius: 18px;
    }

    .form-row-split {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rating-stars {
        padding: 11px 14px;
        gap: 8px;
    }

    .rating-stars .star {
        font-size: 1.25rem;
    }

    .btn-review-submit {
        width: 100%;
        min-width: unset;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== PARALLAX SUBTLE EFFECT ===== */
.hero-section,
.cta-section,
.mission-section {
    background-attachment: fixed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .nav-container {
        gap: 40px;
        padding: 18px 20px;
    }

    .nav-link {
        font-size: 1rem;
    }

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

    .about-section,
    .why-section {
        padding: 70px 25px;
    }

    .about-image {
        order: -1;
    }

    .why-image {
        order: -1;
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info,
    .contact-info h2,
    .contact-info p,
    .contact-phone,
    .contact-email,
    .contact-address {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 16px 15px;
    }

    .hero-section {
        min-height: 500px;
        padding-top: 120px;
    }

    .hero-logo-img {
        max-width: 85vw;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 35px;
        font-size: 1rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .about-text h3,
    .why-text h3 {
        font-size: 1.4rem;
    }

    .about-text p,
    .why-text p {
        font-size: 1rem;
    }

    .mission-content {
        padding: 60px 25px;
    }

    .contact-section {
        padding: 60px 25px 20px;
    }

    .contact-email {
        font-size: 0.95rem;
        word-break: break-all;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 12px;
    }

    /* Disable parallax on mobile for performance */
    .hero-section,
    .cta-section,
    .mission-section {
        background-attachment: scroll;
    }
}

/* ===== HAMBURGER MENU (MOBILE) ===== */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        flex-wrap: nowrap;
        padding: 18px 20px;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 30vh;
        align-items: center;
        gap: 35px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.4rem;
        font-weight: 500;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888888;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(160, 160, 160, 0.3);
    color: #ffffff;
}
