/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #F5F7FA;
    padding-top: 80px; 
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(90deg, #4E54C8, #8F94FB);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo img {
    height: 50px;      
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00C9A7; 
}

/* Hamburger */

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* Mobile menu */
#menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}


@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    height: 100%;
    width: 200px;
    background: linear-gradient(to bottom, #4E54C8, #8F94FB);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
  }

  .hamburger {
    display: flex;
  }

  /* Slide-in menu when checkbox is checked */
  #menu-toggle:checked ~ .nav-links {
    right: 0;
  }
}


/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Three slides layered on top of each other */
.hero::before,
.hero::after,
.hero div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: fadeSlider 15s infinite;
  z-index: -2;
}


.hero::before {
  background-image: url('Images/herophoto1.jpg');
  animation-delay: 0s;
}

.hero::after {
  background-image: url('Images/herophoto2.jpg');
  animation-delay: 5s;
}

.hero div::before {
  background-image: url('Images/herophoto3.jpg');
  animation-delay: 10s;
}

/* Fade in fade out */
@keyframes fadeSlider {
  0% { opacity: 0; }
  10% { opacity: 1; }
  30% { opacity: 1; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #1e88e5;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0d47a1;
}

/*Registration Page*/
.registration-section {
  padding: 50px 20px;
  background: #f5f7fa;
}

.registration-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;   /* makes both columns equal height */
  max-width: 1000px;
  margin: auto;
  gap: 20px;
}

.guidelines,
.form-container {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.guidelines h2,
.form-container h2 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #4E54C8;
}

.guidelines ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.8;
  color: #333;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 95%;
}

.form-container input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.cbox {
  font-size: 14px;
  color: #333;
}

.cbox input {
  margin-right: 6px;
}

.form-container button {
  padding: 12px;
  background: linear-gradient(135deg, #4E54C8, #8F94FB);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.form-container button:hover {
  opacity: 0.9;
}

#rbtn{
    width: 104%;
}

#rbtn:hover{
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(78, 84, 200, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
  .registration-container {
    flex-direction: column;
  }
}

.thank-you {
  display: none;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #4E54C8;
  background: #F5F7FA;
  text-align: center;
  border-radius: 8px;
}

#submitted:target {
  display: block;
}

/* About Preview Section */
.about-preview {
    padding: 4rem 10%;
    background-color: #FFFFFF;
    color: #333;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;  /* Helps if screen is small */
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #4E54C8; 
}
.about-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #4E54C8; 
}
.about-text li {
    margin-bottom: 1rem
}
.about-text ul li {
    padding-bottom: 2px;
}
.about-text blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #000000;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.btn-secondary {
    background-color: #00C9A7;
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: #02b290;
    transform: scale(1.05);
}

.about-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

/* Speakers Preview Section */
.speakers-preview {
    padding: 4rem 10%;
    background-color: #F5F7FA;
    text-align: center;
}

.speakers-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #4E54C8;
}

.speakers-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.speaker-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
    padding: 1rem;
    max-width: 250px;
    flex: 1 1 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.speaker-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.speaker-card h3 {
    margin: 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.speaker-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 10%;
    background-color: #FFFFFF;
    text-align: center;
}

.testimonials-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #4E54C8;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #F5F7FA;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    max-width: 300px;
    flex: 1 1 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}


/* Footer */
.footer {
    background: linear-gradient(90deg, #4E54C8, #8F94FB);
    color: white;
    padding: 2rem 10% 1rem 10%;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Logo + Event Name */
.footer-logo {
    height: 40px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Social Media Icons */
.footer-social img {
    height: 25px;
    margin: 0 0.5rem;
    filter: brightness(0) invert(1); 
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.2);
}

/* Contact Link */
.footer-contact a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #00C9A7; 
}

/* Copyright Text */
.footer-copy {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* About Page */
.about-section {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-section h1,h2{
  color: #4E54C8;
}

.introsec{
  display: flex;
  width: 100%;
  height: 300px;
  justify-content: space-between;
  margin-top: 40px;
}

.introsec-text,
.introsec-image {
    flex: 1;
    height: 100%;
    box-sizing: border-box;
}

.introsec-text {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #f5f5f5; 
    text-align: justify;
    margin-right: 2%;
    flex-direction: column;
}

.introsec-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    border-radius: 5px;
}

.storysec{
  display: flex;
  width: 100%;
  height: 300px;
  justify-content: space-between;
  margin-top: 80px;
}

.storysec-img,
.storysec-text{
  flex: 1;
  height: 100%;
  box-sizing: border-box;
}

.storysec-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.storysec-text{
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: #f5f5f5; 
  text-align: justify;
  margin-left: 2%;
  flex-direction: column;
}

.about-text {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}

.mv-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.mv-card {
  background: #f5f7fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 280px;
}

.mv-card h3 {
  color: #4E54C8;
  margin-bottom: 10px;
}

.why-join {
  margin: 50px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
  align-items: stretch;
}

.highlight {
  background: #4E54C8;
  color: white;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
}

.schedule-section {
  margin: 60px 0;
}

.schedule-table {
  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  font-size: 16px;
}

.schedule-table th, 
.schedule-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: center;
}

.schedule-table th {
  background: #4E54C8;
  color: white;
}

.schedule-table tr:nth-child(even) {
  background: #f5f7fa;
}

.closing-quote {
  margin-top: 50px;
  font-size: 20px;
  font-style: italic;
  color: #333;
}



/* Team Page */
.team {
    padding: 4rem 10%;
    background-color: #FFFFFF;
    text-align: center;
}

.team-container h1 {
    font-size: 2.5rem;
    color: #4E54C8;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.team-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 3rem;
    font-family: 'Roboto', sans-serif;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: #F5F7FA;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    height: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #8F94FB;
}

.team-card h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.team-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Overlay Effect */
.team-card {
    position: relative;  
    overflow: hidden;   
}

.team-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;                     
    transition: opacity 0.4s ease;  
}

.team-card:hover .overlay {
    opacity: 1;                     
}

/* Style icons */
.team-card .overlay img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.team-card .overlay img:hover {
    transform: scale(1.2);
}


/* Contact Page */

.contact-section {
  display: flex;
  gap: 10px;
  padding: 60px 20px;
  background: #F5F7FA;
  justify-content: center;
  align-items: stretch; 
  font-family: 'Poppins', sans-serif;
  min-height: 500px; 
}

.contact-map-container,
.contact-container {
  flex: 1;
  max-width: 600px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.contact-map-container {
  padding: 30px 20px;
}

/* Header styling inside map container */
.contact-map-container h2 {
  color: #4E54C8;
  margin-bottom: 20px;
  text-align: center;
}

/* Map iframe fills the container fully */
.contact-map-container iframe {
  flex: 1;         /* Fill all vertical space */
  width: 100%;     /* Full width */
  border: 0;
  border-radius: 10px;
  min-height: 0;   
}

/*Form*/

.contact-container h1 {
  color: #4E54C8;
  margin-bottom: 10px;
  text-align: center;
}

.contact-container p {
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* Form Elements */
form label {
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  color: #333;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  transition: border 0.3s ease;
  resize: none;
}

form input:focus,
form textarea:focus {
  border-color: #4E54C8;
  outline: none;
}

/* Gender Fieldset */
fieldset {
  border: none;
  margin-bottom: 0;
  padding: 0;
}

fieldset legend {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

fieldset label {
  margin-right: 15px;
  font-weight: normal;
}

/* Checkbox */
form input[type="checkbox"] {
  margin-right: 8px;
}

/* Submit Button */
form input[type="submit"] {
  background: linear-gradient(90deg, #4E54C8, #8F94FB);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

form input[type="submit"]:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(78, 84, 200, 0.4);
}

/* For mobile */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 30px 10px;
  }

  .contact-map-container
  {
    max-width: 100%;
    width: 92%;
    margin-bottom: 30px;
  }

  .contact-map-container iframe {
    height: 400px;
  }
}


.thankyou-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #e0f7fa, #fce4ec);
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.thankyou-section h2 {
  font-size: 2.5rem;
  color: #4E54C8; 
  margin-bottom: 1rem;
}

.thankyou-section p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  color: #555;
}

.thankyou-section a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #4E54C8;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.thankyou-section a:hover {
  background-color: #4E54C8;
}


/*Speaker's Page */
.speakerpage-wrapper {
    padding: 60px 10%;
    background: #f5f7fa;
}

.speakerpage-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
    color: #4E54C8;
}

.speakerpage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.speakerpage-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.speakerpage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.speakerpage-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.speakerpage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.speakerpage-role {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.speakerpage-bio {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-top: 10px;
}

.speakerpage-card summary {
    list-style: none;
    cursor: pointer;
}

.speakerpage-card summary::-webkit-details-marker {
    display: none;
}

/*end of speaker page */


/* Gallery Page */
.gallery {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #F5F7FA;
}

.gallery h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* End of Gallery Page */