* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Poppins", sans-serif;
    }

    body {
      background: #c8d8f8ff;
      color: white;
      overflow-x: hidden;
      padding-top: 70px;
    }

    header {
      position: fixed;
      margin-left: 120px;
      margin-right: 120px;
      margin-top: 10px;
      top: 0;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 60px;
      background-color: rgba(255, 255, 255, 0.2);
      border-radius: 50px;
      backdrop-filter: blur(20px);
      z-index: 1000;
      transition: all 0.3s ease;

      /* Bottom shadow */
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);

      /* Outline around the header */
      outline: 1px solid rgba(5, 5, 5, 0.23); /* orange with 50% opacity */
    }


    header .logo {
      display: flex;
      align-items: center;
    }

    header .logo img {
      width: 150px;
      height: auto;
    }

    /* NAVIGATION */
    nav {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    nav a {
      color: #000000ff;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.1rem;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #001affff;
    }

    /* ACCOUNT ICON */
    #account-icon {
      font-size: 1.3rem;
      background-color: rgba(255, 255, 255, 0.15);
      padding: 8px 10px;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }

    #account-icon:hover {
      background-color: #1d99feff;
      color: #000;
      transform: scale(1.1);
    }

    /* HAMBURGER ICON */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 25px;
      height: 18px;
      cursor: pointer;
      z-index: 1100;
    }

    .hamburger span {
      height: 3px;
      width: 100%;
      background: black;
      border-radius: 3px;
    }

    /* ✅ MOBILE RESPONSIVE MENU */
    @media (max-width: 950px) {
      header {
        padding: 18px 25px;
        margin: 0;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 10px;
      }

      .hamburger {
        display: flex;
      }

      nav {
        position: absolute;
        top: 75px;
        right: 25px;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 15px;
        flex-direction: column;
        align-items: flex-start;
        width: 200px;
        padding: 20px;
        gap: 15px;
        display: none;
        animation: slideDown 0.3s ease forwards;
      }

      nav.active {
        display: flex;
      }

      nav a {
        color: white;
        font-size: 1rem;
        margin: 8px 0;
      }

      .profile-dropdown {
        margin-top: 10px;
      }

      .profile-dropdown #account-icon {
        margin-left: 0;
      }
    }

    /* Animation for mobile menu */
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    /* Hero Section */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      padding: 80px 60px 100px;
    }

    .hero-text {
      max-width: 900px;
      margin-bottom: 70px;
      margin-left: 50px;
      color: black;
    }

    .hero-text h1 {
      font-size: 4.5rem;
      font-weight: 800;
      margin-bottom: 25px;
      margin-left: 100px;
      line-height: 1.2;
    }

    .hero-text p {
      font-size: 1.5rem;
      color: #000000ff;
      margin-bottom: 40px;
      margin-left: 100px;
      line-height: 1.6;
    }

    .btn-start {
      display: inline-block;
      background: #0048ffff;
      color: #ffffffff;
      padding: 15px 80px;
      border-radius: 20px;
      font-weight: 800;
      font-size: 1.1rem;
      text-decoration: none;
      margin-left: 100px;
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .btn-Signup {
      display: inline-block;
      background-color: #a460e800;
      color: #0a3af8ff;
      padding: 15px 80px;
      border-radius: 20px;
      border: 1px solid #0a3af8ff; 
      font-weight: bold;
      font-size: 1.1rem;
      text-decoration: none;
      margin-left: 30px;
      transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
      cursor: pointer;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .btn-Signup:hover {
      transform: translateY(-6px);
      background: #0048ffff;
      color: white;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .btn-start:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      color: #ffffff;
    }

    .hero-image {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 160px;
    }

    .hero-image .phone-bg {
      position: absolute;
      width: 365px;
      top: 40px;
      right: 100px;
      opacity: 0.7; 
      transform: scale(0.97);
      z-index: 0;
      filter: drop-shadow(0 0 10px #0244be75) 
          drop-shadow(0 0 20px #1f9aff79)
          drop-shadow(0 0 40px rgb(0, 110, 253));
      transition: filter 0.3s ease;
    }

    .hero-image .phone-front {
      position: relative;
      width: 420px;
      z-index: 2;
    }

    /* ✅ Fix unwanted right margin / horizontal scroll on mobile */
@media (max-width: 950px) {
  .features {
    padding: 70px 10px;
    overflow-x: hidden;
  }

  .features-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }

  .feature-box {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  html, body {
    overflow-x: hidden !important;
  }
}


.features {
  background: #c8d8f8ff;
  color: black;
  padding: 60px 30px;
}

.features-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT SIDE */
.features-left {
  flex: 1;
  max-width: 480px;
}

.features-left h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-left: 15px;
}

.features-left h2 em {
  color: #1d7dff;
  font-style: normal;
}

.features-left .subtitle {
  @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

  font-family: 'Roboto', sans-serif;  font-size: 1.2rem; /* your current size is good */
  line-height: 1.8; /* improves readability */
  text-align: justify; /* makes text pantay-pantay */
  text-justify: inter-word;
  max-width: 750px; /* prevents lines from being too long */
  padding: 15px 20px; /* subtle padding inside container */

}


/* RIGHT SIDE 2x2 GRID */
.features-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.feature-box {
  background: #ffffff9c;
  border-radius: 20px;
  padding: 45px 45px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.icon {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 950px) {
  .features-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .features-right {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}



.how-it-works {
  background: #c8d8f8ff;
  color: #000;
  text-align: center;
  padding: 90px 20px;
}

.how-it-works h2 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.how-it-works p {
  font-size: 1.5rem;
  color: #000000ff;
  margin-bottom: 60px;
  margin-left: 100px;
  line-height: 1.6;
}

h3 em {
  color: #007bff;
  font-style: normal; 
  font-weight: 600;
}


.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; /* reduce spacing between items */
  justify-items: center;
  align-items: stretch;
  margin-bottom: 60px;
  padding: 0 300px; /* optional: brings items closer toward center */
}


.step-box {
  background: #ffffff5c;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px 30px;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px; 
}

.step-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.step-icon {
  width: 300px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 15px;
}

.step-number {
  font-weight: 600;
  font-size: 1.2rem;
  color: #000000ff;
  margin-bottom: 8px;
}

.step-box h3 {
  font-size: 1.1rem;
  color: #000000ff;
  font-weight: 300;
  margin-top: auto;
}
.step-desc {
  font-size: 0.95rem;
  color: #555;
  margin-top: 10px;
  line-height: 1.4;
}


/* Responsive layout for mobile */
@media (max-width: 768px) {

  .how-it-works {
    padding: 70px 15px;
    text-align: center; /* ensures all text inside is centered */
  }

  .how-it-works h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .how-it-works p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
  }


  /* Steps container becomes 1 column on mobile */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px; /* balanced spacing */
    padding: 0 20px;
  }

  .step-box {
    max-width: 100%;
    min-height: 260px;
    padding: 20px;
  }

  .step-box img {
    width: 75%;       /* smaller images for mobile */
    margin-bottom: 15px;
  }

  .step-box h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
    color: #000;
  }

  .step-box p {
    font-size: 1rem;
    margin-top: 5px;
    margin-bottom: 10px;
  }
}


@media (max-width: 600px) {
  .steps-container {
    grid-template-columns: 1fr;
  }

  .step-box {
    width: 90%;
    margin: 0 auto;
  }
}



    @media (max-width: 950px) {
      .features-container {
        flex-direction: column;
        gap: 40px;
      }
    }

    .logo .system-logo {
      width: 240px;
    }

    @media (max-width: 950px) {
      .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 20px;
        gap: 40px;
      }

      .hero-text {
        margin: 0 auto;
        max-width: 90%;
      }

      .hero-text h1 {
        margin-left: 0;
        font-size: 3.5rem;
      }

      .hero-text p,
      .btn-start {
        margin-left: 0;
      }

      .btn-Signup {
        margin-top: 20px;
        margin-left: 0;
      }

      .hero-image {
        margin: 0 auto 30px auto;
        justify-content: center;
      }

      .hero-image .phone-front {
        margin: 0 auto;
      }
    }

    /* POPUP STYLES */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5); /* slightly transparent */
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
    
      /* Add blur effect */
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px); /* for Safari */
    }


    .popup-form {
      background: #ffffffff;
      padding: 40px 30px;
      border-radius: 20px;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 0 20px rgba(31, 132, 255, 0.78);
      text-align: left;
      position: relative;
      color: #000000ff;
      animation: fadeIn 0.4s ease;
    }

    .close-btn {
      position: absolute;
      top: 15px;
      right: 20px;
      font-size: 1.8rem;
      cursor: pointer;
      color: #000000ff;
      transition: color 0.3s;
    }

    .popup-form h2 {
      text-align: center;
      margin-bottom: 20px;
    }

    .popup-form label {
      display: block;
      font-weight: 500;
      margin: 10px 0 5px;
    }

    .popup-form input {
      width: 100%;
      padding: 12px;
      border-radius: 10px;
      border: none;
      outline: 1px solid black;
      margin-bottom: 15px;
      font-size: 1rem;
    }

    .form-btn {
      width: 100%;
      background: #0059ffff;
      border: none;
      color: #ffffffff;
      padding: 12px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-btn:hover {
      background: #018dffff;
    }

    .switch-text {
      text-align: center;
      margin-top: 10px;
      font-size: 0.9rem;
    }

    .switch-text a {
      color: #1100ffff;
      text-decoration: none;
      font-weight: 600;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }

    /* Profile Dropdown */
.profile-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 25px;
}

.profile-dropdown #account-icon {
  font-size: 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  color: black; /* ✅ Add this line */
}

.profile-dropdown #account-icon:hover {
  background-color: #1d99feff;
  color: #000;
  transform: scale(1.1);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 45px;
  background-color: #2a2a2a;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 1000;
  padding: 10px 0;
  text-align: center;
}

.dropdown-content p {
  margin: 10px 0 5px;
  color: #fff;
  font-weight: 600;
}

.dropdown-content .logout-link {
  display: block;
  color: #ff7300;
  text-decoration: none;
  padding: 8px 0;
  font-weight: 600;
}

.dropdown-content .logout-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 10px 10px;
}

/* Show dropdown on hover */
.profile-dropdown:hover .dropdown-content {
  display: block;
}

/* ✅ Mobile-friendly hero section layout */
@media (max-width: 950px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto;
    max-width: 90%;
  }

  .hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  margin: -30px auto 15px; 
}


  .hero-text p {
    font-size: 1.1rem;
    color: #000000ff;
    margin: 0 auto 25px;
  }

  .btn-start {
    display: inline-block;
    background: #0048ffff;
    color: #ffffffff;
    padding: 15px 55px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .btn-Signup {
    display: inline-block;
    background: transparent;
    color: #000000ff;
    padding: 15px 55px;
    border-radius: 50px;
    border: 1px solid #ffffff;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    margin: 15px auto 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .hero-image {
    display: flex;
    justify-content: center;
    margin: 30px auto 0;
  }

  .hero-image img {
    width: 400px;
    max-width: 90%;
    height: auto;
  }
}
/* ✅ Adjust hero phone image spacing for mobile */
@media (max-width: 950px) {
  .hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 0;
  }

  .hero-image .phone-bg {
    position: absolute;
    width: 500px;
    top: 25px;
    right: auto;
    left: 40%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0.8;
    filter: drop-shadow(0 0 10px #0244be75) 
          drop-shadow(0 0 20px #1f9aff79)
          drop-shadow(0 0 40px rgb(0, 110, 253));
      transition: filter 0.3s ease;
  }

  .hero-image .phone-front {
    position: relative;
    width: 600px;
    z-index: 2;
    transform: translateY(5px);
  }
}

h1 em {
  color: #007bff;
}
h2 em {
  color: #007bff;
}
h3 em {
  color: #007bff;
}

/* Hide mobile profile by default */
.profile-mobile {
  display: none;
}

/* Desktop (normal view) */
.desktop-view {
  display: inline-block;
}

/* ✅ Mobile layout */
@media (max-width: 950px) {
  .desktop-view {
    display: none;
  }

.btn-Signup{
  border-color: #0a3af8ff;
  color: #0a3af8ff;
  font-weight: bold;
}

  .profile-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 15px;
    color: white;
    margin-top: 10px;
  }

  .profile-mobile i {
    font-size: 1.6rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .profile-mobile .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
  }

  .profile-mobile .username {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
  }

  .profile-mobile .logout-btn {
    color: #0077ffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0rem;
    margin-top: 3px;
    transition: color 0.3s;
  }

  .profile-mobile .logout-btn:hover {
    color: #098cffff;
  }
  }
  .icon {
    color: #007bff; /* blue color */
    font-size: 30px; /* adjust size if needed */
    font-weight: bold;
  }
  .faq-section {
  padding: 10px 20px;
  text-align: center;
  background: #c8d8f8ff;
}

.faq-section h2 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #000;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  text-align: left;
  font-size: 1rem;
  color: #555;
  border-top: 1px solid #ddd;
  
  /* Smooth animation */
  transition: max-height 0.35s ease, padding 0.35s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 200px;       /* enough for long text */
  padding: 15px 20px;
  opacity: 1;
}

.faq-question {
  width: 100%;
  background: #0077ffff;
  color: white;
  padding: 18px 20px;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: #eef4ff;
  color: black;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .faq-section p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .faq-section p {
    font-size: 0.95rem; /* comfortable reading on phones */
    line-height: 1.5; /* slightly tighter for small screens */
    padding: 0 8px;
  }
}

/* SIDE-BY-SIDE WRAPPER */
.faq-wrapper {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 80px; 
  margin-top: 40px;
  padding: 0 40px; 
}

/* LEFT CONTENT */
.faq-content {
  flex: 1;
  max-width: 600px;
}

/* RIGHT IMAGE */
.faq-image {
  flex: 0 0 auto;
}

.faq-image img {
  width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-right: 20px; 
}

/* TABLET */
@media (max-width: 900px) {
  .faq-wrapper {
    gap: 40px;
  }

  .faq-image img {
    width: 260px;
    margin-right: 0;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .faq-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 5px;
  }

  .faq-image {
    order: 1;
    margin-top: -75px;
  }

  .faq-content {
    order: 2;
  }

  .faq-image img {
    width: 220px;
  }
}


/* SMALL PHONES */
@media (max-width: 480px) {
  .faq-image img {
    width: 180px;
  }
}

.faq-section p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 35px;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;     
    margin-left: auto;    
    margin-right: auto;
}


footer .color {
  color: #007BFF; 
  font-weight: bold; 
}

footer{
  color: black;
}

/* Popup background */
.otp-modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.otp-content {
  background: #fff;
  color: black;
  padding: 25px;
  width: 350px;
  border-radius: 12px;
  text-align: center;
}

/* OTP boxes */
.otp-inputs {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.otp-field {
  width: 45px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 1px solid #000000ff;
  border-radius: 8px;
}

.otp-field:focus {
  border-color: #6a5acd;
  outline: none;
}

/* Submit button */
.otp-btn {
  width: 100%;
  padding: 12px;
  background: #6a5acd;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
}

.resend {
  margin-top: 15px;
  font-size: 14px;
}
.resend a {
  color: #6a5acd;
  text-decoration: none;
}



