@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8; /* Light gray fallback instead of black */
    color: #333;
    margin: 0;
    padding: 0;
}


/* === Header Section === */
.header {
  background: linear-gradient(90deg, #038fcc, #0073e6);
  color: white;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 4px solid #0073e6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.logo img {
  height: 50px;
}

/* === Nav Links === */
.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #e6f2fa;
}

/* === Mobile Menu Toggle === */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  top: 12px;
  right: 50px;  /* ✅ Perfectly visible */
  z-index: 1100;
  width: 40px;   /* ensures X doesn't get clipped */
  height: 40px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Smooth X animation */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* === Responsive Nav Behavior === */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0073e6;
    width: 100%;
    display: none;
    flex-direction: column;
    animation: fadeInNav 0.3s ease-in-out;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav ul li {
    width: 100%;
  }

  .nav ul li a {
    display: block;
    padding: 12px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu-toggle {
    display: flex;
  }
}

/* Smooth dropdown animation */
@keyframes fadeInNav {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* SHARED MAIN WRAPPER */
.terms-main {
    padding: 0;
    margin: 0;
    background: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* HERO SECTION (Top Banner) */
.terms-hero {
    background: linear-gradient(to right, #e6f2ff, #f2fbff);
    padding: 100px 20px 60px;
    text-align: center;
    border-bottom: 4px solid #038fcc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.terms-hero-content h1 {
    font-size: 42px;
    color: #0073e6;
    margin-bottom: 15px;
}

.terms-hero-content p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* MAIN SECTION CONTENT */
.terms-section {
    padding: 60px 20px;
    background: #ffffff;
    border-bottom: 4px solid #038fcc;
}

.terms-container, .terms-section {
    max-width: 900px;
    margin: 0 auto;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

/* HEADINGS */
.terms-section h2, .terms-container h2 {
    color: #0073e6;
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left;
}

.terms-section h3, .terms-container h3 {
    color: #038fcc;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.terms-section p, .terms-container p {
    margin-bottom: 15px;
}

.terms-section ul, .terms-container ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.terms-section ul li, .terms-container ul li {
    margin-bottom: 10px;
    list-style: disc;
}

/* LINKS */
.terms-section a, .terms-container a {
    color: #0073e6;
    text-decoration: underline;
    word-break: break-word;
}

.terms-section a:hover, .terms-container a:hover {
    color: #004a99;
}

/* SMS + AD SECTIONS */
.terms-section .highlight-box {
    background: #f9f9f9;
    border-left: 4px solid #0073e6;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    color: #333;
    font-size: 15px;
}

/* CTA SECTION (Bottom Call to Action) */
.cta-section {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
    border-top: 4px solid #038fcc;
}

.cta-section .cta-content h2 {
    font-size: 30px;
    color: #0073e6;
    margin-bottom: 15px;
}

.cta-section .cta-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.cta-section .cta-button {
    padding: 10px 25px;
    background: #0073e6;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-section .cta-button:hover {
    background: #005bb5;
    transform: translateY(-3px);
}

/* SMALL TEXT + LEGAL FOOTNOTES */
.terms-section small {
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE STYLING */
@media (max-width: 768px) {
    .terms-hero-content h1 {
        font-size: 30px;
    }
    .terms-hero-content p {
        font-size: 16px;
    }
    .terms-section h2, .terms-container h2 {
        font-size: 22px;
    }
    .cta-section .cta-content h2 {
        font-size: 24px;
    }
}




.footer-section {
    background-color: #f2f2f2; /* Clean white background */
    color: #333; /* Darker text for readability */
    padding: 60px 20px;
    font-size: 14px;
    border-top: 4px solid #038fcc; /* Blue border to separate the footer */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    text-align: center; /* Ensure all content inside the column is centered */
}

.footer-column h3 {
    color: #038fcc; /* Blue heading for consistency */
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column p, .footer-column a {
    color: #555; /* Darker gray for readability */
    text-decoration: none;
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #038fcc; /* Blue links for emphasis */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #005bb5; /* Darker blue for hover effect */
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #777;
}

.social-icons {
    text-align: center;
    margin-top: 10px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 18px;
    color: #038fcc;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #005bb5;
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
        min-width: 100%;
    }

    .social-icons a {
        margin: 5px;
    }
}
