/* Website Care - Professional Multi-page Template
   Mobile-first, SEO-optimized, Modern Agency Design
   Colors: Cyan #00AEEF / Deep Blue #0A2540 / Navy #0D1B2A
*/

:root {
  --primary: #00AEEF;
  --primary-dark: #0090C8;
  --secondary: #0A2540;
  --dark: #0D1B2A;
  --light: #F8FAFC;
  --gray: #64748B;
  --white: #FFFFFF;
  --success: #10B981;
  --gradient: linear-gradient(135deg, #00AEEF 0%, #0066FF 100%);
  --shadow: 0 10px 40px rgba(0, 174, 239, 0.15);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* RTL Support for Arabic */
[dir="rtl"] body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 0.8rem 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar-brand img {
  height: 48px;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}

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

.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0,174,239,0.35);
  transition: all 0.3s;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,174,239,0.45);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
}

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

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-switch a {
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.lang-switch a.active {
  background: var(--primary);
  color: white;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #123a5f 0%, #0f2d4a 50%, #0A2540 100%);
  color: white;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-en.jpg') center/cover no-repeat;
  opacity: 0.05; /* Lighter / more delicate background as requested */
  z-index: 0;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,174,239,0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.stat-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.section-title .badge {
  background: rgba(0,174,239,0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  display: inline-block;
}

/* ========== SERVICES ========== */
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,174,239,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* ========== PACKAGES / PRICING ========== */
.package-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s;
  height: 100%;
  border: 2px solid transparent;
}

.package-card.featured {
  border-color: var(--primary);
  transform: scale(1.03);
  position: relative;
}

.package-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
}

.package-header {
  background: var(--secondary);
  color: white;
  padding: 2rem;
  text-align: center;
}

.package-card.featured .package-header {
  background: var(--gradient);
}

.package-price {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.package-price small {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

.package-body {
  padding: 2rem;
}

.package-features {
  list-style: none;
  margin-bottom: 2rem;
}

.package-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.package-features li i {
  color: var(--success);
  font-size: 1.1rem;
}

/* ========== WHY US / FEATURES ========== */
.feature-box {
  text-align: center;
  padding: 1.5rem;
}

.feature-box .icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0,174,239,0.3);
}

/* ========== PORTFOLIO ========== */
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h5 {
  color: white;
  margin-bottom: 0.3rem;
}

.portfolio-overlay span {
  color: var(--primary);
  font-size: 0.9rem;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0,0,0,0.06);
  height: 100%;
  border: 1px solid #f1f5f9;
}

.testimonial-card .stars {
  color: #FBBF24;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ========== CTA ========== */
.cta-section {
  background: var(--gradient);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  color: white;
}

.cta-section .btn {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.cta-section .btn:hover {
  background: var(--dark);
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 30px;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--primary);
  padding-left: 5px;
}

[dir="rtl"] .footer a:hover {
  padding-left: 0;
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ========== CONTACT ========== */
.contact-info-box {
  background: var(--secondary);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-box i {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid #e2e8f0;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.15);
}

/* ========== BREADCRUMB ========== */
.breadcrumb-section {
  background: var(--light);
  padding: 1.5rem 0;
  margin-top: 76px;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  color: white;
  padding: 100px 0 60px;
  margin-top: 76px;
  text-align: center;
}

.page-header h1 {
  color: white;
  font-size: 2.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .stat-item h3 {
    font-size: 1.8rem;
  }
}

/* Utility */
.bg-light-blue {
  background: #F0F9FF;
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background: var(--primary) !important;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s;
}

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

[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 25px;
}

/* SEO helper - visually hidden for screen readers */
.visually-hidden-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}