/* Responsive Mobile Header Menu */
@media (max-width: 768px) {
    /* Hide nav and nav-right only on mobile, not desktop */
    @media (max-width: 768px) {
      .nav,
      .nav-right {
        display: none !important;
      }
    }
    .mobile-menu-btn {
      display: flex !important;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
      z-index: 1201;
      margin-left: auto;
    }
    .mobile-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100vw;
      background: linear-gradient(90deg, #0096c7, #48cae4);
      box-shadow: 0 8px 32px rgba(44,83,100,0.18);
      padding: 24px 0 18px 0;
      flex-direction: column;
      align-items: center;
      animation: mobileMenuSlide 0.3s;
      z-index: 1200;
    }
    .mobile-menu.open {
      display: flex;
    }
    .mobile-nav {
      display: flex;
      flex-direction: column;
      gap: 18px;
      align-items: center;
      margin-bottom: 18px;
    }
    .mobile-nav .nav-link {
      font-size: 1.2rem;
      color: #fff;
      opacity: 1;
      animation: none;
      padding: 8px 0;
    }
    .mobile-nav-right {
      display: flex;
      gap: 12px;
      flex-direction: column;
      align-items: center;
    }
    .mobile-nav-right .header-btn {
      width: 120px;
      font-size: 1rem;
      margin-bottom: 6px;
    }
  }
  
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
  }
  @keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  /* Header and Footer Styles (reuse from about.css) */
  .site-header {
    background: linear-gradient(90deg, #0096c7, #48cae4);
    color: #fff;
    box-shadow: 0 2px 8px rgba(44,83,100,0.08);
    font-family: 'Segoe UI', Arial, sans-serif;
    animation: headerFadeIn 1.2s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 32px;
  }
  .logo {
    flex: 0 0 auto;
    margin-right: 24px;
  }
  .logo-img {
    width: auto;
    height: 40px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  }
  .logo-img:hover {
    transform: scale(1.08) rotate(-6deg);
  }
  .nav {
    display: flex;
    gap: 24px;
  }
  .nav-left {
    flex: 1 1 auto;
  }
  .nav-link {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
    opacity: 0;
    animation: navLinkFadeIn 0.8s forwards;
  }
  .nav-link:nth-child(1) { animation-delay: 0.2s; }
  .nav-link:nth-child(2) { animation-delay: 0.4s; }
  .nav-link:nth-child(3) { animation-delay: 0.6s; }
  .nav-link:nth-child(4) { animation-delay: 0.8s; }
  .nav-link:nth-child(5) { animation-delay: 1s; }
  .nav-link-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }
  .nav-link-dropdown .dropdown-menu {
    margin-top: 12px;
  }
  .support-link {
    animation-delay: 1.2s;
  }
  .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s;
    position: absolute;
    left: 0;
    bottom: -2px;
  }
  .nav-link:hover {
    color: #ffd700;
  }
  .nav-link:hover::after {
    width: 100%;
  }
  .nav-right {
    display: flex;
    gap: 12px;
  }
  .header-btn {
    background: #fff;
    color: #48cae4;
    border: none;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,83,100,0.10);
    transition: background 0.2s, color 0.2s, transform 0.3s;
    opacity: 0;
    animation: btnFadeIn 1s forwards;
  }
  .login-btn { animation-delay: 1.1s; }
  .register-btn { animation-delay: 1.3s; }
  .header-btn:hover {
    background: #ffd700;
    color: #0096c7;
    transform: scale(1.08);
  }
  @keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes navLinkFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes btnFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Terms Hero Section */
  .terms-hero {
    width: 100%;
    background:#eaf5ff;
    padding: 90px 0 40px 0;
    margin-top: 70px;
  }
  .terms-hero-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(44,83,100,0.10);
    padding: 48px 32px 40px 32px;
    text-align: center;
  }
  .terms-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: #48cae4;
    margin: 0 0 16px 0;
    line-height: 1.18;
  }
  .terms-subtitle {
    font-size: 1.18rem;
    color: #3a4a5d;
    margin: 0 auto 8px auto;
    line-height: 1.7;
    max-width: 600px;
  }
  .terms-divider {
    width: 50%;
    margin: 32px auto 0 auto;
    border: 1px solid #c2c8e5;
  }
  
  /* Terms Content Section */
  .terms-content-section {
    background: #eaf5ff;
    padding: 40px 0 60px 0;
  }
  .terms-content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(44,83,100,0.10);
    padding: 40px 32px;
  }
  .terms-img-col {
    flex: 1 1 40%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .terms-img {
    width: 100%;
    max-width: 320px;
    /* border-radius: 18px; */
    /* box-shadow: 0 4px 24px rgba(44,83,100,0.12); */
  }
  .terms-details-col {
    flex: 1 1 60%;
    display: flex;
    align-items: center;
  }
  .terms-details-wrapper {
    width: 100%;
  }
  .terms-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3556;
    margin-bottom: 24px;
  }
  
  /* Modern Terms List Styling */
  .terms-list-modern {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 32px;
  }
  .terms-item {
    display: flex;
    align-items: flex-start;
    background: rgba(234, 246, 251, 0.7);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44,83,100,0.07);
    padding: 18px 22px;
    transition: box-shadow 0.2s, background 0.2s;
    border-left: 5px solid #1976d2;
    position: relative;
  }
  .terms-item:hover {
    background: #eaf6fb;
    box-shadow: 0 6px 24px rgba(25,118,210,0.13);
  }
  .terms-icon {
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #1976d2;
    margin-right: 18px;
    margin-top: 2px;
    filter: drop-shadow(0 2px 6px rgba(25,118,210,0.08));
  }
  .terms-item strong {
    color: #1a3556;
  }
  .terms-item div {
    color: #3a4a5d;
    font-size: 1.08rem;
  }
  .terms-stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
  }
  .terms-stat-card {
    flex: 1 1 50%;
    background: #eaf6fb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,83,100,0.10);
    padding: 24px 12px;
    text-align: center;
  }
  .terms-stat-card h3 {
    font-size: 2rem;
    color: #1976d2;
    margin-bottom: 8px;
    font-weight: 700;
    padding-top: 0px;
  }
  .terms-stat-card p {
    font-weight: 600;
    color: #1a3556;
    margin: 0;
  }
  .terms-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #1976d2;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12);
    transition: background 0.2s;
  }
  .terms-btn:hover {
    background: #145ea8;
  }
  @media (max-width: 900px) {
    .terms-content-container {
      flex-direction: column;
      padding: 24px 8px;
    }
    .terms-img-col {
      margin-bottom: 24px;
    }
  }
  @media (max-width: 600px) {
    .terms-hero {
      padding: 40px 0 20px 0;
    }
    .terms-hero-container {
      padding: 24px 8px 20px 8px;
    }
    .terms-title {
      font-size: 1.5rem;
    }
    .terms-subtitle {
      font-size: 1rem;
    }
  }
  /* Footer Styles (reuse from about.css) */
  .modern-footer {
    background: #111827;
    color: #d1d5db;
    font-family: Arial, sans-serif;
    padding: 50px 20px 0;
  }
  .footer-container {
    max-width: 1200px;
    margin: auto;
  }
  .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-col {
    flex: 1 1 calc(25% - 20px);
    min-width: 230px;
  }
  .footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
  }
  .footer-links {
    list-style: none;
    padding: 0;
  }
  .footer-links li {
    margin: 8px 0;
  }
  .footer-links a {
    text-decoration: none;
    color: #d1d5db;
    transition: 0.3s;
  }
  .footer-links a:hover {
    color: #60a5fa;
    padding-left: 5px;
  }
  .footer-col p {
    margin: 8px 0;
  }
  .footer-col a {
    color: #d1d5db;
    transition: 0.3s;
  }
  .footer-col a:hover {
    color: #60a5fa;
  }
  .social-links a {
    margin-right: 10px;
    font-size: 18px;
    padding: 8px;
    display: inline-block;
    background: #1f2937;
    border-radius: 50%;
    transition: 0.3s;
  }
  .social-links a:hover {
    background: #2563eb;
    color: white;
  }
  .newsletter-form {
    display: flex;
    margin-top: 10px;
  }
  .newsletter-form input {
    flex: 1;
    padding: 10px;
    border-radius: 30px 0 0 30px;
    border: none;
  }
  .newsletter-form button {
    padding: 10px 15px;
    border: none;
    border-radius: 0 30px 30px 0;
    background: #2563eb;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }
  .newsletter-form button:hover {
    background: #1d4ed8;
  }
  .footer-bottom {
    background: #0f172a;
    margin-top: 30px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #374151;
  }
  .footer-bottom a {
    color: #60a5fa;
    text-decoration: none;
  }
  .back-to-top {
    font-size: 18px;
    padding: 10px;
    background: #2563eb;
    border-radius: 50%;
    transition: 0.3s;
  }
  .back-to-top:hover {
    background: #1d4ed8;
  }
  @media (max-width: 1024px) {
    .footer-col {
      flex: 1 1 calc(50% - 20px);
    }
  }
  @media (max-width: 768px) {
    .footer-row {
      flex-direction: column;
    }
    .footer-col {
      flex: 1 1 100%;
    }
    .newsletter-form {
      flex-direction: column;
    }
    .newsletter-form input,
    .newsletter-form button {
      width: 100%;
      border-radius: 30px;
      margin-bottom: 10px;
    }
    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
  }
  @media (max-width: 480px) {
    .footer-title {
      font-size: 16px;
    }
    .footer-col p,
    .footer-links a {
      font-size: 14px;
    }
    .social-links a {
      font-size: 16px;
      padding: 6px;
    }
    .back-to-top {
      padding: 8px;
      font-size: 16px;
    }
    .modern-footer {
      padding: 35px 15px 0;
    }
  }