/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-color: #0EA5A4;
  /* Modern Teal */
  --secondary-color: #1E293B;
  /* Dark Navy */
  --accent-color: #F59E0B;
  /* Golden Orange */
  --bg-color: #F8FAFC;
  --white: #FFFFFF;

  --text-dark: #334155;
  --text-light: #64748B;

  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, #088b8a 100%);
  --dark-gradient: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: var(--radius-md);
}

.section-title p {
  color: var(--text-light);
  margin-top: 1rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  transform: translateY(-2px);
  background-color: #d97706;
  box-shadow: var(--shadow-md);
}

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

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Accessibility Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
  padding: 1rem 0;
}

header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header.scrolled .logo {
  color: var(--primary-color);
}

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

.nav-links a {
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}

header.scrolled .nav-links a {
  color: var(--secondary-color);
}

.nav-links a:hover {
  color: var(--accent-color) !important;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

header.scrolled .mobile-menu-btn {
  color: var(--secondary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('Images/alkhaleejiyya-movers-kuwait-1.jpeg') no-repeat center center / cover;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.75) 0%, rgba(30, 41, 59, 0.9) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out;
  will-change: transform, opacity;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #CBD5E1;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 1s ease-out 0.4s backwards;
}

/* Floating Animation Boxes */
.floating-boxes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.box {
  position: absolute;
  display: block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  animation: animateBox 25s linear infinite;
  bottom: -150px;
  will-change: transform, opacity;
}

.box:nth-child(1) {
  left: 10%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
}

.box:nth-child(2) {
  left: 20%;
  width: 40px;
  height: 40px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.box:nth-child(3) {
  left: 40%;
  width: 80px;
  height: 80px;
  animation-delay: 4s;
}

.box:nth-child(4) {
  left: 60%;
  width: 50px;
  height: 50px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.box:nth-child(5) {
  left: 80%;
  width: 70px;
  height: 70px;
  animation-delay: 3s;
}

@keyframes animateBox {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 8px;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ==========================================================================
   Content Visibility — skip rendering of off-screen sections
   ========================================================================== */
.services,
.gallery,
.why-us,
.areas,
.testimonials,
.faq,
.checklist-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  padding: 6rem 0;
  background-color: var(--white);
}

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

.service-card {
  background: var(--bg-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-gradient);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-icon {
  color: var(--white);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--transition);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

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

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

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.experience-badge span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-feature i {
  color: var(--primary-color);
  font-size: 1.5rem;
  background: #E0F2FE;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.about-feature span {
  font-weight: 700;
  color: var(--secondary-color);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  padding: 6rem 0;
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 165, 164, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-us {
  padding: 6rem 0;
  background: var(--dark-gradient);
  color: var(--white);
}

.why-us .section-title h2 {
  color: var(--white);
}

.why-us .section-title p {
  color: #CBD5E1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  contain: layout style;
}

.feature-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-box h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Areas We Serve
   ========================================================================== */
.areas {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--primary-color);
  transition: var(--transition);
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  padding: 6rem 0;
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 3rem;
  color: rgba(14, 165, 164, 0.1);
}

.stars {
  color: #FBBF24;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.client-info h4 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  padding: 6rem 0;
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--secondary-color);
  transition: var(--transition);
}

.faq-header:hover {
  color: var(--primary-color);
}

.faq-header i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  color: var(--text-light);
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 500px;
  /* arbitrary large value */
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  padding: 6rem 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  padding: 2rem;
  background: var(--bg-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: #0f172a;
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

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

.footer-links a {
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

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

.float-whatsapp:hover {
  background-color: #128C7E;
  transform: scale(1.1);
}

.float-call {
  background-color: var(--primary-color);
}

.float-call:hover {
  background-color: #088b8a;
  transform: scale(1.1);
}

.float-whatsapp::before,
.float-call::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: -1;
}

.float-whatsapp::before {
  background-color: rgba(37, 211, 102, 0.5);
}

.float-call::before {
  background-color: rgba(14, 165, 164, 0.5);
}

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

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

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  /* Left side in RTL */
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--secondary-color) !important;
    font-size: 1.2rem;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Moving Checklist / Linkable Content Section
   ========================================================================== */
.checklist-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f0fdfd 0%, var(--bg-color) 100%);
  position: relative;
  overflow: hidden;
}

.checklist-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.checklist-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
  overflow: visible;
}

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

.checklist-number {
  position: absolute;
  top: -18px;
  right: 1.5rem;
  background: var(--primary-gradient);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.checklist-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: #E0F2FE;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checklist-card h3 {
  font-size: 1.15rem;
  color: var(--secondary-color);
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed #E2E8F0;
}

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.checklist-items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.checklist-items li i {
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Share Box */
.share-box {
  background: var(--secondary-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.share-box p {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.share-box p i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: 'Tajawal', sans-serif;
  text-decoration: none;
}

.share-wa {
  background: #25D366;
  color: #fff;
}

.share-wa:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.share-tw {
  background: #000;
  color: #fff;
}

.share-tw:hover {
  background: #333;
  transform: translateY(-2px);
}

.share-fb {
  background: #1877F2;
  color: #fff;
}

.share-fb:hover {
  background: #0c5fc0;
  transform: translateY(-2px);
}

.share-copy {
  background: var(--accent-color);
  color: #fff;
}

.share-copy:hover {
  background: #d97706;
  transform: translateY(-2px);
}

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

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

  .share-box {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .share-box p {
    justify-content: center;
  }

  .share-buttons {
    justify-content: center;
  }
}

/* ==========================================================================
   Mobile Performance Optimizations
   Critical for Google Mobile PageSpeed Score
   ========================================================================== */
@media (max-width: 768px) {

  /* ---- Kill floating boxes: 6 concurrent GPU-blurred animations = major lag ---- */
  .floating-boxes {
    display: none !important;
  }

  /* ---- Remove backdrop-filter on all elements: single biggest GPU drain on mobile ---- */
  .box,
  .glass-panel,
  .feature-box {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .glass-panel {
    background: rgba(255, 255, 255, 0.97);
  }

  .feature-box {
    background: rgba(255, 255, 255, 0.14);
  }

  /* ---- Reduce section padding for better content density on small screens ---- */
  .services,
  .about,
  .gallery,
  .why-us,
  .areas,
  .testimonials,
  .faq,
  .contact,
  .checklist-section {
    padding: 3.5rem 0;
  }

  /* ---- Ensure minimum 44px tap targets (Google Usability requirement) ---- */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.25rem;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-header {
    min-height: 44px;
  }

  .floating-btn {
    min-width: 48px;
    min-height: 48px;
  }

  .share-btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
  }

  /* ---- Fix hero font size on small screens ---- */
  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

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

  /* ---- Simplify hero animations on mobile ---- */
  .hero h1,
  .hero p,
  .hero-buttons {
    animation: none;
    opacity: 1;
    transform: none;
  }

  /* ---- About grid: stack on mobile ---- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ---- Contact grid: stack on mobile ---- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ---- Gallery grid: 2 columns on mobile ---- */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  /* ---- Areas grid: 2 columns on mobile ---- */
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ---- Footer grid: single column on mobile ---- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
   Prefers Reduced Motion — Accessibility + Lighthouse Best Practices
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-boxes {
    display: none !important;
  }

  .hero h1,
  .hero p,
  .hero-buttons {
    animation: none;
    opacity: 1;
    transform: none;
  }
}