:root {
  /* Color Palette - Premium & Trust */
  --primary-color: #0e2a47; /* Deep Royal blue */
  --accent-color: #00b4d8; /* Bright Cyan - Water/Cleanliness */
  --accent-hover: #0096c7;
  --text-dark: #1f2937;
  --text-light: #4b5563;
  --white: #ffffff;
  --light-bg: #f3f4f6;
  --success: #10b981;
  --warning: #f59e0b;

  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Tajawal", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  direction: rtl;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 800;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Header */
header {
  background-color: var(--white);
  height: var(--header-height);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent-color);
}

.header-cta {
  display: flex;
  gap: 15px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(14, 42, 71, 0.85), rgba(14, 42, 71, 0.7)),
    url("https://images.unsplash.com/photo-1542013936693-884638332954?auto=format&fit=crop&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Features/Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #eee;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-color);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Content Area (Long-Form) */
.content-area {
  font-size: 1.15rem;
  color: var(--text-dark);
}

.content-area h2 {
  color: var(--primary-color);
  margin: 40px 0 20px;
  font-size: 2rem;
}

.content-area h3 {
  color: var(--accent-hover);
  margin: 30px 0 15px;
}

body {
  font-family: "Tajawal", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  direction: rtl;
  overflow-x: hidden;
}

.content-area ul {
  list-style: disc;
  margin-right: 25px;
  margin-bottom: 20px;
}

.content-area li {
  margin-bottom: 10px;
}

.content-placeholder-img {
  background-color: var(--light-bg);
  border: 2px dashed #cbd5e1;
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  margin: 30px 0;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  display: inline-block;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-right: 5px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 20px;
  left: 20px; /* LTR for Arabic float on left is common UX or right? usually right used for scroll. Let's put left for contact */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 2000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 1.8rem;
}

.whatsapp-float {
  background-color: #25d366;
}

.call-float {
  background-color: var(--accent-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    width: 80%;
    background-color: var(--white);
    flex-direction: column;
    padding: 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .header-cta {
    display: none; /* Hide top CTA on mobile, use loose floaters */
  }
}
