:root{
  --blue:#0b4db3;
  --green:#39b54a;
  --dark:#0a0f1f;
  --card:#11162a;
  --text:#fff;
  --muted:#bfc7d5;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family: Arial, sans-serif;
  background:var(--dark);
  color:var(--text);
  line-height:1.6;
}

/* NAV */
header{
  position:sticky;
  top:0;
  background:#0a0f1fe6;
  backdrop-filter:blur(10px);
  padding:10px 20px;
}

.nav{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  display:flex;
  gap:10px;
  align-items:center;
}

.logo img{
  width:45px;
  border-radius:10px;
}

nav a{
  margin-left:15px;
  text-decoration:none;
  color:var(--muted);
  transition:0.3s;
}

nav a:hover{
  color:#fff;
}

/* HERO */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  background-size:cover;
  background-position:center;
  transition:background-image 1s ease-in-out;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.hero-content{
  position:relative;
  z-index:2;
}

.btn{
  display:inline-block;
  padding:12px 20px;
  margin:10px;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
}

.primary{
  background:#fff;
  color:#0b4db3;
}

.secondary{
  border:1px solid #fff;
  color:#fff;
}

/* SECTIONS */
section{
  padding:60px 20px;
  max-width:1100px;
  margin:auto;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
}

/* =========================
   PASTORATE SECTION (FIXED HEIGHT - NO CROPPING)
========================= */
.card{
  background:var(--card);
  padding:20px;
  border-radius:10px;

  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;

  height:100%;
  min-height:50px;   /* 🔥 BIGGER HEIGHT FIX */
}

/* Pastor Images */
.card img{
  width:100%;
  height:420px;       /* 🔥 increased for full body visibility */

  object-fit:cover;
  object-position:top; /* keeps face visible */

  border-radius:10px;
  margin-bottom:15px;
}

/* TEXT */
.card h3{
  margin-top:10px;
  font-size:18px;
}

.card p{
  color:var(--muted);
}

/* =========================
   CHURCH MOMENTS (UNCHANGED)
========================= */
section h2{
  margin-bottom:20px;
}

section .grid img{
  width:100%;
  height:600px;
  object-fit:cover;
  border-radius:10px;
  display:block;
  transition:transform 0.3s ease;
}

section .grid img:hover{
  transform:scale(1.05);
}

/* VIDEO */
.video{
  width:100%;
  height:400px;
  margin-top:20px;
  border-radius:10px;
}

/* FORM */
input,textarea{
  width:100%;
  padding:10px;
  margin-bottom:10px;
  border:none;
  border-radius:6px;
}

button{
  background:var(--green);
  color:#fff;
  border:none;
  padding:12px;
  cursor:pointer;
  border-radius:6px;
}

/* FOOTER */
footer{
  text-align:center;
  padding:20px;
  border-top:1px solid #222;
  color:var(--muted);
}

/* MOBILE */
@media(max-width:700px){
  .hero h1{
    font-size:28px;
  }

  .card{
    min-height:50px;
  }

  .card img{
    height:360px;
  }

  section .grid img{
    height:600px;
  }
}