* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navabar + header */
header {
    background-color: #0045ff;
}

.navbar {
    min-height: 120px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 999;
}

.navbar ul {
    list-style: none;
    align-items: center;
    margin-bottom: 0px;
}

.nav-logo {
   z-index: 999;
}

.nav-logo img {
  max-width: 180px;
  width: 100%;
  z-index: 999;
}

.nav-menu ul {
    list-style: none;
    align-items: center;
    margin-bottom: 0px;
}

.nav-menu li { 
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 999;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* end */

/* Main content */

.container {
    flex: 1;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.main-content {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.event-info {
    color: #2f2f2f;
}

.event-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.event-description {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 32px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(47, 47, 47, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.auth-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0045FF 0%, #001689 100%);
}

.tab-container {
    display: flex;
    border-bottom: 2px solid #E8ECF1;
    margin: 30px 40px 0;
}

.tab {
    flex: 1;
    padding: 18px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab:hover {
    color: #00468C;
}

.tab.active {
    color: #00468C;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00468C;
}

.form-container {
    padding: 45px 40px;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #6B7280;
}

.form-group {
    margin-bottom: 26px;
}
.checkbox-group{
    display: flex;
    align-items: center;
    gap: 12px;
}
label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #F9FAFB;
}

input:focus {
    outline: none;
    border-color: #00468C;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 70, 140, 0.1);
}

input::placeholder {
  color: #999;
  transition: color 0.2s ease;
}

input:focus::placeholder {
  color: transparent;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #0045FF 0%, #001689 100%);
    background-color: #0045FF;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 22, 137, 0.25);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 22, 137, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 22, 137, 0.3);
}

.info-box {
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;

}

.info-box-error {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(
        135deg,
        rgba(255, 41, 84, 0.05) 0%,
        rgba(255, 41, 84, 0.12) 100%
    );
    border-left: 4px solid #FF2954;
}

.info-box-success {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(
        135deg,
        rgba(132, 218, 16, 0.04) 0%,
        rgba(132, 218, 16, 0.12) 100%
    );
    border-left: 4px solid #84DA10;
}

.info-box-error p,
.info-box-success p {
    color: #2F2F2F;
    line-height: 1.5;
    margin-bottom: 0;
}

.info-box .title {
    font-weight: 700;
    font-size: 14px;
}

.info-box .desc {
   font-size: 12px;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start; 
    gap: 0.75rem;
    font-size: 14px;
    line-height: 1.4;
    color: #2F2F2F;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin: 0.1rem 0 0;
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 2px solid #BABABA; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FFFFFF;
    position: relative;
    flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:hover {
    border-color: #0045FF; 
}

.checkbox-group input[type="checkbox"]:focus-visible {
    outline: 2px solid #0045FF;
    outline-offset: 2px;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: #0045FF; 
    border-color: #0045FF;
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="text"]:user-invalid,
input[type="email"]:user-invalid {
    border-color: #e5254b;
    border-width: 2px;
}

.checkbox-group input[type="checkbox"]:user-invalid {
outline: 2px solid #e5254b;
outline-offset: 2px;
}

input {
    transition: border-color 0.3s ease-in-out;
}

input:focus {
    outline: none;
    box-shadow: 0 0 5px 2px rgba(0, 136, 255, 0.5);
}

/* end */


/* Program */
 
.training-program {
  padding: 3rem 0;
  border-top: 1px solid #BABABA; 
}

.training-program__header h2 {
  font-size: 33px;
  line-height: 43px;
  letter-spacing: 0;
  margin: 0 0 1.5rem;
}

@media (max-width: 991px) {
  .training-program__header h2 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.02em;
  }
}

.training-program__list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  border-left: 2px solid #0045FF;
}

.training-program__item {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
}

.training-program__item:last-child {
  margin-bottom: 0;
}

.training-program__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #0045FF;
  box-shadow: 0 0 0 3px rgba(0, 69, 255, 0.15); 
}

.training-program__item h3 {
  font-size: 25px;
  line-height: 32px;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
}

@media (max-width: 991px) {
  .training-program__item h3 {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.02em;
  }
}

.training-program__speaker {
  font-size: 12px;                
  line-height: 16px;
  letter-spacing: 0.04em;          
  text-transform: uppercase;
  color: #2F2F2F;              
  margin: 0.15rem 0 0;
}

@media (max-width: 767px) {
  .training-program {
    padding: 2rem 0;
  }

  .training-program__item {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
  }

  .training-program__item::before {
    width: 12px;
    height: 12px;
    left: -6px;
    top: 0.45rem;
  }
}
/* END  */

/* Footer */

footer {
    background: #2f2f2f;
    color: white;
    padding: 0px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-legal {
    color: #D1D5DB;
    text-decoration: underline;
}

.footer-legal:hover {
    color: #fff;
}

.moby-logo  {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.moby-logo img {
  width: 100%;
  min-width: 200px;
}

.footer-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    line-height: 1.8;
    color: #D1D5DB;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 14px;
    color: #9CA3AF;
}

/* end */


/* Support */
.faq {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 24px 24px 28px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    background: #ffffff;
  }

  .faq-title {
    font-size: 2rem;
    margin: 0 0 1.5rem;
    color: #001689; /* dark blue */
  }

  .faq-item {
    border-top: 1px solid #e0e0e0;
  }

  .faq-item:first-of-type {
    border-top: none;
  }

  .faq-button {
    width: 100%;
    padding: 14px 4px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
  }

  .faq-question-text {
    flex: 1;
    padding-right: 16px;
  }

  .faq-button:focus-visible {
    outline: 2px solid #0045ff;
    outline-offset: 2px;
  }

  .faq-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #0045ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: #0045ff;
  }

  .faq-content {
    display: none;
    padding: 0 4px 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    background: #f5f7fb;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .faq-item.open .faq-content {
    display: block;
  }

  .faq-item.open .faq-button {
    background: #f5f7fb;
    border-left: 4px solid #0045ff;
    padding-left: 12px;
  }

  .faq-content p {
    margin: 0;
    padding: 10px 12px 0;
  }

  .faq-content p:last-of-type {
    padding-bottom: 12px;
  }

  .faq-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px 12px 0;
    border-radius: 4px;
  }
/* end */

@media (min-width: 768px) {
  .navbar ul {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  .navbar ul a:hover {
    text-decoration: underline;
  }

}

@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .event-info {
        text-align: center;
    }

    .event-title {
        font-size: 36px;
    }

    .event-details {
        align-items: center;
    }
}

@media (max-width: 641px) {

    .event-title {
        font-size: 32px;
    }

    .event-description {
        font-size: 16px;
    }

    .auth-card {
        border-radius: 16px;
    }

    .form-container {
        padding: 30px 24px;
    }

    .tab-container {
        margin: 20px 24px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .container {
        padding: 40px 20px;
    }
}


@media(max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

  .nav-menu {
        position: absolute;
        left: 0; 
        top: -200%; 
        flex-direction: column;
        background-color: #0045ff;
        width: 100%;
        text-align: center;
        transition: top 0.3s ease-out;
        padding-top: 1rem;
        padding-bottom: 2rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  
    }
    .nav-menu.active {
        top: 120px;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .footer-section {
      flex-direction: column;
      gap: 24px;
    }

    .nav-logo img {
        max-width: 130px;
    }
}