/* ================================
   GLOBAL RESET
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.6;
}

:root {
  --navy: #10213f;
  --deep-blue: #173f8f;
  --logo-blue: #2454c6;
  --ice-blue: #4aaee8;
  --light-blue: #dbeafe;
  --soft-bg: #f3f7fc;
  --white: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ================================
   HEADER + NAVIGATION
================================ */

.site-header {
  width: 100%;
  min-height: 50px;
  padding: 2px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background-color: #f3f4f6;
  border-bottom: 1px solid #e5e9f2;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  width: 275px;
  height: 150px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  color: #0f172a;
}

.main-nav a:hover {
  color: #2454c6;
}

.nav-button {
  padding: 10px 20px;
  background-color: #10213f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-button:hover {
  background-color: #2454c6;
}

/* ================================
   HERO SECTIONS
================================ */

.page-hero,
.home-hero {
  padding: 50px 8%;
  background:
    linear-gradient(
      135deg,
      rgba(16, 33, 63, 0.98),
      rgba(36, 84, 198, 0.9),
      rgba(74, 174, 232, 0.82)
    ),
    #10213f;
  border-bottom: 1px solid #d7e3f1;
}

.hero-content {
    max-width: 900px;
}

.small-heading {
    margin: 0 0 12px;
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #dbeafe;
}

.page-hero h1,
.home-hero h1 {
    max-width: 850px;
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    color: #ffffff;
}

.page-hero p,
.hero-text {
    max-width: 760px;
    margin-bottom: 26px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e8f6fb;
}

/* ================================
   BUTTONS
================================ */

.button-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.primary-button,
.secondary-button,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* White/light background buttons */
.primary-button,
.nav-button {
  background-color: var(--logo-blue);
  color: #ffffff;
  border: 2px solid var(--logo-blue);
}

.primary-button:hover,
.nav-button:hover {
  background-color: var(--navy);
  border-color: var(--navy);
}

/* Blue/dark background buttons */
.secondary-button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.secondary-button:hover {
  background-color: #ffffff;
  color: var(--navy);
}

/* Make buttons on blue sections use the white outline style */
.home-hero .primary-button,
.page-hero .primary-button,
.cta-section .primary-button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.home-hero .primary-button:hover,
.page-hero .primary-button:hover,
.cta-section .primary-button:hover {
  background-color: #ffffff;
  color: var(--navy);
}

/* ================================
   GENERAL SECTIONS
================================ */

.section {
  padding: 58px 8%;
}

.section:nth-of-type(even) {
  background-color: #f2f7fb;
}

.section h2,
.cta-section h2 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  color: #10213f;
}

.section p,
.section li,
.cta-section p {
  max-width: 900px;
  font-size: 1.04rem;
  color: #334155;
}

.dark-section {
  background-color: #10213f !important;
  color: #ffffff;
}

.dark-section h2,
.dark-section p {
  color: #ffffff;
}

/* ================================
   TRUST STRIP
================================ */

.trust-strip {
  padding: 32px 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background-color: #0b172d;
  color: #ffffff;
}

.trust-strip h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.trust-strip p {
  margin: 0;
  color: #d7eaf2;
}

/* ================================
   CARDS
================================ */

.card-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.step-card,
.service-detail-card,
.faq-item {
  padding: 26px;
  background-color: #ffffff;
  border: 1px solid #d7e3f1;
  border-top: 5px solid var(--logo-blue);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(16, 33, 63, 0.08);
}

.service-card h3,
.step-card h3,
.service-detail-card h3,
.faq-item h2 {
  margin-top: 0;
  color: #10213f;
}

.service-card a {
  display: inline-block;
  margin-top: 10px;
  color: #2454c6;
  font-weight: 800;
  text-decoration: none;
}

.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #2454c6;
  color: #ffffff;
  font-weight: 900;
}

.service-detail-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

/* ================================
   CTA SECTION
================================ */

.cta-section {
  padding: 60px 8%;
  background:
    linear-gradient(135deg, #10213f, #2454c6);
  text-align: center;
}

.cta-section h2,
.cta-section p {
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Blue background buttons */
.home-hero .primary-button,
.home-hero .secondary-button,
.page-hero .primary-button,
.page-hero .secondary-button,
.cta-section .primary-button,
.cta-section .secondary-button {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.home-hero .primary-button:hover,
.home-hero .secondary-button:hover,
.page-hero .primary-button:hover,
.page-hero .secondary-button:hover,
.cta-section .primary-button:hover,
.cta-section .secondary-button:hover {
  background-color: #ffffff;
  color: var(--navy);
}

/* ================================
   FORMS
================================ */

.form-page {
  padding: 54px 8%;
  background-color: #f2f7fb;
}

.form-intro-card,
.form-card {
  max-width: 850px;
  margin: 0 auto 22px;
  padding: 26px;
  background-color: #ffffff;
  border: 1px solid #d7e3f1;
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(16, 33, 63, 0.08);
}

.form-logo {
  width: 190px;
  height: auto;
  margin: 0 auto 18px;
}

.form-intro-card h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  line-height: 1.15;
  color: #10213f;
}

.form-intro-card h2 {
  color: #2454c6;
}

.client-form label,
.contact-form label {
  display: block;
  margin: 14px 0 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #b9cadc;
  border-radius: 8px;
  font-size: 1rem;
}

.form-card label input {
  width: auto;
  margin-right: 8px;
}

.question-title {
  font-weight: 900;
  color: #10213f;
}

.required-note {
  color: #b91c1c;
  font-weight: 800;
}

/* ================================
   CONTACT
================================ */

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: 20px 24px;
  border: 1px solid #d7e3f1;
  border-top: 5px solid var(--logo-blue);
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 33, 63, 0.07);
}

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #10213f;
}

.contact-info p {
  margin: 0 0 16px;
  font-size: 0.98rem;
}

.contact-form label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #b9cadc;
  border-radius: 7px;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 130px;
}

.contact-form .primary-button {
  margin-top: 12px;
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* ================================
   FOOTER
================================ */

.site-footer {
  padding: 50px 8%;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  background-color: #0b172d;
  color: #ffffff;
}

.site-footer h3 {
  margin-top: 0;
  color: #ffffff;
}

.site-footer p,
.site-footer a {
  display: block;
  color: #d7eaf2;
  text-decoration: none;
  margin-bottom: 10px;
}

.site-footer a:hover {
  color: #dbeafe;
}


/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 1000px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 5%;
    gap: 20px;
  }

  .site-logo {
    width: 180px;
    height: auto;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  .main-nav a {
    font-size: 1rem;
  }

  .nav-button {
    width: 220px;
    text-align: center;
    padding: 14px;
  }

  .home-hero,
  .page-hero,
  .section,
  .cta-section,
  .form-page {
    padding: 40px 6%;
  }

  .hero-content {
    max-width: 100%;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .hero-text,
  .page-hero p {
    font-size: 1rem;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    text-align: center;
  }

  .card-grid,
  .steps-grid,
  .trust-strip,
  .contact-section,
  .site-footer,
  .forms-hub {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-side-image {
    width: 100%;
    height: auto;
  }
}
/* ================================
   FORMS HUB
================================ */

.forms-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.forms-card {
  padding: 28px;
  background-color: #ffffff;
  border: 1px solid #d7e3f1;
  border-top: 5px solid var(--logo-blue);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(16, 33, 63, 0.08);
}

.forms-card h2 {
  font-size: 1.6rem;
}

.contact-info,
.contact-form {
  padding: 22px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.9rem;
}

@media (max-width: 1000px) {

  .forms-hub {
    grid-template-columns: 1fr;
  }

}

/* ================================
   COPYRIGHT
================================ */

.copyright {
    background-color: #081221;
    text-align: center;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.copyright p {
    margin: 0;
    color: #b8c7d9;
    font-size: 0.9rem;
}

/* ================================
   SERVICE PAGE IMAGE ROWS
================================ */

.service-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.service-detail-content {
  max-width: 720px;
}

.service-side-image {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 33, 63, 0.18);
}

@media (max-width: 800px) {
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-side-image {
    width: 100%;
    height: 220px;
  }
}

.forms-card-buttons{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
}

.forms-card-buttons .primary-button,
.forms-card-buttons .secondary-button{
    width:100%;
    text-align:center;
}

.secondary-button{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    padding:14px 22px;
    background:#ffffff;
    color:#3C59BF;
    border:2px solid #3C59BF;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.secondary-button:hover{
    background:#eef3ff;
}

.forms-card-note{
    margin-top:16px;
    font-size:.9rem;
    color:#6b7280;
    line-height:1.5;
}