/* ==========================================================================
   تكييف شرق الشروق - Stylesheet
   Sharq Al-Shorouk Air Conditioning - Main CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables (Color Palette & Spacing)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary & Secondary */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-dark: #0f2744;
  --primary-light: #e0f2fe;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #cffafe;
  --accent-ice: #f0f9ff;

  /* Neutral Colors (Light Mode) */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-section-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-inverse: #ffffff;

  /* Badges and Highlights */
  --badge-bg: rgba(2, 132, 199, 0.1);
  --badge-text: #0284c7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 39, 68, 0.12);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.35);

  /* Transitions & Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* WhatsApp Brand */
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;
}

/* Dark Mode Theme */
[data-bs-theme="dark"] {
  --bg-body: #0b1120;
  --bg-card: #131d31;
  --bg-card-hover: #1c2a45;
  --bg-section-alt: #0f172a;
  --border-color: #1e293b;
  --border-subtle: #334155;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --badge-bg: rgba(56, 189, 248, 0.15);
  --badge-text: #38bdf8;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.25);
}

/* --------------------------------------------------------------------------
   2. Base & Typography
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Cairo", "Tajawal", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* English font adjustment */
[dir="ltr"] body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Respect users who prefer reduced motion (accessibility) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   3. Navbar
   -------------------------------------------------------------------------- */
.navbar-custom {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  transition: var(--transition);
  z-index: 1030;
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.6rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .navbar-custom.scrolled {
  background-color: rgba(19, 29, 49, 0.95);
}

.brand-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.brand-text-title {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0;
  white-space: nowrap;
}

.brand-text-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0;
  white-space: nowrap;
}

/* Nav links: single merged definition (font-size/padding tuned to fit all items in one row) */
.nav-link-custom {
  color: var(--text-muted) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.65rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

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

/* Switcher Buttons: single merged definition */
.btn-control-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-control-toggle:hover {
  background-color: var(--badge-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.navbar-custom .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
}

/* --------------------------------------------------------------------------
   4. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(6, 182, 212, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(2, 132, 199, 0.08) 0%,
      transparent 60%
    );
  overflow: hidden;
}

[data-bs-theme="dark"] .hero-section {
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(6, 182, 212, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(2, 132, 199, 0.12) 0%,
      transparent 60%
    );
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--primary);
  font-size: 1rem;
}

.hero-media-wrapper {
  position: relative;
  z-index: 1;
}

.hero-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  position: relative;
}

.hero-img-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-img-card:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: floatEffect 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  bottom: 20px;
  right: -15px;
}

[dir="ltr"] .floating-badge-1 {
  right: auto;
  left: -15px;
}

.floating-badge-2 {
  top: 25px;
  left: -15px;
  animation-delay: 2s;
}

[dir="ltr"] .floating-badge-2 {
  left: auto;
  right: -15px;
}

@keyframes floatEffect {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

.floating-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  color: #ffffff !important;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-main) !important;
  border: 2px solid var(--border-color);
  font-weight: 700;
  padding: 0.7rem 1.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  background-color: var(--badge-bg);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.btn-whatsapp-custom {
  background-color: var(--whatsapp-color);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp-custom:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   6. Section Headers & Utility
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-section-alt);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* --------------------------------------------------------------------------
   7. Stats Section
   -------------------------------------------------------------------------- */
.stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  padding: 0.75rem;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.3rem;
  font-family: "Cairo", "Plus Jakarta Sans", sans-serif;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-img-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-experience-card {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

[dir="ltr"] .about-experience-card {
  right: auto;
  left: 25px;
}

/* --------------------------------------------------------------------------
   9. Services Cards
   -------------------------------------------------------------------------- */
.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

[dir="ltr"] .service-card::after {
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.service-link:hover {
  gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   10. Air Conditioners Products / Models
   -------------------------------------------------------------------------- */
.ac-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ac-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.ac-card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-section-alt);
}

.ac-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ac-card:hover .ac-card-img-wrapper img {
  transform: scale(1.05);
}

.ac-badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[dir="ltr"] .ac-badge-tag {
  right: auto;
  left: 12px;
}

.ac-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ac-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.ac-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ac-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}

.ac-specs-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ac-specs-list li i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--primary);
  background-color: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #fff;
}

.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-banner-wrapper {
  /* Intentionally a fixed dark-blue gradient (not theme-driven) so the CTA
     stands out consistently in both light and dark mode. */
  background: linear-gradient(135deg, #0f2744 0%, #0369a1 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.2) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-desc {
  font-size: 1.15rem;
  color: #e0f2fe;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   13. Contact Section (Direct Clickable Contacts ONLY - NO FORM)
   -------------------------------------------------------------------------- */
.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.contact-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.contact-card.phone-card:hover .contact-icon-wrapper {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #ffffff;
}

.contact-card.whatsapp-card .contact-icon-wrapper {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-color);
}

.contact-card.whatsapp-card:hover .contact-icon-wrapper {
  background: var(--whatsapp-color);
  color: #ffffff;
}

.contact-card.location-card:hover .contact-icon-wrapper {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #ffffff;
}

.contact-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.contact-card-info {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  direction: ltr;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.social-links-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer-custom {
  background-color: #0b1120;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(-4px);
}

[dir="ltr"] .footer-links a:hover {
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #94a3b8;
}

.footer-contact-item i {
  color: #38bdf8;
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   15. Floating Quick Action Buttons
   -------------------------------------------------------------------------- */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1040;
}

[dir="ltr"] .floating-actions-container {
  right: auto;
  left: 24px;
}

.floating-action-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.floating-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.floating-btn-whatsapp {
  background-color: var(--whatsapp-color);
}

.floating-btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-color);
  animation: pulseRipple 2s infinite;
}

.floating-btn-phone {
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
}

.floating-btn-top {
  background-color: var(--bg-card);
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}

.floating-btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes pulseRipple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   16. Responsive Adjustments
   -------------------------------------------------------------------------- */

/* Tablet fine-tuning (between phone and desktop breakpoints) */
@media (max-width: 991.98px) and (min-width: 768px) {
  .hero-img-card img {
    height: 320px;
  }

  .about-img-box img {
    height: 360px;
  }
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
  }

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

  .floating-badge {
    position: static;
    margin-top: 1rem;
    display: inline-flex;
  }

  .stats-banner {
    margin-top: 1.5rem;
  }

  .navbar-collapse {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-outline-custom,
  .btn-whatsapp-custom {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .hero-img-card img {
    height: 260px;
  }

  .about-img-box img {
    height: 280px;
  }

  .floating-actions-container {
    bottom: 16px;
    right: 16px;
  }

  [dir="ltr"] .floating-actions-container {
    right: auto;
    left: 16px;
  }

  .floating-action-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}