/* Import modern Arabic Font Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design System */
:root {
  --hue: 205;
  --primary: hsl(var(--hue), 85%, 42%);
  --primary-light: hsl(var(--hue), 80%, 55%);
  --primary-dark: hsl(var(--hue), 90%, 25%);
  --accent: hsl(38, 95%, 55%); /* Premium Gold */
  --accent-light: hsl(38, 100%, 70%);
  --whatsapp: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Neutral Colors */
  --bg-light: hsl(var(--hue), 30%, 98%);
  --bg-deep: hsl(var(--hue), 25%, 95%);
  --bg-dark: hsl(var(--hue), 35%, 10%);
  --bg-dark-card: hsla(var(--hue), 35%, 15%, 0.8);
  --bg-surface: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-glass-dark: rgba(255, 255, 255, 0.08);
  
  --text-main: hsl(var(--hue), 30%, 15%);
  --text-muted: hsl(var(--hue), 15%, 45%);
  --text-white: #ffffff;
  
  /* Shadows and Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 30px -5px rgba(15, 76, 129, 0.12), 0 10px 15px -5px rgba(15, 76, 129, 0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-filter: blur(12px) saturate(180%);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

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

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Section Titles */
.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: hsla(var(--hue), 85%, 45%, 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
  border: 1px solid hsla(var(--hue), 85%, 45%, 0.15);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 1.1rem;
}

/* Primary Button Custom Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--text-white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

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

header.sticky {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
}

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

.logo svg {
  width: 35px;
  height: 35px;
  fill: var(--primary);
}

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

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  padding: 5px 0;
  position: relative;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-color: var(--bg-deep);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(244, 247, 250, 0.95) 40%, rgba(244, 247, 250, 0.6) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsla(var(--hue), 85%, 45%, 0.08);
  border: 1px solid hsla(var(--hue), 85%, 45%, 0.15);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.hero-tag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.8;
}

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

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 25px;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.hero-feat-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-box {
  width: 100%;
  max-width: 450px;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--text-white);
  position: relative;
  z-index: 2;
}

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

.hero-visual-decoration {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, hsla(var(--hue), 85%, 45%, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-visual-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  z-index: 3;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
}

.hero-visual-badge .badge-icon {
  background-color: var(--primary);
  color: var(--text-white);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-badge .badge-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.hero-visual-badge .badge-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.hero-visual-badge .badge-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Stats Section */
.stats {
  background-color: var(--bg-deep);
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

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

.stat-item {
  padding: 20px;
  text-align: center;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 5px;
}

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

.stat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Services Section */
.services {
  background-color: var(--bg-light);
}

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

.service-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

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

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

.service-icon-wrap {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(15, 76, 129, 0.25);
  z-index: 2;
}

.service-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.service-content {
  padding: 35px 25px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

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

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition);
}

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

/* Why Choose Us Section */
.why-us {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow: hidden;
}

.why-us-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-size: cover;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.why-us .container {
  position: relative;
  z-index: 2;
}

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

.why-us .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.why-us-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.why-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass-dark);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.why-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.why-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.why-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.why-us-visual {
  position: relative;
}

.why-us-img-box {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Work Process Section */
.process {
  background-color: var(--bg-light);
}

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

.process-grid::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 10%;
  width: 80%;
  height: 2px;
  background: dashed rgba(15, 76, 129, 0.15);
  z-index: 1;
}

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

.process-num {
  width: 60px;
  height: 60px;
  background-color: var(--text-white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.process-step:hover .process-num {
  background-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: 0 0 0 10px hsla(var(--hue), 85%, 45%, 0.1);
}

.process-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0 10px;
}

/* Gallery Section */
.gallery {
  background-color: var(--bg-deep);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  background: var(--text-white);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 280px;
  box-shadow: var(--shadow-md);
  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: linear-gradient(0deg, rgba(15, 76, 129, 0.9) 0%, rgba(15, 76, 129, 0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-overlay h4 {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
  overflow: hidden;
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
}

.testimonial-card {
  padding: 40px;
  text-align: center;
}

.quote-icon {
  color: hsla(var(--hue), 85%, 45%, 0.15);
  margin-bottom: 20px;
}

.quote-icon svg {
  width: 50px;
  height: 50px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 30px;
  font-style: italic;
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.client-stars {
  color: var(--accent);
  display: flex;
  gap: 3px;
}

.client-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.client-name {
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.1rem;
}

.client-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

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

.slider-btn {
  background: var(--text-white);
  border: 1px solid var(--border-glass);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.slider-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

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

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(15, 76, 129, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 25px;
  border-radius: 10px;
}

/* Contact Us Section */
.contact {
  background-color: var(--bg-deep);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
}

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

.contact-info-card {
  padding: 30px;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-icon {
  background-color: hsla(var(--hue), 85%, 45%, 0.08);
  color: var(--primary);
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: hsla(var(--hue), 85%, 45%, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.map-container {
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-glass);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form-card {
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 25px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--text-white);
  box-shadow: 0 0 0 3px hsla(var(--hue), 85%, 45%, 0.1);
}

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

.form-message {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
  margin-top: 15px;
}

.form-message.success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  display: block;
}

/* Footer Section */
footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 70px 0 25px;
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-logo svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-light);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-light);
}

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

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--primary-light);
  transform: translateX(-5px);
}

.footer-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

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

.floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--whatsapp);
  z-index: -1;
  animation: pulse-green 2s infinite;
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  transform: scale(1.1);
}

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

.floating-call::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary);
  z-index: -1;
  animation: pulse-blue 2s infinite;
  animation-delay: 0.5s;
}

.floating-call:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: var(--transition);
}

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

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

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Animations */
@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes pulse-blue {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Scroll reveal class defaults */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for scroll reveal */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-img-box img {
    height: 350px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .process-grid::after {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--glass-filter);
    -webkit-backdrop-filter: var(--glass-filter);
    box-shadow: -5px 5px 15px rgba(0,0,0,0.05);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 20px;
    transition: var(--transition);
    border-right: 1px solid var(--border-glass);
    z-index: 999;
  }

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

  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-actions .btn-primary {
    display: none; /* Hide top bar CTA button on mobile, user can click float buttons */
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-tag {
    justify-content: center;
  }

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

  .hero-features {
    justify-content: center;
  }

  .hero-visual {
    order: -1; /* Display image on top on mobile */
  }

  .hero-img-box {
    height: 380px;
    max-width: 100%;
  }

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

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

  .why-us-features {
    grid-template-columns: 1fr;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
