

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it covers all content */
}

/* Animation for Loader */
.loader-animation {
    width: 100%;
    height: 100%;
    background-image: url('../allAssets/Images/IMG-20240905-WA0003.jpg'); /* Your JPG image URL */
    background-size: cover; /* Ensure it covers the loader area */
    background-position: center; /* Center the image */
    animation: fadeIn 2s forwards, slide 5s infinite alternate; /* Fade-in and slide effect */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide {
    from {
        transform: translateY(0); /* Start at original position */
    }
    to {
        transform: translateY(-10px); /* Slide up slightly */
    }
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 600px) {
    .loader-animation {
        background-size: contain; /* Adjust for smaller screens */
        animation: fadeIn 2s forwards, slide 3s infinite alternate; /* Faster slide for mobile */
    }
}

/* Main Content Styles */
.main-content {
    display: none; /* Initially hidden */
    /* Add your main content styles here */
}



/* */
/* Hero Section */
.heroSection {
    margin-top: 8rem;
    flex-direction: row-reverse;
}
.heroSection > .textSubsection > h1 {
    margin-bottom: 2rem;
}
.heroSection > .textSubsection > h2 {
    margin-bottom: 4rem;
}
.conferenceDate {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 8rem;
}
@media screen and (max-width: 600px) {
    .heroSection {
        margin-top: 6rem;
    }
    .conferenceDate {
        margin-bottom: 4rem;
    }
}

/* Speakers */
.speakers {
    flex-direction: column;
}
#showAll > .cardImg,
#showLess > .cardImg {
    display: flex;
    justify-content: center;
}
#showAll > .cardImg > span,
#showLess > .cardImg > span {
    display: flex;
    height: inherit;
    width: inherit;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
}
.hide {
    display: none;
}

/* About ARIC */
.aboutARIC > .textSubsection > h2 {
    margin-bottom: 4rem;
}
@media screen and (max-width: 600px) {
    .aboutARIC > .textSubsection > h2 {
        margin-bottom: 2rem;
    }
}

/* Objectives */


/* Timline */
.timeline {
    flex-direction: row-reverse;
}
.timelineContainer {
    width: 100%;
    max-width: 1500px;
    overflow-x: scroll;
    padding-bottom: 2rem;
}
.timelineContainer > img {
    max-height: 24rem;
}

/* Registration */
.registration > .contentGrid {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto;
    gap: 2rem;
    margin: 2rem 0;
}

.gridItem {
    padding: 1rem;
    min-width: 20rem; /* This may restrict responsiveness on small screens */
    max-width: 50rem;
}

.gridItem > .gridItemTitle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gridItem > p {
    margin-left: 3.5rem;
}

.gridItem1 {
    grid-row: 1 / 3;
}

.gridItem1 > ul {
    padding-left: 4rem;
    padding-top: 0.5rem;
    list-style-type: disc;
}
.gridItem2 {
    grid-row: 1 / 3;
}

.gridItem2 > ul {
    padding-left: 4rem;
    padding-top: 0.5rem;
    list-style-type: disc;
}
/* Add some basic button styling */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.5rem;
    background-color: #007BFF; /* Example button color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    margin-top: 1rem;
}

.btn:hover {
    background-color: #0056b3; /* Darken the button on hover */
}

/* Responsive design */
@media screen and (max-width: 600px) {
    .registration > .contentGrid {
        grid-template-columns: 1fr; /* Ensure grid is single-column on small screens */
    }

    .gridItem {
        min-width: 100%;
        max-width: 100%; /* Ensure grid items take full width */
    }

    .btn {
        width: 40%; /* Make the button full width on mobile */
        margin-left: 0; /* Remove any extra left margin */
    }
}

/* Responsive design */
@media screen and (max-width: 600px) {
    .registration > .contentGrid {
        grid-template-columns: 1fr; /* Use 1 column layout for small screens */
    }
    .gridItem {
        min-width: 100%; /* Ensure grid items take full width on smaller screens */
        max-width: 100%; /* No width restriction on small screens */
    }
    .gridItem1 {
        grid-row: auto; /* Reset the grid-row behavior */
    }
}

/* Retgistration
.registration> .contentGrid {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto;
    gap: 2rem;
    margin: 2rem 0;;
}
.gridItem {
    padding: 1rem;
    min-width: 20rem;
    max-width: 50rem;
}
.gridItem>.gridItemTitle {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.gridItem>p {
    margin-left: 3.5rem;
}
.gridItem1 {
    grid-row: 1 / 3;
}
.gridItem1>ul {
    padding-left: 4rem;
    padding-top: 0.5rem;
    list-style-type: disc;
}
@media screen and (max-width: 600px) {
    .registration> .contentGrid {
        grid-template-columns: auto;
    }
    .gridItem1 {
        grid-row: 1;
    }
} */

/* Organising Committee */
.committee {
    flex-direction: column;
}

/* About IIITM */
.aboutIIITM {
    flex-direction: row-reverse;
}
.aboutIIITM > .textSubsection > h2 {
    margin-bottom: 4rem;
}
.aboutIIITM > .textSubsection > p {
    margin-bottom: 6rem;
}
@media screen and (max-width: 600px) {
    .aboutIIITM > .textSubsection > h2 {
        margin-bottom: 2rem;
    }
    .aboutIIITM > .textSubsection > p {
        margin-bottom: 4rem;
    }
}

/* Get In Touch */
.contactUs > .textSubsection > h2 {
    margin-bottom: 4rem;
}
.contactUs > .textSubsection > p {
    margin-bottom: 2rem;
}
.contactUs > .imageSubsection > iframe {
    width: 100%;
}
@media screen and (max-width: 800px) {
    .contactUs > .imageSubsection > iframe {
        max-height: 30rem;
    }
}
@media screen and (max-width: 600px) {
    .contactUs > .textSubsection > h2 {
        margin-bottom: 2rem;
    }
}

/* Footer */
.footer {
    background-color: #0b0d0e;
    padding: 2rem 6rem;
}
@media screen and (max-width: 600px) {
    .footer {
        padding: 2rem;
    }
}

.speaker-slider {
    text-align: center;
    padding: 20px;
}
.speaker-slider__title h1 {
    margin-bottom: 4rem;
     font-size: 4rem;
     font-weight: 700;
        line-height: 1.2;
        color: var(--color-primary);
}
.speaker-slider__title h2 {
    margin-bottom: 4rem;
     font-size: 2rem;
     font-weight: 700;
        line-height: 1.2;
        color: var(--color-primary);
}
.speaker-slider__container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.speaker-slider__card-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}
.speaker-slider__card {
    flex: 0 0 220px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}
.speaker-slider__card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.speaker-slider__card h6 {
    margin: 10px 0 5px;
    font-weight: bold;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-primary);
    color: #333;
}
.speaker-slider__card p {
    margin: 0 10px 5px;
    color: #666;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-primary);
}
.speaker-slider__details {
    padding: 10px;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
    display: none;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}
.speaker-slider__nav-buttons {
    margin-top: 20px;
    display: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.speaker-slider__button {
    padding: 10px;
    cursor: pointer;
    background-color: #0880ae;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.3s;
}
.speaker-slider__button:hover {
    background-color: #0880ae;
    transform: scale(1.1);
}
@media (max-width: 900px) {
    .speaker-slider__card {
        flex: 0 0 45%; /* Two cards per row */
    }
}
@media (max-width: 600px) {
    .speaker-slider__card {
        flex: 0 0 100%; /* One card per row */
    }
    .speaker-slider__nav-buttons {
        flex-direction: row;
        align-items: center;
    }
    .speaker-slider__button {
        margin: 5px 0;
    }
}

/* event highlights */

/* General Styles */
.event-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .speaker-slider__title {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .speaker-slider__title h1.heading2 {
    font-size: 36px;
    color: #333;
  }
  
  .speaker-slider__title h2.event-title {
    font-size: 24px;
    color: #666;
    font-weight: 400;
  }
  
  .eventslider-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  
  .eventslider-card-wrapper {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
  }
  
  .eventslider-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .eventslider-card:hover {
    transform: scale(1.05);
  }
  
  .eventslider-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
  }
  
  /* Navigation Buttons */
  .slider-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
  }
  
  .slider-nav-button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .slider-nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Lightbox (Full-Screen Modal) */
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
  }
  
  /* Responsiveness */
  @media (max-width: 1024px) {
    .eventslider-card-wrapper {
      gap: 15px;
    }
  
    .eventslider-card {
      max-width: 280px;
    }
  }
  
  @media (max-width: 768px) {
    .event-slider {
      padding: 20px;
    }
  
    .speaker-slider__title h1.heading2 {
      font-size: 28px;
    }
  
    .speaker-slider__title h2.event-title {
      font-size: 20px;
    }
  
    .eventslider-card-wrapper {
      gap: 10px;
    }
  
    .eventslider-card {
      max-width: 250px; /* Smaller cards on tablets */
    }
  }
  
  @media (max-width: 480px) {
    .speaker-slider__title h1.heading2 {
      font-size: 24px;
    }
  
    .speaker-slider__title h2.event-title {
      font-size: 18px;
    }
  
    .eventslider-card-wrapper {
      gap: 8px;
    }
  
    .eventslider-card {
      max-width: 200px; /* Even smaller cards on mobile */
    }
  
    .slider-nav-button {
      font-size: 1.5rem;
      padding: 10px;
    }
  }
  