/*
Theme Name: Sukhala Education Library
Theme URI: https://sukhalaedu.com
Author: HP Web
Description: A modern educational theme for libraries and schools with clean UI and easy access to resources.
Version: 1.0
Tags: education, clean, responsive, library
Text Domain: sukhala-education-library
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fbfd;
  color: #222;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1140px;
  margin: auto;
  padding: 2rem;
}

.site-header,
.site-footer {
  background: #0073aa;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.site-header a {
  color: #fff;
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, #0073aa, #00b4d8);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.search-form input {
  padding: 0.7rem;
  width: 250px;
  border-radius: 6px;
  border: none;
}

.search-form button {
  padding: 0.7rem 1.2rem;
  background: #ffd700;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  margin-left: 0.5rem;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
}

.category-card {
  background: white;
  width: 280px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease;
}
.category-card:hover {
  transform: translateY(-5px);
}

.latest-posts .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.post-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.read-more {
  color: #0073aa;
  font-weight: 600;
  text-decoration: none;
}

.about,
.contact {
  text-align: center;
  padding: 3rem 2rem;
  background: #fffde7;
}

.contact {
  background: #e0f7fa;
}
