/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --primary-blue: #0057B8;
  --bright-blue: #1EA7FF;
  --bg-color: #F7F9FC;
  --text-dark: #0D1B2A;
  --soft-gray: #E9EEF5;
  --light-blue: #DCEEFF;
  --white: #FFFFFF;
  --text-light: #5A6A7D;
  
  --shadow-sm: 0 4px 6px rgba(0, 87, 184, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 87, 184, 0.08);
  --shadow-hover: 0 15px 30px rgba(0, 87, 184, 0.12);
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --transition: all 0.3s ease;
}

/* ==========================================================================
   Typography (Cairo)
   ========================================================================== */
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 167, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 167, 255, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--light-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 15px 0;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 50px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-blue);
}

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

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset navbar */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to left, rgba(13, 27, 42, 0.85), rgba(0, 87, 184, 0.6));
  z-index: 1;
}

.hero-sub {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--text-dark), var(--primary-blue));
  color: var(--white);
  text-align: center;
  justify-content: center;
}

.hero-sub::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(30, 167, 255, 0.2), transparent);
  z-index: 1;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.trust-point i {
  color: var(--bright-blue);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-blue);
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

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

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ==========================================================================
   Why Choose Us & Moving Process
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 15px;
  z-index: 2;
  position: relative;
}

.process-step h4 {
  font-size: 1.2rem;
  font-weight: 700;
}

/* ==========================================================================
   Storage Section
   ========================================================================== */
.storage-section {
  background-color: var(--white);
}

.storage-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.storage-text {
  flex: 1;
}

.storage-text ul {
  margin-top: 20px;
  margin-bottom: 30px;
}

.storage-text li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.storage-text li i {
  color: var(--bright-blue);
}

.storage-image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Before / After Gallery
   ========================================================================== */
.gallery-section {
  overflow: hidden;
  background-color: var(--soft-gray);
}

.gallery-container {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollGallery 30s linear infinite;
}

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

.gallery-item {
  width: 350px;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-350px * 4 - 80px)); } /* Adjust based on items */
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--soft-gray);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: right;
  background: var(--white);
  padding: 20px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  color: var(--text-dark);
}

.faq-question:hover, .faq-item.active .faq-question {
  background: var(--light-blue);
  color: var(--primary-blue);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--white);
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* ==========================================================================
   Blog Preview
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.blog-icon-wrapper {
  height: 220px;
  background: linear-gradient(135deg, var(--light-blue), var(--soft-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.blog-card:hover .blog-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  color: var(--white);
}

.blog-img {
  height: 220px;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-info {
  padding: 25px;
}

.blog-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.blog-info p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.read-more {
  color: var(--bright-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  gap: 10px;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--bright-blue));
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.final-cta .hero-buttons {
  justify-content: center;
  margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.footer p {
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.footer-bottom {
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.footer-powered {
  margin-top: 20px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  direction: ltr;
}

.footer-powered a {
  color: var(--bright-blue);
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  animation: pulse 2s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

@keyframes pulse {
  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); }
}

/* ==========================================================================
   Animations & Utilites
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 991px) {
  .storage-content {
    flex-direction: column;
  }

  .storage-content-reversed {
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-powered {
    flex-direction: column;
    gap: 5px;
  }
  .footer-powered .sep {
    display: none;
  }
}
