/*
Theme Name: TDS - Triple Digital Solutions
Theme URI: https://tdsdigitals.com
Author: Triple Digital Solutions
Author URI: https://tdsdigitals.com
Description: وكالة ترابيل ديجيتال سليوشنز - تيم WordPress رسمي
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tds-theme
Tags: rtl-language, arabic, agency, marketing
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Variables ===== */
:root {
  --brand-teal: #006170;
  --brand-gold: #c5a88c;
  --brand-teal-light: #7da6a8;
  --brand-light: #ffffff;
  --brand-dark: #051a1e;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: #ffffff;
  color: var(--brand-dark);
  direction: rtl;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Utility Classes ===== */
.glass-card {
  background: #fff;
  border: 1px solid rgba(0, 97, 112, 0.05);
  box-shadow: 0 20px 50px rgba(0, 97, 112, 0.05);
  border-radius: 40px;
}

.premium-gradient-text {
  background: linear-gradient(135deg, #006170 0%, #c5a88c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-glow {
  box-shadow: 0 0 20px rgba(197, 168, 140, 0.2);
}

/* ===== NAVBAR ===== */
.tds-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.5s ease;
  padding: 1.5rem 0;
}

.tds-navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,97,112,0.05);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-logo:hover img { transform: scale(1.05); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-links a {
  color: rgba(5,26,30,0.7);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.3s;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gold);
  transition: width 0.3s ease;
}

.navbar-links a:hover { color: var(--brand-teal); }
.navbar-links a:hover::after { width: 100%; }

.btn-nav-cta {
  background: var(--brand-dark);
  color: #fff !important;
  padding: 0.75rem 2rem;
  border-radius: 16px;
  font-weight: 900;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-nav-cta:hover {
  background: var(--brand-teal) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,97,112,0.2);
}

.navbar-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brand-teal);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(0,97,112,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(5,26,30,0.8);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  color: var(--brand-teal);
  background: rgba(0,97,112,0.05);
}

.mobile-menu .btn-whatsapp {
  background: var(--brand-teal);
  color: #fff !important;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 900;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .navbar-links { display: none !important; }
  .navbar-mobile-toggle { display: block !important; }
}

@media (min-width: 1025px) {
  .navbar-mobile-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-blob {
  position: fixed;
  pointer-events: none;
  overflow: hidden;
  inset: 0;
  z-index: 0;
}

.blob-1 {
  position: absolute;
  top: -10%; left: -5%;
  width: 40%; height: 40%;
  background: rgba(0,97,112,0.05);
  filter: blur(120px);
  border-radius: 50%;
}

.blob-2 {
  position: absolute;
  top: 20%; right: -10%;
  width: 35%; height: 35%;
  background: rgba(197,168,140,0.05);
  filter: blur(100px);
  border-radius: 50%;
  transform: rotate(45deg);
}

.blob-3 {
  position: absolute;
  bottom: 10%; left: 10%;
  width: 30%; height: 30%;
  background: rgba(0,97,112,0.05);
  filter: blur(110px);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-visual { display: none !important; }
  .hero-section { min-height: auto; padding: 7rem 1.25rem 3rem; }
  .hero-badge { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-desc { max-width: 100%; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,97,112,0.05);
  border: 1px solid rgba(0,97,112,0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 12px; height: 12px;
  background: var(--brand-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px #c5a88c;
}

.hero-badge span {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--brand-teal);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(5,26,30,0.5);
  max-width: 480px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-desc .highlight {
  color: var(--brand-teal);
  font-weight: 900;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--brand-dark);
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(5,26,30,0.2);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--brand-teal);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
  padding: 1.25rem 3rem;
  border-radius: 30px;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-outline:hover { background: rgba(0,97,112,0.05); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-box {
  position: relative;
  width: 80%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f0f8f9 0%, #ffffff 100%);
  border: 1px solid rgba(0,97,112,0.08);
  box-shadow: 0 20px 50px rgba(0,97,112,0.08), 0 0 30px rgba(197,168,140,0.15);
  transition: transform 1s ease;
}

.hero-logo-box:hover { transform: scale(1.05); }
.hero-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none !important;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 10rem 1.5rem;
  background: #fff;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
  line-height: 1.1;
}

.section-divider {
  width: 8rem;
  height: 4px;
  background: rgba(0,97,112,0.1);
  border-radius: 4px;
  margin: 2rem auto 0;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border: 1px solid rgba(0,97,112,0.05);
  box-shadow: 0 20px 50px rgba(0,97,112,0.05);
  border-radius: 40px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0,97,112,0.1);
}

.service-icon {
  width: 5rem; height: 5rem;
  background: rgba(0,97,112,0.05);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.5s ease;
}

.service-icon svg { color: var(--brand-teal); transition: color 0.3s; }

.service-card:hover .service-icon {
  background: var(--brand-teal);
  transform: rotate(12deg);
}

.service-card:hover .service-icon svg { color: #fff; }

.service-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--brand-dark);
  transition: color 0.3s;
}

.service-card:hover .service-title { color: var(--brand-teal); }

.service-desc {
  color: rgba(5,26,30,0.6);
  font-size: 0.9rem;
  line-height: 1.9;
  font-weight: 500;
}

.service-arrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2rem;
  transform: translateX(8px);
  opacity: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-arrow { transform: translateX(0); opacity: 1; }

.services-cta {
  display: flex;
  justify-content: center;
}

.btn-cta-main {
  background: var(--brand-dark);
  color: #fff;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.5s ease;
  box-shadow: 0 20px 40px rgba(5,26,30,0.15);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-cta-main:hover {
  background: var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(197,168,140,0.3);
}

/* ===== VISION & MISSION ===== */
.vision-section {
  padding: 10rem 1.5rem;
  position: relative;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 768px) { .vision-grid { grid-template-columns: 1fr; } }

.vision-card {
  padding: 4rem;
  border-radius: 60px;
  space-y: 2rem;
  transition: all 0.4s ease;
}

.vision-card:hover { transform: translateY(-8px); }

.vision-card.teal {
  background: var(--brand-teal);
  color: #fff;
  box-shadow: 0 40px 80px rgba(0,97,112,0.3);
}

.vision-card.gold {
  background: var(--brand-gold);
  color: var(--brand-dark);
  box-shadow: 0 40px 80px rgba(197,168,140,0.3);
}

.vision-icon {
  width: 4rem; height: 4rem;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.vision-card:hover .vision-icon { transform: rotate(12deg); }

.vision-card h3 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.vision-card p {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
}

.vision-card.teal p { color: rgba(255,255,255,0.7); }
.vision-card.gold p { color: rgba(5,26,30,0.7); font-weight: 700; }

/* ===== PRICING SECTION ===== */
.pricing-section {
  padding: 10rem 1.5rem;
  background: rgba(0,97,112,0.01);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pricing-card {
  padding: 3.5rem;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: all 0.5s ease;
  position: relative;
}

.pricing-card:hover { transform: translateY(-20px); }

.pricing-card.standard {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid rgba(0,97,112,0.1);
  box-shadow: 0 20px 60px rgba(0,97,112,0.03);
}

.pricing-card.featured {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 40px 80px rgba(5,26,30,0.2);
  border: 2px solid rgba(197,168,140,0.3);
  transform: scale(1.02);
}

.pricing-card.featured:hover { transform: scale(1.02) translateY(-20px); }

.pricing-badge {
  position: absolute;
  top: -1.5rem;
  right: 3rem;
  background: linear-gradient(135deg, var(--brand-gold), #e5c7a9);
  color: var(--brand-dark);
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(197,168,140,0.4);
  border: 2px solid #fff;
}

.pricing-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pricing-label-line {
  height: 1px;
  width: 2rem;
}

.standard .pricing-label-line { background: var(--brand-teal); }
.featured .pricing-label-line { background: var(--brand-gold); }

.pricing-label-text {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.standard .pricing-label-text { color: rgba(0,97,112,0.6); }
.featured .pricing-label-text { color: var(--brand-gold); }

.pricing-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  flex-grow: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-check {
  margin-top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.pricing-feature:hover .feature-check { transform: scale(1.25); }

.standard .feature-check { background: rgba(0,97,112,0.1); }
.featured .feature-check { background: var(--brand-gold); }

.feature-check svg {
  width: 12px; height: 12px;
}

.standard .feature-check svg { stroke: var(--brand-teal); }
.featured .feature-check svg { stroke: var(--brand-dark); }

.feature-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.standard .feature-text { color: rgba(5,26,30,0.7); }
.featured .feature-text { color: rgba(255,255,255,0.8); }

.pricing-footer {
  padding-top: 3rem;
  border-top: 1px solid rgba(0,97,112,0.05);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-number {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.standard .price-number { background: linear-gradient(135deg, #006170, #c5a88c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.featured .price-number { color: #fff; }

.price-meta { display: flex; flex-direction: column; }

.price-currency {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.standard .price-currency { color: var(--brand-teal); }
.featured .price-currency { color: var(--brand-gold); }

.price-period {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.4;
}

.btn-pricing {
  width: 100%;
  padding: 1.5rem;
  border-radius: 25px;
  font-weight: 900;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: none;
  cursor: pointer;
}

.standard .btn-pricing {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 10px 30px rgba(5,26,30,0.1);
}

.standard .btn-pricing:hover { background: var(--brand-teal); }

.featured .btn-pricing {
  background: var(--brand-gold);
  color: var(--brand-dark);
  box-shadow: 0 20px 40px rgba(197,168,140,0.3);
}

.featured .btn-pricing:hover { background: #fff; }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 10rem 1.5rem;
}

.cta-box {
  background: var(--brand-dark);
  border-radius: 80px;
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,96,112,0.2), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.cta-buttons { position: relative; z-index: 2; }

.btn-cta-hero {
  background: #fff;
  color: var(--brand-dark);
  padding: 2rem 4rem;
  border-radius: 35px;
  font-weight: 900;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(255,255,255,0.05);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.btn-cta-hero:hover {
  background: var(--brand-gold);
  color: #fff;
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
.tds-footer {
  padding: 5rem 1.5rem 2rem;
  border-top: 1px solid rgba(0,97,112,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 3rem; } }

.footer-logo img {
  width: 8rem; height: 8rem;
  object-fit: contain;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: rgba(5,26,30,0.4);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 700;
  font-style: italic;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 3rem; height: 3rem;
  background: rgba(0,97,112,0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--brand-dark);
  color: #fff;
}

.footer-col h5 {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(5,26,30,0.5);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brand-teal); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-phone {
  color: rgba(5,26,30,0.5);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  direction: ltr;
  justify-content: flex-end;
  transition: color 0.2s;
}

.contact-phone:hover { color: var(--brand-gold); }

.contact-email {
  color: rgba(5,26,30,0.5);
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-location {
  background: rgba(197,168,140,0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(197,168,140,0.2);
}

.contact-location p {
  color: var(--brand-gold);
  font-weight: 900;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(0,97,112,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(5,26,30,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover { color: var(--brand-teal); }

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 640px) {
  .cta-box { padding: 3rem 1.5rem; border-radius: 40px; }
  .vision-card { padding: 2.5rem; }
  .pricing-card { padding: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}


/* ===== MOBILE FIXES — COMPREHENSIVE ===== */

/* ── Navbar mobile ── */
@media (max-width: 1024px) {
  .navbar-links { display: none !important; }
  .navbar-mobile-toggle { display: flex !important; align-items: center; justify-content: center; }
  .tds-navbar { padding: 0.6rem 0; background: rgba(255,255,255,0.97) !important; backdrop-filter: blur(12px); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

  /* Logo: small, right-aligned, never covers content */
  .navbar-logo img {
    width: 44px !important;
    height: 44px !important;
  }

  .navbar-inner {
    padding: 0 1rem;
  }
}

@media (min-width: 1025px) {
  .navbar-mobile-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-top: 1px solid rgba(0,97,112,0.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(0,97,112,0.04);
  transition: background 0.2s;
  letter-spacing: 0;
}
.mobile-menu a:hover { background: rgba(0,97,112,0.04); color: var(--brand-teal); }
.mobile-menu .btn-whatsapp {
  background: var(--brand-teal);
  color: #fff !important;
  margin: 0.75rem 1rem;
  border-radius: 14px;
  text-align: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0;
  border-bottom: none;
}

/* ── Hero section mobile ── */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto !important;
    padding: 5.5rem 1.25rem 3rem !important;
    text-align: center;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  .hero-visual { display: none !important; }
  .hero-badge { justify-content: center; }
  .hero-buttons { justify-content: center; flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-desc { max-width: 100%; margin: 0 auto; }
}

/* ── Hero title: NO letter-spacing on Arabic ── */
.hero-title {
  letter-spacing: -0.01em !important;
  word-spacing: 0.05em;
  line-height: 1.15 !important;
}

/* ── Hero badge: fix letter-spacing ── */
.hero-badge span {
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

/* ── Section eyebrow text ── */
.section-eyebrow {
  letter-spacing: 0.05em !important;
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem) !important; }
  .hero-desc  { font-size: 1.05rem !important; }

  /* Services */
  .services-section { padding: 5rem 1rem !important; }
  .services-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
  .service-card { padding: 1.5rem !important; border-radius: 20px !important; }
  .service-icon { width: 3.5rem !important; height: 3.5rem !important; border-radius: 16px !important; margin-bottom: 1rem !important; }
  .service-icon svg { width: 28px !important; height: 28px !important; }
  .service-title { font-size: 1.1rem !important; }
  .service-desc { font-size: 0.85rem !important; }

  /* Vision */
  .vision-section { padding: 5rem 1rem !important; }
  .vision-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .vision-card { padding: 2.5rem !important; border-radius: 32px !important; }
  .vision-card h3 { font-size: 1.75rem !important; }
  .vision-card p { font-size: 1rem !important; }

  /* Pricing */
  .pricing-section { padding: 5rem 1rem !important; }
  .pricing-grid { grid-template-columns: 1fr !important; max-width: 420px; margin: 0 auto; }
  .pricing-card { padding: 2rem !important; border-radius: 32px !important; transform: none !important; }
  .pricing-card.featured { transform: none !important; }
  .pricing-title { font-size: 2rem !important; }
  .price-number { font-size: 3.5rem !important; }

  /* CTA */
  .cta-section { padding: 4rem 1rem !important; }
  .cta-box { padding: 2.5rem 1.25rem !important; border-radius: 32px !important; }
  .cta-title { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; }
  .btn-cta-hero { padding: 1.25rem 2rem !important; font-size: 1rem !important; width: 100%; justify-content: center; }

  /* Section titles */
  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem) !important; }

  /* Footer */
  .tds-footer { padding: 3rem 1rem 1.5rem !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .footer-logo img { width: 5rem !important; height: 5rem !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; gap: 1rem !important; }
  .footer-bottom-links { gap: 1rem !important; justify-content: center; }
}

/* ── Mobile small ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.65rem, 7.5vw, 2.2rem) !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card { padding: 1.25rem !important; }
  .btn-cta-main { font-size: 1rem !important; padding: 1.2rem 1.5rem !important; }
  .container { padding: 0 1rem !important; }
  .hero-section { padding: 5rem 1rem 2.5rem !important; }
}

/* ── Extra small ── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.5rem !important; line-height: 1.2 !important; }
  .navbar-logo img { width: 38px !important; height: 38px !important; }
}

/* ===== WordPress Custom Logo Fix ===== */
/* Force logo small in navbar regardless of uploaded image size */
.navbar-logo .custom-logo-link,
.navbar-logo a {
  display: inline-block;
  line-height: 0;
}

.navbar-logo .custom-logo,
.navbar-logo img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 1024px) {
  .navbar-logo .custom-logo,
  .navbar-logo img {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
  }
}

@media (max-width: 480px) {
  .navbar-logo .custom-logo,
  .navbar-logo img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }
}

/* Hero visual logo — controlled size on desktop only */
.hero-logo-box .custom-logo,
.hero-logo-box img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Footer logo */
.footer-logo .custom-logo,
.footer-logo img {
  width: 5rem !important;
  height: 5rem !important;
  object-fit: contain !important;
}
