
:root {
  --navy: #0A2540;
  --sapphire-1: #0A2C6B;
  --sapphire-2: #13438F;
  --sapphire-3: #2E6BE0;
  --sapphire-sheen: #7AA6FF;
  --gold: #E3A33C;
  --gold-dark: #C7872A;
  --ink: #152042;
  --slate: #5C6B85;
  --slate-light: #8C99B3;
  --line: #E4E9F2;
  --surface: #F6F8FC;
  --white: #FFFFFF;
  --success: #1E8E5A;
  --error: #C0392B;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 30px rgba(10,37,80,0.08);
  --shadow-card: 0 20px 50px rgba(10,37,80,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: rgb(241 245 249 / var(--tw-bg-opacity, 1));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; color: var(--navy); line-height: 1.25; }
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  text-decoration: none;
}
.brand .bi { color: var(--sapphire-3); }
.brand .accent { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--slate);
  padding: 8px 2px;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.nav-toggle .bi { font-size: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.is-open { max-height: 500px; }
  .nav-links a { width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--line); }
}

/* HERO SECTION */
.contact-hero {
  background: linear-gradient(135deg, var(--sapphire-1) 0%, var(--sapphire-2) 55%, var(--sapphire-3) 100%);
  padding: 60px 0;
  text-align: center;
}
.contact-hero .eyebrow { color: var(--sapphire-sheen); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.contact-hero h1 { color: var(--white); font-size: 42px; font-weight: 700; margin-bottom: 18px; }
.contact-hero p { color: rgba(255,255,255,0.86); font-size: 16.5px; line-height: 1.7; max-width: 700px; margin: 0 auto; }

/* CONTACT SPLIT GRID */
.contact-split { padding: 60px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* LEFT SIDE: DETAILS & CARDS */
.info-sidebar { display: flex; flex-direction: column; gap: 24px; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.info-heading-group { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #EAF0FF; color: var(--sapphire-3);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-card h3 { font-size: 18px; font-weight: 700; }
.info-card p { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 12px; }
.info-card .meta-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px; font-weight: 600; color: var(--sapphire-3);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.info-card .meta-link:hover { text-decoration: underline; }

/* RIGHT SIDE: FORM CARD */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.form-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-card .sub-text { color: var(--slate); font-size: 14px; margin-bottom: 28px; }

.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--navy); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.input-wrapper { position: relative; }
.input-wrapper .bi {
  position: absolute; left: 16px; top: 50%;
  transform: translateY(-50%); color: var(--slate-light); font-size: 18px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-size: 15px; color: var(--navy);
  padding: 14px 16px 14px 46px; border: 2px solid var(--line);
  border-radius: var(--radius-sm); outline: none; background: var(--surface);
  transition: all .2s ease;
}
.form-group textarea { padding-left: 16px; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--sapphire-3); background: var(--white);
}

.form-error { font-size: 12.5px; color: var(--error); font-weight: 600; margin-top: 6px; display: none; }
.form-error.show { display: block; }

.submit-btn {
  width: 100%; position: relative;
  background: linear-gradient(135deg, var(--sapphire-3) 0%, var(--sapphire-2) 55%, var(--navy) 100%);
  color: var(--white); font-weight: 700; font-size: 15.5px; padding: 15px 0;
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 14px 28px rgba(10,37,80,0.25); transition: transform .15s ease, opacity .2s;
}
.submit-btn:hover { transform: translateY(-2px); }
.submit-btn.is-loading .btn-label { display: none; }
.submit-btn .spinner {
  display: none; width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3); border-top-color: var(--white); border-radius: 50%;
  animation: spin .7s linear infinite;
}
.submit-btn.is-loading .spinner { display: block; }

/* SUCCESS BANNER STYLES */
.success-banner {
  display: none; background: #E7F6EE; border: 1px solid rgba(30,142,90,0.25);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 24px; text-align: left;
}
.success-banner.show { display: block; }
.success-banner p { font-size: 15px; color: var(--navy); font-weight: 600; margin: 0; line-height: 1.4; }

/* BOTTOM FEATURE SECTION */
.grid-section { padding: 60px 0; border-top: 1px solid var(--line); background: rgba(15, 23, 42, 0.02); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--sapphire-3); margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 30px; margin-bottom: 10px; }
.section-head p { color: var(--slate); font-size: 15px; line-height: 1.6; }

.feature-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border-radius: var(--radius-md); padding: 30px 26px; border: 1px solid var(--line); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--sapphire-2), var(--sapphire-3));
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon .bi { color: var(--white); font-size: 26px; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { color: var(--slate); font-size: 14px; line-height: 1.65; }

@media (max-width: 980px) { .feature-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid-3 { grid-template-columns: 1fr; } }

/* FOOTER */
footer { background: var(--navy); color: rgba(255,255,255,0.78); padding: 56px 0 28px; width: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-col .col-heading { color: var(--white); font-size: 13.5px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 11px; list-style: none; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.footer-bottom-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom-left a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-bottom-right { color: rgba(255,255,255,0.5); }

/* Scroll Top Button */
.scroll-top-btn {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--sapphire-3); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(46, 107, 224, 0.3); z-index: 1000; opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.3s ease;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn .bi { font-size: 22px; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-bottom-left { justify-content: center; }
}
@media (max-width: 560px) {
  .contact-hero h1 { font-size: 32px; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@keyframes spin { to { transform: rotate(360deg); } }