/*
Theme Name: H&G Premium Theme
Theme URI: https://hg-technical.com
Description: A lightweight, ultra-performance custom theme designed for H&G Technical Services in Oman.
Version: 1.0.0
Author: Antigravity pair-programming
Author URI: https://google-deepmind.com
Text Domain: hg-theme
*/

/* --- Google Fonts & Resets --- */

:root {
  --primary: #ff1a1a;
  --primary-hover: #e01212;
  --secondary: #52c41a;
  --secondary-hover: #40a90e;
  --accent: #ffd400;
  --info: #1da1f2;
  --dark: #1e1e24;
  --dark-light: #2d2d38;
  --dark-deep: #121217;
  --light: #f5f6f8;
  --bg-logo: #efe8d8;
  --white: #ffffff;
  --text-dark: #33333e;
  --text-light: #707080;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 45px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

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

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

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

.bg-dark {
  background-color: var(--dark-deep);
  color: var(--white);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-light);
  font-size: 18px;
}

.bg-dark .section-title {
  color: var(--white);
}

.bg-dark .section-desc {
  color: #a0a0b0;
}

/* --- Button System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 26, 26, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 26, 26, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-green {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(82, 196, 26, 0.2);
}

.btn-green:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 68px;
  width: auto;
  border-radius: 8px;
  transition: var(--transition);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 23px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  transition: var(--transition);
}

.logo-text span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-top: 2px;
  transition: var(--transition);
}

.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .logo-text span {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Scrolled Header Logo Scaling */
.site-header.scrolled .logo-img {
  height: 46px;
}

.site-header.scrolled .logo-text {
  font-size: 18px;
}

.site-header.scrolled .logo-text span {
  font-size: 9.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 8px 0;
}

.site-header:not(.scrolled) .nav-link {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

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

.site-header:not(.scrolled) .nav-link:hover {
  color: var(--accent);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Elite Floating Language Switcher Orb Styles */
.lang-switch-orb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Scrolled / Standard Header style */
.lang-switch-orb {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lang-switch-orb:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 26, 26, 0.2);
}

/* Transparent Header styles */
.site-header:not(.scrolled) .lang-switch-orb {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header:not(.scrolled) .lang-switch-orb:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 212, 0, 0.2);
}

/* Globe Micro-animation rotation */
.lang-switch-orb i {
  font-size: 14px;
  transition: transform 0.6s ease;
}

.lang-switch-orb:hover i {
  transform: rotate(360deg);
}/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1010;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.site-header:not(.scrolled) .mobile-toggle span {
  background-color: var(--white);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Hero Banner --- */
/* --- Premium Full-Screen Hero Slider --- */
.hero-slider-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-color: var(--dark-deep);
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.slide-content-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.slide-content {
  max-width: 750px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-badge {
  background-color: rgba(255, 26, 26, 0.1);
  border: 1px solid rgba(255, 26, 26, 0.25);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.5s infinite;
}

.slide-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  color: var(--white);
  font-family: var(--font-title);
}

.slide-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  outline: none;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.arrow-left {
  left: 30px;
}

.arrow-right {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* --- Emergency Ribbon --- */
.emergency-ribbon {
  background: linear-gradient(90deg, var(--primary) 0%, #ff4d4d 50%, var(--accent) 100%);
  color: var(--dark-deep);
  padding: 16px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(255, 26, 26, 0.2);
}

.ribbon-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-title);
  font-weight: 700;
  flex-wrap: wrap;
  gap: 16px;
}

.ribbon-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--white);
}

.ribbon-icon {
  font-size: 22px;
  animation: pulse 1s infinite alternate;
}

.ribbon-action {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ribbon-phone {
  background: var(--dark-deep);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ribbon-phone:hover {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.03);
}

/* --- Service Cards Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

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

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

.service-card.red::after { background: var(--primary); }
.service-card.green::after { background: var(--secondary); }
.service-card.blue::after { background: var(--info); }

.card-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.service-card.red .card-icon-box { background: rgba(255, 26, 26, 0.08); color: var(--primary); }
.service-card.green .card-icon-box { background: rgba(82, 196, 26, 0.08); color: var(--secondary); }
.service-card.blue .card-icon-box { background: rgba(29, 161, 242, 0.08); color: var(--info); }

.service-card:hover .card-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.card-desc {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.card-features {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
  margin-bottom: 30px;
}

.card-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 500;
}

.card-feature-item i {
  font-size: 12px;
}

.service-card.red .card-feature-item i { color: var(--primary); }
.service-card.green .card-feature-item i { color: var(--secondary); }
.service-card.blue .card-feature-item i { color: var(--info); }

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

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

/* --- About Intro Section --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 90%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--white);
}

.about-visual-badge {
  position: absolute;
  bottom: -20px;
  right: 10%;
  background: var(--dark-deep);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.badge-number {
  font-family: var(--font-title);
  font-size: 46px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-highlight-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.5;
}

.about-body-text {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 30px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.about-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(255, 26, 26, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-title {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.about-feature-desc {
  font-size: 12px;
  color: var(--text-light);
}

/* --- Why Choose Us Section --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.bg-dark .why-card {
  background: rgba(255, 255, 255, 0.03);
}

.why-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-hover);
}

.bg-dark .why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(255, 212, 0, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.why-card.primary .why-icon { background-color: rgba(255, 26, 26, 0.15); color: var(--primary); }
.why-card.green .why-icon { background-color: rgba(82, 196, 26, 0.15); color: var(--secondary); }
.why-card.blue .why-icon { background-color: rgba(29, 161, 242, 0.15); color: var(--info); }

.why-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
}

.bg-dark .why-desc {
  color: #a0a0b0;
}

/* --- Service Process Section --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 45px;
  left: calc(50% + 45px);
  width: calc(100% - 90px);
  height: 2px;
  border-top: 2px dashed rgba(0,0,0,0.1);
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.process-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .process-num {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
}

/* --- Statistics Counters --- */
.stats-section {
  background-color: var(--dark-deep);
  color: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

/* --- Testimonials Section --- */
.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 24px;
  font-size: 18px;
}

.testimonial-text {
  font-size: 20px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-info {
  text-align: left;
}

.author-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
}

.author-role {
  font-size: 12px;
  color: var(--text-light);
}

/* --- Blog Section --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

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

.blog-img-box {
  position: relative;
  height: 220px;
  background-color: var(--dark-light);
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 48px;
}

.blog-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-body {
  padding: 24px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

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

.blog-card-link {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* --- Contact Inquiry Section --- */
.contact-inquiry-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
}

.contact-form-box {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-desc {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 15px;
}

/* Fluent Form Custom Styler */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.1);
  background: var(--light);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 10px rgba(255, 26, 26, 0.05);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Google Maps */
.map-visual-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  height: 100%;
  min-height: 400px;
  position: relative;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 400px;
}

/* --- Footer Section --- */
.site-footer {
  background-color: var(--dark-deep);
  color: var(--white);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
}

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

.footer-about-text {
  color: #a0a0b0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-item {
  color: #a0a0b0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link-item:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #a0a0b0;
  font-size: 14px;
}

.footer-contact-icon {
  font-size: 16px;
  color: var(--primary);
  margin-top: 3px;
}

.footer-contact-text h4 {
  font-family: var(--font-title);
  font-size: 12px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.footer-newsletter-text {
  color: #a0a0b0;
  font-size: 14px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px;
}

.newsletter-input {
  background: transparent;
  border: none;
  flex-grow: 1;
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #707080;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link:hover {
  color: var(--primary);
}

/* --- Floating Elements --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

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

.floating-whatsapp-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1.5s infinite;
}

/* --- Responsive Layouts --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    display: flex;
    justify-content: center;
  }
  .about-img-main {
    width: 80%;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step::after {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-inquiry-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 1005;
  }
  .nav-menu.active {
    right: 0;
  }
  .site-header:not(.scrolled) .nav-link {
    color: var(--dark);
  }
  .mobile-toggle {
    display: flex;
  }
  .header-actions .btn {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .contact-form-box {
    padding: 30px 20px;
  }
  .testimonial-slide {
    padding: 30px 20px;
  }
  .testimonial-text {
    font-size: 16px;
  }
}

/* --- Animations --- */
@keyframes float-slow {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

[data-fade] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-fade].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Dynamic Active Menu Highlight States --- */
.nav-link.active {
  color: var(--primary) !important;
}

.nav-link.active::after {
  width: 100% !important;
}

.site-header:not(.scrolled) .nav-link.active {
  color: var(--accent) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.site-header:not(.scrolled) .nav-link.active::after {
  background-color: var(--accent) !important;
}

/* --- Photo Gallery & Lightbox system --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 4px solid var(--white);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 36, 0.7);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  opacity: 0;
  transition: var(--transition);
  z-index: 5;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

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

/* Lightbox Overlay Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(18, 18, 23, 0.95);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
  transition: var(--transition);
}

.lightbox-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoom-fade 0.3s ease;
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 4px solid var(--white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 50px;
  color: var(--white);
  font-size: 60px;
  font-weight: 300;
  transition: var(--transition);
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Inner Page Banner styling overlays */
.inner-page-banner {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.inner-page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
}

@keyframes zoom-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .lightbox-content {
    width: 90%;
    max-height: 70vh;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }
}

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

/* ==========================================================================
   ARABIC DUAL-LANGUAGE RTL INVERSION & STABILITY
   ========================================================================== */

html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] button {
  font-family: 'Cairo', sans-serif !important;
}

html[dir="rtl"] {
  text-align: right;
}

html[dir="rtl"] body {
  direction: rtl;
  unicode-bidi: embed;
}

/* Dynamic Floating LanguageSwitcher Orb Adjustments */
html[dir="rtl"] .lang-switch-orb {
  margin-left: 0;
  margin-right: 15px;
}

/* Tag Indicators and Badge Spacing Flips */
html[dir="rtl"] .section-tag {
  padding-left: 0;
  padding-right: 20px;
  text-align: right;
}

html[dir="rtl"] .section-tag::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .hero-badge {
  padding: 8px 16px 8px 12px;
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-badge span {
  margin-left: 0;
  margin-right: 8px;
}

/* Logo Alignment */
html[dir="rtl"] .logo-text span {
  letter-spacing: 0px;
  text-align: right;
}

html[dir="rtl"] .logo-wrapper {
  flex-direction: row;
}

/* Underline link triggers */
html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

/* Slider Controls & Layout Directions in RTL */
html[dir="rtl"] .slide-content {
  text-align: right;
}

html[dir="rtl"] .hero-btns {
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
}

html[dir="rtl"] .slider-arrow.arrow-left {
  left: auto;
  right: 30px;
}

html[dir="rtl"] .slider-arrow.arrow-right {
  right: auto;
  left: 30px;
}

/* Rotate icons so chevron points logically backwards/forwards in Arabic gravity */
html[dir="rtl"] .slider-arrow.arrow-left i,
html[dir="rtl"] .slider-arrow.arrow-right i {
  transform: rotate(180deg);
}

/* Service Card Left-Border Flipping */
html[dir="rtl"] .service-card::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .card-icon-box {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .card-features {
  text-align: right;
}

html[dir="rtl"] .card-feature-item {
  flex-direction: row;
  justify-content: flex-start;
}

html[dir="rtl"] .card-feature-item i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .card-btn {
  flex-direction: row;
  justify-content: flex-start;
}

html[dir="rtl"] .card-btn i {
  transform: scaleX(-1);
  margin-right: 8px;
  margin-left: 0;
}

/* About Us Section Flips */
html[dir="rtl"] .about-visual-badge {
  right: auto;
  left: 10%;
  flex-direction: row;
}

html[dir="rtl"] .about-feature-card {
  flex-direction: row;
  text-align: right;
}

html[dir="rtl"] .about-feature-icon {
  margin-right: 0;
  margin-left: 12px;
}

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

html[dir="rtl"] .btn {
  flex-direction: row;
}

html[dir="rtl"] .btn-primary i,
html[dir="rtl"] .btn-green i,
html[dir="rtl"] .btn-white i {
  transform: scaleX(-1);
}

/* Emergency Ribbon flips */
html[dir="rtl"] .ribbon-text {
  flex-direction: row;
}

html[dir="rtl"] .ribbon-icon {
  margin-right: 0;
  margin-left: 10px;
}

html[dir="rtl"] .ribbon-phone {
  flex-direction: row;
}

html[dir="rtl"] .ribbon-phone i {
  margin-right: 0;
  margin-left: 8px;
  transform: scaleX(-1);
}

/* Footer Icon Positioning & List Bullet Adjustments */
html[dir="rtl"] .footer-link-item i {
  margin-right: 0;
  margin-left: 8px;
  transform: rotate(180deg);
}

html[dir="rtl"] .footer-contact-item {
  flex-direction: row;
  text-align: right;
}

html[dir="rtl"] .footer-contact-icon {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .footer-contact-text h4,
html[dir="rtl"] .footer-contact-text p {
  text-align: right;
}

html[dir="rtl"] .footer-socials {
  justify-content: flex-start;
  gap: 12px;
}

/* WhatsApp Floating widget RTL relocation */
html[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 30px;
}

html[dir="rtl"] .floating-whatsapp-badge {
  left: auto;
  right: -5px;
}

/* Form Fields & Alignment */
html[dir="rtl"] .form-group {
  text-align: right;
}

html[dir="rtl"] .form-label {
  display: block;
  text-align: right;
}

html[dir="rtl"] .form-input {
  text-align: right;
  direction: rtl;
}

/* Responsive RTL Drawers Stabilization */
@media (max-width: 768px) {
  html[dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
    box-shadow: 10px 0 30px rgba(0,0,0,0.15);
  }
  
  html[dir="rtl"] .nav-menu.active {
    left: 0;
    right: auto;
  }
}

