/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  overflow-x: hidden;
  text-align: center;
}

.upper {
  width: 100%;
  background-color: #fff;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#upper-logo {
  max-height: 80px;
  height: auto;
  width: auto;
  max-width: 100%;
}

.navbar {
  background: linear-gradient(to bottom, #0072c6, #005aa7);
  /* Blue gradient */
  width: 100%;
  padding: 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.nav-links li {
  position: relative;
  /* border: 1px dotted white; */
}

.nav-links li a {
  display: block;
  padding: 15px 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  white-space: nowrap;
}

.nav-links li:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Dropdown styles */
.dropdown-content {
  display: none;
  position: absolute;
  background: #f0f0f0;
  min-width: 200px;
  top: 100%;
  left: 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-content li {
  width: 100%;
}

.dropdown-content li a {
  color: black;
  padding: 10px;
  display: block;
  text-decoration: none;
}

.dropdown-content li a:hover,
a:active,
a:link,
a:visited {
  text-decoration: none;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }


  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    background: linear-gradient(to bottom, #0072c6, #005aa7);
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 10px;
  }
}

.heading {
  font-size: 24px;
  font-weight: bold;
}

.line {
  width: 100px;
  /* Adjust length */
  height: 2px;
  background-color: black;
  /* Line color */
  margin-bottom: 10px;
}

#main-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}


#main-content-left {
  font-size: 1.2rem;
  margin-left: 2vw;
  text-align: left;
  line-height: 1.5;
  width: 70vw;
  padding: 10px;
}


#main-content-right ul li {
  list-style: none;
  background-color: #005aa7;
  color: white;
  width: 19vw;
  margin-bottom: 8px;
  text-decoration: none;
  padding: 10px;
  font-weight: 400;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#main-content-right ul li:hover {
  background-color: #0059a7ae;
  text-decoration: none;
}

#main-content-right ul li a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


@media only screen and (max-device-width: 700px) {
  #main-content {
    flex-direction: column;

  }
}

@media (min-width: 768px) {
  #main-content-right ul {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  #main-content {
    flex-direction: column;
  }

  #main-content-right {
    width: 100%;
  }

  #main-content-right ul {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #main-content-right ul li {
    width: 75%;
    margin: 0 auto 8px auto;
    text-align: center;
  }
}

ul ul {
  margin-left: 20px;
  /* Adjust this value for desired indentation */
  padding-left: 0;
  /* Remove default padding to control spacing */
}

/* Optional: Add some spacing between list items */
ul li {
  margin-bottom: 8px;
  /* Adjust as needed */
}
/* footer */
footer {
  background-color: #f8f8f8;
  padding: 30px 20px;
  text-align: center;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 20px; /* Adjusted gap */
}

.logo-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* Increased gap between logos */
  justify-content: space-between; /* Use space-between for distribution */
}

.logo {
  width: 80px; /* Increased logo size */
  border-radius: 5px; /* Soften edges of logos */
  margin-bottom: 0 !important; /* Override other margins */
}

.springer-logo {
  height: 40px; /* Increased Springer logo height */
  width: auto;
}

.scopus-logo {
  height: 40px; /* Increased Scopus logo height */
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* Distribute columns evenly */
  gap: 20px;
  text-align: left; /* Align text in columns to the left */
}

.footer-column {
  min-width: 150px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.footer-column a {
  display: block;
  color: #555;
  text-decoration: none;
  margin-bottom: 8px; /* Adjusted link spacing */
  font-size: 14px;
}

.footer-column a:hover {
  color: #007bff;
}

.copyright {
  font-size: 12px;
  color: #666;
  margin-top: 20px;
  text-align: center; /* Center copyright text */
  width: 100%; /* Ensure copyright takes full width */
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center; /* Center align content on smaller screens */
  }

  .logo-section {
      justify-content: center; /* Center logos on smaller screens */
  }

  .footer-links {
      text-align: center; /* Center align links on smaller screens */
  }

  .footer-column {
      width: 100%;
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 60px;
  }
}

.flexbox {
  display: flex;
  flex-direction: column;

}

.hidden {
  display: none;
}

.ham-nav {
  height: 100vh;
  width: 100vw;
  z-index: 10;
  background-color: aqua;
  position: absolute;
  padding: 0;
  margin: 0;

}

.ham-nav ul li {
  background-color: #f0f0f0;
  padding: 30px;
  list-style-type: none
}

.cross {
  font-weight: 900;
  color: red;
  position: absolute;
  left: 0px;
  font-size: 30px;
}

/* Index Page Enhancements */
#index-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: white;
}

#index-content h2 {
  font-size: 32px;
  font-weight: bold;
  color: #004080;
  margin-bottom: 10px;
}

#index-content .line {
  width: 80px;
  height: 4px;
  background-color: #007bff;
  margin: 10px auto;
}

#index-content p {
  font-size: 18px;
  max-width: 800px;
  line-height: 1.6;
  color: #333;
}

#index-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

#index-content ul li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #555;
}

#index-content .btn {
  display: inline-block;
  padding: 12px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 20px;
  transition: background 0.3s ease-in-out;
}

#index-content .btn:hover {
  background: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #index-content {
    padding: 30px 15px;
  }

  #index-content h2 {
    font-size: 26px;
  }

  #index-content p {
    font-size: 16px;
  }
}

/* Button Animation */
.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
  background: #0056b3;
}

.btn2 {
  display: inline-block;
  padding: 5px 12px;
  background: #007bff;
  color: white;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  margin-top: 20px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.btn2:hover {
  transform: scale(1.05);
  background: #75b2f4;
}


#photobanner img {
  width: 100%;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

#photobanner img:hover {
  transform: scale(1.05);
  /* Zoom-out effect */
}

/* Contact Form Styling */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.contact-form textarea {
  resize: none;
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.contact-form .btn:hover {
  transform: scale(1.05);
  background: #0056b3;
}

/* Faculty Contact Card Styling */
.faculty-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.faculty-card {
  background: linear-gradient(to bottom right, #eef2f3, #d9e6f2);
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border: 2px solid #007bff;
}

.faculty-card h3 {
  margin-bottom: 10px;
  color: #000;
  font-weight: bold;
}

.faculty-card a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
}

.faculty-card a:hover {
  text-decoration: underline;
}

.faculty-card:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faculty-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    width: 90%;
  }
}

/* Name Box Styling */
.name-box {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Shadow effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Smooth transition */
}

/* Grid Layout Styling */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Responsive grid */
  gap: 20px;
  /* Space between grid items */
  padding: 10px;
}

.grid-layout div {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 5px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* Subtle hover effect */
}

.grid-layout div:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.grid-layout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Media query for mobile responsiveness */
@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
    /* Single column layout for smaller screens */
    gap: 15px;
    /* Adjust spacing for smaller screens */
  }

  .grid-layout div {
    padding: 10px;
    /* Reduce padding for smaller screens */
    font-size: 13px;
    /* Adjust font size for better readability */
  }
}

/* Session Chairs / Keynote Cards */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: #222;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }

  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }
}

/* Photo Banner Animation */
@media screen and (max-width: 768px) {
  #photobanner {
    height: 20rem;
  }

  #photobanner img {
    height: 100%;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    object-fit: cover;
  }

}

/* Main Photo Banner Styles */
#photobanner {
  background: #4a4646;
  position: relative;
  width: 100%;
  max-height: 400px;
  padding-top: 10px;
  overflow: hidden;
}

.banner-overlay {
  position: relative;
  width: 100%;
}

.banner-image {
  width: 110%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(60%) blur(3px);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 20px;
  box-sizing: border-box;
}

.overlay-text h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.overlay-text p {
  font-size: 1rem;
  margin: 5px 0;
}

/* Responsive Styling */
@media (max-width: 480px) {
  .overlay-text h2 {
    font-size: 1.2rem;
  }

  .overlay-text p {
    font-size: 0.8rem;
  }

  .footer-column {
    min-width: 120px;
  }
}

@media (max-width: 768px) {
  #photobanner {
    max-height: 240px;
  }

  .overlay-text h2 {
    font-size: 1.4rem;
  }

  .overlay-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 1024px) {
  .overlay-text h2 {
    font-size: 1.8rem;
  }

  .overlay-text p {
    font-size: 1rem;
  }
}

@media (min-width: 1600px) {
  .overlay-text h2 {
    font-size: 2.6rem;
  }

  .overlay-text p {
    font-size: 1.4rem;
  }
}

/* Add this to your styles.css file */
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
  font-weight: bold;
  text-align: center;
}

.cfp-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cfp-content ul {
  padding-left: 1.5rem;
}

.cfp-content h4 {
  margin-top: 1.5rem;
  color: #004080;
}