@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

.nav-head{
    background-color: aliceblue;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo-section {
    display: flex;
    align-items: center;
    color: blue;
}
.logo-section img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}
.logo-section h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.logo-link {
    text-decoration: none;   /* removes underline */
    color: inherit;          /* keeps text color same */
}

.logo-link:hover,
.logo-link:focus {
    text-decoration: none;   /* ensures no underline on hover */
}

ul.nav-links1 {
    list-style: none;
    padding-left: 0;
    display: flex;
    margin: 0;
}
ul.nav-links1 li {
    margin: 0 10px;
}
ul.nav-links1 li a {
    color: navy;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: background-color 0.3s ease;
    padding: 8px 12px; 
    border-radius: 4px;
}
ul.nav-links1 li a i {
    margin-right: 6px;
}
ul.nav-links1 li a:hover{
    background-color: darkcyan;
    color: white;
}
.login {
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.login i {
    margin-right: 6px;
}


.login-btn:hover {
  background-color: darkcyan; 
  color: white; 
}
.login-btn{
    color: navy;
    cursor: pointer;
    display: inline-block;
    align-items: center;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.login-mobile{
    display: none;
}
.login-desktop{
    display: block;
}
.hamburger{
    color: black;
    font-size: 28px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 8px;
}
.nav-links1{
    display: flex;
    gap: 20px;
    list-style: none;
}
#navLinks.open{
    left: 0;
}

@media(max-width:900px){
    .hamburger{
        display: block;
    }
    .login-desktop{
        display: none;
    }
    .login-mobile{
        display: block;
    }
    .nav-links1{
        position: fixed;
        top: 90px;
        left: -100%;
        width:100%;
        background: blue;
        color: white;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;
        transition: 0.3s ease;
    }
    .nav-links1.open{
        left: 0;
    }
    .nav-links1 a{
        font-size: 18px;
        color: white !important;
    }
    .login-btn{
        display: block;
        width: 120px;
        text-align: center;
    }
    
}

@media (max-width:428px){
    .logo-section h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
}

@media (max-width:323px){
    .logo-section h2 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}
}






/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 48px 16px;
  background: #f8fafc; /* light background */
  color: #0f172a;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.faq-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-section h2 {
  font-size: 1.9rem;
  margin: 0 0 20px;
  font-weight: 600;
  text-align: center;
  color: #0b2447;
  letter-spacing: -0.2px;
}

/* Grid wrapper for the FAQ items — makes them tidy on wide screens */
.faq-container {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}

/* Each item */
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(12, 24, 48, 0.06);
  overflow: hidden;
  border: 1px solid rgba(11, 36, 71, 0.06);
}

/* The question button — accessible */
.faq-question {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 12px;
  color: #072146;
  font-weight: 600;
  outline: none;
  transition: background 0.12s ease;
}

/* subtle hover/focus */
.faq-question:hover,
.faq-question:focus {
  background: rgba(7, 33, 70, 0.03);
}

/* chevron styled with pseudo-element */
.faq-question::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  transform: rotate(0deg);
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
  border-right: 2px solid rgba(7,33,70,0.7);
  border-bottom: 2px solid rgba(7,33,70,0.7);
  margin-left: 12px;
  transform-origin: center;
}

/* when open, rotate chevron */
.faq-item.open .faq-question::after {
  transform: rotate(135deg);
}

/* answer : collapsible using max-height transition for smooth animation */
.faq-answer {
  padding: 0 20px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s cubic-bezier(.2,.9,.2,1), padding 0.18s linear;
}

/* visible state */
.faq-item.open .faq-answer {
  padding: 16px 20px 20px;
  max-height: 400px; /* sufficiently large to contain typical answer; JS fine-tunes if needed */
}

/* answer text */
.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #123;
  font-weight: 400;
  font-size: 0.96rem;
}

/* small meta (if any) */
.faq-answer small {
  color: #4b5563;
  display: block;
  margin-top: 8px;
}

/* Responsive — 2-column on wider screens but only if you prefer */
@media (min-width: 900px) {
  .faq-container {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .faq-section h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .faq-container {
    grid-template-columns: 1fr 1fr 1fr; /* optional: 3 columns if you have lots of short items */
    gap: 20px;
  }

  .faq-section h2 {
    font-size: 2.2rem;
  }
}

/* Focus-visible for accessibility */
.faq-question:focus-visible {
  box-shadow: 0 0 0 4px rgba(11, 36, 71, 0.08);
  border-radius: 8px;
}
