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

:root {
    --bright_purple: #4c43ce;
    --monotone_skyblue: #dfe6fc;
    --white: #ffffff;
    --black: #252525;
}
*{
 
  font-family: 'Poppins', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: rgb(254, 246, 255);
}

.title {
    text-align: center;
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 600;
    margin-top: 30px;
    z-index: 1;
}

section{
    min-width: 100%;
    min-height: 100%;
}

.container {
    display: flex;
    flex-direction: column;
}

a{
    font-weight: 500;
    color: black;
    text-decoration: none;
}

.nav-cont{
    min-width: 100%;
    position: relative;
}

.navbar {
    display: flex;
    background-color: white;
    padding: 5px 18px;
    flex-wrap: wrap;
    max-height: 100%;
    min-width: 100%;
    position: fixed;
    z-index: 2;
    border-bottom: #8105b38a .5px solid ;
    top: -1px;
    
}

.logo {
    width: auto;
    height: 40px;
    margin-left: 1rem;
    padding-right: 20px;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    width: 100%;
    align-items: center;
    
}

.nav-links li a {
    text-decoration: none;
    color: black;
    font-weight: 550;
    margin-left: 3px;
    font-size: 16px;
}

.nav-links li a:hover {
    transition: ease-in-out .2s;
    border-radius: 30%;
    border-image: linear-gradient(to right, rgb(79, 81, 206), rgb(170, 37, 247)) 1;
    border-top: 4px solid;
    color: rgb(90, 90, 90);
}

.active {
    border-image: linear-gradient(to right, rgb(79, 81, 206), rgb(170, 37, 247)) 1;
    border-top: 4px solid;
    padding-top: 4px;
}

.log-button {
  border: 3px solid #4e46e5b9;
  border-radius: 60px;
  margin-left: auto;
  padding: 5px;
  width: 90px;
  font-weight: 500;
  text-align: center;
  box-shadow: 2px 2px 4px rgba(77, 77, 77, 0.15);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.log-button a {
  color: black;
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: color 0.3s ease;
}


.log-button:hover {
  background: linear-gradient(135deg, #4f46e5, #6c63ff);
  transform: translateY(-3px);     
  box-shadow: 4px 6px 12px rgba(77, 77, 77, 0.25);
  border-color: transparent;        
}

.log-button:hover a {
  color: #fff;                       
}




.header-container {
    position: relative;
    max-width: 100%;
    display: flex;
    min-height: 85%;
    background-size: cover;
    background-position: center;
   
    

}

#header-section {
    position: relative;
    height: 100%;
}


.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(78, 78, 78, 0.5);
    z-index: 0;
}

.header-contents {
    z-index: 1;
    max-width: 50vw;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 30px;
    color: white;
 
}

.error-message {
    background-color: red;
    position: absolute;
    font-weight: 400;
    color: white;
    height: 45px;
    z-index: 1;
    width: 100%;
    border-radius: 0%;
    top:2.5em;

}

.header-contents h2{
    margin-top: 5rem;
    font-size: clamp(18px, 4vw, 30px);
    min-width: 20rem;
}

.header-contents p {
    font-weight: 500;
    font-size: clamp(12px , 3vw, 16px);
    margin-top: 5%;
    background-color: rgba(201, 201, 201, 0.2);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(201, 201, 201, 0.5);
    max-width: 70%;
    padding: 20px;
    animation: slideleft .5s ease-in;

}

.header-button {
  display: flex;
  align-items: flex-end;
  margin-left: 0px;  


  margin-left: auto;
  padding: 5px;

  font-weight: 500;
  box-shadow: 2px 2px 4px rgba(77, 77, 77, 0.15);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;

 
}.header-button button {
    color: white;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effect */
.header-button button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #4338ca, #7c3aed);
}
/* Events Section */
.events-section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;
    min-width: 100%;
    min-height: auto;
    
}

/* Blob */

.one {
    top: 0;
    left: 20%;
}

.two {
    top: 40%;
    left: 60%;
}

.events-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    z-index: 1;
    width: 100%;
}

/* Webinar Card */
.webinar-card {
    max-width: 20rem;
    background: rgba(255, 255, 255, 0.377);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 20px;
    position: relative;
    border: 1px solid #eaeaea;
    padding-bottom:1rem;
}

.webinar-card .banner-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.webinar-card .banner-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
}

.webinar-card .webinar-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.webinar-card .webinar-contents {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 180px);
    box-sizing: border-box;
}

.webinar-card .webinar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(37, 37, 37);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.webinar-card .webinar-contents p {
    color: rgb(85, 85, 85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.webinar-card .webinar-button {
    margin-top: auto;
    text-align: right;
}

.webinar-card .webinar-detail {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgb(76, 67, 206), #8b5cf6);
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

.webinar-card:hover .webinar-banner {
    transform: scale(1.05);
}

.webinar-card:hover .webinar-detail {
    background: linear-gradient(135deg, #3e36c4, #7a4ce6);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.3);
}

/* Participant Guidelines */
.participant-cont {
    background-color: rgba(248, 248, 248, 0.2);
    backdrop-filter: blur(2px);
    padding: 20px;
    border-radius: 10px;
    border-top: 1px solid white;
    border-left: 1px solid white;
    z-index: 1;
    box-shadow: 2px 2px 2px rgba(199, 199, 199, 0.473);
    max-width: 40%;
}

.participant-guidelines {
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    
}

.participant-cont li{
    font-size: clamp(12px, 2vw, 16px);
}

svg {
    position: absolute;
    top: 40%;
}

.guideline-bg {
    background-color: #b89ff1;
    width: 100%;
    height: 40%;
    top: 60%;
    position: absolute;

}


/* About Us Section */
.aboutus-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: relative;

}

.aboutus-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-evenly;
    z-index: 1;

}

.img-container img {
    width: auto;
    max-height: clamp(250px, 60vw, 400px);
    border-radius: 20px;
    z-index: 1;
}

.aboutus-bg {
    position: absolute;
    top: 220px;
    transform: rotate(180deg);
}

.about-bg-cl {
    width: 100%;
    height: 50%;
    position: absolute;
    background-color: #ebe3fb;
    top: 0;
}

.aboutus-contents {
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(219, 219, 219, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 2px 2px 2px rgba(75, 75, 75, 0.205);
    border-top: white solid 1px;
    border-left: white solid 1px;
    max-width: 25rem;

    
}

.aboutus-contents p {
    font-size: clamp(12px , 2vw, 18px) ;
}

@media screen and (max-width:1000px){
    .participant-cont{
        max-width: 90%;
    }
    svg{
        display: none;
    }
    .aboutus-container{
        flex-direction: column-reverse;
        justify-content: space-evenly;
    }
    
    .aboutus-contents{
        max-width: 90%;
    }
}

@media screen and (max-width:600px){

    .header-contents p{
        min-width: 13rem;
       
    }
    .header-contents h2{
        min-width: 100%;
    }

    .events-container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .navbar{
        opacity: 0;
        display: none;
     
    }

    .hamburg{
        opacity: 1;
        display: flex;
   
    }

    
}


button {
    transform-style: preserve-3d;
}
 .assistance-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .assistance-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  }

 
  .events-header {
    text-align: center;
    margin-bottom: 3rem;
    z-index: 1;
    position: relative;
  }

  .events-subtitle {
    color: #6b7280;
    font-size: clamp(14px, 2.5vw, 18px);
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }

  .events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    z-index: 1;
    position: relative;
  }

  /* Enhanced Webinar Card */
  .webinar-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
  }

  .webinar-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 67, 206, 0.15);
    border-color: rgba(76, 67, 206, 0.3);
  }

  .webinar-card .banner-container {
    height: 200px;
    position: relative;
    overflow: hidden;
  }

  .webinar-card .webinar-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .webinar-card:hover .webinar-banner {
    transform: scale(1.1);
  }

  /* Event Badge */
  .event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--bright_purple), #8b5cf6);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(76, 67, 206, 0.4);
  }

  /* Event Overlay */
  .event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .webinar-card:hover .event-overlay {
    opacity: 1;
  }

  .quick-actions {
    display: flex;
    gap: 10px;
  }

  .quick-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--bright_purple);
  }

  .quick-btn:hover {
    background: var(--bright_purple);
    color: white;
    transform: scale(1.1);
  }

  /* Enhanced Content */
  .webinar-card .webinar-contents {
    padding: 24px;
  }

  .event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #6b7280;
  }

  .event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .event-meta i {
    color: var(--bright_purple);
  }

  .webinar-card .webinar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .webinar-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Event Footer */
  .event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
  }

  /* Status Badges */
  .status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .status-badge.upcoming {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
  }

  .status-badge.today {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.2);
  }

  .status-badge.past {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
  }

  /* Enhanced Button */
  .webinar-card .webinar-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(76, 67, 206, 0.3);
  }

  .webinar-card .webinar-detail:hover {
    background: linear-gradient(135deg, #3e36c4, #7a4ce6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 67, 206, 0.4);
  }

  .webinar-detail i {
    transition: transform 0.3s ease;
  }

  .webinar-detail:hover i {
    transform: translateX(3px);
  }

  .no-events {
    text-align: center;
    padding: 4rem 2rem;
    z-index: 1;
    position: relative;
  }

  .no-events-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
  }

  .no-events h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
  }

  .no-events p {
    color: #6b7280;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }


  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }

  .modal-overlay.active {
    display: flex;
  }

  .modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
  }

  .modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
  }

  .modal-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
  }

  .modal-title {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
  }

  .close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .close-modal:hover {
    color: #333;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
  }

  .form-input,
  .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
  }

  .form-input:focus,
  .form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  }

  .form-textarea {
    min-height: 120px;
    resize: vertical;
  }

  .form-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
  }

  .btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-cancel:hover {
    background: #e0e0e0;
  }

  .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  }

  .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }

  /* Success Message */
  .success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
  }

  /* Mobile Responsive */
  @media (max-width: 768px) {
    .assistance-btn {
      bottom: 20px;
      right: 20px;
      padding: 12px 20px;
      font-size: 14px;
    }

    .modal-content {
      padding: 20px;
      margin: 20px;
    }

    .modal-title {
      font-size: 20px;
    }

    .events-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }

    .events-header {
      margin-bottom: 2rem;
    }

    .webinar-card {
      max-width: 100%;
    }

    .webinar-card .banner-container {
      height: 180px;
    }

    .event-meta {
      flex-direction: column;
      gap: 8px;
      align-items: flex-start;
    }

    .event-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }

    .webinar-card .webinar-detail {
      align-self: stretch;
      justify-content: center;
    }

    .no-events {
      padding: 2rem 1rem;
    }

    .no-events-icon {
      font-size: 3rem;
    }
  }

  @media (max-width: 480px) {
    .webinar-card .webinar-contents {
      padding: 20px;
    }

    .webinar-card .webinar-title {
      font-size: 1.1rem;
    }

    .event-badge {
      font-size: 11px;
      padding: 6px 10px;
    }

    .quick-btn {
      width: 40px;
      height: 40px;
      font-size: 14px;
    }
  }
/* Footer */
.footer {
    background-color: #101828;
    color: #f1f1f1;
    padding: 2rem 1.5rem;
    font-family: 'Segoe UI', sans-serif;
 
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 100vw;
}

.footer-left {
    min-width: 200px;
}

.footer-logo {
    height: 250px;
}

.footer-left p {
    font-weight: 500;
    font-size: 0.95rem;
    max-width: 220px;
}

.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-links h4 {
    margin-bottom: 0.75rem;
    font-size: 15px;
}

.link-columns {
    display: flex;
    gap: 2rem;
}

.link-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-columns li {
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.link-columns a {
    text-decoration: none;
    color: #ddd;
    font-size: 0.9rem;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    margin-bottom: 0.75rem;
}

.footer-contact p {
    margin: 0.4rem 0;
    font-size: 13px;
    font-weight: 500;
}




