*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.index-header .text-box h1,
.events-header h1,
.sponsors-header h1,
.about-header h1,
.contact-header h1 {
  font-size: 62px;
}

.index-header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(79, 23, 14, 0.55), rgba(19, 50, 35, 0.979) ), url(images/Conference_2.JPG);
    background-position: center;
    background-size: cover;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 90px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 16px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1{
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 19px;
    color: white;
}
.hero-btn{
    border-radius: 4px;
    display: inline;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
    font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links{
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;

    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul{
        padding: 30px;
    }
}

/*----body----*/
.body{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;

}

.body-col{
    flex-basis: 31%;
    background-color: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.body-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*----opertunities----*/
.opertunities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.opertunities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.opertunities-col img{
    width: 100%;
    border-radius: 10px;
}

.opertunities-col p{
    padding: 0;
}
.opertunities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*-----Call To Action-----*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(images/Workshop_SL.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;

}

.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;

}

@media(max-width: 700px){
    .cta h1{
        font-size: 24px;
    }
}

/*-------Footer-------*/
footer, 
footer * {
  text-align: left !important;
}
footer {
  padding: 8vw;
  background-color: rgb(12, 29, 19);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}


footer .footer-col {
  padding-bottom: 40px;
  color: #7b838a;
}



footer h3 {
  color: rgb(241, 240, 245);
  font-weight: 600;
  padding-bottom: 20px;
}


footer li {
  list-style: none;
  color: #7b838a;
  padding: 10px 0;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

footer li a{
  color: #7b838a;
}


footer li:hover {
  color: rgb(241, 240, 245);
}


footer p {
  color: #7b838a;
  font-size: 16px;
}


footer .subscribe {
  margin-top: 20px;
}


footer input {
  width: 220px;
  padding: 15px 12px;
  background: #334F6c;
  border: none;
  outline: none;
  color: white;
  border-radius: 7px;
}


footer .subscribe a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 12px 15px;
  font-weight: 600;
  border-radius: 5px;
}

/*-------- About Us Page ------*/
.about-header{
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(79, 23, 14, 0.55), rgba(19, 50, 35, 0.979) ), url(images/Conference_3.JPG);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}

.about-header h1{
    margin-top: 100px;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
    font-size: 15px;
}

.reb-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}

.reb-btn:hover{
    color: #fff;
}

#eboard h1 {
  color: black;
  margin-bottom: 10px;
}


/*-- Eboard Layout --*/
#eboard {
  padding: 8vw 8vw 0 8vw;
  text-align: center;
}


/* Remaining profiles in rows of 4 */
.eboard-box.regular-positions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
}


/* Profile card styling */
.profile {
  background: #fafaf1;
  padding: 30px 10px;
  border-radius: 15px;
  text-align: center;
  flex: 1 1 calc(25% - 20px); /* allow 4 per row, shrink/grow as needed */
  min-width: 220px;           /* ensures they don’t shrink too small */
  max-width: 280px;           /* keeps them consistent */
  box-sizing: border-box;
}


.eboard-box .profile {
  width: 23%;
  margin-bottom: 20px;
}


/* Profile image */
.profile img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}


/* Links & contact */
.pro-links {
  margin-top: 10px;
  text-align: center;
}


.pro-links i {
  padding: 10px 13px;
  border: 1px solid rgb(24, 50, 39);
  cursor: pointer;
  transition: 0.5s ease;
  margin-bottom: 5px;
}


.pro-links p {
  margin-top: 10px;
  font-size: 0.9rem;
}


/* Hover effect for icons */
.pro-links i:hover {
  background: rgb(24, 50, 39);
  color: white;
  border: 1px solid rgb(24, 50, 39);
}

@media(max-width: 700px){
    .eboard-box.regular-positions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-width: 90%;
        margin: 0 auto 40px auto;
    }

    .eboard-box.regular-positions .profile {
        width: 90%;
        max-width: 300px;
    }

    .profile img {
        margin-bottom: 15px;
    }

    .pro-links {
        text-align: center;
    }
}

/* events page */
.events-header{
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(79, 23, 14, 0.55), rgba(19, 50, 35, 0.979) ), url(images/FRC_3.JPG);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}

.events-header h1{
    margin-top: 100px;
}

.events-container {
    padding: 8vw;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;    
}

.events-container p{
    font-size: 15px;
}


.event-card {
    background: #F9F9FF;
    border-radius: 15px;
    padding: 30px;
    flex: 1 1 calc(33.333% - 30px); /* 3 per row by default */
    min-width: 260px;               /* prevents too small cards */
    max-width: 350px;               /* keeps consistency */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

.event-card .hero-btn{
  margin-top: auto;
  align-self: flex-start;
}

.event-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}


.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}


.event-date {
    color: #686868;
    font-size: 0.9rem;
    padding: 10px 0;
}


.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #293038;
    padding: 10px 0;
}


.event-description {
    color: #686868;
    margin: 10px 0;
}


.featured-event {
    width: 100%;
    max-width: 950px;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background: #4a90e2;
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-sizing: border-box;
}

.featured-event p{
    color: #fff;
}


.featured-event img {
     flex: 1 1 300px;  /* lets image shrink/grow */
     max-width: 300px;
    object-fit: cover;
    border-radius: 10px;
}


.featured-event-content {
    flex: 1;
}


.featured-event-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}


.featured-event-content p {
    margin-bottom: 20px;
}


.upcoming-events-title {
    text-align: center;
    margin: 40px 0;
    font-size: 2.2rem;
    color: #293038;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
  /* Events header adjustments */
  .events-header {
    min-height: 40vh;
    padding: 5vw;
    text-align: center;
  }

  .events-header h1 {
    font-size: 2rem;
  }

  .events-header p {
    font-size: 1rem;
  }

  /* Featured event stacked vertically */
  .featured-event {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .featured-event img {
    width: 100%;
    height: auto;
  }

  .featured-event-content {
    text-align: center;
  }

  .featured-event-content h3 {
    font-size: 1.5rem;
  }

  .featured-event-content p {
    font-size: 0.95rem;
  }

  /* Event cards stacked and centered */
  .events-container {
    flex-direction: column;
    align-items: center;
    padding: 5vw;
    gap: 20px;
  }

  .event-title {
    font-size: 1.2rem;
  }

  .event-description,
  .event-date {
    font-size: 0.9rem;
  }

  .upcoming-events-title {
    font-size: 1.8rem;
    margin: 30px 0;
  }
}

/* Styles for sponsors page */

.sponsors-header{
    min-height: 60vh;
    width: 100%;
    background-image: linear-gradient(rgba(79, 23, 14, 0.55), rgba(19, 50, 35, 0.979) ), url(images/Conference_4.JPG);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
    position: relative;
}

.sponsors-container {
    padding: 8vw;
    text-align: center;
}

.sponsors-container p{
  font-size: 15px;
}


.sponsors-intro {
    max-width: 800px;
    margin: 0 auto 60px auto;
}


.sponsors-intro h2 {
    font-size: 2.2rem;
    color: #293038;
    margin-bottom: 20px;
}


.sponsors-intro p {
    color: #686868;
    line-height: 1.6;
}


.sponsor-tier {
    margin-bottom: 80px;
}


.tier-title {
    font-size: 1.8rem;
    color: #293038;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}


.tier-title:after {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background: #4a90e2;
    bottom: -10px;
    left: 25%;
}


.sponsor-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}


.sponsor-card {
    background: #F9F9FF;
    border-radius: 15px;
    padding: 40px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.sponsor-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}


.sponsor-card img {
    max-width: 80%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
}


.sponsor-description {
    color: #686868;
    margin: 15px 0;
    text-align: center;
    line-height: 1.6;
}


.sponsor-btn {
    margin-top: 20px;
}


.become-sponsor {
    background: #f5f7fa;
    padding: 60px 40px;
    border-radius: 20px;
    margin-top: 40px;
    text-align: center;
}


.become-sponsor h3 {
    font-size: 1.8rem;
    color: #293038;
    margin-bottom: 20px;
}


.become-sponsor p {
    color: #686868;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/*-----Contact-----*/
.contact-header {
  min-height: 60vh;
  width: 100%;
  background-image: linear-gradient(
      rgba(79, 23, 14, 0.55), 
      rgba(19, 50, 35, 0.979)
    ), url(images/watson.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  position: relative;
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col .fab{
  font-size: 28px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}

.contact-col .fas{
  font-size: 28px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;
}


.contact-col div p{
  font-size: 16px;
  padding: 0;
}

.contact-col div h5{
  font-size: 20px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}

.contact-col input, .contact-col textarea{
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
}



