/* 
==================================================
   Nour Clean - Mobile Car Wash - Riyadh
   Dark Luxury Theme
================================================== 
*/

/* ------------------------------------------------
   1. Fonts
------------------------------------------------ */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/Cairo-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ------------------------------------------------
   2. Variables
------------------------------------------------ */
:root {
    /* Colors (Dark Luxury) */
    --bg-dark: #07141C;
    --bg-card: #0B1F2A;
    --color-primary-blue: #0F3A5F;
    --color-highlight-blue: #C8A96A;
    --color-text-main: #FFFFFF;
    --color-text-secondary: #C9D6DF;
    --color-accent-gold: #1DA1F2;
    /*#C8A96A
    #1DA1F2
    --color-highlight-blue
    */
    /* Semantic */
    --color-border: rgba(200, 169, 106, 0.15);
    --color-border-light: rgba(255, 255, 255, 0.05);
    --overlay-dark: rgba(7, 20, 28, 0.85);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Z-Index */
    --z-header: 1000;
    --z-overlay: 900;
    --z-dropdown: 1010;
}

/* ------------------------------------------------
   3. Reset & Base
------------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base size */
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--color-accent-gold);
    outline: none;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    outline: none;
}

/* Focus Utility for Accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent-gold);
    outline-offset: 4px;
}

/* ------------------------------------------------
   4. Typography
------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    color: var(--color-text-main);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.75rem); }
h5 { font-weight: 700; font-size: 1.25rem; }
h6 { font-weight: 700; font-size: 1rem; }

p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 400;
    font-size: 1.125rem;
}

/* Accent texts */
.text-gold { color: var(--color-accent-gold) !important; }
.text-blue { color: var(--color-highlight-blue) !important; }

/* ------------------------------------------------
   5. Layout & Utilities
------------------------------------------------ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.section {
    padding: var(--space-xl) 0;
}

.section-bg-card {
    background-color: var(--bg-card);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mb-2 { margin-bottom: var(--space-sm) !important; }
.mb-3 { margin-bottom: var(--space-md) !important; }
.mb-4 { margin-bottom: var(--space-lg) !important; }

/* Flexbox */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }
.gap-4 { gap: var(--space-lg); }

/* Grid */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------
   6. Components
------------------------------------------------ */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius-sm);
    text-transform: capitalize;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary-blue);
    color: var(--color-text-main);
    box-shadow: 0 4px 15px rgba(15, 58, 95, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-highlight-blue);
    transform: translateY(-2px);
    color: var(--color-text-main);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
}

.btn-gold {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
}

.btn-gold:hover {
    background-color: #d8bb80;
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.btn-outline:hover {
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
}

/* Service Cards */
.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--color-highlight-blue);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(200, 169, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--color-accent-gold);
    font-size: 1.5rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    background-color: var(--color-accent-gold);
    color: var(--bg-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.service-card p {
    flex-grow: 1;
}

.service-card .btn-link {
    color: var(--color-accent-gold);
    font-weight: 700;
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card .btn-link::after {
    content: '←';
    transition: transform var(--transition-fast);
}

.service-card .btn-link:hover::after {
    transform: translateX(-4px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tagline {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-highlight-blue);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tagline::before, .section-tagline::after {
    content: "";
    height: 1px;
    width: 40px;
    background-color: var(--color-highlight-blue);
}

.section-tagline::before { right: 0; }
.section-tagline::after { left: 0; }

/* ------------------------------------------------
   7. Header & Navigation
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(7, 20, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-header);
    border-bottom: 1px solid var(--color-border-light);
    transition: padding var(--transition-normal), background-color var(--transition-normal);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(7, 20, 28, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--color-accent-gold);
}

.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }
}

.nav-link {
    font-weight: 700;
    font-size: 1.125rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: width var(--transition-normal);
}

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

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1011;
}

@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: var(--z-dropdown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-normal);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile .nav-link {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ------------------------------------------------
   8. Footer
------------------------------------------------ */
.footer {
    background-color: #040B10;
    border-top: 1px solid var(--color-border-light);
    padding: var(--space-lg) 0 var(--space-sm);

}

.footer-top {
    margin-bottom: var(--space-lg);
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    display: inline-block;
}

.footer-logo span {
    color: var(--color-accent-gold);
}

.footer-title {
    color: var(--color-text-main);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

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

.footer-links a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.footer-contact i {
    color: var(--color-accent-gold);
}

/* --------------------------------------- Copyrights -------------------------------------- */


.footer-bottom {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--color-highlight-blue);
  /* text-decoration: underline; */
}

.footer-powered {
  direction: ltr;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-powered .line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .footer-powered {
    flex-direction: column;
    gap: 4px;
  }

  .footer-powered .sep {
    display: none;
  }
}
/* --------------------------------------- Copyrights -------------------------------------- */

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr; /* stack columns */
    text-align: center; /* center text */
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    margin: 0 auto;
  }

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

  .footer-contact li {
    flex-direction: row;
    text-align: center;
        justify-content: center !important;

  }

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

  .footer-logo img {
    margin: 0 auto;
  }
}

/* ------------------------------------------------
   9. Home Page Sections
------------------------------------------------ */
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--bg-card); */
        background:
        radial-gradient(circle at 20% 40%, rgba(200,169,106,0.08), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(15,58,95,0.25), transparent 50%),
        linear-gradient(180deg, #07141C 0%, #15648e 100%);
    /* background-image: url('../images/خلفيه.webp'); */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(7,20,28,0.7) 0%, rgba(7,20,28,0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
}

/* --------------------- Haraka --------------------------- */
.car1,
.car2 {
    position: absolute;
    width: 40%;
    opacity: 0;
    will-change: transform, opacity;
    top: 20%;
    z-index: 2;
    transition: transform 0.08s linear;
}

.car1 {
    left: 0;
    animation: carEnter 0.9s ease-out forwards;
    animation-delay: 0s;
}

.car2 {
    right: 0;
    animation: car2Enter 0.9s ease-out forwards;
    animation-delay: 1s;
}

.car1 img,
.car2 img {
    width: 100%;
    display: block;
    will-change: transform;
    pointer-events: none;
}

/* دخول van من الشمال */
@keyframes carEnter {
    from {
        left: -10%;
        opacity: 0;
        top: 15%;
    }
    to {
        left: 0%;
        opacity: 0.7;
        top: 20%;
    }
}

/* دخول porsche من اليمين */
@keyframes car2Enter {
    from {
        right: -10%;
        opacity: 0;
        top: 15%;
    }
    to {
        right: 0%;
        opacity: 0.7;
        top: 20%;
    }
}

.car2 {
    right: 0;
    animation: car2Enter 0.9s ease-out forwards;
    animation-delay: 1s;
    position: absolute;
    overflow: visible;
}

.car2 .sparkle {
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

.car2 .sparkle::before,
.car2 .sparkle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255,255,255,0.8);
}

.car2 .sparkle::before {
    width: 2px;
    height: 18px;
}

.car2 .sparkle::after {
    width: 18px;
    height: 2px;
}

/* أماكن اللمعات */
.sparkle-1 {
    top: 42%;
    left: 22%;
    animation: sparkleTwinkle 2.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

.sparkle-2 {
    top: 35%;
    left: 58%;
    animation: sparkleTwinkle 3.4s ease-in-out infinite;
    animation-delay: 1.6s;
}

.sparkle-3 {
    top: 52%;
    left: 30%;
    animation: sparkleTwinkle 2.9s ease-in-out infinite;
    animation-delay: 2.3s;
}

.sparkle-4 {
    top: 32%;
    left: 84%;
    animation: sparkleTwinkle 3.8s ease-in-out infinite;
    animation-delay: 0.9s;
}

@keyframes sparkleTwinkle {
    0% {
        opacity: 0;
        transform: scale(0.2) rotate(0deg);
    }
    10% {
        opacity: 0.95;
        transform: scale(1) rotate(45deg);
    }
    20% {
        opacity: 0.55;
        transform: scale(0.75) rotate(90deg);
    }
    30% {
        opacity: 0;
        transform: scale(0.2) rotate(135deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.2) rotate(135deg);
    }
}

/*  --------------------- Haraka  ---------------------------*/


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-main);
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

/* Why Us / Features */
.feature-card {
    padding: var(--space-md);
}

.feature-icon {
    font-size: 3rem;
}

/* Before / After Carousel Section */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: var(--space-md) 0;
    direction: ltr; /* Force left-to-right for seamless translation math */
}

.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    gap: var(--space-md);
    width: fit-content;
    animation: scroll-carousel 35s linear infinite;
}

.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

.ba-slide {
    height: 480px; /* Increased height significantly */
    aspect-ratio: 1 / 1; /* Images are square, this fills the box perfectly without black spaces */
    flex: 0 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    background-color: var(--bg-card);
}

.ba-slide img {
    height: 100%;
    width: 100%;
    display: block;
    object-fit: cover; /* Cover makes sure it fills everything perfectly */
    transition: transform var(--transition-slow);
}

.ba-slide:hover img {
    transform: scale(1.05); /* Interactive hover zoom */
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls precisely half of the duplicated track */
}

/* Service Benefits */
.benefits-text h2 {
    font-size: 2.5rem;
}

.benefits-list {
    margin-top: var(--space-md);
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    position: relative;
    padding-right: 32px;
    line-height: 1.8;
}

.check-icon {
    color: var(--color-highlight-blue);
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 4px;
}
/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    border: 1px solid var(--color-border);
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cta-box a{
    margin: 10px;
}

/* Utilities */
.d-none { display: none; }
@media(min-width: 1024px) {
    .d-lg-flex { display: flex; }
}
.ml-2 { margin-left: var(--space-sm); }

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    vertical-align: middle;
}

.cta-whatsapp-btn svg {
    display: block;
    flex-shrink: 0;
}

.cta-whatsapp-btn {
    position: relative;
    top: -2px;
}


/* ------------------------------------------------
   10. Blog & Contact Pages
------------------------------------------------ */
/* Page Hero common */
.page-hero {
    background-color: var(--bg-card);
}

/* Blog Card */
.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-gold);
}

.blog-image {
    width: 100%;
    height: 380px;
    background-color: #040B10;
    display: block;
}

.blog-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.blog-content p {
    flex-grow: 1;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 700;
    color: var(--color-text-main);
}

.form-control {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-gold);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Article Page */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2, 
.article-content h3 {
    color: var(--color-accent-gold);
    margin-top: var(--space-md);
}

.article-content ul, 
.article-content ol {
    margin-bottom: var(--space-md);
    padding-right: var(--space-md);
}

.article-content li {
    margin-bottom: var(--space-xs);
}

.contact-actions {
  display: flex;
  gap: 16px;
}

/* الشكل العام */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;

  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* زرار الاتصال (دهبي + glow) */
.contact-btn.primary {
  background: var(--color-accent-gold);
  color: var(--bg-dark);
  border: none;
}

/* ✨ Hover دهبي */
.contact-btn.primary:hover {
  animation: pulse-glow 1.5s infinite;
  transform: translateY(-2px);
  background-color: var(--color-highlight-blue);
}

/* زرار واتساب */
.contact-btn.outline {
  border: 2px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  background: transparent;
}

.contact-btn.outline:hover {
  background: var(--color-accent-gold);
  color: var(--bg-dark);
}

/* 📱 موبايل */
@media (max-width: 768px) {
  .contact-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact-btn {
    width: 80%;
    text-align: center;
  }
}

/* 💻 PC */
@media (min-width: 769px) {
  .contact-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .contact-btn {
    width: auto;
  }
}

/* ------------------------------------------------
   11. Animations & Floating Elements
------------------------------------------------ */

/* Advanced Scroll Reveal Animations */
@keyframes creative-title-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes creative-text-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 2px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: normal;
    }
}

.page-hero h1, .hero-title {
    animation: creative-title-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.page-hero p, .hero-subtitle {
    animation: creative-text-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-down { opacity: 0; transform: translateY(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-zoom { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-fade { opacity: 0; transition: all 0.8s ease; }

.active.reveal-up, .active.reveal-down, .active.reveal-left, .active.reveal-right {
    opacity: 1; transform: translate(0,0);
}
.active.reveal-zoom {
    opacity: 1; transform: scale(1);
}
.active.reveal-fade {
    opacity: 1;
}

/* Subtle continuous animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
.floating { animation: float 4s ease-in-out infinite; }

/* Pulse glow for gold buttons */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(200, 169, 106, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(200, 169, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(200, 169, 106, 0); }
}

.btn-gold {
    transition: all 0.3s ease;
}
.btn-gold:hover {
    animation: pulse-glow 1.5s infinite;
    transform: translateY(-2px);
}

.hero-overlay {
    animation: reveal-fade 2s ease-out forwards;
}

/* WhatsApp Floating Bubble */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

