/* Global Styles */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: linear-gradient(to right, #141e30, #243b55);
  color: #fff;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

header h1 {
  margin: 0;
  font-size: 2.2em;
  letter-spacing: 1px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #ddd;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00ffe1;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 0 0 15px 15px;
}

.hero h2 {
  margin: 0;
  font-size: 2.5em;
}

.hero p {
  font-size: 1.3em;
  margin-top: 12px;
  opacity: 0.95;
}

/* Blog Posts Section */
.posts {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.post-card {
  background: white;
  border: 1px solid #ddd;
  border-left: 6px solid #0072ff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-card h3 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #2c3e50;
}

.post-card p {
  font-size: 1rem;
  margin: 10px 0 15px;
}

.post-card ul {
  list-style: none;
  padding-left: 0;
}

.post-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}


/* About-us */


.about-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 18px;
  font-weight: 700;
  border-left: 4px solid #0072ff;
  padding-left: 12px;
}

.about-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.75;
}

.about-section section {
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.about-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.about-content li {
  margin-bottom: 16px;
  font-size: 1.05rem;
  position: relative;
  padding-left: 32px;
  color: #333;
}

.about-content li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0072ff;
  font-size: 1.2rem;
}

.about-section section:nth-child(2) { animation-delay: 0.1s; }
.about-section section:nth-child(3) { animation-delay: 0.2s; }
.about-section section:nth-child(4) { animation-delay: 0.3s; }
.about-section section:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌐 Mobile-Friendly Styles */
@media (max-width: 768px) {
  .about-section {
    padding: 30px 20px;
    margin: 40px 16px;
  }

  .about-section h2 {
    font-size: 1.6rem;
    padding-left: 10px;
  }

  .about-section p {
    font-size: 1rem;
  }

  .about-content li {
    font-size: 0.95rem;
    padding-left: 28px;
  }

  .about-content li::before {
    font-size: 1rem;
  }
}


/*Privacy Policy*/

.privacy-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.privacy-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 18px;
  font-weight: 700;
  border-left: 4px solid #0072ff;
  padding-left: 12px;
}

.privacy-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.75;
}

.privacy-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.privacy-section li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #333;
}

.privacy-section li::before {
  content: "🔒";
  position: absolute;
  left: 0;
  color: #0072ff;
  font-size: 1.1rem;
}

/* Fade-in animation (optional) */
.privacy-section section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.privacy-section section:nth-child(2) { animation-delay: 0.1s; }
.privacy-section section:nth-child(3) { animation-delay: 0.2s; }
.privacy-section section:nth-child(4) { animation-delay: 0.3s; }
.privacy-section section:nth-child(5) { animation-delay: 0.4s; }
.privacy-section section:nth-child(6) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .privacy-section {
    padding: 30px 20px;
    margin: 40px 16px;
  }

  .privacy-section h2 {
    font-size: 1.6rem;
    padding-left: 10px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 1rem;
  }

  .privacy-section li::before {
    font-size: 1rem;
  }
}

/*contact*/

.contact-section {
  max-width: 960px;
  margin: 60px auto;
  padding: 50px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.contact-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 18px;
  font-weight: 700;
  border-left: 4px solid #0072ff;
  padding-left: 12px;
}

.contact-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-section a {
  color: #0072ff;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0072ff;
  outline: none;
}

button[type="submit"] {
  background-color: #0072ff;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background-color: #005fc1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 30px 20px;
    margin: 40px 16px;
  }

  .contact-section h2 {
    font-size: 1.6rem;
  }

  .contact-form {
    gap: 16px;
  }

  button[type="submit"] {
    width: 100%;
  }
}







/* Footer */
footer {
  text-align: center;
  background: #141e30;
  color: white;
  padding: 15px;
  font-size: 0.95em;
  margin-top: 40px;
}
