:root {
  --primary-color: #0F2C59;
  /* Deep Blue */
  --secondary-color: #C6A969;
  /* Gold/Sand */
  --accent-color: #F8F5F2;
  /* Off-white/Cream */
  --text-color: #333333;
  --light-text: #ffffff;
  --font-main: 'Tajawal', sans-serif;
  --transition: all 0.3s ease;
  --whatsapp-color: #25D366;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--accent-color);
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: 70px;
  /* Space for sticky mobile nav */
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Constants/Utilities */
.section-padding {
  padding: 60px 0;
}

.bg-white {
  background-color: #ffffff;
}

.bg-light {
  background-color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-primary:hover {
  background-color: #0a1f40;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: #b39655;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #fff;
}

/* Header */
.header {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-contact {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(15, 44, 89, 0.7), rgba(15, 44, 89, 0.5)), url('../assets/images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--light-text);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-phone {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features/Why Choose Us */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}

.service-content {
  padding: 30px;
}

.service-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* How It Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  text-align: center;
  min-width: 250px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-right: 5px solid var(--secondary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0 100px;
  /* Extra padding for mobile sticky bar */
  text-align: center;
}

.footer-phone {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 20px 0;
  display: block;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  z-index: 2000;
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .nav-contact {
    display: none;
  }

  /* Hide header contact on mobile, rely on sticky bar */
  .steps-container {
    flex-direction: column;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }

  /* Hide sticky bar on desktop */
  body {
    padding-bottom: 0;
  }
}