﻿/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: #f5f6f8;
  color: #333;
  line-height: 1.6;
}

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

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(90deg, #e2e3e6, #f4f5f7);
  padding: 12px 0;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

.site-nav a {
  margin-left: 18px;
  font-weight: 400;
  font-size: 0.95rem;
}

.site-nav a:hover {
  opacity: 0.75;
}

/* =========================
   MAIN CONTENT
========================= */
.main-content {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px 30px;
}

/* =========================
   HERO
========================= */
.hero {
  text-align: center;
  padding: 30px 20px 20px;
}

.hero i {
  color: #6c757d;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 6px;
}

.hero p {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 18px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #6c757d;
  color: #fff;
  border-radius: 8px;
  font-weight: 400;
  transition: background 0.3s, transform 0.3s;
}

.hero-btn:hover {
  background-color: #565e64;
  transform: translateY(-2px);
}

/* =========================
   HERO HOME BACKGROUND
========================= */
.hero-home {
  position: relative;
  background-image: url("../images/home-bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 70px 20px 60px;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 248, 0.7); /* reduced overlay opacity for more visible image */
}

.hero-home > * {
  position: relative;
  z-index: 1;
}

/* =========================
   TRUST BADGES
========================= */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.trust-badge i {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 6px;
}

.trust-badge:hover i {
  color: #565e64;
  transform: scale(1.1);
}

.trust-badge:hover span {
  color: #565e64;
}

/* =========================
   SERVICES
========================= */
.services-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
  background: repeating-linear-gradient(
    45deg,
    #f8f9fa,
    #f8f9fa 20px,
    #f0f1f3 20px,
    #f0f1f3 40px
  );
  padding: 30px 20px;
  border-radius: 14px;
}

.service-card {
  width: 260px;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 2.6rem;
  color: #6c757d;
  margin-bottom: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  color: #565e64;
}

.service-card h3 {
  font-weight: 400;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
}

/* =========================
   SERVICE POPUP
========================= */
.service-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.service-popup.show {
  display: flex;
}

.popup-content {
  background: #ffffff;
  padding: 34px 28px;
  border-radius: 16px;
  max-width: 560px;
  width: 92%;
  text-align: center;
  position: relative;
  line-height: 1.65;
}

.popup-content h3 {
  font-weight: 500;
  margin-bottom: 14px;
}

.popup-content p {
  color: #555;
  font-size: 0.98rem;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #666;
}

.popup-close:hover {
  color: #333;
}

/* =========================
   CONTACT FORM
========================= */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    135deg,
    #ffffff,
    #ffffff 25px,
    #f8f9fa 25px,
    #f8f9fa 50px
  );
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  background: #f8f9fa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #6c757d;
  box-shadow: 0 0 0 3px rgba(108,117,125,0.2);
}

.contact-form button {
  margin-top: 10px;
  padding: 14px;
  background: #6c757d;
  color: #fff;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.contact-form button:hover {
  background: #565e64;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  height: 60px;
  background: linear-gradient(90deg, #e2e3e6, #f4f5f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner a:hover {
  opacity: 0.8;
}
