/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #222;
  line-height: 1.6;
}

img {
  width: 60%;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===== Navbar ===== */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1a237e;
  font-size: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  color: #333;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1a237e;
}

/* ===== Hero Section ===== */
/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 90vh;
  background: url('https://images.pexels.com/photos/10928706/pexels-photo-10928706.jpeg?_gl=1*km2imo*_ga*MTI2MjA1MDIzNi4xNzU3MjQyOTY0*_ga_8JE65Q40S6*czE3NjI2ODA3OTUkbzgkZzEkdDE3NjI2ODA4MzQkajIxJGwwJGgw') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  
}



.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.845);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #ff7b00;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #ff9b33;
}

/* ===== Responsive Hero ===== */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* ===== About Page Styles ===== */
.about-hero {
  background: #f9fafb;
  padding: 5rem 1rem;
  text-align: center;
  color: #222;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: #111;
  font-weight: 700;
}

.about-hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.about-intro {
  background: #fff;
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-intro p {
  margin-bottom: 1.5rem;
}

.about-intro p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #000;
}



.home-intro {
  text-align: center;
  font-size: 1rem;
  margin-top: 1rem;
  color: #ffffff;
}
.home-intro a {
  color: #f1b33f;
  text-decoration: none;
}
.home-intro a:hover {
  text-decoration: underline;
}




.team {
  background-color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.team h2 {
  color: #1a237e;
  margin-bottom: 1rem;
}

.team-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: #555;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background: #f9fafc;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}


.team-member h4 {
  color: #1a237e;
  margin-bottom: 0.3rem;
}

.team-member p {
  color: #555;
  font-size: 0.95rem;
}

.team-member .bio {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}







/* ===== Featured Section ===== */
.featured {
  padding: 3rem 0;
}

.featured h3 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a237e;
  font-size: 1.7rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.blog-card {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card h4 {
  font-family: 'Poppins', sans-serif;
  margin: 0.8rem 0;
  color: #1a237e;
  font-size: 1.1rem;
}

.blog-card p {
  color: #555;
  font-size: 0.95rem;
}

.blog-banner img {
  max-height: 350px;
  object-fit: cover;
}


.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: #1a237e;
  color: white;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #3949ab;
}

/* ===== Blog Content ===== */
.blog-content {
  padding: 3rem 0;
  background-color: #f9fafb;
}

.blog-content .container {
  max-width: 750px;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.8rem;
}

.blog-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  color: #1a237e;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.blog-content p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.75;

}

.blog-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ===== Table Style ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #1a237e;
  color: white;
  font-weight: 600;
}

/* ===== Related Posts ===== */
.related-posts {
  margin-top: 2.5rem;
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.related-posts h4 {
  font-family: 'Poppins', sans-serif;
  color: #1a237e;
  margin-bottom: 1rem;
}

.related-posts ul {
  list-style: none;
}

.related-posts li {
  margin-bottom: 0.6rem;
}

.related-posts a {
  color: #3949ab;
  transition: color 0.2s ease;
}

.related-posts a:hover {
  color: #1a237e;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .blog-content .container {
    padding: 1.5rem;
  }

  .blog-content h3 {
    font-size: 1.15rem;
  }

  table, th, td {
    font-size: 0.85rem;
  }
}


/* ===== Blog Index Page ===== */
.blog-index {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.blog-index h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.blog-index .intro-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.blog-index .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog-index .blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.blog-index .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-index .blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-index .blog-card h4 {
  font-size: 1.1rem;
  margin: 1rem;
}

.blog-index .blog-card h4 a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s ease;
}

.blog-index .blog-card h4 a:hover {
  color: #0077b6;
}

.blog-index .blog-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 1rem 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .blog-index {
    padding: 3rem 1rem;
  }
  .blog-index h2 {
    font-size: 1.6rem;
  }
}


.search-bar {
  text-align: center;
  margin-bottom: 2rem;
}

#searchInput {
  width: 90%;
  max-width: 400px;
  padding: 0.7rem 1rem;
  border: 2px solid #1a237e;
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

#searchInput:focus {
  border-color: #3949ab;
  box-shadow: 0 0 5px rgba(26, 35, 126, 0.4);
}




.faq-section {
  background: #fdfdfd;
  padding: 3rem 1rem;
  border-top: 1px solid #eee;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  max-width: 800px;
  margin: 1rem auto;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1.05rem;
  border: none;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0f0f0;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question {
  background: #f8f8f8;
  color: #0077cc;
}



.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}






.contact-section {
  background: #fff;
  padding: 4rem 1rem;
  color: #333;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-section p {
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-info {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}






/* ===== Footer ===== */
footer {
  background: #1a237e;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-radius: 40px 40px 0 0;
}

footer p {
  font-size: 0.9rem;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  position: relative;
  z-index: 100;
}

.menu-toggle .bar {
  height: 3px;
  width: 28px;
  background-color: #1a237e;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation for X icon */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
  }

  nav.active {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-links a {
    color: #1a237e;
    font-weight: 600;
  }
}


.nav-links a.active {
  color: #0077cc;
  font-weight: 600;
  border-bottom: 2px solid #0077cc;
}



/* ---- Lazy Loading Blur Effect ---- */
.lazy-img {
  filter: blur(10px);
  transition: filter 0.4s ease;
}

.lazy-img.loaded {
  filter: blur(0);
}

