/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #ffffff;
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
}

/* Header */
header {
  background: #2b2b2b;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-title {
  display: flex;
  align-items: center;
}

.logo-title img {
  height: 100px;
}
.site-name {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #1e90ff;
  text-decoration: none;
}

nav ul li a:hover {
  color: #ffffff;
}

#menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* Base styles for header already defined earlier... */

/* === Updated Responsive Dropdown Menu === */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    z-index: 1001;
  }

  #nav-links {
    display: none;
    position: absolute;
    align-items: center;
    top: 100%;
    right: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    z-index: 1000;
  }

  #nav-links.active {
    display: flex;
  }

  .header-flex {
    position: relative; /* required for absolutely positioned dropdown inside header */
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo-title {
    flex-grow: 1;
    justify-content: flex-start;
  }
}

/* Sections */
section {
  background: #000;
  padding: 60px 20px;
}

h1, h2, h3 {
  color: #fff;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #1e90ff;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
}

.btn-primary:hover {
  background: #ffffff;
  color: #1e90ff;
}

/* Hero Animation */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.animate-fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.news-section {
  text-align: center;
}

.news-section .container {
  margin: 0 auto;
}

/* Blog & Resources Grids */
.blog-grid, .resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Blog Card Styling */
.blog-card, .resource-card {
  display: flex;
  flex-direction: column;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover, .resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.blog-card img, .resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Blog Content */
.blog-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
  color: #ffffff;
}

.blog-content h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.blog-content h3 a {
  color: #ffffff;
  text-decoration: none;
}

.blog-content h3 a:hover {
  text-decoration: underline;
}

.blog-content p {
  flex-grow: 1;
  margin-bottom: 1rem;
  color: #ccc;
}

.blog-content .read-more {
  display: inline-block;
  margin-top: auto;
  text-decoration: none;
  color: #1e90ff;
  font-weight: 600;
}

.blog-content .read-more:hover {
  text-decoration: underline;
}

/* Accordion */
.accordion {
  margin-top: 40px;
}

.accordion-item {
  border-top: 1px solid #333;
}

.accordion-header {
  background: none;
  color: #ffffff;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.accordion-content {
  display: none;
  padding: 15px;
  background: #222;
}

/* Modal (Newsletter) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  background: #111;
  margin: 10% auto;
  padding: 20px;
  max-width: 400px;
  border-radius: 8px;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  background: #1e90ff;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.close-modal {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* Lightbox */
.lightbox-open {
  position: fixed;
  z-index: 9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-open img {
  max-width: 90%;
  max-height: 90%;
}


/* Footer */
/* Container setup */
footer {
  background-color: #2b2b2b;
  color: #ffffff;
  padding: 20px 0;
  font-size: 18px;
  text-align: center;
}

.footer-centered {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-centered p {
  margin-bottom: 10px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #1e90ff;
  font-size: 1.4rem;
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

/* Optional: adjust spacing on smaller screens */
@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .social-icons a {
    margin-left: 15px;
    margin-right: 15px;
  }
}

/* Hero Logo */
.hero-logo {
  text-align: center;
  margin-bottom: 20px;
}

.hero-logo img {
  max-width: 250px;
  height: auto;
}

/* Hero About */
.hero-about {
  margin-top: 30px;
  font-size: 0.95em;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Back Button */
.back-button {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 20px;
  background-color: #222;
  color: #ffffff;
  border: 1px solid #444;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #333;
  color: #1e90ff;
  border-color: #1e90ff;
}

/* Blog Article Pages */
.blog-article {
  background-color: #000;
  color: #ffffff;
  padding: 60px 20px;
}

.blog-article h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.blog-article h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.blog-article p,
.blog-article ul {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-article ul {
  padding-left: 20px;
}

.blog-article li {
  margin-bottom: 10px;
}

.blog-article img {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.latest-section h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #ffffff; /* or any color you prefer */
}
.hero {
  display: flex;
  align-items: center;      /* vertical centering if needed */
  justify-content: center;  /* horizontal centering */
  text-align: center;       /* center text */
  padding: 60px 20px;       /* adjust spacing as you like */
}

.hero .container {
  max-width: 900px; /* keeps content readable */
}
.blog-section .section-title {
  text-align: center;
}
.center-heading {
  text-align: center;
}
.resources {
  padding: 60px 20px;
  background-color: #000;
  color: #ffffff;
}

.resources-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.resource-card {
  background-color: #2b2b2b;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.resource-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.resource-card a {
  color: #1e90ff;
  font-weight: 500;
  text-decoration: none;
}

.resource-card a:hover {
  text-decoration: underline;
}
.about-page {
  padding: 40px 20px;
  color: #ffffff;
}

.about-page h1,
.about-page h2 {
  color: #1e90ff;
}

.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.team-member {
  flex: 1 1 250px;
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h3 {
  color: #1e90ff;
}

  .news-carousel-section {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem;
    max-width: 1200px;
    margin: auto;
  }

  .tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .tab-btn {
    background: #2b2b2b;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 1.1rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
  }

  .tab-btn.active {
    border-color: #1e90ff;
    color: #1e90ff;
  }

  .carousel-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
}

.carousel {
  display: none;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 0 0.5rem;
  scrollbar-width: none;
}

.carousel.active {
  display: flex;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: #2b2b2b;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.carousel-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.carousel-item .title {
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
}

.carousel-item .title:hover {
  text-decoration: underline;
}

.carousel-item .excerpt {
  color: #ccc;
  font-size: 0.9rem;
  flex-grow: 1;
}

.carousel-item .meta {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: auto;
}

.nav {
  background: none;
  color: #1e90ff;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  padding: 0 1rem;
  user-select: none;
}

@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 600px) {
  .carousel-item {
    flex: 0 0 100%;
  }
  .nav {
    font-size: 1.5rem;
  }
}

/* Contact Page */

    .contact-wrapper {
      max-width: 700px;
      margin: auto;
      padding: 3rem 1rem;
      text-align: center;
      color: #fff;
    }
    .contact-wrapper h2 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    .contact-wrapper p {
      margin-bottom: 2rem;
      color: #ccc;
    }
    form {
      background: #1a1a1a;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 0 10px #000;
    }
    form label {
      display: block;
      text-align: left;
      margin: 1rem 0 0.3rem;
      font-weight: bold;
    }
    form input, form textarea {
      width: 100%;
      padding: 0.75rem;
      background: #000;
      border: 1px solid #444;
      border-radius: 5px;
      color: #fff;
    }
    form button {
      background: #1e90ff;
      color: white;
      font-weight: bold;
      padding: 0.75rem 2rem;
      border: none;
      border-radius: 5px;
      margin-top: 1.5rem;
      cursor: pointer;
    }
    form button:hover {
      background: #ffffff;
    }
    #popup {
      background: #28a745;
      color: #fff;
      padding: 1rem;
      border-radius: 8px;
      display: none;
      margin-top: 1rem;
    }
 