:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #e7effa;
  background: #050814;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top left, rgba(49, 99, 214, 0.28), transparent 24%),
    radial-gradient(circle at 20% 0%, rgba(15, 155, 255, 0.18), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(7, 84, 178, 0.35), transparent 22%),
    linear-gradient(180deg, #04101f 0%, #061428 28%, #020612 100%);
  color: #f1f7ff;
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

p {
  color: #9ca3af;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.background-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 15% 15%, rgba(108, 189, 255, 0.16), transparent 18%),
    radial-gradient(circle at 80% 35%, rgba(57, 156, 255, 0.18), transparent 18%),
    radial-gradient(circle at 50% 85%, rgba(0, 135, 255, 0.14), transparent 14%);
  filter: blur(30px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  background: rgba(14, 27, 59, 0.54);
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(34, 70, 151, 0.95);
  color: #d6e8ff;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 15px 35px rgba(3, 35, 85, 0.25);
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.brand-tag {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: rgba(231, 239, 250, 0.72);
}

.top-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(10, 33, 71, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #b8d5ff;
  font-weight: 600;
}

main {
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeIn 1.2s ease-out;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 72%);
  filter: blur(60px);
  z-index: 0;
}

.hero-section * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  flex: 1;
  min-width: 280px;
}

.hero-media {
  flex: 1;
  min-width: 300px;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(59,130,246,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-media img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(59,130,246,0.12);
}

.eyebrow {
  margin: 0 0 16px;
  color: #7cc3ff;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero-section h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-description {
  margin: 24px 0 0;
  max-width: 720px;
  font-size: 1.1rem;
  color: rgba(235, 247, 255, 0.88);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.request-btn,
.btn,
.submit-btn {
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.request-btn {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: white;
  border: none;
}

.request-btn:hover,
.btn:hover,
.submit-btn:hover {
  transform: translateY(-2px);
}

.request-btn:hover {
  box-shadow: 0 0 14px rgba(34,197,94,0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn span {
  font-size: 1.1em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0,0,0,0.18);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #16a34a);
  color: white;
}

.hero-image-container {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(3, 35, 85, 0.4), 0 0 50px rgba(63, 125, 255, 0.2);
  height: 450px;
  animation: slideUp 1.5s ease-out 0.3s both;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(20, 46, 95, 0.3);
}

.hero-image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 70, 150, 0.4), rgba(10, 30, 70, 0.3));
  z-index: 1;
  border-radius: 32px;
  pointer-events: none;
}

.hero-image-container::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(63, 125, 255, 0.15), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 32px;
}

.hero-image {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 32px;
  position: relative;
  z-index: 2;
}

.services-section,
.trust-section,
.about-section,
.reviews-section,
.faq-section,
.contact-section {
  margin-top: 60px;
  padding: 60px 24px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 14, 34, 0.85);
  backdrop-filter: blur(30px);
  animation: fadeIn 1s ease-out 0.6s both;
}

.services-section,
.about-section,
.contact-section,
.faq-section,
.reviews-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  text-align: center;
}

.contact-section {
  text-align: center;
}

.contact-section .container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-section p {
  color: #9ca3af;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 500px;
  margin: auto;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: #1e293b;
  color: white;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(226, 236, 255, 0.55);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid #3b82f6;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right, #3b82f6, #22c55e);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.submit-btn:focus {
  outline: 2px solid rgba(59, 130, 246, 0.8);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  background: #0f172a;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  width: 300px;
}

.popup-content button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #22c55e;
  color: white;
  cursor: pointer;
}

.section-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #72c2ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.services-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  animation: slideUp 0.8s ease-out both;
  animation-delay: 0.8s;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:nth-child(2) {
  animation-delay: 1s;
}

.service-card:nth-child(3) {
  animation-delay: 1.2s;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59,130,246,0.22);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card * {
  position: relative;
  z-index: 1;
}

.image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-content {
  padding: 18px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 20px;
  background: rgba(20, 46, 95, 0.95);
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  line-height: 1.7;
  color: rgba(226, 236, 255, 0.85);
  font-size: 14px;
}

.trust-section {
  margin-top: 42px;
}

.trust-intro {
  padding: 28px;
}

.trust-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.trust-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(9, 19, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: rgba(119, 182, 255, 0.35);
}

.trust-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  color: rgba(226, 236, 255, 0.82);
  line-height: 1.8;
}

.about-section {
  position: relative;
  padding: 80px 20px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}

.about-section::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 72%);
  filter: blur(60px);
  z-index: 0;
}

.about-section * {
  position: relative;
  z-index: 1;
}

.about-text {
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.about-text h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-text p {
  color: #9ca3af;
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-text strong {
  color: #3b82f6;
}

.about-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-points li {
  margin-bottom: 12px;
  color: white;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(17, 34, 68, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-card span {
  display: block;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #80b7ff;
  margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
  display: block;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.whatsapp-link {
  color: #baf5bd;
}

.reviews-section {
  padding: 80px 20px;
  text-align: center;
}

.reviews-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.reviews-section p {
  color: #9ca3af;
  margin-bottom: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.review-card {
  background: #1e293b;
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  color: white;
  transition: 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  font-size: 18px;
  margin-bottom: 10px;
}

.review-card h4 {
  margin-top: 15px;
  font-size: 14px;
  color: #94a3b8;
}

.faq-section {
  padding: 80px 20px;
}

.faq-section .section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.faq-section .section-heading h2 {
  font-size: 32px;
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f8fbff;
  font-weight: 600;
  font-size: 1rem;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle {
  background: rgba(34, 197, 94, 0.2);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  margin-top: 16px;
  color: #cbd5e1;
  line-height: 1.8;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 260px;
}

@media (max-width: 640px) {
  .faq-item {
    padding: 18px 20px;
  }
}

@media (min-width: 880px) {
  .hero-section {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }

  .hero-panel {
    margin-top: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-section {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    margin-top: 26px;
  }

  .page-shell {
    padding: 20px 15px 70px;
  }

  .services-grid,
  .trust-grid,
  .contact-grid,
  .reviews-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .services-section,
  .trust-section,
  .about-section,
  .reviews-section,
  .faq-section,
  .contact-section {
    padding: 45px 15px;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-image-container,
  .services-section,
  .trust-intro,
  .trust-card,
  .about-section,
  .contact-section,
  .contact-card,
  .about-highlights div {
    border-radius: 24px;
  }

  .service-image-wrapper {
    height: auto;
  }

}
.electrical .image-container {
  height: 200px;
}
