body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: url('Nisargamitra Website bg.jpg') no-repeat center center;
  background-size: cover;
  font-family: Arial, sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


.navbar {
  background-color: #f1f7d1;
  border: 1px solid #cfcfcf;
  display: flex;
  
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  
}

.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  height: 45px;
  width: auto;
}

.side-logo {
  height: 40px;
  width: auto;
  margin-left: 10px;
}


.logo-box {
  width: 40px;
  height: 40px;
  background-color: #ddd;
  border: 1px solid #ccc;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-weight: bold;
  color: #1e4c0d;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #1e4c0d;
  cursor: pointer;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-icon {
  font-size: 18px;
  cursor: pointer;
}

.register-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  color: #1e4c0d;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid #ccc;
  min-width: 160px;
  z-index: 10000;
  top: 35px;
  left: 0;
}

.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 8px 12px;
  color: #1e4c0d;
  text-decoration: none;
  font-weight: bold;
}

.dropdown-content a:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links,
  .right-section {
    width: 100%;
    flex-direction: column;
    display: none;
    gap: 10px;
    margin-top: 10px;
  }

  .menu-toggle:checked ~ .nav-links,
  .menu-toggle:checked ~ .right-section {
    display: flex;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-links {
    align-items: flex-start;
  }

  .right-section {
    align-items: flex-start;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #f1f7d1;
    padding-left: 15px;
    display: none;
  }
}

.background-wrapper {
  background: url("Nisargamitra\ Website\ bg.jpg") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}


/* Background section */
.background-section {
  background: url('your-background.jpg') no-repeat center center;
  background-size: cover;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Foreground image (on top of background) */
.image-wrapper {
  max-width: 100%;
  text-align: center;
}

.foreground-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .foreground-image {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .foreground-image {
    max-width: 100%;
  }
}

/* Hero section styles */
/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: auto;         /* allow it to grow as needed */
  min-height: 100vh; 
  overflow: hidden;
}

@media (max-width: 700px) {
  .hero-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }
}

/* Background Image */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Overlay Content Wrapper */
.overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;         /* Center vertically */
  align-items: center;             /* Center horizontally */
  height: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: center;
  gap: 1.2rem;                     /* Add spacing between elements */
  position: relative; /* Add this to position children */
}

@media (max-width: 700px) {
  .overlay-content {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.5rem;
    gap: 1rem;
  }
}

/* Top and Bottom Text */
.overlay-title {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  
  margin: 0.5rem 0;
}

/* Banner Image Centered */
.overlay-image {
  max-width: 90%;
  height: auto;
}

/* Slideshow Styles */
.slideshow-container {
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.slide {
  display: none;
  text-align: center;
  position: relative;
}

.slide.active {
  display: block;
  animation: slideIn 0.8s ease-out;
}

.slide img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.slide:hover img {
  transform: scale(1.02);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Navigation dots */
.dots-container {
  text-align: center;
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: #717171;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .slideshow-container {
    max-width: 95%;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }
  
  .slide img {
    border-radius: 8px;
  }
  
  .dots-container {
    margin-top: 8px;
  }
  
  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #ddd;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .dot.active, .dot:hover {
    background-color: #4CAF50;
    transform: scale(1.2);
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    max-width: 98%;
    border-radius: 6px;
  }
  
  .slide img {
    border-radius: 6px;
  }
  
  .dots-container {
    margin-top: 6px;
  }
  
  .dot {
    height: 8px;
    width: 8px;
    margin: 0 2px;
  }
  
  .intro-text {
    padding: 6px 3px;
    font-size: 0.75rem;
    border-radius: 6px;
    margin-bottom: 6px;
  }
  
  .intro-text h2 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .intro-text p {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  
  .intro-image {
    padding: 12px 8px;
    margin-bottom: 8px;
  }
  
  .intro-image img {
    max-height: 320px;
    min-height: 220px;
  }
}

/* Touch-friendly interactions for mobile */
@media (hover: none) and (pointer: coarse) {
  .slide img {
    transition: none;
  }
  
  .slide:hover img {
    transform: none;
  }
  
  .dot {
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
}

.overlay-title-top{
    color: green;
}

.overlay-title-bottom{
    color: #1e4c0d;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.no-entry-logo {
  position: absolute;
  top: 24px;
  right: 40px;
  height: 64px; /* Increased size */
  width: auto;
  z-index: 3;
  background: none;
  border: none;
  box-shadow: 0 0 16px 0 rgba(30,76,13,0.18); /* Soft green shadow */
  padding: 0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.no-entry-logo:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px 2px rgba(30,76,13,0.22);
}
/* Register Button */
.register-btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  background-color: background-color 0.3s ease;
}

.register-btn:hover {
  background-color: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: unset;
    height: auto;
  }
}
@media (max-width: 768px) {
  .overlay-title {
    font-size: 1.8rem;
  }

  .overlay-image {
    max-width: 95%;
  }

  .register-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }

  .no-entry-logo {
    position: static; /* On mobile, return to the normal flow */
    order: -1; /* Display it above the title */
    height: 58px; /* Increased size */
    margin-bottom: 1rem;
    box-shadow: 0 0 10px 0 rgba(30,76,13,0.13);
  }
}

@media (max-width: 480px) {
  .overlay-title {
    font-size: 1.5rem;
  }

  .register-btn {
    font-size: 0.85rem;
    padding: 7px 14px;
  }
}

@media (max-width: 576px) {
  .cta-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}


@media (max-width: 768px) {
  .cta-wrapper {
    flex-wrap: nowrap;           /* Prevent stacking */
    flex-direction: row;         /* Keep in row */
    gap: 3rem;
  }

  .register-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
}


.white-section {
  padding: 40px 20px;
}

.container-flex {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  align-items: flex-start; 
}

.left-column {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  box-sizing: border-box;
}

.right-column {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.right-column img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transform: none;
}

/* Accordion buttons */
.accordion {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.accordion:hover {
  background-color: #45a049;
}

/* Accordion panel content */

.panel {
  padding: 0 15px;
  display: none;
  background-color: white;
  overflow: hidden;
  margin-bottom: 10px;
  border-left: 3px solid #4CAF50;
}
.boldspan{
  font-style: bold;
}
.mediumlang{
  text-align: center;
  color: palevioletred;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.grp1color,.grp2color{
  color: blue;
}

.group1{
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-family: sans-serif;
  font-weight: 600;

}

.group2 {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-family: sans-serif;
  font-weight: 600;
}

.last-column {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 400px;
  box-sizing: border-box;
  max-width: 500px;
  margin: 24px auto 0 auto;
}
@media (max-width: 900px) {
  .last-column {
    max-width: 98vw;
    width: 98vw;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 16px 6px;
  }
}


.benefits-list {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-family: sans-serif;
  font-weight: bold;
  color: darkgreen;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .left-column,
  .right-column,
  .last-column {
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 480px) {
.group1,
.group2,
.benefits-list {
font-size: 1rem;
}
}


@media (max-width: 768px) {
  .group2 {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .group2 {
    margin-top: 0.8rem;
  }
}


/* Responsive breakpoints */
@media screen and (max-width: 768px) {
  .container-flex {
    flex-direction: column;
    gap: 30px;
  }

  .left-column,
  .right-column {
    flex: 1 1 100%;
  }
  
  .right-column {
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
  }
}


.new-container {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1140px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.new-content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.new-text-content {
  flex: 1 1 60%;
}

.new-image-content {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.award-image {
  max-height: 300px;
  max-width: auto;
  height: auto;
  object-fit: contain;
}

.new-title {
  font-size: 2rem;
  color: blue;
  margin-bottom: 1rem;
  text-align: center;
}

.new-content {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-family: sans-serif;
  font-weight: bold;
  color: black;
}

@media screen and (max-width: 768px) {
  .new-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .new-text-content,
  .new-image-content {
    flex: 1 1 100%;
    text-align: center;
  }
  .award-image {
    max-height: 200px;
    width: auto;
  }
  .new-title {
    font-size: 1.5rem;
  }

  .new-content {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .new-container {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
  }
}

@media screen and (max-width: 480px) {
  .new-title {
    font-size: 1.25rem;
  }

  .new-content {
    font-size: 0.95rem;
  }

  .new-container {
    padding: 1rem;
  }
}

.partners-container {
  overflow: hidden; /* Prevent parent from scrolling */
  padding: 20px 0;
  position: relative;
}

.partners-wrapper {
  display: grid;
  gap: 10px;
  padding: 10px;
  grid-template-columns: repeat(2, 1fr);
}

/* Medium screens (tablets): 3 columns */
@media (min-width: 576px) {
  .partners-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  /* Center the last card (5th card) when it's alone in the second row */
  .partner-card:last-child {
    grid-column: 2;
  }
}

/* Large screens (desktops): 6 columns to keep all partners in one row */
@media (min-width: 992px) {
  .partners-wrapper {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
  
  /* Reset the last card positioning on desktop */
  .partner-card:last-child {
    grid-column: auto;
  }
}

.partner-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-card img {
  max-width: 100%;
  height: 45px; /* Reduced image height */
  object-fit: contain;
  margin-bottom: 8px;
}

.partner-card h4 {
  margin: 0 0 8px;
  font-size: 0.9rem; /* Smaller font size */
  color: #1e4c0d;
}

.partner-card p {
  font-size: 0.75rem; /* Smaller font size */
  color: #555;
  min-height: 30px; /* Adjusted min-height */
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}


.custom-footer {
  font-family: Arial, sans-serif;
  margin-top: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.footer-top {
  background-color: #0f7737;
  color: white;
  text-align: center;
  padding: 1.2rem 1rem;
  border-radius: 2rem;
  margin: 0 auto;
  width: 95%;
  max-width: 1200px;
  box-sizing: border-box;
}

.footer-top a {
  color: #e6ffe6;
  text-decoration: none;
  font-weight: bold;
  word-break: break-word;
}

.footer-note {
  font-size: 0.85rem;
  color: #cceacc;
  margin-left: 0.4rem;
  display: inline-block;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #333;
  background-color: #fff;
  padding: 1rem 1.2rem;
  line-height: 1.5;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.footer-bottom p {
  margin: 0.4rem 0;
}

/* ✅ Mobile-first responsiveness */
@media (max-width: 768px) {
  .footer-top {
    padding: 1rem;
    border-radius: 1rem;
  }

  .footer-top p,
  .footer-bottom p {
    font-size: 0.9rem;
  }

  .footer-note {
    display: block;
    margin: 0.3rem auto 0;
  }

  .custom-footer {
    padding: 0 1rem;
  }

  .contact-text,
  .email-text {
    word-wrap: break-word;
    text-align: center;
  }
}

/* 1. Consistent hover/active/focus effects */
a, button, .register-btn, .accordion, .dropbtn, .nav-links a, .dropdown-content a {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}
a:hover, button:hover, .register-btn:hover, .accordion:hover, .dropbtn:hover, .nav-links a:hover, .dropdown-content a:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  box-shadow: 0 2px 8px rgba(30,76,13,0.08);
  transform: translateY(-2px) scale(1.03);
}
a:active, button:active, .register-btn:active, .accordion:active, .dropbtn:active, .nav-links a:active, .dropdown-content a:active {
  background: #d1e7a7;
  color: #7a1b1b;
  transform: scale(0.98);
}
a:focus, button:focus, .register-btn:focus, .accordion:focus, .dropbtn:focus {
  outline: 2px solid #1e4c0d;
  outline-offset: 2px;
}

/* 2. Smooth accordion animation */
.panel {
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  overflow: hidden;
  max-height: 0;
  padding: 0 15px;
}
.panel.active {
  display: block;
  max-height: 300px;
  padding: 10px 15px;
}

/* Ensure accordion content doesn't get cut off on smaller screens */
@media (max-width: 900px) {
  .panel.active {
    max-height: 2000px; /* allow long content like 7 options to expand */
  }
}

/* 3. Fade-in for all major sections (already present, ensure usage) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* 4. Mobile touch targets */
@media (max-width: 900px) {
  button, .register-btn, .accordion, .dropbtn, .nav-links a, .dropdown-content a {
    min-height: 44px;
    font-size: 1.1rem;
    padding: 12px 10px;
  }
}

/* Back to Top Button */
#back-to-top-btn {
  display: none; /* Hidden by default */
  position: fixed;
  /* Change bottom from 20px to 95px to clear the chatbot bubble */
  bottom: 110px; 
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #7a1b1b;
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(100px);
}

#back-to-top-btn.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#back-to-top-btn:hover {
  background-color: #a93226; /* Darker shade on hover */
}
/* New Beautiful Label for the Chatbot */
.chat-label {
  position: fixed;
  bottom: 35px; /* Aligned with the center of the bot bubble */
  right: 90px;  /* Positioned to the left of the bot bubble */
  background-color: #1e4c0d; /* Dark green matching your site theme */
  color: white;
  padding: 8px 16px;
  border-radius: 20px 20px 0px 20px; /* Beautiful speech bubble shape */
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999; /* Ensure it stays above everything */
  pointer-events: none; /* Allows clicks to pass through to the page if needed */
  animation: fadeInLabel 1s ease-in-out;
  white-space: nowrap;
}

@keyframes fadeInLabel {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.toast {
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.info {
  background-color: #1e4c0d; /* Match site's dark green */
}


/* Fix large gap on iPad Air and similar tablets */
@media (min-width: 800px) and (max-width: 900px) and (orientation: portrait) {
  .hero-section {
    min-height: unset;
    height: auto;
  }
}

@media (max-width: 768px) {
  .nav-links a,
  .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: bold;
    padding: 10px 0 10px 10px;
    border: none;
    background: none;
    font-size: 1.1rem;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #f1f7d1;
    padding-left: 25px;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .right-column, .last-column, .left-column {
    max-width: 100vw;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding-left: 6px;
    padding-right: 6px;
    margin-left: 0;
    margin-right: 0;
    word-break: break-word;
  }
}

/* --- Responsive Rounds Section Styles --- */
.rounds-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px 0 24px 0;
  margin: 32px auto 0 auto;
  width: 100%;
  max-width: 900px;
  box-sizing: border-box;
}
.rounds-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  background: transparent;
  border-radius: 12px;
  padding: 0 8px;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .rounds-section {
    max-width: 98vw;
    padding-left: 4px;
    padding-right: 4px;
  }
  .rounds-box {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
  }
}
@media (max-width: 600px) {
  .rounds-section {
    max-width: 98vw;
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 900px) {
  .rounds-box {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .round-inline {
    min-width: 0;
    width: 100%;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
  .rounds-box > .round-inline:not(:last-child) {
    margin-right: 0 !important;
  }
  .round-info {
    word-break: break-word;
    min-width: 0;
    width: 100%;
  }
  .round-emoji {
    min-width: 36px;
    min-height: 36px;
    font-size: 2rem;
  }
}
.round-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rounds-box > .round-inline:not(:last-child) { margin-right: 0; }
.round-emoji {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.round-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.round-title {
  font-weight: bold;
  color: #2d2dbb;
  font-size: 1.08rem;
}
.round-desc {
  color: #222;
  font-size: 0.97rem;
}
@media (max-width: 900px) {
  .rounds-box {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .round-inline {
    min-width: 0;
    width: 100%;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
  .round-info {
    word-break: break-word;
    min-width: 0;
    width: 100%;
  }
  .round-emoji {
    min-width: 36px;
    min-height: 36px;
    font-size: 2rem;
  }
}

.rounds-section, .last-column {
  max-width: 1200px;
  width: 100%;
  margin: 32px auto 0 auto;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .rounds-section, .last-column {
    max-width: 98vw;
    margin: 32px auto 0 auto;
  }
}

.groups-table-section {
  max-width: 1200px;
  width: 100%;
  margin: 32px auto 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 18px 0 24px 0;
}
.groups-table {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px;
}
.group-col {
  flex: 1 1 0;
  border: 1px solid #bdbdbd;
  border-radius: 6px;
  padding: 12px 18px;
  background: #fafafa;
  min-width: 240px;
}
.group-header {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-header span:first-child {
  background: #1e4c0d;
  color: #fff;
  border-radius: 4px;
  padding: 2px 10px;
  margin-right: 8px;
  font-size: 1rem;
}
.group-row {
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  font-size: 1rem;
}
.grp1color {
  color: #1e4c0d;
  font-weight: bold;
}
.grp2color {
  color: #1e4c0d;
  font-weight: bold;
}
@media (max-width: 900px) {
  .groups-table-section {
    max-width: 98vw;
    width: 100%;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }
  .groups-table {
    flex-direction: column;
    gap: 18px;
    padding: 0 0;
    width: 100%;
    box-sizing: border-box;
  }
  .group-col {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
  .group-row {
    flex-direction: column;
    gap: 2px;
  }
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.info-banner {
  background: #23236e;
  color: #fff;
  font-weight: bold;
  font-size: 1.15rem;
  border-radius: 6px;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(30,76,13,0.08);
  text-align: center;
  border: 2px solid #fff;
  min-width: 260px;
}
@media (max-width: 700px) {
  .cta-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .info-banner {
    font-size: 1rem;
    padding: 10px 8px;
    min-width: 0;
  }
}

.intro-text {
  max-width: 500px;
  width: 100%;
  margin: 24px auto 0 auto;
  box-sizing: border-box;
  padding: 18px 16px;
  font-size: 1.08rem;
  color: #222;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: left;
}
@media (max-width: 900px) {
  .intro-text {
    max-width: 98vw;
    margin: 24px auto 0 auto;
    padding: 12px 6px;
    text-align: left;
  }
}

.intro-row {
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 24px auto 0 auto;
  gap: 12px;
  box-sizing: border-box;
  align-items: stretch;
  flex-direction: row !important;
}
.intro-text, .intro-image {
  flex: 1 1 0;
  max-width: 50%;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.intro-text {
  padding: 18px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.intro-image {
  padding: 20px 15px;
  background: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.intro-image img {
  background: none;
}
@media (max-width: 900px) {
  .intro-image {
    padding: 20px 15px;
    background: none;
  }
}
@media (max-width: 600px) {
  .intro-image {
    padding: 20px 15px;
    background: none;
  }
}
.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  background: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0;
  padding: 0;
}
@media (max-width: 700px) {
  .intro-row {
    flex-direction: column !important;
    gap: 16px;
    max-width: 100%;
    width: 100%;
    align-items: stretch;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .intro-text {
    max-width: 100%;
    width: 100%;
    padding: 8px 4px;
    font-size: 0.85rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 8px;
    height: auto !important;
    min-height: auto !important;
    text-align: left;
    box-sizing: border-box;
  }
  
  .intro-text h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .intro-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .intro-image {
    max-width: 100%;
    width: 100%;
    padding: 18px 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
    min-height: auto !important;
    box-sizing: border-box;
  }
  .intro-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 280px;
    min-height: 200px;
    object-fit: cover;
  }
}

.right-column {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Remove or override any previous conflicting rules for .right-column */
.right-column {
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 20px !important;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .register-btn {
    min-height: unset;
    padding: 7px 14px;
    font-size: 0.85rem;
  }
}

/* --- Begin 5thscience.css Navbar Effects --- */
.navbar {
  background-color: #f1f7d1;
  border: 1px solid #cfcfcf;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}
.site-logo:hover {
  transform: scale(1.05);
}
.side-logo {
  height: 40px;
  width: auto;
  margin-left: 10px;
  transition: transform 0.3s ease;
}
.side-logo:hover {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  gap: 20px;
  font-weight: bold;
  color: #1e4c0d;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: #1e4c0d;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav-links a:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(30,76,13,0.15);
}
.right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}
.register-btn {
  background-color: #4caf50;
  color: white;
  padding: 10px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.register-btn:hover {
  background-color: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.register-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.dropdown {
  position: relative;
}
.dropbtn {
  background: none;
  border: none;
  font-weight: bold;
  color: #1e4c0d;
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 6px;
}
.dropbtn:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  transform: translateY(-2px);
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  border: 1px solid #ccc;
  min-width: 180px;
  z-index: 10000;
  top: 40px;
  left: 0;
  border-radius: 8px;
  animation: dropdownFadeIn 0.3s ease;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown.open .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #1e4c0d;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  border-radius: 0;
}
.dropdown-content a:first-child {
  border-radius: 8px 8px 0 0;
}
.dropdown-content a:last-child {
  border-radius: 0 0 8px 8px;
}
.dropdown-content a:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}
.dropdown-content a:hover {
  background-color: #e6f7c1;
  color: #7a1b1b;
  transform: translateX(4px);
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.1);
}
.menu-toggle {
  display: none;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links,
  .right-section {
    width: 100%;
    flex-direction: column;
    display: none;
    gap: 10px;
    margin-top: 10px;
  }

  .menu-toggle:checked ~ .nav-links,
  .menu-toggle:checked ~ .right-section {
    display: flex;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-links {
    align-items: flex-start;
  }

  .right-section {
    align-items: flex-start;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #f1f7d1;
    padding-left: 15px;
    display: none;
  }
}
/* Enhanced hover effects for all interactive elements */
button:hover, .register-btn:hover, .dropbtn:hover, .nav-links a:hover, .dropdown-content a:hover {
  background: #e6f7c1;
  color: #7a1b1b;
  box-shadow: 0 4px 12px rgba(30,76,13,0.15);
  transform: translateY(-2px) scale(1.02);
}
button:active, .register-btn:active, .dropbtn:active, .nav-links a:active, .dropdown-content a:active {
  background: #d1e7a7;
  color: #7a1b1b;
  transform: scale(0.98);
}
button:focus, .register-btn:focus, .dropbtn:focus, .nav-links a:focus, .dropdown-content a:focus {
  outline: 2px solid #1e4c0d;
  outline-offset: 2px;
}


/* --- End 5thscience.css Navbar Effects --- */

