/* Main form area */
.cls-contact-form {
  max-width: 760px;
  margin: 0 auto;
}

/* Rows */
.cls-contact-form .form-row {
  margin-bottom: 18px;
}

.cls-contact-form .two-col {
  display: flex;
  gap: 18px;
}

.cls-contact-form .form-field {
  width: 100%;
}

/* Labels */
.cls-contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #111;
}

/* Inputs */
.cls-contact-form input[type="text"],
.cls-contact-form input[type="email"],
.cls-contact-form input[type="tel"],
.cls-contact-form input[type="url"],
.cls-contact-form input[type="file"],
.cls-contact-form textarea {
  width: 100%;
  border: 1px solid #8d8d8d;
  background: #fff;
  padding: 12px 14px;
  font-size: 14px;
  box-sizing: border-box;
  border-radius: 0;
}

/* Textarea */
.cls-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Submit button */
.cls-contact-form input[type="submit"] {
  border: 1px solid #222;
  background: #fff;
  color: #111;
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cls-contact-form input[type="submit"]:hover {
  background: #0a2342;
  color: #fff;
  border-color: #0a2342;
}

/* Mobile */
@media (max-width: 768px) {
  .cls-contact-form .two-col {
    flex-direction: column;
    gap: 18px;
  }
}
.cls-contact-hero {
  background: linear-gradient(90deg, #081c34, #002b55);
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.cls-contact-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.1;
}

.cls-contact-hero h1 span {
  color: #00d8ff;
}

.cls-contact-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #f3f3f3;
}

@media (max-width: 768px) {
  .cls-contact-hero h1 {
    font-size: 34px;
  }

  .cls-contact-hero p {
    font-size: 16px;
  }
}
.cls-contact-hero h1 {
  text-align: center !important;
  display: block;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cls-contact-hero p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Force larger navigation text */
.wp-block-navigation .wp-block-navigation-item__content,
.wp-block-navigation-item__content,
.wp-block-pages-list__item__link,
.site-header a {
  font-size: 30px !important;
}
.wp-block-site-title a {
  font-size: 30px !important;
}
.wp-block-navigation__container {
  justify-content: center;
}

header .wp-block-site-logo,
header .wp-block-site-title {
  margin-right: 28px;
}
/* Navbar layout: logo left, menu right */
header .is-layout-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.wp-block-site-logo {
  margin-right: auto;
}
.wp-block-navigation {
  margin-left: auto;
}
.wp-block-navigation__container {
  gap: 28px;
}
.wp-block-navigation-item__content {
  position: relative;
}

.wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #0a2342;
  transition: width 0.2s ease;
}

.wp-block-navigation-item__content:hover::after {
  width: 100%;
}
/* Reduce space under navbar */
header {
  padding: 10px 0 !important;
}

/* Reduce top spacing of page content */
.wp-site-blocks {
  padding-top: 20px !important;
}

/* Tighten section spacing */
.wp-block-group {
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}
/* Increase content width */
.wp-block-group.alignwide,
.wp-block-group.alignfull {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
/* Reduce spacing between elements */
h1, h2, h3 {
  margin-bottom: 10px;
}


p {
  margin-bottom: 12px;
}
/* Services page image sizing */
.page-id-36 .wp-block-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}
.page-id-36 .wp-block-image {
  text-align: center;
}
.page-id-36 .wp-block-image {
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Button */
footer .wp-block-button__link {
  background: #1f73d8;
  color: white !important;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
}

footer .wp-block-button__link:hover {
  background: #155bb0;
}

/* Layout tightening */
footer .wp-block-columns {
  max-width: 1100px;
  margin: 0 auto;
  gap: 50px;
}

/* Fix huge vertical spacing */
footer .wp-block-column {
  margin-bottom: 0 !important;
}

/* Remove overly large spacing between links */
footer li {
  margin-bottom: 6px;
}
/* ===== FINAL CLS FOOTER POLISH ===== */

footer {
  background: linear-gradient(180deg, #0b2a4a, #0a2342);
  color: #ffffff;
  padding: 50px 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Headings */
footer h2, 
footer h3 {
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6fa8ff; /* slightly softer blue */
  margin-bottom: 14px;
}

/* Left + middle text (make more readable) */
footer p {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.7;
}

/* Links (reduce size + balance weight) */
footer .wp-block-navigation-item__content,
footer .wp-block-pages-list__item__link {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.95) !important;
  text-transform: none !important;
  line-height: 1.9;
  transition: color 0.2s ease;
}

/* Hover */
footer a:hover {
  color: #7fb3ff !important;
}

/* Button */
footer .wp-block-button__link {
  background: #1f73d8;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

footer .wp-block-button__link:hover {
  background: #155bb0;
}

/* Layout balance */
footer .wp-block-columns {
  max-width: 1100px;
  margin: 0 auto;
  gap: 60px;
}

/* Reduce vertical gaps */
footer li {
  margin-bottom: 6px;
}

/* Slightly tone down right column size */
footer .wp-block-navigation {
  transform: scale(0.95);
  transform-origin: top left;
}
/* ===== CLS CONTACT HERO ===== */

.cls-contact-hero {
  background: linear-gradient(135deg, #0a2342 0%, #1f73d8 100%);
  max-width: 900px;
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  border-radius: 6px;
}

/* Title */
.cls-contact-hero h1 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Subtext */
.cls-contact-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}
/* ===== CLS BRAND COLOR SYSTEM ===== */

/* Main colors */
:root {
  --cls-navy: #0a2342;
  --cls-blue: #1f73d8;
  --cls-light-blue: #7fb3ff;
  --cls-white: #ffffff;
  --cls-text: #1a1a1a;
  --cls-muted: #5f6b7a;
  --cls-bg: #f5f7fa;
}

/* General page */
body {
  color: var(--cls-text);
  background: #f3f3f3;
}

/* Links */
a {
  color: var(--cls-navy);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--cls-blue);
}

/* Header / navbar */
header {
  background: #ffffff;
  border-bottom: 1px solid rgba(10, 35, 66, 0.12);
}

.wp-block-navigation-item__content,
.wp-block-pages-list__item__link,
.wp-block-site-title a {
  color: var(--cls-text) !important;
}

.wp-block-navigation-item__content:hover,
.wp-block-pages-list__item__link:hover,
.wp-block-site-title a:hover {
  color: var(--cls-blue) !important;
}

/* Buttons */
.wp-block-button__link,
button,
input[type="submit"],
.wp-element-button {
  background: linear-gradient(135deg, var(--cls-blue), var(--cls-navy));
  color: var(--cls-white) !important;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Section headings */
h1, h2, h3 {
  color: var(--cls-navy);
}

/* Accent headings / small labels */
.section-label,
footer h2,
footer h3 {
  color: var(--cls-light-blue);
}

/* Contact hero / banner */
.cls-contact-hero {
  background: linear-gradient(135deg, var(--cls-navy) 0%, var(--cls-blue) 100%);
  border-top: 3px solid var(--cls-light-blue);
  max-width: 900px;
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  border-radius: 6px;
}

.cls-contact-hero h1 {
  color: var(--cls-white);
  text-shadow: 0 0 8px rgba(127,179,255,0.25);
}

.cls-contact-hero p {
  color: rgba(255,255,255,0.92);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
textarea,
select {
  border: 1px solid rgba(10, 35, 66, 0.25);
  background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cls-blue);
  box-shadow: 0 0 0 3px rgba(31,115,216,0.12);
}

/* Footer */
footer {
  background: linear-gradient(180deg, var(--cls-navy), #0b2a4a);
  color: var(--cls-white);
  border-top: 1px solid rgba(255,255,255,0.08);
}

footer p,
footer a,
footer li {
  color: rgba(255,255,255,0.88);
}

footer a:hover {
  color: var(--cls-light-blue) !important;
}

footer h2,
footer h3 {
  color: var(--cls-light-blue);
}

/* Optional thin accent lines */
hr,
.wp-block-separator {
  border-color: rgba(10, 35, 66, 0.18);
  color: rgba(10, 35, 66, 0.18);
}
/* ===== CLEAN CLS HEADER (FORCE OVERRIDE) ===== */

header {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 20px 0 14px !important;
}

/* Remove all extra lines */
header hr,
header .wp-block-separator {
  display: none !important;
}

/* Remove white strip */
header .wp-block-group,
header .is-layout-flex,
header .wp-block-navigation,
header .wp-block-navigation__container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Layout */
header .is-layout-flex {
  align-items: center !important;
  justify-content: center !important;
  gap: 28px !important;
}

/* Divider */
header::after {
  content: "";
  display: block;
  max-width: 900px;
  margin: 18px auto 0;
  border-bottom: 1px solid rgba(10, 35, 66, 0.18);
}
/* ===== BALANCED HEADER ===== */

header {
  padding: 14px 0 12px !important; /* not too big, not too tight */
  background: #ffffff !important;
  border-bottom: 1px solid rgba(10, 35, 66, 0.08) !important;
}

/* Clean inner spacing */
header .wp-block-group,
header .is-layout-flex {
  padding: 0 !important;
  margin: 0 !important;
  align-items: center !important;
}

/* Logo size (balanced) */
.wp-block-site-logo img {
  max-height: 46px !important;
}

/* Menu spacing */
.wp-block-navigation__container {
  gap: 22px !important;
}

/* Menu text size (clean) */
.wp-block-navigation-item__content {
  font-size: 15px !important;
}/* ===== CENTER HEADER + PREMIUM TOUCHES ===== */

/* Center the whole header row */
header .wp-block-group,
header .is-layout-flex {
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Balanced header spacing */
header {
  padding: 14px 0 12px !important;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(10, 35, 66, 0.08) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo size */
.wp-block-site-logo img {
  max-height: 90px !important;
  width: auto !important;
}

/* Menu spacing */
.wp-block-navigation__container {
  gap: 22px !important;
}

/* Menu text */
.wp-block-navigation-item__content,
.wp-block-pages-list__item__link {
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: relative;
  text-decoration: none !important;
}

/* Hover underline animation */
.wp-block-navigation-item__content::after,
.wp-block-pages-list__item__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #1f73d8;
  transition: width 0.22s ease;
}

.wp-block-navigation-item__content:hover::after,
.wp-block-pages-list__item__link:hover::after {
  width: 100%;
}

/* Hover color */
.wp-block-navigation-item__content:hover,
.wp-block-pages-list__item__link:hover {
  color: #1f73d8 !important;
}

/* Keep page content from hiding under sticky header */
body {
  padding-top: 0 !important;
}