@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fc;
    color: #222;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    line-height: 1.8;
    transition: all 0.3s ease-in-out;
}

.container:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

h1, h2 {
    color: #002d62;
    font-weight: 600;
}

h1 {
    text-align: center;
    font-size: 30px;
    border-bottom: 4px solid #002d62;
    padding-bottom: 14px;
    margin-bottom: 25px;
    transition: all 0.3s ease-in-out;
}

h1:hover {
    color: #004085;
    border-bottom: 4px solid #004085;
}

h2 {
    font-size: 24px;
    margin-bottom: 18px;
}
/* Agar aap highlighted paragraph ko alag styling dena chahte hain */
.highlight {
    background-color: #f8f9fa; /* Light grey background */
    border-left: 4px solid #007bff; /* Left border highlight */
    padding: 10px;
    font-weight: bold;
}



/* Center the buttons within the container */
.buttons {
  display: flex;
  justify-content: center; /* Centers the buttons horizontally */
  gap: 20px; /* Space between the buttons */
  margin-top: 20px; /* Space above the button container */
  margin-bottom: 20px;
    
}

.buttons button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.buttons button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}
 
 .btn.active {
    background-color: #003366;
} 


.blog {
  display: flex;
  
  gap: 40px; /* Gap badha diya */
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
}

.blog + .blog {
  margin-top: 30px; /* Blogs ke beech me extra space */
}

.blog img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.blog-content {
  flex: 1;
}

.blog-content h3 {
  margin: 0 0 10px;
}

/* Styling for Meta Information (Date, Published by) */
.blog-content .meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px; /* Space between meta and description */
  text-align: left;
}

/* Styling for Short Description */
.short-description {
  font-size: 16px;
  color: #333; /* Darker text for emphasis */
  font-weight: 500;
  margin-bottom: 10px; /* Space below the description */
  line-height: 1.6;
  text-align: left;
}

/* "See More" button styling */
.see-more {
  display: inline-block;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.see-more:hover {
  background-color: #0056b3;
  transform: scale(1.05);
  text-decoration: none;
}

/* 🌍 Mobile Responsive Styling */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
        margin: 20px auto;
    }

    h1 {
        font-size: 24px;
        padding-bottom: 10px;
    }

    h2 {
        font-size: 20px;
    }

    .blog {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }

    .blog img {
        width: 100%;
        height: auto;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .buttons button {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .short-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .see-more {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* 📱 Extra Small Devices (Phones) */
@media (max-width: 480px) {
    h1 {
        font-size: 20px;
        padding-bottom: 8px;
    }

    h2 {
        font-size: 18px;
    }

    .blog-content {
        text-align: center;
    }

    .blog-content h3 {
        font-size: 16px;
    }

    .buttons button {
        font-size: 12px;
        padding: 10px;
    }
}


