/* Reset and Base Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* General styling for the header with reduced height */
.header {
  position: relative;
  overflow: hidden; /* Ensure no content overflows */
  display: flex;    /* Center content horizontally and vertically */
  justify-content: center;
  align-items: center;
  max-width: 1000px; /* Restrict the header's maximum width */
  /* Reduce the header's height */
  margin: auto;      /* Center the header horizontally */
}


.table-wrapper-sg {
  overflow-x: auto;
  margin: 20px 0;
}

.committee-table-sg {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 600px; /* Prevents table squashing on small screens */
}

.committee-table-sg th,
.committee-table-sg td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.table-header-sg {
  background-color: #007acc;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
}

.profile-img-sg {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .committee-table-sg {
    font-size: 14px;
  }

  .profile-img-sg {
    width: 60px;
    height: 60px;
  }

  .committee-table-sg th,
  .committee-table-sg td {
    padding: 8px;
  }
}

/* Optional enhancement: stacked table on very small screens */
@media (max-width: 500px) {
  .committee-table-sg,
  .committee-table-sg thead,
  .committee-table-sg tbody,
  .committee-table-sg th,
  .committee-table-sg td,
  .committee-table-sg tr {
    display: block;
  }

  .committee-table-sg tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 10px;
    background: #f9f9f9;
  }

  .committee-table-sg td {
    border: none;
    padding: 6px 0;
    position: relative;
  }

  .committee-table-sg td::before {
    content: attr(data-label);
    font-weight: bold;
    display: inline-block;
    width: 140px;
    color: #007acc;
  }

  .committee-table-sg thead {
    display: none;
  }
}



/* Carousel Styling */
.carousel {
  padding: 10px;
  position: relative;
  z-index: 5;
  overflow: hidden;
 height: 450px; /* Reduced height for the entire carousel */
}

/* Swiper Container */
.swiper-container {
  width: 100%;
  height: 100%; /* Fill the container height */
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Swiper Wrapper */
.swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

/* Swiper Slide */
.swiper-slide {
  flex-shrink: 0;
  width: 100%; /* Full container width */
  height: 100%; /* Fill the height of the container */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Centered and Responsive Images */
.swiper-slide img {
  width: 100%; /* Make image take full width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Ensure images cover the space */
  display: block;
  border-radius: 5px;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

/* Hover Effect for Arrows */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: translateY(-50%) scale(1.1);
  background-color: rgba(255, 255, 255, 0.7);
  color: #000;
}
/* Responsive Adjustments */
@media (max-width: 768px) {

  .carousel{
    max-height: 300px;
  }
  .swiper-container {
    max-width: 90%;
    height: 300px; /* Adjust height for medium screens */
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 576px) {
  .swiper-container {
    max-width: 100%;
    height: 250px; /* Further reduced height for small screens */
  }

  .swiper-slide img {
    object-fit: contain; /* Prevent cropping on small screens */
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 360px) {
  .swiper-container {
    height: 200px; /* Adjust height for very small screens */
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 25px;
    height: 25px;
  }
}

.navbar{
  padding-left: 30px; /* Space on the left */
  padding-right: 30px;
  color:white;
  
}
.navbar .nav-link {
  font-size: 17px; /* Adjust the font size as needed */
  color: rgb(240, 240, 240) !important; 
  /* Space on the right *//* Ensure the text color is white */
}

.navbar .dropdown-menu .dropdown-item {
  font-size: 16px; /* Adjust the font size for dropdown items */
}



.nav-link.active {
  color: white;
  /* Set the text color to white */
   /* Optional: Highlight with a background color */
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block; /* Show dropdown on hover */
  margin-top: 0;  /* Adjust dropdown position if necessary */
}

/* Ensure the image scales properly within the reduced header */
.header img {
  width: 100%;       /* Scale the image to fit the width of the header */
  height: auto;      /* Maintain the image's aspect ratio */
  object-fit: cover; /* Crop excess parts of the image to fit the container */
}

/* Message Style */
#message {
  display: inline-block;
  margin-left: 30px;
  font-size: 18px;  /* Reduced font size */
  font-weight: bold;
  opacity: 0;
  transform: scale(0);
  animation: zoomInHighlight 3s ease-in-out infinite; /* Increased duration to 3 seconds */
  padding: 10px 20px;  /* Added padding for the message itself */
  background-color: #fff; /* Optional: Background for message */
  border-radius: 8px; /* Optional: Rounded corners for message */
}

/* Animation for zooming and highlighting */
@keyframes zoomInHighlight {
  0% {
    opacity: 0;
    transform: scale(0); /* Start small */
    box-shadow: none;
  }
  50% {
    opacity: 1;
    transform: scale(1.1); /* Zoom in */
    box-shadow: 0 0 8px 3px rgba(61, 58, 156, 0.7); /* Smaller highlight box with red color */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Return to original size */
    box-shadow: none;
  }
}





.dropdown-menu {
  display: none;
  /* Ensure dropdown is hidden by default */
}


.call-for-papers-section {
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
}

.call-for-papers-title {

  color: #333;
  margin-bottom: 20px;
}


.scrolling-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
}

.scrolling-content {
  display: inline-block;
  padding-left: 100%; /* Start the text off-screen to the right */
  animation: scroll-left 25s linear infinite;
  font-size: 1em;
  color: #ffffff;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}


@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.call-for-papers-description {
  text-align: justify;
  margin-bottom: 20px;
}
.visitor-heading {
  color: #006400;
}
.visitor-counter-container {
  font-size: 14px;
  color: #006400;
  margin-top: 20px;
}
.author-guidelines-title{
  color: #007bff;
  margin-bottom: 20px;
}
.submission-title,
.template-links-title,
.conference-tracks-title {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
}

.author-guidelines-list {
  margin-left: 20px;
  margin-bottom: 20px;
}

.submission-links,
.template-links {
  text-align: center;
  margin-bottom: 20px;
}




.books-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.book-item {
  flex: 1 1 30%;
  margin: 10px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background-color: #f9f9f9;
  min-height: 250px; /* Ensures all boxes have the same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-item img {
  max-width: 150px;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.book-item h3 {
  margin-top: auto;
  font-size: 16px;
  color: #333;
}

@media (max-width: 768px) {
  .book-item {
    flex: 1 1 45%; /* Two items per row */
  }
}

@media (max-width: 480px) {
  .book-item {
    flex: 1 1 100%; /* One item per row on smaller screens */
  }
}


.conference-tracks-title {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 3px solid #000; /* Border under the title */
  padding-bottom: 10px;
}

.conference-tracks {
  width: 80%;
  margin: 0 auto; /* Centering the content */
}

.track {
  margin-bottom: 25px;
}

.track-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  text-transform: capitalize;
  border-bottom: 2px solid #000; /* Black border for each track title */
  padding-bottom: 5px;
  font-weight: bold;
}

.track ul {
   /* Remove default bullets */
  padding-left: 0; /* Remove left padding */
  margin-left: 0; /* Remove left margin */
}

.track ul li {
  font-size: 18px;
  color: #555;
  margin-bottom: 8px; /* Space between list items */
}


.year-gallery {
  width: 90%;
  margin: 20px auto;
}

.year-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.gallery-grid img {
  width: calc(33.333% - 10px); /* Three images per row */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

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

.modal-content {
  display: block;
  margin: 50px auto;
  max-width: 50%;
  border-radius: 10px;
}


.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #f00;
}


.template-links-list {
  list-style: none;
  padding: 0;
  text-align: center;
}

.template-links-list li {
  margin-bottom: 10px;
}

.template-links-list li a {
  color: #007bff;
  text-decoration: none;
}

.template-links-list li a:hover {
  text-decoration: underline;
}

.border-bottom {
  border-bottom: 2px solid #007bff;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
  text-align: center;
}

.icacecs-links {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.icacecs-links a {
  display: block;
  margin: 10px 0;
  font-size: 1.2rem;
  color: #007bff;
  text-decoration: none;
}

.icacecs-links a:hover {
  text-decoration: underline;
  color: #0056b3;
}

.programme-schedule-list {
  list-style-type: none; /* Removes bullet points */
  padding: 0; /* Removes default padding */
  margin: 0; /* Removes default margin */
}

.programme-schedule-list li {
  margin-bottom: 10px; /* Adds spacing between items */
}

.programme-schedule-list a {
  text-decoration: none; /* Removes underline from links */
  color: #007bff; /* Sets link color */
  font-weight: bold; /* Makes the text bold */
}

.programme-schedule-list a:hover {
  text-decoration: underline; /* Adds underline on hover */
  color: #0056b3; /* Darkens link color on hover */
}
.terms-title-container {
  width: 100%;
  border-bottom: 2px solid #787878;
  margin-bottom: 20px;
}

.terms-title {
  text-align: center;
}
.terms-title {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #787878;
  box-sizing: border-box; /* Include border in the width calculation */
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
}
.footer a {
  color: #0a84ff;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer h6 {
  font-weight: bold;
}
.footer p {
  margin: 0;
}
.footer .copyright {
  text-align: center;
  padding-top: 10px;
}
