/* 1. RESET & VARIABLES */
:root {
  --primary-blue: #4a90e2;
  --deep-blue: #2e5984;
  --text-dark: #1f2937;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-800: #1f2937;
  --gold: #fef08a; /* yellow-200 */
  
  --font-body: "Lato", sans-serif;
  --font-heading: "Playfair Display", serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #f8fafc;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 2. HEADER & FOOTER */
header {
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
}
header h3 { font-size: 1.25rem; font-weight: 700; }
header p { font-size: 0.875rem; color: #4b5563; }

footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
footer a:hover { text-decoration: underline; color: #93c5fd; }
footer .divider { margin: 0 0.5rem; display: none; }
@media (min-width: 768px) { footer .divider { display: inline; } }
footer .footer-links { margin-top: 0.75rem; }
footer .closing-date { border-top: 1px solid #374151; margin-top: 1.5rem; padding-top: 1rem; color: #d1d5db; }

/* 3. HERO SECTION (The Blue Gradient) */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  padding: 3rem 1.5rem;
  color: var(--white);
}

/* The background eye image overlay */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("ServicesBackground-1920-1.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.48;
  z-index: 0;
}

/* Container to center content and handle the split layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

/* Desktop: Split into 2 columns */
@media (min-width: 768px) {
  .container.split {
    grid-template-columns: 1fr 1fr;
  }
  .hero-section { padding: 5rem 1.5rem; }
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.highlight-gold { color: var(--gold); }

.hero-text p {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
}

/* The Blue Button */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 4. PORTRAIT STYLING (The Complex Circle) */
.portrait-wrapper {
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) { .portrait-wrapper { justify-content: flex-end; } }

.portrait-stack {
  border-radius: 50%;
  padding: 14px;
  border: 7px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.portrait-inner {
  border-radius: 50%;
  padding: 10px;
  border: 7px solid rgba(255, 255, 255, 0.34);
  background: radial-gradient(120% 120% at 50% 20%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.portrait-frame {
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 300px; /* Mobile size */
}

@media (min-width: 768px) { .portrait-frame { width: 380px; max-width: none; } }
@media (min-width: 1024px) { .portrait-frame { width: 460px; } }

.portrait-img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* 5. ANNOUNCEMENT SECTION (The White Part) */
.content-section {
  background: var(--white);
  padding: 4rem 1.5rem;
}
.content-container {
  max-width: 896px;
  margin: 0 auto;
}
.content-section h2 {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--gray-800);
}

/* The Gray Box */
.letter-box {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  font-size: 1.1rem;
  color: #374151;
}
@media (min-width: 768px) { .letter-box { padding: 2.5rem; } }

.letter-box p { margin-bottom: 1rem; }
.section-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .contact-grid { grid-template-columns: 120px 1fr; } }

.label { font-weight: 600; color: #1f2937; }
.link { color: #1d4ed8; }
.link:hover { text-decoration: underline; }

/* Yellow Alert Box */
.alert-box {
  grid-column: 1 / -1; /* Span full width */
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.alert-box strong { color: #1f2937; display: block; margin-bottom: 0.25rem; }

.care-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1rem;
  border-radius: 0.5rem;
  color: #1f2937;
}

.signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.sig-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e40af;
}