/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    background-color: #fff;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar .logo img {
    height: 120px;
    cursor: pointer;
}

/* News Section */
.news-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.news-section h2 {
    font-size: 2.5rem;
    color: #6A1B1A; /* Deep Red */
    margin-bottom: 20px;
}

.news-section p {
    font-size: 1.5rem;
    color: #6a0dad; /* Deep Purple */
    margin-bottom: 30px;
}

/* News Articles */
.news-articles {
    margin-top: 30px;
}

.news-item {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0; /* Start off as invisible */
    transform: translateY(50px); /* Slightly offset the item */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.news-item.visible {
    opacity: 1; /* Make visible */
    transform: translateY(0); /* Reset position */
}

.news-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-item h3 {
    font-size: 1.8rem;
    color: #6A1B1A; /* Deep Red */
    margin-bottom: 10px;
}

.news-item p {
    font-size: 1.2rem;
    color: #6a0dad; /* Deep Purple */
}

/* Read More Button */
.news-item .btn {
    display: inline-block;
    background-color: #6A1B1A; /* Deep Red */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s ease-in-out;
}

.news-item .btn:hover {
    background-color: #6a0dad; /* Deep Purple */
}

/* Get Involved Section */
.get-involved {
    text-align: center;
    padding: 40px 20px;
    background: #6a0dad; /* Deep Purple */
    margin-top: 40px;
    color: white;
}

.get-involved h2 {
    font-size: 2.5rem;
    color: #fff;
}

.get-involved p {
    font-size: 1.5rem;
    color: #f8f8f8;
    margin-bottom: 20px;
}

/* Get Involved Button */
.get-involved .btn {
    background-color: #6A1B1A; /* Deep Red */
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.get-involved .btn:hover {
    background-color: #a11a1a; /* Slightly darker deep red */
}

/* Footer */
.footer {
    background-color: #9370DB;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    color: white; /* Ensures all text in the footer is white */
}

/* Footer Social Section */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social h3 {
    font-size: 1.5rem;
    color: white; /* Now white */
    margin-bottom: 10px;
}

/* Social Icons */
.social-icons a {
    font-size: 1.5rem;
    color: white; /* Now white */
    transition: color 0.3s ease;
    margin: 0 10px;
}

.social-icons a:hover {
    color: #f1f1f1; /* Slightly lighter white on hover */
}

/* Footer Bottom */
.footer-bottom {
    font-size: 1rem;
    color: white; /* Now white */
    margin-top: 20px;
}
/* Reveal Effect */
.news-item.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Prevent horizontal scroll and shaking */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    touch-action: manipulation; /* Helps prevent weird touch behavior */
    overscroll-behavior-x: none; /* Prevents bounce on mobile */
    position: relative;
}













/* ==== 1) RESET & BOX‑SIZING ==== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==== 2) FLEXIBLE IMAGES & MEDIA ==== */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ==== 3) LISTS, LINKS, TABLES ==== */
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* ==== 4) TYPOGRAPHY & BODY ==== */
html {
  font-size: 16px;            /* base for rems */
  scroll-behavior: smooth;
  overflow-x: hidden;         /* no accidental horizontal scroll */
}
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: sans-serif;
  background-color: #fff;
  color: #333;
}

/* ==== 5) FORM ELEMENTS ==== */
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==== 6) CLEARFIX UTILITY ==== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ==== 7) MOBILE‑FIRST BREAKPOINTS ==== */
@media (max-width: 1024px) {
  html { font-size: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 14px; }
}
@media (max-width: 480px) {
  html { font-size: 13px; }
}


.back-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #800080; /* Purple */
  color: #fff;            /* Deep Red */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  z-index: 9999;
  transition: background-color 0.3s;
}
.back-btn:hover {
  background-color: #4B004B; /* Darker purple on hover */
}



/* YouTube Live Section */
.live-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f0f0f0;
    text-align: center;
    margin: 0;
}

.live-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.live-section p {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 30px;
    padding: 0 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.youtube-live {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.youtube-live iframe {
    width: 100%;
    max-width: 1200px;
    height: 500px;
    border: none;
    border-radius: 0;
    box-shadow: none;
}






.instagram-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
  border-top: 4px solid #6A1B1A;
}

.instagram-section h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 10px;
  font-weight: 700;
}

.instagram-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #6A1B1A;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .instagram-section h2 {
    font-size: 1.8rem;
  }

  .instagram-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}