/* EDIT: Global Variables */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;700;800&display=swap');
:root {
  --navy: #0A1A3B;
  --navy-dark: #060F22;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --text: #0D0D0D;
  --text-muted: #5A6475;
  --border: #E2E6ED;

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* Typography Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-hero {
  padding: 8rem 0 5rem;
}

.bg-white { background-color: var(--white); }
.bg-off-white { background-color: var(--off-white); }
.bg-navy { 
  background-color: var(--navy); 
  color: var(--white);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.btn-primary:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
}
.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
}

.btn-tiktok {
  background-color: #000000;
  color: var(--white);
  border: 2px solid #000000;
}
.btn-tiktok:hover {
  background-color: #333333;
  border-color: #333333;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

[lang="ar"], .arabic-btn-text, .arabic-footer {
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
}

.arabic-btn-text {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.2rem;
  direction: rtl;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--navy);
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: 100%;
  gap: 2rem;
  align-items: start;
}

.footer-brand h3 {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arabic-footer {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Grid & Layout Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Components */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Testimonial Quote */
.quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: -1rem;
}

.testimonial-card {
  border-left: 4px solid var(--navy);
}

/* Media Queries */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
  }
  
  .footer-social {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    padding: 3rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links .btn {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }
  
  .section-hero {
    padding: 6rem 0 3rem;
  }
}
