/* styles.css */

:root {
  --primary: #007acc;
  --accent: #003d66;
  --light-bg: #f5faff;
  --alt-bg: #eaf4fb;
  --text: #222;
  --white: #ffffff;
  --font-main: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
}

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

/* ── HEADER ── */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 20px;
}

.top-left {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.top-center nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.top-center nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
  white-space: nowrap;
}

.top-center nav a:hover {
  text-decoration: underline;
}

.top-right {
  font-weight: bold;
}

.call-link {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  white-space: nowrap;
}

.call-link i {
  font-size: 1em;
}

/* ── HERO SPLIT ── */
#hero.hero-split {
  background-color: var(--alt-bg);
  padding: 60px 20px;
}

.split-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.hero-left {
  flex: 1 1 340px;
}

.hero-right {
  flex: 1 1 320px;
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tagline {
  font-size: clamp(1.2em, 3vw, 1.6em);
  margin-bottom: 20px;
}

.service-bullets {
  list-style: none;
  padding: 0;
}

.service-bullets li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.service-bullets i {
  color: green;
  margin-right: 10px;
}

/* ── FORM ── */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-row > * {
  flex: 1 1 140px;
  min-width: 0;
}

input, select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font-size: 1em;
  font-family: var(--font-main);
}

button.btn-primary,
a.btn-primary {
  display: inline-block;
  padding: 12px 20px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
  text-decoration: none;
  text-align: center;
  width: 100%;
  font-family: var(--font-main);
}

button.btn-primary:hover,
a.btn-primary:hover {
  background-color: #005fa3;
}

small {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #666;
}

/* ── SERVICES ── */
#services {
  background: var(--white);
  padding: 60px 20px;
}

#services h2,
#about h2,
#contact h2 {
  font-size: clamp(1.3em, 3vw, 1.8em);
  margin-bottom: 10px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  justify-content: flex-start;
}

.service-card {
  flex: 1 1 160px;
  background: var(--alt-bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.service-card i {
  font-size: 1.5em;
  margin-bottom: 10px;
  display: block;
  color: var(--primary);
}

/* ── ABOUT / CONTACT ── */
.alt-bg {
  background-color: var(--alt-bg);
  padding: 60px 20px;
}

#contact {
  padding: 60px 20px;
}

/* ── FOOTER ── */
footer {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
}

/* ── CLIENT LOGOS ── */
.client-logo {
  background: var(--light-bg);
  padding: 40px 0;
  text-align: center;
}

.trusted-heading {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--accent);
}

.trusted-logo {
  max-height: 80px;
  width: auto;
  display: inline-block;
}

/* ── THANK YOU PAGE ── */
.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
  padding: 40px 20px;
}

.thankyou-box {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.thankyou-box h1 {
  font-size: clamp(1.8em, 5vw, 2.4em);
  color: #0b5ed7;
  margin-bottom: 15px;
}

.thankyou-box p {
  font-size: 1em;
  color: #333;
  margin-bottom: 10px;
}

.thankyou-box .btn-primary {
  margin-top: 25px;
  width: auto;
  display: inline-block;
  padding: 12px 30px;
}

/* ── CONFIRMATION ── */
.confirmation {
  text-align: center;
  color: green;
  font-weight: bold;
  margin: 20px 0;
  font-size: 1.1em;
}

/* ═══════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 8px;
    padding: 10px 16px;
  }

  .top-center {
    order: 3;
    width: 100%;
  }

  .top-center nav ul {
    gap: 14px;
    justify-content: flex-start;
  }

  .split-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .hero-left,
  .hero-right {
    flex: 1 1 100%;
  }

  .service-grid {
    justify-content: center;
  }

  .service-card {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .top-bar-inner {
    padding: 10px 12px;
  }

  .logo img {
    height: 46px;
  }

  .call-link {
    font-size: 0.9em;
  }

  .top-center nav ul {
    gap: 10px;
  }

  .top-center nav a {
    font-size: 0.9em;
  }

  #hero.hero-split {
    padding: 36px 16px;
  }

  .hero-right {
    padding: 20px 16px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row > * {
    flex: 1 1 100%;
  }

  .service-card {
    flex: 1 1 100%;
  }

  .thankyou-box {
    padding: 36px 20px;
  }

  #services,
  .alt-bg,
  #contact {
    padding: 40px 16px;
  }
}
