/* ================================
   Design Tokens
================================ */
:root {
  /* Brand */
  --primary: #1863B1;
  --button-hover: #155a9e;

  /* Palette */
  --background: #ffffff;
  --text: #1c1c1c;
  --muted: #6c757d;
  --accent-bg: #f3f6f9;

  /* Neutrals & Lines */
  --black: #000000;
  --white: #ffffff;
  --border: #dddddd;
  --input-border: #cccccc;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 6px 18px rgba(0, 0, 0, 0.12);
  --overlay: rgba(0, 0, 0, 0.6);
  --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
  --modal-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ================================
   Base Reset
================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* ================================
   Header / Brand / Nav
================================ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  padding: 20px 20px;
  color: var(--black);
}

.brand { display: flex; align-items: center; gap: 15px; font-family: ProximaNova, sans-serif; }
.logo { height: 50px; display: block; }
.brand p { text-transform: uppercase; font-weight: 600; font-size: 18px; line-height: 20px; }
.brand-tagline { font-weight: 300; color: #444; }

nav { display: flex; gap: 30px; align-items: center; }
nav a {
  color: var(--black);
  font-family: ProximaNova, sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
nav a:hover { color: var(--primary); }

nav button, .button {
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-family: ProximaNova, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}
nav button:hover, .button:hover { background-color: var(--button-hover); }

/* ================================
   Sections
================================ */
section { padding: 40px 40px; margin: auto; }
section.alt { background-color: var(--accent-bg); }
section h2 { font-size: 32px; margin-bottom: 20px; }
section p { font-size: 18px; color: var(--muted); }

/* ================================
   Footer
================================ */
footer {
  background-color: var(--accent-bg);
  color: var(--black);
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

/* ================================
   Popup / Modal
================================ */
.popup-overlay {
  position: fixed; inset: 0;
  background: var(--overlay);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup-overlay.active { display: flex; }

.popup {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--modal-shadow);
  position: relative;
}
.popup h2 { margin-bottom: 20px; color: var(--primary); }
.popup form label { display: block; margin-bottom: 6px; font-weight: 600; }
.popup form input,
.popup form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid var(--input-border);
  font-family: inherit;
}
.popup .close-btn {
  position: absolute; top: 12px; right: 18px;
  font-size: 26px; cursor: pointer; color: #666;
}

/* ================================
   Hero Section
================================ */
.home-hero {
  padding: 0;               
  margin: 0;
  width: 100%;
  height: clamp(400px, 75vh, 900px);
  overflow: hidden;  
}

.home-hero img {
  display: block;    
  width: 100%;
  height: 100%;
  object-fit: cover;   
  object-position: center;  
}

.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6); 
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ================================
   About Section – Split Layout
================================ */
.about-section { display: flex; align-items: center; gap: 40px; }
.about-content { flex: 1; max-width: 60%; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { font-size: 18px; color: var(--muted); margin-bottom: 18px; }
.about-image { flex: 1; display: flex; justify-content: center; }
.about-image img {
  max-width: 40%;
  border-radius: 12px;
}

/* ===== Services: Static Image + Text ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Flattened “cards” — now just static blocks */
.service-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  /* remove motion */
  transition: none;
}

.service-card:nth-child(2) .service-media img {
  object-fit: contain;   
  padding: 12px;         
}

.service-media {
  aspect-ratio: 4 / 3;
  overflow: hidden; /* keeps image nicely clipped */
  background: var(--accent-bg);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* no hover zoom */
  transition: none;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 2px 0;    /* light spacing, no “card” padding */
  min-height: 0;          /* no forced equal height */
}

.service-index {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.service-body h3 {
  font-size: 18px;
  color: var(--text);
  margin-top: 2px;
}

.service-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Simple text link—no top border */
.service-link {
  margin-top: 8px;
  font-size: 13px;
  text-decoration: none;
  color: var(--primary);
}
.service-link:hover {
  text-decoration: underline;
  color: var(--button-hover);
}

/* ================================
   Pricing Section
================================ */
.pricing-container {
  display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap;
}
.pricing-card {
  background: var(--white);
  border: 2px solid transparent;           /* fixed thickness to avoid layout shift */
  border-radius: 12px;
  padding: 2rem;
  width: 280px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 2rem; font-weight: bold; margin: 1rem 0; color: var(--primary); }
.price span { font-size: 1rem; color: #666; }
.pricing-card ul { list-style: none; padding: 0; margin: 1.5rem 0; color: #555; }
.pricing-card ul li { margin: 0.5rem 0; }
.pricing-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.pricing-btn:hover { background: var(--button-hover); }
.featured { transform: scale(1.05); box-shadow: var(--shadow-xl); }

/* ================================
   Contact Section
================================ */
.contact-inner { max-width: 920px; margin: 0 auto; text-align: center; } /* h2 sits outside */

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  line-height: 1.4;
}
.contact-item svg {
  width: 22px; height: 22px; fill: var(--text);
  flex: 0 0 22px;
}
.contact-item strong { font-weight: 700; }

.contact-divider {
  border: none;
  border-top: 1px solid var(--text);
  margin: 22px auto;
  max-width: 300px;
}

.contact-social {
  display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 20px;
}
.social {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.social svg { width: 30px; height: 30px; fill: var(--text); }
.social:hover { transform: translateY(-2px); background: var(--primary); }

/* ================================
   Responsive
================================ */
@media (max-width: 900px) {
  .about-section { flex-direction: column; }
  .about-content { max-width: 100%; }
}

/* Desktop: keep original nav, hide mobile UI */
.hamburger,
.mobile-menu { display: none !important; }

header nav { display: flex; } /* ensure desktop nav shows */
