/* Base styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}
a {
  color: #0071e3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  height: 80px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li {
  margin: 0;
}

/* Page Title */
.page-title {
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.page-title h1 {
  margin-bottom: 10px;
}
.page-title p a {
  color: #fff;
}

/* Blog Section */
.blog-section .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.blog-image {
  position: relative;
}
.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 4px;
}
.blog-content {
  padding: 15px;
}
.blog-content .category {
  font-size: 0.85rem;
  color: #999;
}
.blog-content h3 {
  margin-top: 5px;
  font-size: 1.1rem;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.widget {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}
.widget h4 {
  margin-bottom: 15px;
}
.search-widget form {
  display: flex;
}
.search-widget input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
}
.search-widget button {
  background: #0071e3;
  color: #fff;
  border: none;
  padding: 0 15px;
}
.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-posts li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.recent-posts img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.recent-posts small {
  font-size: 0.8rem;
  color: #666;
}
.recent-posts p {
  margin: 2px 0 0;
  font-size: 0.9rem;
}

.footer {
    background-color: black;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    justify-content: flex-start;
}

.footer-center {
    justify-content: center;
    flex-grow: 1;
}

.footer-right {
    justify-content: flex-end;
}

.social-icon {
    margin-right: 15px;
}

.social-icon img {
    width: 25px; /* Small icon size */
    height: 25px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #4CAF50; /* Highlight link on hover */
}


.btn-view {
    display: inline-block;
    background-color: green;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px; /* Set a reasonable default size */
}

.btn-view:hover {
    background-color: darkgreen;
}

/* Add responsive behavior */
@media (max-width: 768px) {
    .btn-view {
        width: 100%; /* Button will span the full width on smaller screens */
        text-align: center; /* Center text in button */
        padding: 15px; /* Increase padding for better clickability */
        font-size: 16px; /* Make text larger on mobile */
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-center, .footer-right {
        margin-bottom: 10px;
    }

    .social-icon img {
        width: 20px; /* Smaller icons on mobile */
        height: 20px;
    }
}


