/* ========== Global Styling ========== */
body {
    font-family: 'Roboto', sans-serif;
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    min-height: 100vh;
    margin: 0;
    color: #333;
  }
  
  .page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    padding-top: 4rem;
  }
  
  /* ========== Shared Card Style ========== */
  .card {
    max-width: 700px;
    width: 90%;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
  }
  
  .card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  }
  
  /* ========== Logo & Titles ========== */
  .logo {
    width: 140px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  h1 {
    font-size: 1.9rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
  }
  
  /* ========== Greeting Styles ========== */
  .greeting-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
  }
  
  .greeting-subtext {
    font-size: 0.95rem;
    color: #252323;
    margin-bottom: 20px;
  }
  
  .email-box {
    font-family: monospace;
    background-color: #f1f4f7;
    color: #000;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.2rem;
    width: fit-content;
    margin: 6px auto 16px auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
  }
  
  /* ========== Form Styling ========== */
  form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  form label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
  }
  
  input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1.2rem;
    color: #333;
    background-color: #f9f9f9;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  input[type="text"]:focus {
    border-color: #0078D7;
    box-shadow: 0 0 8px rgba(0, 120, 215, 0.3);
    outline: none;
  }
  
  /* ========== Buttons ========== */
  .btn {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    background-color: #0078D7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn:hover {
    background-color: #005bb5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
  
  .btn:active {
    transform: scale(0.98);
  }
  
  .rotate {
    background-color: #ff5722;
  }
  
  .rotate:hover {
    background-color: #e64a19;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
  }
  
  /* ========== User Info Box ========== */
  .user-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    line-height: 1.6;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
  
  .user-info p {
    display: flex;
    justify-content: space-between;
    margin: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
  }
  
  .user-info p strong {
    font-weight: 600;
    color: #005bb5;
    margin-right: 10px;
  }
  
  .user-info p span {
    color: #555;
    font-weight: 400;
    word-break: break-word;
  }
  
  /* ========== FAQ Section ========== */
  .faq-section {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  
  .faq-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #222;
  }
  
  .faq-section details {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
  }
  
  .faq-section summary {
    font-weight: 600;
    color: #005bb5;
    cursor: pointer;
  }
  
  .faq-section p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
  }
  
/* 
  html {
    scroll-behavior: smooth;
  }
  
  details[open] {
    animation: dropdown 0.3s ease-in-out;
  }
  
  @keyframes dropdown {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  } */
  
  /* ========== RESPONSIVE BREAKPOINTS ========== */

/* Small Mobile (<= 360px) */
@media screen and (max-width: 360px) {
    body {
      font-size: 14px;
    }
  
    .logo {
      width: 100px;
      margin-bottom: 1rem;
    }
  
    h1 {
      font-size: 1.4rem;
    }
  
    .btn {
      font-size: 0.9rem;
      padding: 10px;
    }
    .email-box {
        font-size: 0.7rem;
        gap: 10px;
        flex-direction: column;
    } 
  
    .user-info p {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  /* Standard Mobile Devices (<= 480px) */
  @media screen and (max-width: 480px) {
    .card, .user-info {
      padding: 1rem;
      width: 95%;
    }
  
    input[type="text"] {
      font-size: 1rem;
    }
  
    .email-box {
      font-size: 1rem;
      gap: 10px;
    }
  }
  
  /* Tablets / iPads (<= 768px) */
  @media screen and (max-width: 768px) {
    .card {
      padding: 2rem;
      width: 90%;
    }
  
    h1 {
      font-size: 1.6rem;
    }
  
    .faq-section p {
      font-size: 0.9rem;
    }
  
    .user-info p {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.2rem;
    }
  }
  
  /* Laptops and Smaller Desktops (<= 1024px) */
  @media screen and (max-width: 1024px) {
    .card {
      padding: 2.5rem;
    }
  
    h1 {
      font-size: 1.75rem;
    }
  
    .btn {
      max-width: 100%;
    }
  
    input[type="text"] {
      font-size: 1.1rem;
    }
  }
  
  /* Medium to Large Monitors (>= 1440px) */
  @media screen and (min-width: 1440px) {
    .card {
      max-width: 900px;
      padding: 3rem;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .logo {
      width: 160px;
    }
  }
  
  /* Ultra-wide screens (>= 1920px) */
  @media screen and (min-width: 1920px) {
    .card {
      max-width: 1000px;
      padding: 3.5rem;
    }
  
    .user-info p {
      font-size: 1.1rem;
    }
  }
  
  /* ========== MODERN SMARTPHONES SUPPORT ========== */

/* iPhone 14 Pro Max / Galaxy S23 Ultra */
@media screen and (max-width: 430px) {
    h1 {
      font-size: 1.5rem;
    }
  
    .logo {
      width: 100px;
      margin-top: 0.5rem;
    }
  
    .card {
      padding: 1rem;
    }
  
    .btn {
      font-size: 0.95rem;
      padding: 10px;
    }
    .email-box {
        font-size: 0.8rem;
        gap: 10px;
        flex-direction: column;
      }
  
    .user-info p {
      flex-direction: column;
      font-size: 0.95rem;
    }
  }
  
  /* iPhone 13/12 Pro and Galaxy S22 */
  @media screen and (max-width: 412px) {
    .card {
      padding: 1rem;
      width: 95%;
    }
  
    input[type="text"] {
      font-size: 1rem;
    }
  
    .email-box {
      font-size: 0.7rem;
      gap: 10px;
      flex-direction: column;
    }
  
    .btn {
      max-width: 100%;
    }
  }
  
  /* iPhone SE, iPhone 8 */
  @media screen and (max-width: 375px) {
    h1 {
      font-size: 1.35rem;
    }
  
    .logo {
      width: 90px;
    }
    .email-box {
        font-size: 0.7rem;
        gap: 10px;
        flex-direction: column;
      }
    .card {
      padding: 0.8rem;
    }
  
    .btn {
      font-size: 0.85rem;
      padding: 8px;
    }
  }
  
  /* Small Tablets and Foldables */
  @media screen and (max-width: 540px) and (min-width: 430px) {
    .card {
      padding: 1.5rem;
      width: 90%;
    }
  
    .logo {
      width: 120px;
    }
  
    .btn {
      font-size: 1rem;
    }
  
    h1 {
      font-size: 1.65rem;
    }
  }
  .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0078D7;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 12px auto 0 auto;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  