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

/* --- premium custom properties --- */
:root {
  /* color design system */
  --navy-deep: hsl(216, 50%, 10%);
  --navy-royal: hsl(216, 50%, 16%);
  --navy-light: hsl(216, 35%, 26%);
  --ice-blue: hsl(198, 100%, 45%);
  --ice-blue-hover: hsl(198, 100%, 40%);
  --ice-blue-glow: hsla(198, 100%, 45%, 0.35);
  --ice-blue-light: hsl(198, 100%, 96%);
  --gold-accent: hsl(40, 90%, 55%);
  --silver-light: hsl(210, 20%, 96%);
  --silver-medium: hsl(210, 15%, 88%);
  --silver-dark: hsl(215, 10%, 45%);
  
  --text-dark: hsl(216, 30%, 15%);
  --text-light: hsl(0, 0%, 100%);
  --text-muted: hsl(216, 12%, 45%);
  
  /* glassmorphism style rules */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-dark: rgba(10, 20, 38, 0.85);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 8px 32px 0 rgba(10, 20, 38, 0.06);
  --glass-shadow-hover: 0 16px 40px 0 rgba(10, 20, 38, 0.12);
  
  /* structure & motions */
  --font-primary: 'Outfit', 'Almarai', sans-serif;
  --font-arabic: 'Almarai', 'Outfit', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

/* --- base and layout --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--silver-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.ar-text {
  font-family: var(--font-arabic);
  direction: rtl;
}

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

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

/* --- containers --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-royal), var(--ice-blue));
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- global header and sticky nav --- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.site-header.scrolled .navbar {
  padding: 12px 0;
}

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

.logo-icon {
  background: linear-gradient(135deg, var(--navy-royal), var(--ice-blue));
  width: 42px;
  height: 42px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px var(--ice-blue-glow);
  position: relative;
}

.logo-icon i.fa-snowflake {
  animation: rotateFan 8s linear infinite;
  font-size: 1.3rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-royal);
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-family: var(--font-arabic);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ice-blue);
  margin-top: -3px;
  text-align: right;
  direction: rtl;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-royal);
  padding: 8px 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--ice-blue);
  transition: var(--transition-smooth);
}

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

.nav-cta-btn {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  color: white !important;
  padding: 10px 22px !important;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 15px rgba(10, 20, 38, 0.15);
  font-weight: 700 !important;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 20, 38, 0.25);
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--navy-royal) 100%);
}

.nav-cta-btn::after {
  display: none !important;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-royal);
  cursor: pointer;
  z-index: 1001;
}

/* --- buttons design --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(10, 20, 38, 0.2);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--ice-blue-hover) 100%);
  color: white;
  box-shadow: 0 4px 15px var(--ice-blue-glow);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--ice-blue-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--navy-royal);
  border: 1px solid var(--navy-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: var(--navy-royal);
  color: white;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.badge-certified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--navy-royal);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--glass-shadow);
  margin-bottom: 20px;
}

.badge-certified i {
  color: var(--ice-blue);
}

/* --- homepage hero section --- */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at top right, hsla(198, 100%, 93%, 0.9), transparent 50%),
              radial-gradient(circle at bottom left, hsla(216, 50%, 90%, 0.8), transparent 60%),
              linear-gradient(135deg, #ffffff 0%, var(--silver-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 235, 255, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(30px);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-content {
  animation: fadeInUp 1s var(--transition-smooth);
}

.hero-title {
  font-size: 3.25rem;
  color: var(--navy-royal);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(120deg, var(--navy-royal) 30%, var(--ice-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  font-weight: 400;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-trust-signals {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--silver-medium);
  padding-top: 25px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item-icon {
  background: white;
  border: 1px solid var(--glass-border);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 1.1rem;
  box-shadow: var(--glass-shadow);
}

.trust-item-text p:first-child {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-royal);
}

.trust-item-text p:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* premium interactive visualization container on hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  animation: floatCard 6s ease-in-out infinite;
}

.visual-hvac-unit {
  width: 85%;
  height: 280px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(10, 20, 38, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.visual-hvac-unit::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 5%;
  width: 90%;
  height: 15px;
  background: radial-gradient(ellipse at center, rgba(10, 20, 38, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

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

.hvac-brand {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hvac-status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--ice-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ice-blue);
  animation: pulse 2s infinite;
}

.hvac-unit-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.hvac-fan-display {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--silver-light) 30%, var(--silver-medium) 100%);
  border: 4px solid var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.hvac-fan-display i {
  font-size: 3rem;
  color: var(--ice-blue);
  animation: rotateFan 1.5s linear infinite;
}

.hvac-temp-display {
  text-align: right;
}

.hvac-temp-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--navy-royal);
  line-height: 1;
}

.hvac-temp-unit {
  font-size: 1.5rem;
  color: var(--ice-blue);
  font-weight: 700;
}

.hvac-temp-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.hvac-unit-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-top: 1px solid var(--silver-light);
  padding-top: 15px;
}

.hvac-air-flow {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 120px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.air-wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(0, 172, 238, 0.15), rgba(255, 255, 255, 0));
  animation: blowAir 2s infinite ease-out;
  border-radius: 50%;
}

.air-wave-2 { animation-delay: 0.6s; }
.air-wave-3 { animation-delay: 1.2s; }

.visual-badge {
  position: absolute;
  background: var(--glass-bg-dark);
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  font-weight: 700;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--glass-border-dark);
  backdrop-filter: blur(12px);
}

.badge-top-left {
  top: 40px;
  left: 0;
  animation: floatCard 5s ease-in-out infinite alternate;
}

.badge-bottom-right {
  bottom: 40px;
  right: 0;
  animation: floatCard 7s ease-in-out infinite alternate-reverse;
}

/* --- about preview section --- */
.about-section {
  background: white;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
  border: 4px solid white;
}

.about-img-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.about-experience-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px rgba(10, 20, 38, 0.25);
  max-width: 200px;
  text-align: center;
  z-index: 5;
}

.about-experience-card .exp-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  margin-bottom: 5px;
  color: var(--ice-blue);
}

.about-experience-card .exp-text {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .badge-certified {
  margin-bottom: 15px;
}

.about-title {
  font-size: 2.25rem;
  margin-bottom: 25px;
  line-height: 1.25;
}

.about-desc-lead {
  font-size: 1.15rem;
  color: var(--navy-light);
  margin-bottom: 20px;
  font-weight: 600;
}

.about-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 35px;
}

.why-us-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-us-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ice-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.why-us-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-royal);
}

/* --- services section --- */
.services-section {
  background: radial-gradient(circle at bottom, hsla(198, 100%, 95%, 0.6), transparent 60%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 35px 30px;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

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

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

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--silver-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--ice-blue) 100%);
  color: white;
  box-shadow: 0 8px 20px var(--ice-blue-glow);
}

.service-icon-wrapper i {
  font-size: 1.6rem;
  color: var(--ice-blue);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper i {
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ice-blue);
}

.service-link i {
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* --- review testimonials slider section --- */
.reviews-section {
  background: white;
}

.reviews-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.reviews-track {
  display: flex;
  transition: var(--transition-smooth);
}

.review-slide {
  min-width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.review-card {
  background: var(--silver-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 45px;
  position: relative;
  box-shadow: var(--glass-shadow);
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 6rem;
  color: var(--silver-medium);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}

.review-rating {
  color: var(--gold-accent);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.review-text-en {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 15px;
  color: var(--navy-royal);
}

.review-text-ar {
  font-family: var(--font-arabic);
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--navy-light);
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--silver-medium);
  padding-top: 20px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy-royal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background: white;
  border: 1px solid var(--silver-medium);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-royal);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--navy-royal);
  color: white;
  border-color: var(--navy-royal);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--silver-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dot.active {
  background-color: var(--ice-blue);
  width: 22px;
  border-radius: 5px;
}

/* --- service areas section --- */
.areas-section {
  background: linear-gradient(180deg, white 0%, var(--silver-light) 100%);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.area-card {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--ice-blue-glow);
}

.area-icon-pin {
  width: 40px;
  height: 40px;
  background: var(--ice-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.area-card:hover .area-icon-pin {
  background: var(--ice-blue);
  color: white;
}

.area-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.area-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- contact & locations page elements --- */
.contact-section {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  color: white;
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  box-shadow: 0 15px 35px rgba(10, 20, 38, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.contact-info-panel .lead-p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.detail-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-text h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.detail-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.contact-socials-list {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-link:hover {
  background: var(--ice-blue);
  color: white;
  border-color: var(--ice-blue);
}

.contact-map-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
  border: 4px solid white;
  height: 100%;
  min-height: 450px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- book service wizard page elements --- */
.booking-section {
  background: radial-gradient(circle at top, hsla(198, 100%, 94%, 0.8), transparent 50%);
}

.booking-wizard-container {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow-hover);
  padding: 50px;
  max-width: 850px;
  margin: 0 auto;
}

.wizard-steps-header {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 45px;
}

.wizard-steps-header::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 5%;
  width: 90%;
  height: 3px;
  background-color: var(--silver-medium);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  flex: 1;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--silver-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--silver-dark);
  transition: var(--transition-smooth);
}

.step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step-indicator.active .step-circle {
  border-color: var(--ice-blue);
  background-color: var(--navy-royal);
  color: white;
  box-shadow: 0 0 12px var(--ice-blue-glow);
}

.step-indicator.active .step-label {
  color: var(--navy-royal);
}

.step-indicator.completed .step-circle {
  background-color: var(--ice-blue);
  border-color: var(--ice-blue);
  color: white;
}

.wizard-step-pane {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.wizard-step-pane.active {
  display: block;
}

.booking-form-group {
  margin-bottom: 25px;
}

.booking-form-group label {
  display: block;
  font-weight: 700;
  color: var(--navy-royal);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.booking-form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--silver-medium);
  background-color: white;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.booking-form-control:focus {
  outline: none;
  border-color: var(--ice-blue);
  box-shadow: 0 0 0 4px var(--ice-blue-glow);
}

.booking-services-picker,
.booking-districts-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 10px;
}

.picker-card {
  background: white;
  border: 2px solid var(--silver-medium);
  border-radius: var(--border-radius-md);
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.picker-card i {
  font-size: 1.5rem;
  color: var(--silver-dark);
  transition: var(--transition-smooth);
}

.picker-card span {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.picker-card:hover {
  border-color: var(--ice-blue-glow);
  transform: translateY(-2px);
}

.picker-card.selected {
  border-color: var(--ice-blue);
  background-color: var(--ice-blue-light);
}

.picker-card.selected i {
  color: var(--ice-blue);
  animation: pulse 2s infinite;
}

.wizard-footer-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid var(--silver-medium);
  padding-top: 25px;
}

.success-message-panel {
  text-align: center;
  padding: 40px 0;
}

.success-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 25px auto;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.success-message-panel h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.success-message-panel p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px auto;
}

/* --- standard inner banner --- */
.inner-banner {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  padding: 150px 0 80px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.inner-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 172, 238, 0.25), transparent 60%);
  pointer-events: none;
}

.inner-banner h1 {
  color: white;
  font-size: 2.75rem;
  margin-bottom: 15px;
}

.inner-breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.inner-breadcrumbs a {
  color: var(--ice-blue-light);
}

.inner-breadcrumbs span {
  color: rgba(255,255,255,0.4);
}

/* --- hvac diagnostics trouble guide --- */
.trouble-guide-section {
  background: var(--silver-light);
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.trouble-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.trouble-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.trouble-title i {
  color: #e74c3c;
  font-size: 1.3rem;
}

.trouble-detail-row {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--silver-light);
}

.trouble-detail-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.detail-val {
  font-weight: 600;
  color: var(--navy-royal);
  font-size: 0.95rem;
}

.detail-val-sol {
  color: #27ae60;
  font-weight: 700;
}

/* --- legal pages elements --- */
.legal-content-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.legal-content-card h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px 0;
}

.legal-content-card h3:first-of-type {
  margin-top: 0;
}

.legal-content-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-content-card ul {
  list-style-type: square;
  padding-left: 25px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.legal-content-card li {
  margin-bottom: 8px;
}

/* --- corporate footer --- */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--ice-blue);
  font-size: 0.95rem;
}

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

.footer-brand .logo-title {
  color: white;
}

.footer-brand .logo-icon {
  box-shadow: none;
}

.footer-brand-p {
  margin: 20px 0 25px 0;
  line-height: 1.7;
}

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

.footer-col h4 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--ice-blue);
  border-radius: 2px;
}

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

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.footer-contact-item i {
  color: var(--ice-blue);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--ice-blue);
}

/* --- floating sticky call & whatsapp & booking widgets --- */
.floating-widgets-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.floating-btn-call {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  border: 1px solid var(--glass-border);
}

.floating-btn-whatsapp {
  background: #25D366;
}

.floating-btn-book {
  background: var(--ice-blue);
}

.floating-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: var(--navy-deep);
  color: white;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.floating-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* --- mobile bottom floating cta bar (for super responsive phones) --- */
.mobile-bottom-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -10px 30px rgba(10, 20, 38, 0.08);
  grid-template-columns: 1fr 1fr 1fr;
  z-index: 998;
  padding: 10px;
  gap: 10px;
}

.mobile-cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  transition: var(--transition-smooth);
}

.mobile-cta-item-call {
  background: linear-gradient(135deg, var(--navy-royal) 0%, var(--navy-light) 100%);
}

.mobile-cta-item-whatsapp {
  background: #25D366;
}

.mobile-cta-item-book {
  background: var(--ice-blue);
}

.mobile-cta-item i {
  font-size: 1.15rem;
}

/* --- custom keyframe animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes rotateFan {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 172, 238, 0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(0, 172, 238, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 172, 238, 0);
  }
}

@keyframes blowAir {
  0% {
    transform: translateY(0) scale(0.8) translateX(-50%);
    opacity: 0;
    left: 50%;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(120px) scale(1.2) translateX(-50%);
    opacity: 0;
    left: 50%;
  }
}

/* --- media responsiveness queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-visual {
    height: 400px;
  }
  .visual-hvac-unit {
    width: 90%;
    padding: 20px;
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 60px 0;
  }
  .hero {
    min-height: auto;
    padding-bottom: 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-signals {
    justify-content: center;
  }
  .hero-visual {
    height: 380px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-wrapper img {
    height: 350px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 20px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-item a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 10px 0;
  }
  .nav-cta-btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
  .booking-wizard-container {
    padding: 30px 20px;
  }
  .wizard-steps-header {
    margin-bottom: 30px;
  }
  .step-label {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-col h4 {
    margin-bottom: 15px;
  }
  /* mobile viewport overrides */
  .floating-widgets-bar {
    bottom: 80px; /* shift up to accommodate bottom navigation bar */
    right: 20px;
  }
  .mobile-bottom-cta-bar {
    display: grid;
  }
  body {
    padding-bottom: 60px; /* spacing for floating cta */
  }
  .review-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.15rem;
  }
  .badge-certified {
    font-size: 0.75rem;
  }
  .hero-trust-signals {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn {
    width: 100%;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  .booking-services-picker,
  .booking-districts-picker {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   --- Admin Panel, Products Shop, & Blogging System Additions ---
   ========================================================================== */

/* --- Admin PIN Lock Screen Overlay --- */
.admin-lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 38, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

.admin-lock-card {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  color: white;
  animation: floatCard 6s ease-in-out infinite alternate;
}

.admin-lock-card i {
  font-size: 3rem;
  color: var(--ice-blue);
  margin-bottom: 20px;
}

.admin-lock-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.admin-lock-card p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* --- Admin Panel Layout --- */
.admin-body {
  background-color: var(--silver-light);
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  color: var(--navy-royal);
}

.admin-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, var(--navy-royal) 0%, var(--navy-light) 100%);
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 15px rgba(10,20,38,0.15);
  z-index: 100;
}

.admin-sidebar .logo {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 20px;
}

.admin-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-menu-item:hover,
.admin-menu-item.active {
  background: var(--ice-blue);
  color: white;
  box-shadow: 0 4px 15px var(--ice-blue-glow);
}

.admin-menu-item i {
  width: 20px;
  font-size: 1.1rem;
}

.admin-main {
  padding: 40px;
  overflow-y: auto;
  height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--silver-medium);
  padding-bottom: 20px;
}

.admin-header-title h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.admin-header-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Admin Stats Grid --- */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.admin-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--ice-blue);
}

.stat-card-info h3 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.stat-card-info .stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-royal);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ice-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 1.4rem;
}

.admin-stat-card:hover .stat-card-icon {
  background: var(--ice-blue);
  color: white;
  box-shadow: 0 4px 15px var(--ice-blue-glow);
}

/* --- Admin Table --- */
.admin-table-container {
  background: white;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--silver-medium);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  margin-bottom: 30px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background-color: var(--navy-royal);
  color: white;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--silver-medium);
  font-size: 0.95rem;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background-color: var(--silver-light);
}

/* --- Badges & Statuses --- */
.admin-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending {
  background-color: #fff9db;
  color: #f08c00;
  border: 1px solid #ffe066;
}

.badge-confirmed {
  background-color: var(--ice-blue-light);
  color: var(--ice-blue);
  border: 1px solid var(--ice-blue-glow);
}

.badge-completed {
  background-color: #ebfbee;
  color: #2b8a3e;
  border: 1px solid #b2f2bb;
}

/* --- Action Buttons --- */
.admin-btn-action {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.btn-action-edit {
  color: var(--ice-blue);
}

.btn-action-delete {
  color: #fa5252;
}

.admin-btn-action:hover {
  background-color: var(--silver-medium);
}

/* --- Tab Panes --- */
.admin-tab-pane {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.admin-tab-pane.active {
  display: block;
}

/* --- Admin Panel Dual Column Forms --- */
.admin-grid-forms {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.admin-card-pane {
  background: white;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--silver-medium);
  padding: 30px;
  box-shadow: var(--glass-shadow);
}

.admin-card-pane h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--silver-medium);
  padding-bottom: 12px;
  color: var(--navy-royal);
}

/* --- Products Catalog Storefront --- */
.products-filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}

.filter-tab {
  background: white;
  border: 1px solid var(--silver-medium);
  padding: 12px 25px;
  border-radius: var(--border-radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy-royal);
  color: white;
  border-color: var(--navy-royal);
  box-shadow: 0 6px 15px rgba(10,20,38,0.15);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 25px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  background: white;
}

.product-image-wrapper {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  height: 200px;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.06);
}

.product-cat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ice-blue);
  margin-bottom: 8px;
  display: block;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy-royal);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-price-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--silver-medium);
  padding-top: 15px;
  margin-bottom: 15px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-royal);
}

.product-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 3px;
}

/* --- Blogging Hub --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.blog-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta-tags {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--navy-royal);
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Blog Overlay Reader Modal --- */
.blog-reader-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 20, 38, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.blog-reader-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.blog-reader-card {
  background: white;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow-y: auto;
  position: relative;
  animation: fadeInUp 0.4s ease;
}

.blog-reader-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition-smooth);
}

.blog-reader-close:hover {
  background: var(--ice-blue);
}

.blog-reader-banner {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.blog-reader-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-reader-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.85) 100%);
}

.blog-reader-title-box {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  color: white;
  z-index: 10;
}

.blog-reader-title-box h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-top: 5px;
  color: white;
}

.blog-reader-body {
  padding: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--navy-light);
}

.blog-reader-body p {
  margin-bottom: 20px;
}

.blog-reader-body h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--navy-royal);
}

.blog-reader-body ul, .blog-reader-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-reader-body li {
  margin-bottom: 8px;
}

/* --- Admin sidebar responsive rules --- */
@media (max-width: 991px) {
  .admin-wrapper {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    display: none; /* simple sidebar fallback */
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-grid-forms {
    grid-template-columns: 1fr;
  }
}

/* --- Bilingual Multi-language Framework --- */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700;800&display=swap');

html[lang="en"] .ar-text { display: none !important; }
html[lang="ar"] .en-text { display: none !important; }

html[lang="ar"] {
  direction: rtl;
  text-align: right;
  font-family: 'Almarai', 'Outfit', sans-serif;
}

html[lang="en"] {
  direction: ltr;
  text-align: left;
  font-family: 'Outfit', sans-serif;
}

/* Sleek Language Switcher styling */
.lang-toggle-container {
  display: flex;
  align-items: center;
  margin-left: 15px;
  margin-right: 15px;
}

.lang-toggle-btn {
  background: var(--navy-royal);
  color: white !important;
  border: 1px solid var(--navy-royal);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(10, 25, 47, 0.15);
}

.lang-toggle-btn:hover {
  background: var(--ice-blue);
  color: var(--navy-dark) !important;
  border-color: var(--ice-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 201, 243, 0.25);
}

.lang-toggle-btn i {
  font-size: 0.95rem;
  color: var(--ice-blue);
}

.lang-toggle-btn:hover i {
  color: var(--navy-dark);
}

/* Mobile responsive menu button alignment */
@media (max-width: 991px) {
  .lang-toggle-btn {
    margin: 15px auto 0;
    width: fit-content;
  }
}

/* Custom RTL overrides for alignment and layouts */
html[lang="ar"] .nav-menu {
  flex-direction: row;
}

html[lang="ar"] .logo-text {
  text-align: right;
}

html[lang="ar"] .logo-icon {
  margin-right: 0;
  margin-left: 12px;
}

html[lang="ar"] .footer-links {
  padding-right: 0;
  text-align: right;
}

html[lang="ar"] .footer-links li a::before {
  content: '←';
  margin-right: 0;
  margin-left: 8px;
}

html[lang="ar"] .floating-btn {
  direction: ltr;
}

html[lang="ar"] .contact-detail-item {
  display: flex;
  flex-direction: row;
  text-align: right;
}

html[lang="ar"] .detail-icon {
  margin-right: 0;
  margin-left: 15px;
}

