
/* ---- Safety header styles (keeps nav horizontal) ---- */
.site-header{
  background:#38bdf8;
  color:#fff;
  padding:1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  
}
.logo-title{ display:flex; align-items:center; gap:1rem; }
.logo{ height:80px; width:auto; object-fit:cover; border-radius:8px; }

.main-nav ul{
  list-style: none;           /* remove bullets */
  display: flex;             /* horizontal */
  gap:1.2rem;
  margin:0;
  padding:0;
  text-align: left;
  
 
}
.main-nav a{
  color:#fff;                /* remove purple */
  text-decoration:none;      /* remove underline */
  padding:.5rem 1rem;
  border-radius:30px;
  font-weight:bold;
  transition:.25s;
  
  
}
.main-nav a:hover,
.main-nav a.active{
  background:blue;
  color:#38bdf8;
}


/* ===== CONTACT PAGE (page-specific styles only) ===== */
:root{
  --blue:#2563eb;
  --blue-dark:#1e4fd6;
  --ink:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --tint:#f5f9ff;
  --ring: 0 0 0 3px rgba(37,99,235,.25);
  flex-direction: row;
}

body { margin:0; font-family: Arial, Helvetica, sans-serif; color:var(--ink); }

/* Container helper for this page */
.container { width:min(1100px,92%); margin:0 auto; }

/* ===== HERO SLIDER (pure CSS, 5 slides) ===== */
.hero{
  position: relative;
  width: 100%;
  height: 44vh;              /* adjust height if you like */
  min-height: 320px;
  overflow: hidden;
  background:#000;
}
.hero-viewport{ width:100%; height:100%; overflow:hidden; }
.hero-track{
  display:flex;
  flex-wrap:nowrap;
  height:100%;
  width: 500%;               /* 5 slides */
  animation: heroSteps 20s steps(4, end) infinite alternate; /* 4 moves: 1→5 then back */
  will-change: transform;
}
.hero-slide{
  flex: 0 0 calc(100% / 5);
  width: calc(100% / 5);
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Optional headroom tweaks */
.hero-slide:nth-child(2){ background-position: 50% 18%; }
.hero-slide:nth-child(3){ background-position: 50% 20%; }

@keyframes heroSteps {
  to { transform: translateX(calc(-100% + (100% / 5))); } /* 4/5 */
}

/* Caption under the slider */
.contact-hero-caption{
  background:#76d8ff;
  text-align: center;
  padding: 1.8rem 1rem;
}
.contact-hero-caption h1{
  margin: 0 0 .4rem;
  font-size: clamp(1.6rem, 2.4vw + .8rem, 2.4rem);
  color: #ef1726;
}
.contact-hero-caption p{
  margin: 0 0 1rem;
  color: black;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: bolder;
}
.btn{ display:inline-block; padding:.7rem 1.6rem; border-radius:999px; font-weight:600; text-decoration: underline ; }
.btn--blue{ background:var(--blue); color:#fff; transition:.25s; }
.btn--blue:hover{ background:red; transform:translateY(-2px); }

/* ===== Cards ===== */
.contact-cards{ background: var(--tint); padding: 2rem 0; }
.cards-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  
}
.c-card{
  background: var(--card);
  border: 2px solid black;
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 6px 15px #147bd7
  
  
}
.c-card__icon{ font-size: 1.6rem; margin-bottom: .4rem; }
.c-card h3{ margin: .2rem 0 .4rem; color: #ef1726; }

/* ===== Contact main (Form + Map) ===== */
.contact-main{ padding: 2rem 0; }
.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }

/* Form */
.contact-form{
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 6px 15px rgba(2,8,23,0.06);
}
.contact-form h2{ margin-top:0; color:#ef1726; }
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
@media (max-width:640px){ .form-row{ grid-template-columns: 1fr; } }
.field{ display:flex; flex-direction:column; gap:.35rem; }
label{ font-weight:600; }
input, textarea{
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:.75rem .85rem;
  font:inherit;
  transition:border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus{ outline:none; border-color:var(--blue); box-shadow:var(--ring); }
textarea{ resize: vertical; }
.hp{ position:absolute; left:-9999px; opacity:0; }
.actions{ display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin-top: .8rem; }
.form-note{ color: var(--muted); font-size: .92rem; margin:0; }

/* Map */
.contact-map{ display:flex; flex-direction:column; gap:.6rem; }
.map-embed iframe{
  display:block;
  width:100%;
  height:380px;
  border:0;
  border-radius:14px;
  box-shadow: 0 6px 15px rgba(2,8,23,0.06);
}
.map-note{ color: var(--muted); font-size:.95rem; }

/* ===== Blue banner above footer (matches your footer.css style) ===== */
.footer-banner{
  background: linear-gradient(90deg, #38bdf8, #23a7f2);
  color:#fff;
  text-align:center;
  padding: 2rem 1rem;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.25);
}
.footer-banner::before{
  content:"✦ ✦ ✦";
  position:absolute; top:10px; left:50%;
  transform: translateX(-50%);
  opacity:.15; font-size:2rem; letter-spacing:.5rem;
  animation: floatStars 4s ease-in-out infinite;
}
@keyframes floatStars {
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(5px); }
}
.banner-content h2{ margin:0 0 .3rem; font-size: clamp(1.4rem, 2vw + .5rem, 2rem); }
.banner-content p{ margin:0; font-style: italic; opacity:.95; }

/* Accessibility helper */
.sr-only{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
