/* 
 * Custom Stylesheet - Carecom Qatar Website Redesign
 * Built on Bootstrap 5 using Modern UI/UX Trends (Glassmorphism, Micro-interactions, Custom Animations)
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cairo:wght@400;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --primary: #7A1C50;
  /* Carecom Deep Maroon/Plum */
  --primary-rgb: 122, 28, 80;
  --primary-light: #9B2D6C;
  --primary-dark: #4A0F2F;
  --accent: #D4AF37;
  /* Premium Warm Gold */
  --accent-rgb: 212, 175, 55;
  --accent-hover: #C5A880;

  /* Neutral Color Palette */
  --bg-light: #FBF9FA;
  /* Creamy white with plum hint */
  --bg-dark-rgb: 30, 6, 19;
  /* Very deep plum-black */
  --bg-dark: #1E0613;
  --text-dark: #2D2529;
  /* Dark charcoal with warm tone */
  --text-muted: #7A7075;

  /* Font Families */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Cairo', sans-serif;

  /* UI Constants */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow: 0 15px 35px rgba(122, 28, 80, 0.05);
  --box-shadow-hover: 0 25px 50px rgba(122, 28, 80, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------
   Global & Typography Styles
   --------------------------------------------------------- */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--accent);
}

/* Hide Scrollbar in all browsers but keep scroll functionality */
::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

* {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* ---------------------------------------------------------
   Selection Colors
   --------------------------------------------------------- */
::selection {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* ---------------------------------------------------------
   Reusable UI Elements & Utility Overrides
   --------------------------------------------------------- */
.section-padding {
  padding: 100px 0;
}

.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 38px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-title.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Custom Buttons */
.btn-custom {
  font-family: var(--font-headings);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  white-space: nowrap;
}

.btn-custom-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.25);
}

.btn-custom-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--accent);
  transition: var(--transition);
  z-index: -1;
  border-radius: 30px;
}

.btn-custom-primary:hover {
  color: var(--primary-dark);
  box-shadow: 0 12px 25px rgba(122, 28, 80, 0.35);
  transform: translateY(-3px);
}

.btn-custom-primary:hover::before {
  width: 100%;
}

.btn-custom-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-custom-secondary:hover {
  background-color: #FFFFFF;
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-custom-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.btn-custom-accent:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 12px 25px rgba(122, 28, 80, 0.35);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   Header & Navigation
   --------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  transition: var(--transition);
}

.topbar {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
  color: var(--accent);
}

.topbar-right a {
  margin-left: 15px;
}

.topbar-btn-brand {
  background-color: var(--accent);
  color: #1E0613 !important;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-left: 0 !important;
}

.topbar-btn-brand:hover {
  background-color: transparent !important;
  color: var(--accent) !important;
  text-decoration: none;
}

.topbar-btn-brand i {
  font-size: 10px;
}

.main-navbar {
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1030;
}

.main-navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(122, 28, 80, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-navbar .navbar-brand img {
  height: 60px;
  transition: var(--transition);
}

.main-navbar.scrolled .navbar-brand img {
  height: 50px;
}

.main-navbar .nav-link {
  font-family: var(--font-headings);
  font-weight: 600;
  color: #000 !important;
  font-size: 15px;
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.main-navbar.scrolled .nav-link {
  color: var(--text-dark) !important;
}

.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  top: 12px;
  width: 0;
  height: 2px;
  /* background-color: var(--accent); */
  /* transition: var(--transition); */
}

/*.main-navbar.scrolled .nav-link::after {*/
/*  background-color: var(--primary);*/
/*}*/

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

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

/* .main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  width: calc(100% - 32px);
} */

/* Custom Dropdown Menu Styling */
.main-navbar .dropdown-menu {
  border: none !important;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
  padding: 0;
  overflow: hidden;
  margin-top: 15px;
  min-width: 200px;
}

.main-navbar .dropdown-item {
  padding: 12px 24px;
  font-family: var(--font-headings);
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 15px;
}

.main-navbar .dropdown-item:last-child {
  border-bottom: none;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus,
.main-navbar .dropdown-item.active {
  background-color: var(--primary) !important;
  color: #fff !important;
}

/* Custom Dropdown Arrow & Alignment */
.main-navbar .dropdown-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-navbar .dropdown-toggle::after {
  content: '\f078';
  /* FontAwesome chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  border: none;
  font-size: 0.75em;
  margin-left: auto !important;
  /* Push to the end of the menu item in LTR */
  padding-left: 4px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 1.2em;
  height: 1.2em;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

[dir="rtl"] .main-navbar .dropdown-toggle::after {
  margin-left: 0 !important;
  padding-left: 0;
  margin-right: auto !important;
  /* Push to the end of the menu item in RTL */
  padding-right: 10px;
}

/* Rotate arrow on hover in place */
/* .main-navbar .nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
} */

/* Desktop Hover Dropdown Menu (Smooth Animation & Gapless Transition) */
@media (min-width: 992px) {
  .main-navbar .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0 !important;
    /* Eliminates the gap to avoid mouse-out */
    pointer-events: none;
  }

  .main-navbar .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Navbar CTA Call details on right */
.nav-phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary) !important;
  font-family: var(--font-headings);
  text-align: left;
}

.main-navbar.scrolled .nav-phone-link {
  color: var(--text-dark) !important;
}

.nav-phone-icon {
  width: 40px;
  height: 40px;
  background-color: rgb(137 137 137 / 15%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  font-size: 14px;
}

.main-navbar.scrolled .nav-phone-icon {
  background-color: rgba(122, 28, 80, 0.08);
  color: var(--primary);
}

.nav-phone-link:hover .nav-phone-icon {
  background-color: var(--accent);
  color: var(--primary-dark) !important;
}

.phone-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
}

.phone-number {
  font-size: 14px;
  font-weight: 700;
  display: block;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Hero Background Video Section
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Premium dark gradient favoring text readability on the left, fading to show video on the right */
  background: linear-gradient(135deg, rgba(27, 27, 27, 0.95) 0%, rgba(40, 37, 38, 0.8) 45%, rgba(37, 33, 35, 0.3) 100%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  z-index: 1;
  padding-top: 150px;
}

.hero-slider-item {
  display: none;
}

.hero-slider-item.active {
  display: block;
}

/* Staggered Content Animation for Slides */
.hero-slider-item .hero-pre-title,
.hero-slider-item .hero-title,
.hero-slider-item .hero-subtitle,
.hero-slider-item .hero-btn-group {
  opacity: 0;
}

.hero-slider-item.active .hero-pre-title {
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
}

.hero-slider-item.active .hero-title {
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
}

.hero-slider-item.active .hero-subtitle {
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.55s;
}

.hero-slider-item.active .hero-btn-group {
  animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.75s;
}

/* Keyframes for Staggered Slide In */
@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-pre-title {
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-pre-title::before {
  content: '';
  width: 16px;
  height: 2px;
  background-color: var(--accent);
  display: inline-block;
}

.hero-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #FFFFFF;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 680px;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Desktop left vertical border */
@media (min-width: 992px) {
  .hero-slider-item {
    border-left: 3px solid var(--accent);
    padding-left: 40px;
    margin-left: -40px;
  }
}

/* Hero Button Groups & Glassmorphism */
.hero-btn-group .btn-custom {
  padding: 10px 35px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-btn-group .btn-custom-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}

.hero-btn-group .btn-custom-secondary:hover {
  background-color: #FFFFFF;
  color: var(--primary-dark);
  border-color: #FFFFFF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mouse Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #FFFFFF;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: relative;
  margin: 0 auto 10px;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 8px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* ---------------------------------------------------------
   Infinite Scrolling Marquee Ticker (OpenHome Style)
   --------------------------------------------------------- */
.marquee-ticker {
  background-color: var(--primary);
  padding: 22px 0;
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 10;
  border-bottom: 4px solid var(--accent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  padding: 0 50px;
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.marquee-item i {
  color: var(--accent);
  margin-right: 15px;
  font-size: 16px;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------
   Company Facts / Features Grid (OpenHome Style)
   --------------------------------------------------------- */
/* ---------------------------------------------------------
   Company Facts / Features Grid (OpenHome Style)
   --------------------------------------------------------- */
.facts-section {
  padding: 40px 0px 80px 0px;
  background-color: var(--bg-light);
  background-image: radial-gradient(rgba(122, 28, 80, 0.02) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

.fact-card {
  background: radial-gradient(circle at top left, #FFFFFF, #FCFAF9 70%, #F6F1F3 100%);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(122, 28, 80, 0.05);
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.fact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.fact-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.08), var(--box-shadow-hover);
}

.fact-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.fact-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(122, 28, 80, 0.05);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 25px;
  transition: var(--transition);
  border: 1px solid rgba(122, 28, 80, 0.03);
}

.fact-card:hover .fact-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.25);
}

.fact-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.fact-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.6;
}

/* About Redesign Elements */
.about-subtitle-badge {
  background-color: rgba(122, 28, 80, 0.05);
  border: 1px solid rgba(122, 28, 80, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-subtitle-badge i {
  font-size: 8px;
  color: var(--accent);
}

.about-divider-line {
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin: 20px 0;
}

.about-callout-box {
  background: linear-gradient(135deg, rgba(122, 28, 80, 0.05) 0%, rgba(122, 28, 80, 0.02) 100%);
  border-left: 4px solid var(--primary);
  border-radius: var(--border-radius-sm);
  padding: 25px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  transition: var(--transition);
  border-top: 1px solid rgba(122, 28, 80, 0.03);
  border-right: 1px solid rgba(122, 28, 80, 0.03);
  border-bottom: 1px solid rgba(122, 28, 80, 0.03);
}

.about-callout-box:hover {
  transform: translateY(-3px);
  border-left-color: var(--accent);
  box-shadow: var(--box-shadow-hover);
}

.about-callout-icon {
  width: 55px;
  height: 55px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}

.about-callout-box:hover .about-callout-icon {
  transform: scale(1.1) rotate(15deg);
  background-color: var(--accent);
  color: var(--primary-dark);
}

.about-callout-text h6 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.about-callout-text p {
  font-family: var(--font-headings);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   About Us Section
   --------------------------------------------------------- */
#about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1E0613 0%, #15030C 50%, #0B0106 100%);
  padding: 100px 0;
}

#about::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(122, 28, 80, 0.05) 0%, rgba(122, 28, 80, 0.01) 60%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#about::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(212, 175, 55, 0.01) 60%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 1;
}

#about .about-subtitle-badge {
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

#about .about-subtitle-badge i {
  font-size: 8px;
  color: var(--accent);
}

#about .about-main-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#about .about-divider-line {
  width: 80px;
  height: 3px;
  background-color: var(--accent);
  margin: 25px 0;
}

#about .about-description-lead {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

#about .about-description-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 30px;
}

#about .btn-link-white {
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

#about .btn-link-white i {
  margin-left: 8px;
  transition: var(--transition);
}

#about .btn-link-white:hover {
  color: var(--accent);
}

#about .btn-link-white:hover i {
  transform: translateX(5px);
  color: var(--accent);
}

/* Globe Graphic and Animations */
.globe-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.globe-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5px;
  transform-origin: center;
}

.globe-ring.ring-1 {
  stroke: rgba(212, 175, 55, 0.2);
  stroke-dasharray: 100 200;
  animation: rotateCW 30s linear infinite;
}

.globe-ring.ring-2 {
  stroke: rgba(122, 28, 80, 0.25);
  stroke-dasharray: 150 150;
  animation: rotateCCW 25s linear infinite;
}

.globe-ring.ring-core {
  stroke: rgba(255, 255, 255, 0.15);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.05));
}

.globe-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1px;
  transform-origin: center;
}

.grid-lat-1 {
  animation: rotateCW 60s linear infinite;
}

.grid-lon-1 {
  animation: rotateCCW 65s linear infinite;
}

.grid-lat-2 {
  animation: rotateCW 70s linear infinite;
}

.grid-lon-2 {
  animation: rotateCCW 75s linear infinite;
}

.globe-arc {
  fill: none;
  stroke: rgba(212, 175, 55, 0.35);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-dasharray: 12 180;
  animation: moveDash 6s linear infinite;
}

.arc-1 {
  animation-delay: 0s;
}

.arc-2 {
  animation-delay: 1.5s;
  stroke-dasharray: 18 200;
}

.arc-3 {
  animation-delay: 3s;
}

.arc-4 {
  animation-delay: 4.5s;
}

.arc-5 {
  animation-delay: 2s;
  stroke-dasharray: 15 250;
}

@keyframes moveDash {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -300;
  }
}

.globe-node {
  fill: var(--accent);
  filter: url(#globeGlow);
}

.globe-node-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1px;
  transform-origin: center;
  animation: nodePulse 2.5s ease-out infinite;
}

@keyframes nodePulse {
  0% {
    transform: scale(0.3);
    opacity: 1;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.particle {
  fill: rgba(255, 255, 255, 0.4);
  animation: particleBlink 3s ease-in-out infinite alternate;
}

.particle:nth-child(2n) {
  animation-delay: 1.5s;
}

@keyframes particleBlink {
  0% {
    opacity: 0.2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes rotateCW {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCCW {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* Glassmorphic Stats bar along the bottom */
.about-glass-stats-bar {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.about-glass-stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
  text-align: center;
}

.about-glass-stat-item:last-child {
  border-right: none;
}

.about-glass-stat-item .stat-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 15px;
  transition: var(--transition);
}

.about-glass-stat-item:hover .stat-icon {
  transform: translateY(-5px);
  color: #FFFFFF;
  text-shadow: 0 0 15px var(--accent);
}

.about-glass-stat-item .num {
  font-family: var(--font-headings);
  font-size: 42px;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.about-glass-stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Vision, Mission and Core Values
   --------------------------------------------------------- */
.nav-tabs-custom {
  border: none;
  justify-content: center;
  margin-bottom: 40px;
  background-color: rgba(122, 28, 80, 0.04);
  padding: 8px;
  border-radius: 40px;
  display: inline-flex;
}

.nav-tabs-custom .nav-link {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-headings);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 30px;
  transition: var(--transition);
}

.nav-tabs-custom .nav-link:hover {
  color: var(--primary);
}

.nav-tabs-custom .nav-link.active {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.25);
}

/* Image Zoom animation inside active tab */
.tab-pane.active img {
  animation: slowZoom 15s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

.vision-card {
  background: radial-gradient(circle at top left, #FFFFFF, #FCFAF9 75%, #F6F1F3 100%);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(122, 28, 80, 0.05);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}

.vision-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--accent);
  box-shadow: var(--box-shadow-hover);
}

.vision-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(122, 28, 80, 0.05);
  border: 1px solid rgba(122, 28, 80, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 32px;
  margin-bottom: 25px;
  transition: var(--transition);
}

.vision-card:hover .vision-icon-box {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.2);
}

/* Core Values Grid */
.value-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-sm);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(122, 28, 80, 0.02) 0%, transparent 100%);
  z-index: -1;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--box-shadow-hover);
  border-left-color: var(--accent);
}

.value-card .icon {
  width: 55px;
  height: 55px;
  background-color: rgba(122, 28, 80, 0.05);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(122, 28, 80, 0.03);
}

.value-card:hover .icon {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 8px 16px rgba(212, 175, 55, 0.25);
}

.value-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  transition: var(--transition);
}

.value-card:hover h5 {
  color: var(--primary);
}

/* ---------------------------------------------------------
   Featured Service Listing
   --------------------------------------------------------- */
.services-section {
  background-color: #F6F3F4;
  background-image: radial-gradient(rgba(122, 28, 80, 0.03) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

.service-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(122, 28, 80, 0.04);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

/* corner flashlight gradient */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  transition: var(--transition);
  z-index: -1;
  pointer-events: none;
}

.service-card:hover::after {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(122, 28, 80, 0.08) 0%, transparent 70%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(122, 28, 80, 0.1);
}

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

.service-icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: rgba(122, 28, 80, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 25px;
  transition: var(--transition);
  border: 1px solid rgba(122, 28, 80, 0.03);
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.05) rotateY(360deg);
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.25);
}

.service-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card:hover h4 {
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.service-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-card:hover .service-link {
  color: var(--accent);
}

.service-card:hover .service-link i {
  transform: translateX(6px);
  color: var(--accent);
}

/* ---------------------------------------------------------
   Clients Logo Sliding Ticker (Infinite Scroll)
   --------------------------------------------------------- */
.ticker-section {
  padding: 50px 0;
  background-color: #FCFAF9;
  border-top: 1px solid rgba(122, 28, 80, 0.05);
  border-bottom: 1px solid rgba(122, 28, 80, 0.05);
  overflow: hidden;
}

.logo-slider {
  display: flex;
  width: 200%;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  /* Premium edge fading mask */
  mask-image: linear-gradient(to right, transparent, #FFFFFF 15%, #FFFFFF 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #FFFFFF 15%, #FFFFFF 85%, transparent);
}

.logo-slide-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.logo-slide-track:hover {
  animation-play-state: paused;
}

.logo-slide-track-forward {
  animation: logoScroll 50s linear infinite;
}

.logo-slide-track-reverse {
  animation: logoScrollReverse 50s linear infinite;
}

.logo-slide-track img {
  height: 70px;
  margin: 0 45px;
  opacity: 0.85;
  filter: none;
  /* Show actual color by default */
  transition: var(--transition);
}

.logo-slide-track img:hover {
  opacity: 1;
  transform: scale(1.06);
}

@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes logoScrollReverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ---------------------------------------------------------
   Featured Projects Section
   --------------------------------------------------------- */
.filter-btn-group {
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(122, 28, 80, 0.15);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: 30px;
  transition: var(--transition);
  margin: 0 5px 10px;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.25);
}

.project-item {
  margin-bottom: 30px;
  display: block;
  /* Custom filtering show/hide */
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  aspect-ratio: 4/3;
  cursor: pointer;
  z-index: 1;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.12) rotate(1deg);
}

.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Sleek modern glassmorphic gradient overlay */
  background: linear-gradient(0deg, rgba(30, 6, 19, 0.95) 0%, rgba(122, 28, 80, 0.75) 55%, rgba(122, 28, 80, 0.2) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-overlay span {
  font-family: var(--font-headings);
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 5px;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.05s;
}

.project-card-overlay h4 {
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.1s;
}

.project-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.15s;
  line-height: 1.5;
}

.project-card:hover .project-card-overlay span,
.project-card:hover .project-card-overlay h4,
.project-card:hover .project-card-overlay p {
  transform: translateY(0);
}



/* ---------------------------------------------------------
   Client Testimonials Section
   --------------------------------------------------------- */
.testimonials-section {
  background-color: #FFFFFF;
  background-image: radial-gradient(rgba(122, 28, 80, 0.015) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0 60px 0;
}

.testimonial-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 45px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(122, 28, 80, 0.05);
  position: relative;
  margin: 15px;
  display: none;
  z-index: 1;
  /* Speech bubble pointer */
  transition: var(--transition);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 60px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 0;
  border-color: var(--bg-light) transparent transparent transparent;
  display: block;
}

/* We also need a matching shadow block for the speech pointer */
.testimonial-card::before {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 59px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 16px 0 0;
  border-color: rgba(122, 28, 80, 0.06) transparent transparent transparent;
  display: block;
  z-index: -1;
}

.testimonial-card.active {
  display: block;
  animation: slideInTestimonial 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(122, 28, 80, 0.1);
}

@keyframes slideInTestimonial {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.testimonial-stars {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 25px;
  display: flex;
  gap: 4px;
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}

.testimonial-quote::before {
  content: '“';
  font-size: 140px;
  color: rgba(122, 28, 80, 0.07);
  position: absolute;
  top: -55px;
  left: -25px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  line-height: 1;
  z-index: -1;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  margin-left: 20px;
  /* shift to align with bubble pointer */
  margin-top: 30px;
}

.testimonial-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  margin-right: 18px;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 8px 20px rgba(122, 28, 80, 0.15);
  transition: var(--transition);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 10px 25px rgba(122, 28, 80, 0.25);
}

.testimonial-profile h5 {
  font-size: 17px;
  margin-bottom: 4px;
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonial-profile span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Testimonial Nav dots */
.carousel-nav-dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(122, 28, 80, 0.12);
  margin: 0 6px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.carousel-dot:hover {
  background-color: rgba(122, 28, 80, 0.3);
}

.carousel-dot.active {
  width: 32px;
  border-radius: 6px;
  background-color: var(--primary);
  box-shadow: 0 4px 10px rgba(122, 28, 80, 0.25);
}

/* ---------------------------------------------------------
   Blogs Section
   --------------------------------------------------------- */
.blog-card {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(122, 28, 80, 0.03);
  height: 100%;
}

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

.blog-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img {
  transform: scale(1.1);
}

.blog-date-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-headings);
}

.blog-content {
  padding: 30px;
}

.blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta span {
  margin-right: 15px;
}

.blog-meta i {
  color: var(--accent);
  margin-right: 5px;
}

.blog-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card h4 a {
  color: var(--primary-dark);
}

.blog-card h4 a:hover {
  color: var(--primary);
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-readmore {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-headings);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

.blog-readmore i {
  margin-left: 6px;
  transition: var(--transition);
}

.blog-card:hover .blog-readmore i {
  transform: translateX(4px);
}

/* ---------------------------------------------------------
   Quick Contact Section
   --------------------------------------------------------- */
.contact-section {
  background-color: #FBF9FA;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  color: #FFFFFF;
  height: 100%;
  box-shadow: var(--box-shadow);
}

.contact-info-card h3 {
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-detail-item h5 {
  color: #FFFFFF;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.contact-detail-item p,
.contact-detail-item a {
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 0;
  font-size: 16px;
}

.contact-detail-item a:hover {
  color: var(--accent) !important;
}

/* Contact Form styling */
.contact-form-wrapper {
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(122, 28, 80, 0.03);
}

.contact-form-wrapper h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 30px;
}

.form-floating>.form-control {
  border: 1px solid rgba(122, 28, 80, 0.1);
  border-radius: var(--border-radius-sm);
  background-color: #FCFAFB;
  font-size: 15px;
}

.form-floating>.form-control:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(122, 28, 80, 0.15);
}

.form-floating>label {
  color: var(--text-muted);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   Footer Section
   --------------------------------------------------------- */
.main-footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  font-size: 14px;
  border-top: 4px solid var(--primary);
}

.footer-widget h4 {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-logo {
  height: 55px;
  margin-bottom: 20px;
}

.footer-social-links a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-right: 10px;
  transition: var(--transition);
}

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

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

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
}

.footer-links-list a i {
  font-size: 10px;
  margin-right: 8px;
  transition: var(--transition);
}

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

.footer-links-list a:hover i {
  color: var(--accent);
}

/* Newsletter Input Form - Modern Inline Style */
.newsletter-form-inline {
  position: relative;
  width: 100%;
}

.newsletter-form-inline .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 14px 60px 14px 22px;
  color: #FFFFFF;
  font-size: 14px;
  width: 100%;
  transition: var(--transition);
}

.newsletter-form-inline .form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: none;
  outline: none;
}

.newsletter-btn-submit {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 42px;
  height: 42px;
  background-color: var(--accent);
  border: none;
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
}

.newsletter-btn-submit:hover {
  background-color: var(--primary-light);
  color: #FFFFFF;
  transform: scale(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 60px;
  font-size: 13px;
}

/* ---------------------------------------------------------
   WhatsApp Integration & Floating Widget
   --------------------------------------------------------- */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-family: var(--font-body);
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.whatsapp-button:hover {
  transform: scale(1.08) rotate(10deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-color: #25D366;
  z-index: -1;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 330px;
  background-color: #FFFFFF;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.whatsapp-chat-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-chat-header {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 20px;
  display: flex;
  align-items: center;
}

.whatsapp-agent-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 12px;
  background-color: #FFFFFF;
  padding: 2px;
}

.whatsapp-agent-info h4 {
  color: #FFFFFF;
  font-size: 15px;
  margin-bottom: 2px;
  font-weight: 700;
}

.whatsapp-agent-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.whatsapp-agent-info p::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  margin-right: 5px;
  display: inline-block;
}

.whatsapp-chat-body {
  background-color: #ECE5DD;
  padding: 20px;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
  /* Standard WhatsApp background */
}

.whatsapp-chat-bubble {
  background-color: #FFFFFF;
  border-radius: 0 12px 12px 12px;
  padding: 12px 15px;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 13.5px;
}

.whatsapp-chat-bubble .time {
  font-size: 10px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 5px;
  display: block;
}

.whatsapp-chat-footer {
  padding: 15px 20px;
  background-color: #FFFFFF;
}

.whatsapp-start-btn {
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 20px;
  padding: 10px 15px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.whatsapp-start-btn:hover {
  background-color: #128C7E;
  color: #FFFFFF;
}

.whatsapp-start-btn i {
  margin-right: 8px;
  font-size: 16px;
}

/* Floating Scroll to Top */
.scroll-top-btn {
  position: fixed;
  bottom: 105px;
  right: 35px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 998;
  border: 2px solid #FFFFFF;
}

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

.scroll-top-btn:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

/* ---------------------------------------------------------
   CSS Animations (AOS Custom additions)
   --------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustment */
@media (max-width: 991.98px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: 38px;
    margin-bottom: 20px;
  }

  .hero-pre-title {
    font-size: 11px;
    margin-bottom: 15px;
    justify-content: center;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slider-item {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .hero-btn-group {
    width: 100%;
    max-width: 325px;
    margin: 0 auto;
  }

  .section-padding {
    padding: 70px 0;
  }

  #about {
    text-align: center;
    padding: 70px 0;
  }

  #about .about-subtitle-badge {
    justify-content: center;
  }

  #about .about-main-title {
    font-size: 34px;
  }

  #about .about-divider-line {
    margin: 20px auto;
  }

  #about .btn-link-white {
    justify-content: center;
    margin-top: 15px;
    display: flex;
  }

  .about-glass-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px 20px;
    margin-top: 40px;
  }

  .about-glass-stat-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 10px;
  }

  .about-glass-stat-item:nth-child(2n) {
    border-right: none;
  }

  .contact-form-wrapper {
    padding: 30px;
    margin-top: 40px;
  }

  .main-navbar .navbar-brand img {
    height: 50px;
  }

  .main-navbar .nav-link::after {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .about-glass-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 15px;
  }

  .about-glass-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    padding-left: 0;
  }

  .about-glass-stat-item:last-child {
    border-bottom: none;
  }
}

/* Hide Google Translate Toolbar & adjust body top */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body {
  top: 0px !important;
}

/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ========================================================= */

@media (max-width: 991.98px) {

  /* Reduce map height on tablets */
  .map-wrapper {
    height: 350px !important;
  }
}

@media (max-width: 767.98px) {

  /* General Typography & Spacing */
  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title span {
    font-size: 12px;
  }

  /* Hero Section */
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
    padding: 0 15px;
  }

  /* Button Sizing */
  .btn-custom {
    padding: 10px 25px;
    font-size: 14px;
  }

  /* Feature Cards & Glassmorphism Panels */
  .fact-card {
    padding: 30px 20px;
  }

  /* Topbar fixes for small screens */
  .topbar-right {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .topbar .row {
    text-align: center;
  }

  /* Video/Photo Gallery Layout */
  .gallery-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {

  /* Ultra-small devices (phones) */
  .section-padding {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  /* Adjust custom inner banners */
  .inner-banner {
    padding: 80px 0 60px !important;
  }

  .inner-banner h1 {
    font-size: 36px !important;
  }

  /* Map height on phones */
  .map-wrapper {
    height: 250px !important;
  }

  /* Stat Cards */
  .about-glass-stats-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-glass-stat-item {
    padding: 15px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .about-glass-stat-item:last-child {
    border-bottom: none;
  }
}

/* ---------------------------------------------------------
   RTL (Arabic) overrides — minimal, targeted fixes
   --------------------------------------------------------- */
[dir="rtl"] .contact-detail-icon {
  margin-right: 0;
  margin-left: 20px;
}

[dir="rtl"] .breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
  content: "\2190";
}

[dir="rtl"] .modern-feature-item .feature-icon {
  margin-right: 0;
  margin-left: 20px;
}

[dir="rtl"] .footer-links-list a i.fa-chevron-right {
  transform: scaleX(-1);
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .navbar-right {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-phone-link {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .nav-phone-icon {
  margin-right: 0;
  margin-left: 12px;
}

[dir="rtl"] .input-group-modern .input-icon {
  left: auto;
  right: 16px;
}

[dir="rtl"] .modern-input {
  padding-left: 16px;
  padding-right: 48px;
  text-align: right;
}

[dir="rtl"] .form-floating>label {
  right: 0;
  left: auto;
  transform-origin: 100% 0;
}

[dir="rtl"] .contact-page-form-wrapper,
[dir="rtl"] .contact-form-wrapper {
  text-align: right;
}

[dir="rtl"] .text-lg-start {
  text-align: right !important;
}

[dir="rtl"] .text-md-end {
  text-align: left !important;
}

[dir="rtl"] .pe-lg-5 {
  padding-right: 0 !important;
  padding-left: 3rem !important;
}

[dir="rtl"] .ms-2 {
  margin-left: 0 !important;
  margin-right: 0.5rem !important;
}

[dir="rtl"] .me-2 {
  margin-right: 0 !important;
  margin-left: 0.5rem !important;
}

/* ---------------------------------------------------------
   Chairman Section
   --------------------------------------------------------- */
.chairman-image-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.chairman-img {
  border: 8px solid #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
  width: 100%;
  max-width: 380px;
}

.chairman-img:hover {
  transform: translateY(-5px);
}

.chairman-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(122, 28, 80, 0.3);
  text-align: left;
  border-left: 4px solid var(--accent);
  z-index: 2;
}

html[dir="rtl"] .chairman-badge {
  right: auto;
  left: -20px;
  text-align: right;
  border-left: 0;
  border-right: 4px solid var(--accent);
}

.chairman-badge-title {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

.chairman-badge-name {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
}

@media (max-width: 991.98px) {
  .chairman-badge {
    right: 15px;
    bottom: -15px;
  }

  html[dir="rtl"] .chairman-badge {
    left: 15px;
    right: auto;
  }
}

/* ---------------------------------------------------------
   MOI Badge Section Styles (Enhanced to Match Site Theme)
   --------------------------------------------------------- */
.moi-badge-section {
  /* padding: 60px 0;
  background-color: var(--bg-light);
  background-image: radial-gradient(rgba(122, 28, 80, 0.015) 1.5px, transparent 1.5px);
  background-size: 24px 24px; */
}

.moi-badge-card {
  background: #fff;
  border-radius: 0px 0px 20px 20px;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(122, 28, 80, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.moi-badge-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.moi-badge-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.06), var(--box-shadow-hover);
}

.moi-badge-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.badge-tag {
  background-color: rgba(122, 28, 80, 0.05);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(122, 28, 80, 0.08);
}

.badge-tag i {
  font-size: 7px;
  color: var(--accent);
  margin-right: 8px;
}

[dir="rtl"] .badge-tag i {
  margin-right: 0;
  margin-left: 8px;
}

.moi-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
}

.moi-card-title span {
  color: var(--primary);
}

.moi-card-text {
  font-size: 14.5px;
  line-height: 1.7;
}

.moi-logo-container {
  background: #FFFFFF;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.moi-logo-img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 991.98px) {
  .moi-card-title {
    font-size: 22px;
  }

  .moi-logo-img {
    max-height: 100px;
  }
}

@media (max-width: 575.98px) {
  .moi-logo-img {
    max-height: 80px;
  }
}

/* ---------------------------------------------------------
   Company Profile Floating Button Styles
   --------------------------------------------------------- */
.company-profile-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
}

.company-profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF !important;
  padding: 12px 22px;
  border-radius: 30px;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(122, 28, 80, 0.25);
  transition: var(--transition);
  border: 2px solid #FFFFFF;
  text-decoration: none;
  position: relative;
}

.company-profile-btn i {
  font-size: 16px;
  color: var(--accent);
}

.company-profile-btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(122, 28, 80, 0.4);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.company-profile-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 30px;
  background-color: var(--primary);
  z-index: -1;
  animation: pulsePlum 2.5s infinite;
}

@keyframes pulsePlum {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.2, 1.35);
    opacity: 0;
  }
}

@media (max-width: 767.98px) {
  .company-profile-widget {
    bottom: 30px;
    left: 20px;
  }

  .company-profile-btn {
    padding: 12px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    justify-content: center;
    gap: 0;
  }

  .company-profile-btn span {
    display: none;
  }

  .company-profile-btn::before {
    border-radius: 50%;
  }

  @keyframes pulsePlum {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }

    100% {
      transform: scale(1.4);
      opacity: 0;
    }
  }
}

.custom-maroon-dropdown {
  background: var(--bg-dark) !important;
}