:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8f5ee;
  color: #0f172a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.7;
  background: #f8f5ee;
}
img {
  max-width: 100%;
}
.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #f8fafc;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-with-slider {
  padding: 0;
}
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 72vh;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.9s ease;
}
.slide.active {
  opacity: 1;
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.24), rgba(15, 23, 42, 0.9));
}
.slide-overlay {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 4rem 2rem;
  margin: 0 auto;
  color: #f8fafc;
  text-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  color: #dbc489;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}
.lead {
  max-width: 720px;
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
  color: #d8dbde;
}
.hero .lead {
  color: #d8dbde;
}
.hero .eyebrow {
  color: #f1f5f9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button:hover {
  transform: translateY(-1px);
}
.button-primary {
  background: #b58e53;
  color: #0f172a;
}
.button-primary:hover {
  background: #a37a49;
}
.button-secondary {
  background: rgba(181, 142, 83, 0.12);
  color: #0f172a;
  border: 1px solid rgba(181, 142, 83, 0.35);
}
.button-secondary:hover {
  background: rgba(181, 142, 83, 0.18);
}


.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}
.slider-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
}
.slider-dot.active {
  background: #f59e0b;
  border-color: #f59e0b;
}
.section {
  padding: 3rem 0;
}
.section-intro {
  margin: 0.5rem 0 2rem;
  max-width: 42rem;
  color: #334155;
}
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
article {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
}
article h3 {
  margin-top: 0;
}
.feature-block {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 2fr) 1fr;
}
.portal-card {
  background: #1f2937;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid #475569;
}
.portal-card h3 {
  margin: 0;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.image-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.image-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.small {
  font-size: 0.95rem;
  color: #64748b;
}
.contact-block {
  background: #fbf7ed;
}
.contact-info {
  margin: 0.75rem 0 0;
  line-height: 1.6;
}
.footer {
  padding: 1.5rem 0;
  background: #0f172a;
  color: #cbd5e1;
}
.footer p {
  margin: 0;
}
@media (max-width: 840px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
}

/* Top navigation */
.topbar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.75rem 0;
}
.main-nav a {
  margin-left:1rem;
  color:#f8fafc;
  text-decoration:none;
  font-weight:700;
}
.main-nav a:hover {
  color: #b58e53;
}
.brand img { display:block; }
.contact-form-section {
  padding-top: 0;
}
.form-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.9fr);
}
.contact-form,
.contact-details-card {
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.06);
}
.contact-form {
  background: #ffffff;
}
.contact-form label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 700;
  color: #0f172a;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  background: #f8fafc;
  font: inherit;
  color: #0f172a;
}
.contact-form textarea {
  resize: vertical;
}
.contact-details-card {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-details-card h3 {
  margin-top: 0;
}
.contact-details-card p {
  margin: 0.9rem 0;
}
.contact-details-card a {
  color: #f8fafc;
}
@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:640px){
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .main-nav a {
    margin-left: 0;
  }
}
