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

:root {
  --primary: #0047AB;
  --secondary: #FFEB3B;
  --text: #1a1a1a;
  --text-light: #666;
  --border: #e0e0e0;
  --bg: #f8f8f8;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-svg {
  height: 60px;
  width: auto;
  max-width: 300px;
  display: block;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.main-nav {
  display: flex;
  gap: 40px;
  flex: 1;
  margin-left: 60px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.actions {
  display: flex;
  gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: 1.5px solid transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-primary:hover {
  background: #e55a24;
  border-color: #e55a24;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: #003a66;
  border-color: #003a66;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

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

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.search-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: stretch;
}

.search-form select,
.search-form input {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--white);
  transition: border-color 0.3s ease;
}

.search-form select:focus,
.search-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-form select {
  min-width: 200px;
  cursor: pointer;
}

.search-form input {
  flex: 1;
  min-width: 200px;
}

.search-form .btn {
  padding: 14px 30px;
  white-space: nowrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.img-box {
  aspect-ratio: 500 / 600;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.img-box:hover {
  transform: translateY(-8px);
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats > .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-box {
  padding: 20px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  padding: 80px 0;
}

.services-grid h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.card-image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 16px 12px 8px;
}

.service-card p {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  padding: 0 12px 16px;
}

/* ===== CATEGORY SECTIONS ===== */
.category-section {
  padding: 60px 0;
  background: var(--bg);
}

.category-section:nth-child(even) {
  background: var(--white);
}

.category-section h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text);
}

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

.category-card {
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.category-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== BANNER SECTIONS ===== */
.banner-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.banner-section.alt {
  background: var(--white);
}

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

.banner-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.banner-text p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
}

.banner-text .btn {
  margin-top: 10px;
}

.banner-image {
  height: 400px;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.banner-section.alt .banner-content {
  direction: rtl;
}

.banner-section.alt .banner-text,
.banner-section.alt .banner-image {
  direction: ltr;
}

/* ===== APPLIANCE SECTION ===== */
.appliance-section {
  padding: 80px 0;
  background: var(--bg);
}

.appliance-section h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.appliance-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.appliance-item:hover .appliance-image {
  transform: scale(1.05);
}

.appliance-image {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.appliance-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--white);
}

.how-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: var(--white);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ===== RESULTS SECTION ===== */
.results {
  padding: 60px 0;
}

.results.hidden {
  display: none;
}

.results h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.results p {
  color: var(--text-light);
  margin-bottom: 30px;
}

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

.pro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.pro-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pro-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 600;
}

.pro-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.rating {
  color: #ff9800;
  font-size: 14px;
  margin-bottom: 10px;
}

.pro-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.pro-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 20px;
  margin-top: 80px;
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column a {
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero > .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .image-grid {
    max-width: 300px;
    margin: 0 auto;
  }

  .main-nav {
    display: none;
  }

  .search-wrapper {
    flex-direction: column;
  }

  .search-form select,
  .search-form input,
  .search-form .btn {
    width: 100%;
  }

  .stats > .container {
    grid-template-columns: 1fr;
  }

  .banner-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .banner-section.alt .banner-content {
    direction: ltr;
  }

  .banner-image {
    height: 250px;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .appliance-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
  }

  .appliance-image {
    height: 100px;
    font-size: 28px;
  }

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

