@font-face {
  font-family: "Poppins";
  src: url(assets/fonts/Poppins-Regular.ttf);
}

@font-face {
  font-family: "Montserrat";
  src: url(assets/fonts/Montserrat-Regular.ttf);
}

/* --- GENERAL RESET --- */
body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
}

html{
  background-color: #000;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar base */
.site-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: all 0.3s ease;
  padding: 1rem 0;
  z-index: 1000;
}

/* Shrink effect */
.site-navbar.navbar-shrink {
  background: #111;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.site-navbar .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  font-family: Poppins;
  padding-left: 2rem;
  text-transform: uppercase;
}

.menu-links {
  flex-direction: column;
  gap: 1rem;
  background: #111;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 1rem;
  text-align: center;
  margin-right: 4rem;
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  font-family: Poppins;
  font-weight: 500;
  text-transform: uppercase;
}

.menu-links a:hover,
.menu-links a.active {
  color: #e36414; /* highlight */
  transition: color 0.6s ease;
}

.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}


/* Desktop view */
@media (min-width: 768px) {
  .site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .site-image{
    height: 3.4vh;
    width: auto;
  }
  
  .menu-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 2rem;
  }
  .menu-toggle {
    display: none;
  }

  .hero-button{
    font-size: 1.5rem;
  } 
  /* Shared project rows */
  .project-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .project-row.reverse {
    flex-direction: row-reverse;
  }

  /* Featured project (Schedule) stays full width */
  .project-row.featured {
    flex-direction: column;
    text-align: center;
  }

  .project-row.featured .project-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
  }

  /* Normal alternating projects */
  .project-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
  }

  .project-row .project-image .right{
    margin-left: 2rem;
  }

  .project-row .project-image .left{
    margin-right: 2rem;
  }

  .project-info {
    flex: 1 1 50%;
  }

  .projects-section h4{
    font-size: 3rem;
  }
  
  .projects-section .project-description{
    font-size: 1.5rem;
  }
  
  .speaker-section .content-wrapper{
    display: flex;
    flex-direction: row;
    padding: 3rem;
  }

  .speaker-section .speaker-row{
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .speaker-section img{
    margin: 0 auto;
    border-radius: 50%;
    width: 370px;
    height: 370px;
    margin-bottom: 2rem;
    border: 3px solid #e36414;
    box-shadow: 0 0 25px rgba(227, 100, 20, 0.8);
  }

  .speaker-section .speaker-card{
    text-align: center;
  }

  .speaker-card h4{
    font-size: 1.8rem;
  }
  
  .speaker-card p{
    font-size: 1.2rem;
    color: #fff;
  }

  .biography h4{
    font-size: 2rem;
    font-family: Poppins;
    text-transform: uppercase;;
  }

  .biography p{
    font-size: 1.5rem;
    line-height: 2.7rem;
    color: #e36414;
  }

  .speaker-section .biography{
    flex: 0 0 60%;
    width: 85%;
    text-align: left;
  }

  .speaker-section h2{
    font-size: 3rem;
    padding-top: 3rem;
    margin-bottom: 2rem;
  }

  .contact-section .contact-map{
    width: 45%;
    height: 45vh;
  }

  .contact-section h4{
    font-size: 2rem;
  }

  .contact-section p{
    font-size: 1.5rem;
  }

  .organizers-section .organizer-card h4{
    font-size: 1.5rem;
  }

  .organizers-section .organizer-card p{
    font-size: 1.1rem;
  }

  .contact-section .qiskit img{
    width: 30%;
    margin: 0 auto;
  }
}

@media (max-width:1267px) {
    .speaker-section .biography{
      padding-left: 2rem;
      max-width: 55%;
    }
}

@media (max-width:1040px) {
  .speaker-section .content-wrapper{
    flex-direction: column;
    align-items: center;
  }

  .speaker-section .biography{
    max-width: 80%;
    text-align: center;
    padding-left: 0;
  }

  .biography h4{
    text-align: center;
  }

  .speaker-section img{
    width: 270px;
    height: 270px;
  }
  .speaker-section .speaker-row{
    max-width: 100%;
  }
}

/* Show menu when open on mobile */
.menu-links.open {
  display: flex;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 40rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75));
}

.hero-section h4{
  font-weight: 900;
  text-transform: uppercase;
  font-family: Poppins;
  font-size: 2rem;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.5em;
  text-transform: uppercase;
  font-family: Poppins;
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 6rem;
  }
}

.hero-button {
  background-color: #e36414;
  color: #000;
  border: none;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 0.3rem;
  margin-top: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 1s ease, color 0.5s ease, transform 1s ease;
  display: inline-block;
}

.hero-button:hover {
  background-color: #faa307;
  color: #fff;
  transform: scale(1.2);
}

/* --- COUNTDOWN --- */
.countdown {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.countdown h2{
  font-size: 3rem;
  font-weight: 900;
  font-family: Poppins;
  text-transform: uppercase;
}

.about-heading{
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  font-family: Poppins;
  color: #e36414;
}

.about-text{
  text-align: center;
  font-family: Nunito;
  color: #fff;
  line-height: 2rem;
  width: 70%;
  margin: auto;
  margin-top: 2rem;
}


/* Responsive styles for mobile */
@media (max-width: 767px) {
  .site-logo{
    padding-left: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .site-image{
    height: 3.4vh;
    width: auto;
  }
  
  .menu-links{
    opacity: 0;
    margin-right: 0rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 2s ease;
  }

  .menu-links.open{
    max-height: 500px;
    opacity: 1;
  }

  .menu-links a{
    font-size: 1.1rem;
  }

  .hero-button{
    font-size: 1.2rem;
  }
  .countdown {
    margin-top: 3rem;
    padding: 0 4rem;       /* spacing from edges */
    box-sizing: border-box; /* includes padding in width */
    flex-wrap: wrap;       /* allow units to wrap if needed */
    justify-content: center;
    gap: 1rem;    
    max-width: 100%;
    width: 100%;
  }

  .countdown-unit {
    margin-bottom: 1rem;
  }

  .countdown-label {
    font-size: 0.9rem !important;
  }

  .countdown-time {
    font-size: 2rem !important;
  }

  .hero-section h1{
    padding: 0 1rem;
    margin-top: 0;
    margin-bottom: 0.7rem;
  }

  .hero-section h4{
    margin-bottom: 0.7rem;
    font-size: 1rem;
  }
  
  .about-heading{
    text-align: center;
    text-transform: uppercase;
    font-size: 1.5rem;
    padding: 0 0.9rem 0 0.9rem;
  }

  .about-text{
    text-align: center;
    padding: 0 0.9rem 0 0.9rem;
    width: 80%;
  }

  .about-section p{
    font-size: 1rem !important;
    line-height: 2rem !important;
  }

  .about-section h2{
    font-size: 2rem !important;
  }

  .projects-section{
    font-size: 1.5rem;
    letter-spacing: 0.05rem;
  }

   .project-row.featured .project-description{
    text-align: center;
  }

  .project-row.featured h4{
    font-size: 1.8rem;
  }

  .project-row.featured p{
    font-size: 1.1rem;
  }

  .projects-section h4{
    font-size: 1.5rem;
  }

  .projects-section .project-description {
  line-height: 2em;
  font-size: 1rem;
  }

    .speaker-section .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;   /* center everything horizontally */
    padding: 2rem 1rem;
    text-align: center;
  }

  .speaker-section .speaker-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .speaker-section .speaker-card {
    text-align: center;
    max-width: 100%;
  }

  .speaker-section .speaker-card img {
    width: 250px; 
    height: 250px;
    border-radius: 50%;
    border: 3px solid #e36414;
    box-shadow: 0 0 20px rgba(227,100,20,0.7);
    margin: 0 auto;  
  }

  .speaker-section .speaker-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }

  .speaker-section .speaker-card p {
    font-size: 1rem;
    color: #fff;
  }

  .speaker-section .biography {
    width: 100%;
    max-width: 90%;  
    text-align: center;
    padding-left: 0;
  }

  .speaker-section .biography h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
  }

  .speaker-section .biography p {
    font-size: 1rem;
    line-height: 1.7rem;
    color: #e36414;
  }

  .speaker-section h2{
    font-size: 2.5rem;
    padding-top: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .speaker-section .biography h4{
    font-size: 1.5rem;
    font-family: Poppins;

  }
  
  .organizer-card{
    max-width: 60%;
  }

  .organizer-card img{
    width: 250px;
    height: 250px;
  }

  .organizer-card h4 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
  }

  .organizers-section .organizer-card p{
    width: 100%;
  }
  
  .contact-section .contact-map{
    width: 100%;
    height: 25vh;
  }

  .contact-section .qiskit img{
    width: 60%;
    margin: 0 auto;
  }
  
  .site-footer .content-wrapper{
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 0.75rem;
  }
}

@media (max-height: 896px) {
  .hero-section h1{
    line-height: 5rem;
  }

  .hero-section h4{
    padding-top: 3rem;
  }
}

@media (max-height: 660px) {
  .hero-section h1{
    line-height: 4.5rem;
    margin-bottom: 0.5rem;
  }

  .hero-section h4{
    padding-top: 3rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) and (max-width: 860px) {
  .site-logo{
    flex-wrap: wrap;
  }
  .site-logo{
    max-width: 8ch;
  }

  .countdown{
    margin-top: 6rem;
  }
}

.countdown{
  gap: 1.5rem;
}

.countdown-unit {
  text-align: center;
}

.countdown-time {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
}

.countdown-label {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- ABOUT SECTION --- */
.about-section {
  padding: 8rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),url("../assets/img/fall.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  height: fit-content;
}


.about-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.about-section p {
  font-size: 1.5rem;
  font-family: Nunito;
  line-height: 3rem;
}


/* --- PROJECTS SECTION --- */
.projects-section {
  padding: 0;
  padding-bottom: 1rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),url("../assets/img/FallFestbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.projects-section .project-row.featured{
  background-color: #000;
}

.projects-section .project-info {
  padding: 3rem;
}

.projects-section h4 {
  font-weight: 900;
  font-family: Poppins;
  color: #fff;
}

.projects-section .project-description {
  max-width: none;
  color: #e36414;
  line-height: 2em;
}

.project-description .IBM{
  color: orange;
  transition:  color 0.5s ease-in-out;
}

.project-description .IBM:hover{
  color: white;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}


/* --- SPEAKER SECTION --- */
.speaker-section {
  padding: 4rem 0;
    background-image: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url("../assets/img/FallFestbg.png");
    color: #fff;
    background-position: center;
    background-size: cover;
}

.speaker-section h2{
    font-weight: 700;
    font-family: Poppins;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
}

.speaker-section .speaker-row h4{
  font-family: Poppins;
  letter-spacing: 0.05rem;
}

.speaker-section img{
  object-fit: fill;
}

/* --- SIGNUP SECTION --- */
.organizers-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url("../assets/img/bg.png");
    object-fit: fill;
    background-position: center;
    color: #fff;
}

.organizers-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.organizers-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.organizer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.organizer-card img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #e36414; /* optional colored border */
}

.organizer-card h4 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-family: Poppins;
}

.organizer-card p {
    font-size: 1rem;
    color: #fff;
    width: 65%;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),url("../assets/img/100years.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-card {
  border: none;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-text {
  font-size: 1rem;
  color: rgba(0,0,0,0.7);
}

.contact-section h4{
  color: #fff;
  font-family: Poppins;
  text-transform: uppercase;
}

.contact-section p{
  color: #e36414;
  font-family: Nunito;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-section .contact-map{
  border-radius: 15px;
}

.contact-section .qiskit img{
  width: 50%;
}

/* --- FOOTER --- */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  background-color: #000;
  color: rgba(255, 255, 255, 0.5);
}
