body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    padding: 20px;
  }
  
  .post-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    padding: 10px;
    resize: none;
  }
  
  input[type="file"] {
    margin-bottom: 10px;
  }
  
  #imagePreview {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 8px;
  }
  
  button {
    padding: 10px 20px;
    background: #007bff;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
  }
  
  button:hover {
    background: #0056b3;
  }
  
  #postedContent {
    margin-top: 20px;
  }
  .footer {
    background-color: #0a2144; /* Dark blue background */
    color: white;
  }
  
  .footer-logo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .footer .social-icons i {
    font-size: 18px;
    transition: 0.3s;
  }
  
  .footer .social-icons i:hover {
    color: #007bff;
  }
  
  .footer ul li {
    margin-bottom: 8px;
  }
  
  .footer ul li i {
    color: #007bff;
  }
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #333;
  padding: 20px;
}

.blog-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.blog-left {
  flex: 1;
}

.blog-left h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.blog-left p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.blog-button {
  background: green;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.blog-button:hover {
  background: darkgreen;
}

.blog-right {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.blog-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-info {
  padding: 15px;
}

.blog-info .date {
  font-size: 14px;
  color: gray;
  margin-bottom: 8px;
  display: block;
}

.blog-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-info p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.blog-info a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

.author {
  font-size: 12px;
  color: gray;
  margin-top: 10px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f2f2f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-container {
  background: white;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
  color: #555;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
}

.btn {
  width: 100%;
  background: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* Responsive */
@media (max-width: 500px) {
  .form-container {
    padding: 20px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
}

.contact-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  background: white;
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #007bff;
}

.contact-container p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 15px;
  color: #666;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  width: 100%;
  padding: 14px;
  background-color: #007bff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-container {
    padding: 25px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.hero {
  position: relative;
  height: 100vh;
  background: url('n.avif') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(255,0,100,0.3));
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 50px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 22px;
}

.logo span {
  color: #0dcaf0;
}

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.post-btn {
  background-color: #fff;
  color: #ff3366;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
}

.hero-content {
  margin-top: 60px;
  text-align: center;
}

.hero-content h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
}

.search-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.search-tabs button {
  padding: 8px 20px;
  margin: 0 5px;
  border: none;
  border-radius: 20px;
  background: #000;
  color: white;
  cursor: pointer;
}

.search-tabs button.active {
  background: #ff3366;
}

.search-box {
  background: white;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 30px;
  max-width: 800px;
  flex-wrap: wrap;
}

.search-box select, .search-box input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1 1 200px;
}

.search-btn {
  background-color: #ff3366;
  border: none;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.features {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.features div {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
