/* --- Global Variables & Reset --- */
:root {
  --primary-color: #2c5282;
  --primary-dark: #1a365d;
  --accent-color: #d69e2e;
  --text-color: #2d3748;
  --light-bg: #f7fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

.title-1{
   font-size:23px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* --- Container & Helpers --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* --- Responsive Typography --- */
h1, h2, h3, h4 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

.section-subtitle {
  color: #718096;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  min-height: 48px;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b7791f;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-dark);
}

/* --- Navigation Header & Circular Logo --- */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
}

.logo strong {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  background: linear-gradient(rgba(26, 54, 93, 0.8), rgba(26, 54, 93, 0.8)),
              url('church2.jpeg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 15px;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- General Sections & Cards --- */
.section {
  padding: clamp(50px, 8vw, 90px) 0;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.08);
}

/* --- Services Grid --- */
.services-section {
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.time {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* --- Our Story Section --- */
.story-section {
  background-color: var(--white);
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.story-block-reverse {
  grid-template-areas: "img txt";
}

.story-block-reverse .story-text { grid-area: txt; }
.story-block-reverse .story-image { grid-area: img; }

.story-text p {
  margin-bottom: 15px;
  color: #4a5568;
}

.story-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- About Section --- */
.about-section {
  background-color: var(--light-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-list {
  list-style: none;
  margin-top: 20px;
}

.about-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.about-img-file {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* --- Events Grid --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.event-date {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  min-width: 75px;
  font-size: 0.85rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.event-info h3 {
  margin-bottom: 4px;
}

.event-info p {
  color: #718096;
  font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
  background-color: #00256f;
  color: #a0aec0;
  padding: 60px 0 25px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-col p {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #003186;
  padding-top: 20px;
  font-size: 0.85rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 850px) {
  .story-block,
  .story-block-reverse,
  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 20px;
  }

  .story-block-reverse .story-text,
  .story-block-reverse .story-image {
    grid-area: auto;
  }
}

@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .event-date {
    width: 100%;
  }
}
