/* styles.css */
:root {
  --primary: #133E40;
  --accent: #1EA896;
  --background: #F8F8F8;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --font-main: 'Inter', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text-dark);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

nav a {
  color: var(--text-light);
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--accent);
}

.hero, .content {
  flex: 1;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1, .content h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero p, .content p {
  color: #333;
  max-width: 600px;
  margin: 0 auto 2rem;
}

button {
  background-color: var(--accent);
  color: var(--text-light);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #159b88;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input, .contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

footer {
  background-color: var(--primary);
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
}

.blog-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 2rem 0;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-info {
  padding: 1.2rem;
}

.blog-info h2 {
  margin-bottom: 0.5rem;
}

.blog-info p.meta {
  font-size: 0.9rem;
  color: #1EA896;
  margin-bottom: 1rem;
}

.blog-info .btn {
  display: inline-block;
  margin-top: 0.8rem;
}

/* Logo container (applies to both image or text logos) */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;              /* space between icon and text */
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #133E40;           /* matches primary brand color */
  text-decoration: none;
  font-size: 1.5rem;        /* text logo size */
}

/* If logo is an image */
.logo img {
  height: 48px;             /* main desktop logo height */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect for a subtle lift */
.logo:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 32px;
  }
  .logo {
    font-size: 1rem;
  }
}

/* ============================= */
/* 🧩 COMMUNITY SECTION STYLES   */
/* ============================= */

/*
.community-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 2rem 0;
}
*/

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-between;
}

.community-card {
  background: #ffffff;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  margin: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Community image or banner */
.community-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card content */

.community-card h3 {
  margin-bottom: 0.5rem;
  color: #133E40;
}

.community-card p {
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Buttons inside cards */
.community-card .btn {
  background: #1EA896;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.community-card .btn:hover {
  background: #14766c;
}

/* Community section header */
.community-header {
  text-align: center;
  padding: 2rem 1rem;
}

.community-header h1 {
  font-size: 2.2rem;
  color: #133E40;
}

.community-header p {
  max-width: 600px;
  margin: 0.5rem auto 0;
  color: #555;
}







