/* ========================================
   PRIVACY POLICY & TERMS OF SERVICE PAGES
   ======================================== */

/* CSS Variables */
:root {
  --primary-color: #ff4d00;
  --primary-dark: #e64300;
  --primary-light: #ff6633;
  --dark-bg: #0f172a;
  --dark-secondary: #1e293b;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  --card-hover: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Zimora Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Zimora Tech', 'Courier New', monospace;
  --font-display: 'Zimora Display', Georgia, serif;
  --font-code: 'Zimora Code', 'Fira Code', monospace;
  --font-fallback: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: #374151;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Top Header */
.top-header {
  background: var(--dark-bg);
  color: var(--text-secondary);
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-email {
  color: var(--text-secondary);
}

.header-time {
  color: var(--text-muted);
}

.top-header-right {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.social-icon:hover {
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  height: 75px;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: var(--transition-base);
  position: absolute;
  top: 50%;
  left: -70px;
  transform: translateY(-50%);
}

.logo:hover .logo-img {
  transform: translateY(-50%) scale(1.05);
}

nav {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 50px;
}

nav a {
  color: var(--dark-bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color var(--transition-base);
  position: relative;
  padding: 8px 12px;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-base);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.services-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .services-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: flex-start;
  padding: 12px 20px;
  color: var(--dark-bg);
  text-decoration: none;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 12px;
}

.dropdown-menu a:hover {
  background: rgba(255, 77, 0, 0.1);
  color: var(--primary-color);
  transform: translateX(4px);
}

.dropdown-menu a i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
  color: var(--primary-color);
}

.dropdown-service-content {
  flex: 1;
}

.dropdown-service-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.dropdown-service-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-quote-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-base);
  text-decoration: none;
}

.nav-quote-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu {
  display: none;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 77, 0, 0.05));
  border: 1px solid rgba(255, 77, 0, 0.2);
  color: var(--primary-color);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 18px;
}

.menu:hover {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.2), rgba(255, 77, 0, 0.1));
  transform: scale(1.05);
}

.menu.open {
  transform: rotate(90deg);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 50%, var(--dark-bg) 100%);
  color: var(--text-secondary);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: footerShimmer 8s ease-in-out infinite;
}

@keyframes footerShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 77, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--primary-color);
}

/* Newsletter Form */
.newsletter-form {
  margin-top: 20px;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.newsletter-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 77, 0, 0.2);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition-base);
}

.newsletter-input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.1);
}

.newsletter-btn {
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 16px;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.newsletter-message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: var(--transition-base);
}

.newsletter-message.show {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.newsletter-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.newsletter-benefits {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 77, 0, 0.1);
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 10px 12px;
    margin: 2px 0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  nav a:hover {
    background: rgba(255, 77, 0, 0.1);
    transform: translateX(4px);
  }
  
  .nav-quote-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .menu {
    display: block;
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  /* Mobile dropdown styles */
  .nav-dropdown {
    width: 100%;
  }
  
  .services-link {
    padding: 12px;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 77, 0, 0.05);
    border-radius: 8px;
    margin: 8px 0;
    padding: 8px;
  }
  
  .dropdown-menu a {
    margin: 4px 0;
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  /* Additional footer responsive styles to match index.html */
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Privacy Policy Hero Section */
.privacy-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.privacy-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/5386754/pexels-photo-5386754.jpeg?cs=srgb&dl=pexels-christina-morillo-5386754.jpg&fm=jpg') center/cover no-repeat;
  background-attachment: fixed;
  animation: heroZoom 25s ease-in-out infinite alternate;
  filter: brightness(0.9) contrast(1.1);
}

.privacy-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 39, 0.85) 0%,
    rgba(10, 14, 39, 0.80) 25%,
    rgba(10, 14, 39, 0.75) 50%,
    rgba(10, 14, 39, 0.80) 75%,
    rgba(10, 14, 39, 0.85) 100%
  );
  backdrop-filter: blur(2px);
}

.privacy-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.privacy-hero-content {
  max-width: 800px;
  animation: slideInLeft 1.2s ease-out;
}

.privacy-hero-subtitle {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  font-family: var(--font-secondary);
}

.privacy-hero-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.privacy-hero-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: lineShine 3s ease-in-out infinite;
}

.privacy-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
  font-family: var(--font-display);
}

.privacy-hero-title .text-primary {
  color: var(--primary-color);
  position: relative;
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.privacy-hero-description {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
  font-family: var(--font-primary);
}

/* Terms of Service Hero Section */
.terms-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.terms-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?cs=srgb&dl=pexels-fauxels-3184291.jpg&fm=jpg') center/cover no-repeat;
  background-attachment: fixed;
  animation: heroZoom 25s ease-in-out infinite alternate;
  filter: brightness(0.9) contrast(1.1);
}

.terms-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 39, 0.85) 0%,
    rgba(10, 14, 39, 0.80) 25%,
    rgba(10, 14, 39, 0.75) 50%,
    rgba(10, 14, 39, 0.80) 75%,
    rgba(10, 14, 39, 0.85) 100%
  );
  backdrop-filter: blur(2px);
}

.terms-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.terms-hero-content {
  max-width: 800px;
  animation: slideInLeft 1.2s ease-out;
}

.terms-hero-subtitle {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  font-family: var(--font-secondary);
}

.terms-hero-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.terms-hero-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: lineShine 3s ease-in-out infinite;
}

.terms-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
  font-family: var(--font-display);
}

.terms-hero-title .text-primary {
  color: var(--primary-color);
  position: relative;
  text-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.terms-hero-description {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 400;
  font-family: var(--font-primary);
}

/* Privacy and Terms Content */
.privacy-content, .terms-content {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

.privacy-document, .terms-document {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.document-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(255, 77, 0, 0.1);
}

.document-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.last-updated {
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
  font-family: var(--font-secondary);
}

.document-section {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.document-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  font-family: var(--font-display);
}

.document-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.document-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
  font-family: var(--font-primary);
}

.document-section ul {
  list-style: none;
  margin: 20px 0;
  padding-left: 0;
}

.document-section ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.document-section ul li:hover {
  color: var(--primary-color);
  padding-left: 35px;
}

.document-section ul li::before {
  content: '•';
  position: absolute;
  left: 10px;
  top: 12px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.document-section ul li:hover::before {
  transform: scale(1.2);
}

.document-section ul li:last-child {
  border-bottom: none;
}

.document-section strong {
  color: var(--dark-bg);
  font-weight: 600;
  font-family: var(--font-primary);
}

/* Table of Contents */
.table-of-contents {
  background: rgba(255, 77, 0, 0.05);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 77, 0, 0.1);
}

.table-of-contents h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--font-display);
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
}

.table-of-contents ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 77, 0, 0.1);
}

.table-of-contents ul li:last-child {
  border-bottom: none;
}

.table-of-contents ul li a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  font-family: var(--font-primary);
}

.table-of-contents ul li a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

/* Animations */
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lineShine {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}

/* Footer Logo Styling */
.footer-logo-img {
  max-height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 77, 0, 0.3));
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .privacy-hero, .terms-hero {
    min-height: 50vh;
  }
  
  .privacy-hero-background, .terms-hero-background {
    background-attachment: scroll;
  }
  
  .privacy-hero-container, .terms-hero-container {
    padding: 0 20px;
  }
  
  .privacy-hero-content, .terms-hero-content {
    text-align: center;
  }
  
  .privacy-hero-title, .terms-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .privacy-hero-description, .terms-hero-description {
    font-size: 1rem;
  }
  
  .privacy-content, .terms-content {
    padding: 60px 0;
  }
  
  .privacy-document, .terms-document {
    padding: 40px 30px;
    margin: 0 20px;
  }
  
  .document-header h2 {
    font-size: 2rem;
  }
  
  .document-section h3 {
    font-size: 1.3rem;
  }
  
  .table-of-contents {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .privacy-hero-container, .terms-hero-container {
    padding: 0 16px;
  }
  
  .privacy-document, .terms-document {
    padding: 30px 20px;
    margin: 0 16px;
  }
  
  .document-header h2 {
    font-size: 1.8rem;
  }
  
  .document-section h3 {
    font-size: 1.2rem;
  }
  
  .document-section p {
    font-size: 0.95rem;
  }
  
  .document-section ul li {
    font-size: 0.9rem;
    padding: 10px 0 10px 25px;
  }
  
  .table-of-contents {
    padding: 15px;
  }
  
  .table-of-contents h3 {
    font-size: 1.1rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed !important;           /* Ensure fixed positioning */
    bottom: 20px !important;              /* distance from bottom */
    right: 20px !important;               /* distance from right */
    z-index: 99997 !important;            /* lower than chatbot toggle */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: #25D366 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-float img {
    width: 25px;
    height: 25px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Responsive adjustments for floating buttons */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
    
    .chatbox-toggle {
        bottom: 15px;
        right: 70px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .top-header {
    display: none;
  }
  
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 280px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 77, 0, 0.1);
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 10px 12px;
    margin: 2px 0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  nav a:hover {
    background: rgba(255, 77, 0, 0.1);
    transform: translateX(4px);
  }
  
  /* Mobile dropdown styles */
  .nav-dropdown {
    width: 100%;
  }
  
  .services-link {
    justify-content: space-between;
    padding: 12px;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    box-shadow: none;
    border: none;
    background: rgba(255, 77, 0, 0.05);
    margin-top: 8px;
    border-radius: 8px;
    padding: 8px;
  }
  
  .dropdown-menu a {
    margin: 4px 0;
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .nav-quote-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .menu {
    display: block;
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
  
  .logo-img {
    height: 65px;
    left: 0px;
  }
}

/* Hamburger Menu Styles */
.menu {
  display: none;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.1), rgba(255, 77, 0, 0.05));
  border: 1px solid rgba(255, 77, 0, 0.2);
  color: var(--primary-color);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 18px;
}

.menu:hover {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.2), rgba(255, 77, 0, 0.1));
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.menu.open {
  transform: rotate(90deg);
}
