:root {
  --bg: #0f172a;      /* Lighter dark blue for page background */   
  --panel: #020617;   /* Lighter gradient for the bottom of page */
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --border: #1e293b;
}

* { box-sizing: border-box; margin:0; padding:0; }

/**************/
.logo-box {
  display: inline-block;
  background: #e8eef6;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.logo-box img {
  height: 48px;
  display: block;
}

body { 
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif; 
  background: #1e293b; 
  color: var(--text); 
  line-height:1.6; 
}

a { color: var(--accent); text-decoration:none; }

.container { max-width:960px; margin:0 auto; padding:4rem 1.5rem; }

/* ===============================
   CTA BUTTON (UNIFIED VERSION)
   =============================== */
.cta-button {
  display: inline-block;
  background-color: var(--accent); /* #38bdf8 */
  color: #020617; /* text color */
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background-color: #0ea5e9; /* slightly darker fade */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56,189,248,0.25);
}

.cta-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #94a3b8; /* muted grey */
}

header {
  padding:4rem 1.5rem;
  border-bottom:1px solid var(--border);
  border-radius:14px;
  position:relative;
  overflow:hidden;
  text-align:center;
}

/* Hero background image */
header::before {
  content:'';
  position:absolute;
  top:0; left:0; width:100%; height:100%;
  background: url('Main.jpg') center/cover no-repeat;
  opacity:0.65;
  z-index:0;
}

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

/* Alternate layout */
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }

/* White text container */
.text-box {
  background: #e8eef6;
  color: #020617;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.text-box h2 {
  color: #020617;
  margin-bottom: 1rem;
}

/* Image container */
.image-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .content-block {
    grid-template-columns: 1fr;
  }
}

/* Keep text above image */
header > * { position:relative; z-index:1; }

h1 { font-size: clamp(2rem,5vw,3rem); font-weight:600; margin-bottom:1rem; }
h2 { font-size:1.6rem; font-weight:500; margin-bottom:1rem; }
p { margin-bottom: 1.25rem; }
ul { margin-left:1.25rem; margin-bottom:1.5rem; }
li { margin-bottom:0.5rem; }
section { padding:4rem 0; border-bottom:1px solid var(--border); }

.cta-box { margin-top:2rem; }

.microcopy { margin-top:0.5rem; font-size:1.0rem; color:var(--muted); }

footer { padding:3rem 0 1rem; font-size:0.9rem; color:var(--muted); }
.footer-grid { display:grid; gap:1rem; }
@media(min-width:768px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

/* ===============================
   CONTACT FORM LAYOUT OVERRIDES
   =============================== */
.form-section {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
}

.contact-form {
  width: 100%;
  max-width: 700px; /* half–two-thirds page */
}

/* Stack form fields cleanly */
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.contact-form label {
  margin-bottom: 0.4rem;
  font-weight: 500;
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Button spacing */
.contact-form .cta-button {
  margin-top: 1rem;
}

/* Desktop widening */
@media (min-width: 768px) {
  .contact-form { max-width: 760px; }
}
/* ===============================
   CONTACT PAGE FORM FIX
   =============================== */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;  /* vertically center the form */
  min-height: 50vh;     /* form covers at least half the viewport height */
  padding: 4rem 1rem;
}

.contact-form {
  width: 100%;
  max-width: 700px;
  background: transparent;  /* removes landing page block style */
  box-shadow: none;
  padding: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  resize: vertical;     /* allows textarea to expand */
  min-height: 3rem;     /* ensures textarea isn’t squashed */
}

