
  
  body,
html {
  margin: 0;
  padding: 0 !important;
  font-family: 'poppins', sans-serif;
  overflow-x: hidden;
}

  h2 {
    
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    color:#22389c;
    
  }
  p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    text-align: justify;
  }
  .banner {
text-align: center;
padding: 2vw; /* Scales padding dynamically */
top: 0;
z-index: 1000;
}

.banner img {
width: 100%; /* Makes it responsive */
max-width: 930px; /* Prevents it from getting too big */
border-radius: 10px;
margin-top: 10vh;
/*margin-left:15%;*/
max-height: 250px;
object-fit: cover;
}


  #survey-banner {
    display: block; 
  }

  /* Hide the banner when NOT on the About page */
  .section:not(#about) ~ #survey-banner {
    display: none;
  }
  .container {
    max-width: 900px;
    height: 500px; /* Set a fixed height */
    margin: 0 5% 0 25%;
    padding: 0 20px 20px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* Enable scrolling inside the container */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background: white;
}

/* Optional: Hide the scrollbar for a cleaner look */
.container::-webkit-scrollbar {
    width: 8px;
}

.container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
  .carousel-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    max-width: 900px;
    margin: 0 5px;
    background: white;
    padding: 10px 0;
    border-radius: 8px;
    
  }
  .section-btns {
    display: flex;
    justify-content: flex-start;
    flex-grow: 1;
    overflow: hidden; /* Hide scrollbar */
    padding: 10px 0;
  }
  .arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}
  .slick-prev, .slick-next {
    cursor: pointer;
    font-size: 24px;
    color: #22389c;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.slick-prev { left: -30px; }
.slick-next { right: -30px; }
  .section-btn {
    background-color: #6c6c6c;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    clip-path: polygon(75% 0%, 85% 50%, 75% 100%, 0% 100%, 10% 50%, 0% 0%);
    line-height: 1;
    min-width: 5vw;
    max-width: 200px;
    display: flex !important;
    justify-content: left;
    align-items: center;
    
}
.carousel-container .section-btn {
  height: 30px !important;
}
.section img {
    max-width: 100%;
}
#submit-btn {
  color: #ffffff;
  background-color: #22389C;
}
@media (max-width: 768px) {
.section-btn {
font-size: 0.9em; 
padding: 0.8em 1.5em;
min-width: 18vw;
}

.banner img {
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    display: block;
  }
}

@media (max-width: 480px) {
.section-btn {
font-size: 0.8em; 
padding: 0.6em 1.2em;
clip-path: polygon(80% 0%, 90% 50%, 80% 100%, 0% 100%, 10% 50%, 0% 0%);
}

.banner img {
width: 100%;
max-height: 150px;
border-radius: 5px;
}
}

/*Scrollbar*/

/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    height: 8px; /* Adjust scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888; /* Scrollbar thumb color */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker thumb on hover */
}




  .inactive {
    background: grey;
    color: white;
  }
  .active-btn {
    background: #22389c;
    color: white;
  }
  .completed {
    background: #619f34;
    color: white;
  }
  
  .section {
    display: none;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
  }
  .active {
    display: block;
  }
  .nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }
  .nav-buttons button {
    padding: 12px 24px;
    margin: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .nav-buttons button:hover {
    transform: scale(0.9); /* Shrinks slightly on hover */
    background-color: #22389c;
    color: white;/* Optional: Change background color */
}
  .next-btn {
    font-size: 18px;
    color: white;
    background: #2e5ce2;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .nav-buttons:has(.next-btn:not(.prev-btn)) {
    justify-content: flex-end;
}

  .prev-btn {
    color: #6c757d;
  }
  
  .prev-btn hover {
    color: none;
  }

  .input-field {
    width: 70%;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #22389c;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    justify-content: left;
    outline: none;
    background-color: #fff;
  }
  .form-group {
    margin-bottom: 15px;
  }

  .question{
    font-size: 22px;
    margin: 20px 0;
    text-align: left;
    font-weight: 500;

  } 

  .label-title {
    font-size: 28px;
    margin: 20px 0;
    text-align: left;
    font-weight: bold;
    color:#22389c;
  }
  .label-description {
    font-size: 16px;
    font-weight: 300;
    margin: 20px 0;
    text-align: left;
    
  }
  .subtext {
    text-align: left;
    font-size: 16px;
    color: #777;
    margin: 25px 0;
  }
  .divider {
    border-bottom: 1px solid #ddd;
    margin: 10px 0;
  }
  .options {
    margin: 25px 0;
  }
  .option-label {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    margin: 20px 0;
    gap: 10px;
    word-wrap: break-word;
    text-align: left;
    align-items: center;
  }
  .option-label input {
    width: 18px;
    height: 18px;
    accent-color: #22389c;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
  }

  .popup {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }

  .popup p {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
  }

  .popup button {
    padding: 12px 24px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    background: black;
    color: white;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
  }

  .popup button:hover {
    background: #333;
  }

  .popup button:first-of-type:hover {
    background: #619f34; /* Green hover for "Yes" button */
  }

  /* Review Popup Styling */
  .review-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
  }

  .review-popup .popup {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }

  .review-popup h2 {
    font-size: 18px;
    font-weight: bold;
    color: #22389c;
    margin-bottom: 15px;
  }

  .stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
  }

  .stars .star {
    transition: color 0.3s ease-in-out;
  }

  .stars .filled {
    color: #f4a11f;
  }

  .done-btn {
    display: none;
    margin-top: 15px;
    padding: 10px 20px;
    background: #22389c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
  }

  .done-btn:hover {
    background: #1b2e7b;
  }

  /* Submit Confirmation Popup Styling */
  .submit-confirmation-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1002;
    backdrop-filter: blur(4px);
  }

  .submit-confirmation-popup.show {
    display: flex !important;
  }

  .submit-confirmation-popup-content {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 16px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
  }

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

  .confirmation-icon {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

  .submit-confirmation-popup-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #22389c;
    margin-bottom: 15px;
    margin-top: 0;
    text-align: center;
  }

  .submit-confirmation-popup-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
  }

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

  .confirm-yes-btn,
  .confirm-cancel-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
  }

  .confirm-yes-btn {
    background: #22389c;
    color: white;
    box-shadow: 0 2px 8px rgba(34, 56, 156, 0.3);
  }

  .confirm-yes-btn:hover {
    background: #1b2e7b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 56, 156, 0.4);
  }

  .confirm-cancel-btn {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
  }

  .confirm-cancel-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-2px);
  }

  @media (max-width: 768px) {
    .submit-confirmation-popup-content {
      width: 90%;
      padding: 30px 20px;
    }

    .confirmation-icon {
      font-size: 40px;
    }

    .submit-confirmation-popup-content h2 {
      font-size: 20px;
    }

    .confirmation-buttons {
      flex-direction: column;
      gap: 10px;
    }

    .confirm-yes-btn,
    .confirm-cancel-btn {
      width: 100%;
      min-width: auto;
    }
  }
  .description-border {
    border: 2px solid #ddd;
    border-radius: 5px;
    margin: 10px 0;
}
  /* Fill in the Blanks Styling */
.fill-blank {
display: flex;
align-items: center;
gap: 10px;
font-size: 18px;
margin: 8px 0;
}
.top-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 5%;
    gap: 16px;
    flex-wrap: nowrap;
}

.top-section span {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    align-self: center;
    white-space: nowrap;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.survey-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.survey-lang-switch-label {
    font-weight: 600;
    white-space: nowrap;
}

.survey-lang-select {
    min-width: 130px;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.user-id {
    font-size: 15px;
    font-weight: bold;
    color: #222; /* Slightly darker for contrast */
}

.timestamp {
    font-weight: 400;
    font-size: 14px;
    color: #555;
    white-space: nowrap; /* Prevents breaking into multiple lines */
}

/* Logout Button */
a.logout-btn {
    color: black;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease-in-out;
    background: #f8f9fa; /* Light background for a button feel */
    border: 1px solid #ddd;
}

a.logout-btn:hover {
    background: #ddd;
    color: #000;
}

/* Logout Icon */
a.logout-btn img {
    width: 22px; /* Adjusted for better proportions */
    height: auto;
    transition: transform 0.3s ease;
}

a.logout-btn:hover img {
    transform: rotate(180deg); /* Smooth rotation effect on hover */
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .top-section {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        margin-right: 3%;
    }

    a.logout-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    a.logout-btn img {
        width: 20px;
    }
}

    
        
.fill-blank label {
text-align: left;
min-width: 100px;
}

.fill-input {
border: none;
border-bottom: 2px solid #22389c;
font-size: 18px;
width: 100px;
text-align: center;
outline: none;
background: transparent;
}



.fill-input:focus {
border-bottom: 2px solid #1b2e7b;
}

/*ToC*/
.sidebar {
    width: 20%;
    height: 80vh;
    background-color: #ececec;
    color: #22389c;
    font-weight: 500px;
    position: fixed;
    left: 0; /* Keep visible on large screens */
    transition: 0.3s;
    padding-top: 40px;
    padding-bottom: 120px;
    z-index: 1000;
    margin: 70px 0;
    border-radius: 20px;
    overflow-y: auto;
    scrollbar-width: inherit;
    
}

/* Custom scrollbar for Webkit browsers (Chrome, Safari, Edge) */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #888;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #22389c;
    border-radius: 10px;
}



.sidebar a, .sidebar h2 {
    display: block;
    color: #22389c;
    padding: 15px;
    text-decoration: none;
    max-width: 100%;
    height: auto;
    margin: 0 30px;
}
.sidebar h2 {
  text-align: center;
}
.sidebar a:hover {
    background-color: #1a3a74;
}

/*Mobile Side Bar*/
.sidebar .mobile-user-info {
  display: none; /* Hidden on desktop */
  padding: 15px;
  background: #e0e0e0;
  border-radius: 10px;
  margin: 10px 20px;
  font-size: 14px;
  color: #22389c;
}

.sidebar .mobile-user-info .user-id,
.sidebar .mobile-user-info .timestamp {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.sidebar .mobile-user-info .logout-btn {
  background: #22389c;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* Mobile only */
@media (max-width: 768px) {
  .sidebar .mobile-user-info {
    display: block;
  }
  

  /* Hide header top-section on mobile */
  .nav-container .top-section {
    display: none !important;
  }
  
  .logo img {
  height: 40px;
}
}

.toggle-btn {
    display: none; /* Hide toggle button by default */
    position: fixed;
    right: 10px;
    top: 10px;
    background: #0a1f44;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1100;
    border-radius: 10px;
}

.close-btn {
    font-size:18px;
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: #22389c !important;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-link {
    text-align: left;
    margin: 20px;
    line-height:inherit;
}

.sidebar-link:hover {
    background-color: #22389c !important;
    color: white !important;
}

.sidebar-link.active {
    background-color: #0a1f44 !important;
    color: white !important;
}

@media screen and (max-width: 768px) {
    .sidebar {
        width: 90%;
        left: -100vw;
        margin-top:63px;
        transition: left 0.3s ease-in-out;
    }
    
    .toggle-btn {
        display: block; /* Show toggle button on mobile */
    }
    
    .container{
        width:90%;
        margin: 0 ;
    }
    
    .banner{
        margin:70px auto 0;
    }
    
    .banner img{
        margin: 0;
    }
    
}


/*Header*/

.logo-container {
            background-color: white;
            display: flex;
            justify-content: flex-start;
            padding: 10px 30px;
        }
.logo img {
  height: 50px;
}

.nav-container {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1001;
            background: white;
            display: flex;
            align-items: center;
            padding: 5px 30px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Added shadow below navbar */
        }

.nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

/* Ensure default text color is white */
.nav ul li {
  position: relative;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: white; /* Force white color */
  transition: color 0.3s ease-in-out;
}

/* Change to orange on hover */
.nav ul li:hover {
  color: #ea8618 !important;
}

/* If links are inside li, apply styles */
.nav ul li a {
  text-decoration: none;
  color: inherit; /* Inherit white color */
  transition: color 0.05s ease-in-out;
}

.nav ul li a:hover {
  color: #ea8618 !important;
}


.modal-container {
  display: none;
}
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex; /* Enables flexbox */
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
}

/* Modal Content */
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 40%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}
/* Modal Header */
.modal-content h2 {
  margin: 0;
}

/* Close Button */
.close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* OK Button */
#modal-ok-btn {
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 15px;
  border-radius: 5px;
  color: #fff;
}

/* Success Style */
.success h2 {
  color: #27ae60;
}
.success #modal-ok-btn {
  background: #27ae60;
}
.success #modal-ok-btn:hover {
  background: #219150;
}

/* Error Style */
.error h2 {
  color: #e74c3c;
}
.error #modal-ok-btn {
  background: #e74c3c;
}
.error #modal-ok-btn:hover {
  background: #c0392b;
}

.modal-content p {
  padding-top: 10px;
  text-align: left;
}