/* ===== BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600&display=swap');

html {
  scroll-behavior: smooth;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Dancing Script', cursive;
  background-color: #ffffff;
}

/* ===== BANNER SECTION ===== */
.banner {
  background-image: url('images/Banner\ niist\ athul.jpg'); /* Use double backslashes for safety */
 background-size: contain; /* Ensures the background image covers the entire banner */
    background-repeat: no-repeat;         /* don’t tile */
     background-position: center center; 

    height: 200px; /* Set a fixed height */
    width: 100vw; /* Use 100% of the viewport width */
    
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    /* Optional: Adding some responsive design */
    max-height: 60vh; /* Optional: Sets the maximum height based on viewport height */
    overflow: hidden;
}

.banner h1 {
  font-size: 40px;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  text-align: center;
}

@media (max-width: 768px) {
  .banner {
    height: 160px;
    background-size: cover;
  }

  .banner h1 {
    font-size: 24px;
    padding: 0 20px;
  }
}


/* ===== NAVBAR SECTION ===== */
.navbar-container {
  background-color: #81a468;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
  flex-wrap: wrap;
}

.navbar-list li {
  margin: 10px 20px;
  position: relative;
}

.navbar-list li a {
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-list li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: white;
  transition: width 0.3s;
}

.navbar-list li a:hover::after {
  width: 100%;
}

/* ===== DROPDOWN MENU ===== */
.navbar-list .dropdown {
  position: relative;
}

.navbar-list .dropdown-menu {
  display: none;
  position: absolute;
  background-color: #81a468;
  list-style: none;
  min-width: 160px;
  top: 100%;
  left: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 8px 0;
  z-index: 999;
}

.navbar-list .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-list .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  transition: background-color 0.2s;
}

.navbar-list .dropdown-menu li a:hover {
  background-color: #3a4918;
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  .navbar-list {
    flex-direction: column;
    align-items: center;
  }

  .navbar-list li {
    margin: 8px 0;
  }

  .navbar-list li a {
    font-size: 16px;
    padding: 8px 0;
  }

  .navbar-list li a:active {
    border-left: 4px solid #ffc107;
    padding-left: 14px;
  }

  .navbar-list .dropdown-menu {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .navbar-list .dropdown-menu li a {
    padding: 10px;
  }
}

   /*  END OF NAVIGATION BAR  */

/*  CARASOUL  */
/* Carousel Styling */
.carousel {
    position: relative;
   
    max-width: 100%;
    
    overflow: hidden;
}

.carousel-images img {
    width: 100%;
     /* Ensures uniform height for all images */
    object-fit: cover;
    display: none;
    opacity: 0; /* Start invisible */
    transform: scale(1.1); /* Start slightly zoomed in */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Animation for opacity and transform */
}

.carousel-images img.active {
    display: block;
    opacity: 1; /* Fully visible */
    transform: scale(1); /* Reset to normal size */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators span {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators .active {
    background-color: white;
}

/* HOME */
/* ===== HOME SECTION ===== */
#home {
  padding: 60px 20px;
  background-color: #f8f9f5;
  text-align: justify;
  font-family: 'Rubik', sans-serif;
}

.home h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  position: relative;
  margin-bottom: 30px;
}

.home h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.home p {
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  max-width: 900px;
  margin: 0 auto 20px;
  font-family: 'Poppins', sans-serif;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  #home {
    padding: 40px 15px;
  }

  .home h2 {
    font-size: 22px;
  }

  .home h2::before {
    width: 40px;
    height: 2px;
  }

  .home p {
    font-size: 15px;
    padding: 0 10px;
  }
}

/* OBJECTIVES */
/* === OBJECTIVES SECTION === */
.objectives-sec {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
}

.section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 40px;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #81a568;
  border-radius: 2px;
}

/* Grid Layout */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Card Style */
.theme-card {
  background-color: #f5f5f5;
  border-left: 4px solid #ccc773;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-5px);
}

.theme-card h4 {
  color: #3a4918;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.theme-card p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* UPCOMING */
#upcoming {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
  color: #333;
}

#upcoming h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 40px;
  position: relative;
}

#upcoming h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

#upcoming h3 {
  font-size: 20px;
  font-weight: 500;
  color: #3a4918;
  margin-top: 35px;
  margin-bottom: 12px;
  position: relative;
}

#upcoming h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 45px;
  height: 2px;
  background-color: #3a4918;
  border-radius: 2px;
}

#upcoming p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: justify; /
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  #upcoming {
    padding: 40px 15px;
  }

  #upcoming h2 {
    font-size: 22px;
  }

  #upcoming h2::after {
    width: 40px;
  }

  #upcoming h3 {
    font-size: 18px;
  }

  #upcoming h3::after {
    width: 35px;
  }

  #upcoming p {
    font-size: 15px;
    line-height: 1.6;
  }
}
/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Registration Section Timeline + Accordion */
#Registration_details {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
}

#Registration_details .section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 40px;
  position: relative;
}

#Registration_details .section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.accordion-section {
  position: relative;
  border-left: 4px solid #3a4918;
  padding-left: 20px;
  margin-bottom: 30px;
}

.accordion-toggle {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: #2c3a09;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  position: relative;
}

.accordion-toggle::before {
  content: '\25BC';
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.accordion-toggle.active::before {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 10px 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 15px;
}

.fee-table th,
.fee-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  font-size: 16px;
}

.fee-table th {
  background-color: #e5f0cc;
  color: #3a4918;
}

.bank-list {
  list-style: none;
  padding-left: 0;
}

.bank-list li {
  margin-bottom: 8px;
}

.register-button {
  display: inline-block;
  background-color: #3a4918;
  color: white;
  padding: 12px 25px;
  border-radius: 40px;
  font-size: 16px;
  margin-top: 15px;
  text-decoration: none;
  transition: 0.3s ease;
}

.register-button:hover {
  background-color: #e5f0cc;
  color: #3a4918;
  transform: scale(1.05);
  text-decoration: none;
}

.qr-section {
  text-align: center;
  margin-top: 50px;
}

.qr-section h3 {
  color: #3a4918;
  font-weight: 500;
  margin-bottom: 15px;
}

.qr-image {
  max-width: 250px;
  width: 90%;
  border-radius: 8px;
  
}

/* Responsive */
@media (max-width: 768px) {
  .accordion-toggle {
    font-size: 16px;
  }
  .fee-table th, .fee-table td {
    font-size: 15px;
  }
  .register-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}



#patrons {
  background: #f8f9f5;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
}

#patrons h2 {
  text-align: center;
  color: #3a4918;
  font-size: 28px;
  font-weight: 600;
  position: relative;
  margin-bottom: 40px;
   font-family: 'Rubik', sans-serif;
}

#patrons h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

/* Compact Card Layout */
#patrons figure {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(58, 73, 24, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 260px;
  margin: 0 auto 25px auto;
}

#patrons figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(58, 73, 24, 0.18);
}

#patrons img {
  border-radius: 6px;
  width: 100%;
  height: 270px;
  object-fit: cover;
  margin-bottom: 10px;
}

#patrons figcaption {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

#patrons figcaption strong {
  color: #3a4918;
  display: block;
  font-size: 15px;
}

/* Responsiveness */
@media (max-width: 768px) {
  #patrons .col-md-4 {
    margin-bottom: 20px;
  }

  #patrons figure {
    max-width: 90%;
  }

  #patrons img {
    height: 200px;
  }
}

#committee-section {
  background-color: #f8f9f5;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
}

#committee-section h2 {
  text-align: center;
  color: #3a4918;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

#committee-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.committee-category {
  margin-bottom: 50px;
}

.committee-category h3 {
  color: #2c3a09;
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.committee-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.committee-member {
  background-color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 250px;
  text-align: center;
}

.committee-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(58, 73, 24, 0.15);
}
/* Lead Organizer Grid */
.lead-committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.lead-entry {
  background-color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #2f3b07;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


@media (max-width: 768px) {
  .committee-member {
    width: 100%;
  }
}

#contact-us {
  background: #f9fdf5;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
}

#contact-us .section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 40px;
  position: relative;
}

#contact-us .section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.contact-card {
  background: white;
  padding: 20px 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 6px solid #3a4918;
}

.contact-card h3 {
  color: #3a4918;
  margin-bottom: 10px;
  font-size: 20px;
}

.contact-card p {
  margin: 6px 0;
  font-size: 16px;
  color: #333;
}

.contact-card a {
  color: #3a4918;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.query-button {
  background-color: #3a4918;
  color: white;
  padding: 12px 25px;
  border-radius: 40px;
  font-size: 16px;
  margin-top: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.query-button:hover {
  background-color: #e5f0cc;
  color: #3a4918;
  transform: scale(1.05);
}

.contact-map {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  text-align: center;
}

.map-image {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.map-image:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}
.venue-section {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
  color: #333;
}

.venue-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.venue-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 30px;
  position: relative;
}

.venue-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.venue-image {
  display: block;
  max-width: 100%;
  height: 400px;
  margin: 0 auto 40px auto;
  border-radius: 12px;
  
}

.venue-details h3 {
  color: #3a4918;
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.venue-details h4 {
  font-size: 18px;
  color: #2e2e2e;
  margin-top: 25px;
  margin-bottom: 8px;
  font-weight: 600;
}

.venue-details p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: justify;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .venue-title {
    font-size: 24px;
  }

  .venue-details h3 {
    font-size: 20px;
  }

  .venue-details h4 {
    font-size: 17px;
  }

  .venue-details p {
    font-size: 15px;
  }
}
.brochure-download-badge {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #3a4918;
  color: white;
  font-family: 'Rubik', sans-serif;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: background 0.3s ease, transform 0.3s ease;
}

.brochure-download-badge:hover {
  background-color: #1e2906;
  transform: scale(1.05);
  text-decoration: none;
}

#important-dates {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Rubik', sans-serif;
  color: #3a4918;
  text-align: center;
}

#important-dates h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  position: relative;
}

#important-dates h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

.date-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.date-card {
  background-color: #f8f9f5;
  border: 1px solid #d3d3d3;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.date-card:hover {
  transform: translateY(-5px);
}

.date-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #3a4918;
}

.date-card .highlight {
  font-size: 16px;
  font-weight: bold;
  color: red;
}

.register-button {
  display: inline-block;
  padding: 12px 22px;
  background-color: #3a4918;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.register-button:hover {
  background-color: #2d3a12;
}

/* Responsive */
@media (max-width: 768px) {
  .date-card {
    width: 100%;
    max-width: 300px;
  }

  .date-cards-grid {
    flex-direction: column;
    align-items: center;
  }
}



#speakers {
  padding: 60px 20px;
  background-color: #ffffff;
  font-family: 'Rubik', sans-serif;
  text-align: center;
}

#speakers h2 {
  font-size: 32px;
  font-weight: 600;
  color: #3a4918;
  margin-bottom: 40px;
  position: relative;
}

#speakers h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #3a4918;
  border-radius: 2px;
}

#speakers .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px 20px;
}

#speakers figure {
  margin: 0;
  text-align: center;
  max-width: 280px;
}

#speakers img {
  width: 95%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

#speakers figcaption {
  color: #3a4918;
  font-size: 15px;
  line-height: 0.75;
}

#speakers figcaption strong {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  #speakers .row {
    justify-content: center;
  }
  #speakers figure {
    width: 45%;
  }
}

@media (max-width: 600px) {
  #speakers figure {
    width: 90%;
  }
}
#speakers .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 40px; /* Increased: 50px vertical, 40px horizontal */
  margin-bottom: 40px; /* Extra bottom spacing between rows */
}

#speakers .row > div {
  flex: 0 0 calc(33.33% - 40px); 
  max-width: calc(33.33% - 40px);
}

@media (max-width: 992px) {
  #speakers .row > div {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  #speakers .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


