@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

*{
    /* box-sizing: border-box; */
    padding: 0;
    margin: 0;
}
body{
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    background-color: #f5f5f5;
}
.abstracts-bg{
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../assests/organisersback.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.abstracts-bg h3{
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 80px;
}
.abstracts-bg h2{
    font-size: 2rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
}
.line div{
    margin: 0 0.2rem;
}
.line div:nth-child(1),
.line div:nth-child(3){
    height: 3px;
    width: 70px;
    background: #f44336;
    border-radius: 5px;
}
.line{
    display: flex;
    align-items: center;
}
.line div:nth-child(2){
    width: 10px;
    height: 10px;
    background: #f44336;
    border-radius: 50%;
}
.text{
    font-weight: 300;
    opacity: 0.9;
}
.abstracts-bg .text{
    margin: 1.6rem 0;
}

.registration-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 5%;
    justify-content: center;
    align-items: flex-start;
}

/* How to Participate box - 60% width */
.reg-box.participate {
    flex: 1 1 55%;
    max-width: 55%;
    margin: 0 auto;
}

/* Registration Details box - 35% width */
.reg-box.details {
    flex: 1 1 35%;
    max-width: 40%;
    padding: 1rem 2.1rem;  /* Increased padding for larger box feel */
    border-radius: 20px;
    border: 3px solid black;
    background-color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.registration-info p,
.registration-info ul {
    font-size: 1.05rem;
    line-height: 1.8;
}

.registration-info h3 {
    position: relative;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0 1.5rem;
}

.registration-info p,
.registration-info ul {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.registration-info ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}
.registration-info ul li {
    margin-bottom: 0.6rem;
}

@media screen and (max-width: 950px) {
  .registration-info {
    flex-direction: column;
    align-items: center;
  }

  .reg-box.participate,
  .reg-box.details {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .reg-box.details {
    margin-top: 2rem;
  }
}

/* Tablet responsiveness */
@media screen and (max-width: 768px) {
    .reg-box {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .registration-info {
        padding: 1.5rem 3%;
    }

    .registration-info h3 {
        font-size: 1.2rem;
    }

    .registration-info p,
    .registration-info ul {
        font-size: 0.95rem;
    }

    .registration-info h3::before,
    .registration-info h3::after {
        width: 30%;
    }
}

/* Mobile responsiveness */
@media screen and (max-width: 480px) {
    .registration-info {
        padding: 1rem 2rem;
    }

    .registration-info h3 {
        font-size: 1.1rem;
    }

    .registration-info p,
    .registration-info ul {
        font-size: 0.9rem;
    }

    .registration-info h3::before,
    .registration-info h3::after {
        width: 25%;
    }
}

@media screen and (min-width: 768px){
    .abstracts-bg .text{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 992px){
    .abstracts-bg .text{
        width: 50%;
    }
}


@media screen and (max-width:1160px)
{
    .navbar ul li{
        display: inline-block;
        margin: 0;
        margin-left: 0;
    }
}

.section-divider {
  width: 90%;
  margin: 2rem auto;
  border: none;
  height: 2px;
  background-color: #ccc;
  opacity: 0.7;
}

/* Abstract Submission Section */
.abstract-submission-section {
  padding: 2rem 5%;  /* Matches registration-info padding */
  text-align: center;
  padding-top: 0;
  padding-bottom: 1rem;
}

/* Horizontal Line with Centered Heading */
.horizontal-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.horizontal-heading span {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Abstract Paragraph Text */
.abstract-text {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 100%;
}

.abstract-download {
  margin-top: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 20rem; /* default gap for large screens */
  flex-wrap: wrap;
}

.abstract-download a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #2c2c5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.abstract-download a:hover {
  background-color: #1e1e3f;
}

@media screen and (max-width: 1110px) {
  .abstract-download {
    gap: 15rem;
  }
}

/* Small screens */
@media screen and (max-width: 900px) {
  .abstract-download {
    gap: 10rem;
  }
}

@media screen and (max-width: 760px) {
  .abstract-download {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

.payment-options {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20rem;
  flex-wrap: wrap;
  padding: 2rem 5%;
  padding-bottom: 0;
}

.payment-link a {
  font-size: 1.05rem;
  color: #ffffff;
  background-color: #2c2c5f;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.payment-link a:hover {
  background-color: #1e1e3f;
}

.bank-details {
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 360px;
  background-color: #fff;
  border: 2px solid black;
}

.bank-details h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.bank-details ul {
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
}

.bank-details ul li {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 1110px) {
  .payment-options {
    gap: 15rem;
  }
}

/* Small screens */
@media screen and (max-width: 900px) {
  .payment-options {
    gap: 10rem;
  }
}

@media screen and (max-width: 760px) {
  .payment-options {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

.registration-download {
  margin-top: 1.5rem;
  text-align: center;
}






