body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
}

header {
    /*background-color: #1a1a1a;*/
    /*color: #fff;*/
    background-color: #fff;
    color: black;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    margin-top: 10px;
    margin-bottom: -5px;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
}

nav a {
    /*color: #fff;*/
    color: black;
    text-decoration: none;
    font-weight: bold;
    padding:5px;
    letter-spacing: 1px;
    word-spacing: 2px;
    /* border-radius: 2px; */
    /* transition: 0.4s; */
}

nav a:hover{
    /* background-color: white;
    color: black; */
    border-bottom: 2px solid white;
}

nav .comp img{
    display: flex;
    position: absolute;
    left:10px;
    top:10px;
    height: 60px;
}
nav .sco img{
    display: flex;
    position: absolute;
    right:10px;
    top:10px;
    height: 60px;
}

.hero {
    background: url('Front.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 70px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p{
    margin-bottom: 25px;
}

.hero>div{
    background-color: rgba(0, 0, 255, 0.4);
    padding: 10px;
    border-radius: 5px;
    margin-left: 150px;
    margin-right: 150px;
}

.btn {
    background-color: #ff6b6b;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.hero .btn:hover, .btn:hover {
    background-color: #ff4f4f;
}

section {
    padding: 60px 10px;
    text-align: center;
}

#about>div{
    display: flex;
    margin-right: 25px;
    margin-left: 25px;
}

#about div img{
    height: 500px;
    width: 500px;
}

#about div p{
    margin-left: 30px;
    margin-right: 20px;
    text-align: justify;
    word-spacing: 2px;
    line-height: 25px;
    letter-spacing: 1px;
    font-size: 14px;
}

.welcome-section {
      margin: 0;
      margin-left:30px;
      margin-right: 30px;
      padding: 30px;
      word-spacing: 2px;
    letter-spacing: 1px;
    }

    .welcome-section h2 {
      font-size: 28px;
      margin-bottom: 30px;
      text-align: left;
    }

    .welcome-section h2 span {
      color: #1d4ed8;
    }

    .layout {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
    }

    /* Left side: chairs */
    .chairs {
      flex: 0 0 280px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
      margin-top: 35px;
    }

    .chair {
      text-align: center;
    }

    .chair img {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 10px;
    }

    .chair h3 {
      font-size: 16px;
      margin: 5px 0;
    }

    .chair p {
      font-size: 12px;
      margin: 2px 0;
      color: #555;
    }

    /* Right side: message */
    .message,.fullmsg {
      flex: 1;
      font-size: 16px;
      line-height: 25px;
      text-align: justify;
      color: rgb(84, 84, 84);
    }

    .message strong {
      font-weight: bold;
    }

    .highlight {
      font-weight: bold;
      color: #000;
    }

    @media (max-width: 768px) {
      .layout {
        flex-direction: column;
      }
      .chairs {
        flex-direction: row;
        justify-content: center;
      }
    }

#objective{
    text-align: justify;
    margin-left: 30px;
    margin-right: 30px;
}
#objective p,#objective .list li,#objective h4,#objective li::marker{
    color: rgb(84, 84, 84);
    word-spacing: 2px;
    line-height: 25px;
    letter-spacing: 1px;
    font-size: 14px;
}
#objective li{
    margin-left: -20px;
}
#objective h4{
    text-align: center;
}

#schedule>div{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    margin-left: 10px;

}
#schedule h2,#objective h2{
    text-align: center;
    font-size: 35px;
}
#schedule>div>div{
    margin-top: 20px;
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}
#schedule h3{
    font-size: 15px;
    font-weight: bolder;
}
#schedule>div img{
    height: 50px;
    width: 40px;
    align-items: center;
    justify-content: center;
}
#schedule p{
    margin-top: -10px;
    font-size: 10px;
    font-weight: lighter;
    color:  rgb(84, 84, 84);
}

.sponsors-section {
    text-align: center;
    background-color: #f0f4f8; /* Light background */
    padding: 40px;
}

.sponsors-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}


.sponsors-container {
    display: flex;
    justify-content: center; /* Centers items horizontally */
    align-items: center; /* Aligns items vertically */
    gap: 50px; /* Adds space between logos */
    flex-wrap: wrap; /* Ensures responsiveness */
}

.sponsors-section h3{
    font-size: 30px;
    font-style:italic;
}
.sponsor {
    text-align: center;
    width: 250px; /* Adjust width for better alignment */
}

.sponsor img {
    width: 120px; /* Set image size */
    height: auto;
    display: block;
    margin: 0 auto 10px; /* Centers image */
    mix-blend-mode: multiply;
}

.sponsor p {
    font-size: 14px;
    margin-top: 5px;
}


.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    padding-top: 0px;
    border-top: 1px solid #ddd;
    background-color: #1a1a1a;
    color: white;
}
.footer-left {
    max-width: 50%;
}
.footer-left h3 {
    font-size: 18px;
    font-weight: bold;
}
.footer-left p {
    font-size: 14px;
    width: 70%;
}
.footer-left a {
    color: #9664c8;
    text-decoration: none;
    font-weight: bold;
}
.footer-left a:hover {
    text-decoration: underline;
}
.footer-right {
    text-align: right;
}
.footer-mid {
    width: 300px;
    height: auto;
}

.footer-mid h1 {
  text-align: center;
  font-size: 0.8rem;
  margin-bottom: 0;
}
.footer-mid ul {
  list-style: none;
  padding-left: 0;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
}
.footer-mid li {
  padding: 6px 8px;
  height: auto;
  width: auto;
  border-bottom: 1px solid #eee;
  font-size: 0.6rem;
  color: black;
}
.footer-mid li:last-child {
  border-bottom: none;
}
.error {
  color: red;
  text-align: center;
  margin-top: 1rem;
}

.footer-right p {
    font-size: 14px;
}
.contact-info {
    font-size: 14px;
    font-weight: bold;
}
.contact-info a {
    color: #0073e6;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width:500px) {
    .hero>div{
        background-color: rgba(0, 0, 255, 0.4);
        padding: 10px;
        border-radius: 5px;
        width: 90%;
        margin-left: 5px;
        margin-right: 5px;
    }
    #about>div{
        display: grid;
        margin-right: 5px;
        margin-left: 5px;
    }

    #about div img{

        margin-top: 10px;
        height: 500px;
        width: 100%;
        margin-top: 50px;
    }
    nav ul{
        margin-top: 10px;
        margin-bottom: -5px;
        list-style: none;
        padding: 0;
        display: flex;
        justify-content: center;
        gap:0.5px;
        font-size: 7px;
    }
    #schedule>div{
        display: flex;
        flex-direction: column;
        margin-left: 10px;
    
    }
    .logo{
        margin-bottom: 15px;
    }
    .logo h4{
        margin-top: 0px;
        font-size: 10px;
    }

    .logo .comp img{
        margin-top: -10px;
        height: 50px;
        width: 50px;
    }

    .logo .sco img{
        height: 30px;
    }
}