:root {
  --primary-color: #6366f1;
  /* Indigo */
  --secondary-color: #ec4899;
  /* Pink */
  --bg-dark: #0f172a;
  /* Deep Blue/Black */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --alert-red: #ef4444;
  --font-main: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 15% 50%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 25%
    );
    padding-top: 155px;
}

/* --- UTILITY: GLASSMORPHISM --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- 2. NAVBAR (Symmetry Fixed) --- */
header {
  position: fixed;
  top: 35px;
  width: 100%;
  z-index: 1000;
  transition: 0.3s;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  height: 60px;
}

/* Logo Left */
.logo div {
  font-size: 24px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Links Center */
.nav-center {
  display: flex;
  gap: 30px;
}

.nav-center a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
  position: relative;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
  /* This makes white/light backgrounds transparent so the glass shows through */
  mix-blend-mode: screen;

  /* Optional: If you want to make the logo look like "Glass" itself */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
  opacity: 0.9;
  transition: var(--transition);
}

.logo:hover img {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px var(--primary-color));
}
.glass-logo-text {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
/* Container for the globe icon and select box */
.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 5px 12px;
  transition: var(--transition);
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.lang-selector i {
  font-size: 14px;
  color: var(--text-muted);
  margin-right: 8px;
}

.lang-selector select {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-family: var(--font-main);
  cursor: pointer;
  outline: none;
  appearance: none; /* Removes default browser arrow */
  -webkit-appearance: none;
}

/* Optional: Add a custom arrow using a background image if you want a dropdown indicator */
.lang-selector {
  position: relative;
}

/* Style the options inside the dropdown */
.lang-selector select option {
  background: #1e293b; /* Matches your dropdown menu color */
  color: white;
}
.nav-center a:hover {
  transform: translateX(5px);
}

/* Dropdown Styling */
.dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  min-width: 200px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-trigger:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: 120%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  text-transform: capitalize;
  /* Requested: Capitalize first letter */
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Icons & Login Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}


.login-btn {
  background: var(--primary-color); /* Original Indigo */
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for all properties */
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2); /* Soft shadow */
}

.login-btn:hover {
  /* Option A: Light Vibrant Purple */
  background: #818cf8;

  /* Adds a "glow" effect on hover */
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.4);

  /* Slight lift effect */
  transform: translateY(-2px);
}

.login-btn:active {
  /* This happens exactly when you click */
  transform: translateY(0);
  background: #4f46e5; /* Darker purple for the actual click */
}

.hamburger {
  display: none;
  color: white;
  font-size: 24px;
  background: none;
  border: none;
}

/* --- RESPONSIVE LOGIC --- */

/* This triggers on tablets and phones */
@media (max-width: 992px) {
  .hamburger {
    display: block; /* Show the burger icon */
    cursor: pointer;
    z-index: 1001;
  }

  .nav-center {
    display: none; /* Hide the horizontal links */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* Push it off-screen to start */
    width: 280px;
    height: 100vh;
    background: #0f172a;
    padding: 100px 30px;
    transition: 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  /* This class will be toggled by JavaScript */
  .nav-center.active {
    display: flex;
    right: 0; /* Slide it into view */
  }

  /* Hide the right-side buttons on mobile to prevent clutter */
  .nav-right {
    display: none;
  }
}

/* --- 3. DISCLAIMER BAR --- */
.disclaimer-bar {
  margin-top: -60px;
  /* Push down below fixed header */
  background-color: var(--alert-red);
  color: white;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
 

/* --- TOP BAR STYLES --- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px; /* Very small size as requested */
  z-index: 1001; /* Higher than the main header */
  display: flex;
  align-items: center;
  font-size: 12px;
  /* border-bottom: 1px solid var(--glass-border); */
}

.top-bar-content {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left .top-link {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: 0.3s;
}

.top-bar-socials {
  display: flex;
  gap: 15px;
}

.top-bar-socials a {
  color: var(--text-main);
  font-size: 14px;
  opacity: 0.7;
  transition: 0.3s;
}

.top-bar-socials a:hover, .top-link:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateY(-1px);
}

 

/* Fix for mobile responsiveness */
@media (max-width: 768px) {
  .top-bar-socials {
    gap: 10px;
  }
  .top-bar-left span {
    display: none; /* Hide 'email' text on tiny screens, keep icon */
  }
}

/* --- NEW PORTAL NOTICE (Scrolling) --- */
.portal-notice {
  background: rgba(99, 102, 241, 0.15); /* Indigo tint to match your primary color */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
  margin-top: 0; /* Ensures no gap with fixed disclaimer above */
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
}

.notice-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notice-content i {
  color: var(--primary-color);
  margin-top: 4px;
}

.notice-content a {
  color: var(--secondary-color);
  font-weight: 700;
  text-decoration: underline;
}

/* --- GAP FIXES --- */

 

/* Ensure body padding matches exactly the total height of the FIXED elements only */
body {
  /* Top Bar (35px) + Header (80px) + Disclaimer (40px) = 155px */
  padding-top: 155px;
}

/* The Container - Dynamic but not Fixed */
.scrolling-ticker-container {
  width: 100%;
  height: 45px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

/* The Animation Track */
.dynamic-mover {
  display: flex; /* Using flex ensures items stay in a perfect line */
  white-space: nowrap;
  padding-left: 100%; /* Initial starting position */
  animation: tv-scroll-speed 60s linear infinite;
}

.ticker-content {
  display: inline-block;
  padding-right: 150px; /* Space between the red and blue parts */
  font-size: 14px;
}

/* Color differences within the same line */
.disclaimer-style {
  color: #fca5a5; /* Reddish tint */
}

.important-style {
  color: #93c5fd; /* Bluish tint */
}

.important-style a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* TV Ticker Animation */
@keyframes tv-scroll-speed {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Pause on hover */
.scrolling-ticker-container:hover .dynamic-mover {
  animation-play-state: paused;
}

/* ADJUST BODY PADDING */
body {
  padding-top: 95px !important;
}

/* --- 4. HERO SECTION (CAROUSEL) --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  /* Align with disclaimer/header */
}

/* Slide Styles */
/* Base Slide Style */
.slide {
  display: none; /* Hidden by default, controlled by your JS */
  height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.5s ease-in-out;
}

.slide.active {
  display: flex;
}

/* Individual Rainbow Section Colors */
.slide-1 {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6); /* Professional Deep Blue */
}

.slide-2 {
  background: linear-gradient(135deg, #0d9488, #2dd4bf); /* Verification Teal/Cyan */
}

.slide-3 {
  background: linear-gradient(135deg, #6d28d9, #a78bfa); /* Creative Purple/Violet */
}

.slide-4 {
  background: linear-gradient(135deg, #be123c, #fb7185); /* Warning/Action Red/Pink */
}

.slide-5 {
  background: linear-gradient(135deg, #b45309, #fbbf24); /* Growth Orange/Amber */
}

/* Ensure text stays readable */
.hero-content h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Active Slide Visibility */
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Dark Overlay for Readability */
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  /* Dark blue overlay */
  z-index: -1;
}

/* Hero Content (Text) - Ensure it sits above the overlay */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.cta-btn {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  transition: transform 0.2s;
}

.cta-btn:hover {
  transform: scale(1.05);
}

/* Mobile Adjustments (Targeting phones) */
@media (max-width: 768px) {
  .hero-slider {
    height: 80vh; /* Increase height slightly for mobile readability */
  }

  .hero-content {
    /* Add more side padding so text doesn't hit the buttons */
    padding: 0 60px;
  }

  .hero-content h1 {
    font-size: 1.8rem; /* Smaller font for mobile */
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.95rem; /* Smaller paragraph */
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .cta-btn {
    padding: 12px 30px; /* Smaller button */
    font-size: 16px;
  }

  /* --- Navigation Buttons Fix --- */
  .slider-btn {
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.3); /* Darker, more transparent background */
    border: none; /* Clean look */
    font-size: 0.8rem;
  }

  .prev-btn {
    left: 10px; /* Move closer to edge to give text more room */
  }

  .next-btn {
    right: 10px; /* Move closer to edge to give text more room */
  }
}

/* Specific fix for very small phones */
@media (max-width: 480px) {
  .hero-content {
    padding: 0 50px;
  }

  /* Hide buttons on very small screens to prioritize text, 
     users can still swipe if you have touch support */
  /* .slider-btn { display: none; } */
}

/* --- 5. TOP SERVICES (Auto Slider) --- */
.services-section {
  padding: 80px 5%;
}

.section-title {
  font-size: 2.5rem;
  /* Bigger title */
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll 40s linear infinite;
}

/* Hover pauses the slider */
.slider-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Logic: Move half the duplicated width */
}

.service-card {
  width: 350px;
  height: 250px;
  /* Fixed height for uniformity */
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
  /* Glassmorphism applied via utility class */
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

/* Removed Icon as requested, focusing on text */
.service-card h3 {
  font-size: 1.8rem;
  /* Bigger Text */
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: 5px;
}

/* --- MODAL / POPUP STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85); /* Darker version of your bg-dark */
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: #1e293b; /* Solid dark base for readability */
  border: 1px solid var(--glass-border);
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* Modal Header */
.modal-header {
  background: linear-gradient(
    to right,
    rgba(99, 102, 241, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.modal-header i {
  font-size: 2rem;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: white;
}

.close-modal {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: var(--alert-red);
}

/* Modal Body */
 :root {
  /* Added these in case they aren't defined in your root */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-muted: #94a3b8;
}

/* 1. Overlay & Centering */
.modal-overlay {
  position: fixed;
  inset: 0; /* Modern shorthand for top, left, width, height */
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px; /* Padding for mobile edges */
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* 2. Modal Content Box */
.modal-content {
  background: #1e293b;
  border: 1px solid var(--glass-border);
  width: 100%;
  max-width: 700px; /* Slightly wider for 2-column layout */
  max-height: 90vh; /* Prevent modal from going off-screen */
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

/* 3. Scrollable Modal Body */
.modal-body {
  padding: 25px 30px;
  overflow-y: auto; /* Makes the modal scrollable on small phones */
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border) transparent;
}

/* 4. Responsive Services Grid (THE FIX) */
.modal-services-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default: 1 column */
  gap: 12px;
  margin: 15px 0 25px 0;
}

/* Tablet & Desktop: Switch to 2 columns */
@media (min-width: 600px) {
  .modal-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 5. Service Buttons (Medium Card Style) */
.service-link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 12px;
  color: #f8fafc;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-link-btn:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.service-link-btn i {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.service-link-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* 6. Info Grid (Time & Rate) */
.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.info-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
}

.info-item h4 {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-item p {
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

/* 7. Error Tags (Visual Polish) */
.error-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom:15px;
  margin-top:15px;
}

.error-tag {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Modal Footer */
.modal-footer {
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: flex-end;
}

.modal-btn {
  background: var(--primary-color);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  text-align: center;
}

.modal-btn:hover {
  background: var(--secondary-color);
}

/* --- 6. CTA / VENDOR SECTION --- */
.hero1 {
  padding: 80px 5%;
  background: linear-gradient(to right, #1e1b4b, #312e81);
  text-align: center;
  margin: 50px 0;
}

.hero1 .container {
  max-width: 800px;
  /* Narrower width */
  margin: 0 auto;
}

.hero1 h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.hero1 p {
  color: #c7d2fe;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* --- 7. SOCIAL MEDIA TABLE LAYOUT --- */
.social-table-section {
  padding: 30px 5%;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;

  /* KEY FIX */
  justify-items: center;
}

.platform-table-item {
  width: 100%;
  max-width: 380px; /* prevents ugly stretching */
  padding: 30px;
  border-radius: 16px;
  transition: 0.3s;
}


.platform-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 15px;
}

.platform-header i {
  font-size: 30px;
}

.platform-header h3 {
  font-size: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color:  #ffff;
  font-size: 1rem;
}

.feature-list li i {
  color: var(--secondary-color);
}

/* Brand Colors for Icons */
.fa-facebook-f {
  color: #1877f2;
}

.fa-instagram {
  color: #e4405f;
}

.fa-tiktok {
  color: #fff;
  text-shadow: 2px 2px 0 #fe2c55, -2px -2px 0 #25f4ee;
}

.fa-whatsapp {
  color: #25d366;
}

.fa-youtube {
  color: #ff0000;
}

.fa-snapchat-ghost {
  color: #fffc00;
}

.fa-x-twitter {
  color: #fff;
}

/* --- PROFESSIONAL FOOTER STYLING --- */
.site-footer {
  background: #020617; /* Matches your dark theme */
  padding: 80px 8% 30px; /* Increased side margins (8%) */
  margin-top: 80px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-main);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-desc {
  color: #ffff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 20px;
}
.footer-col {
  color: #ffff;
}

.footer-col h4 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
}

/* Accent line under headings */
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-col ul li {
   color: white;
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ffffff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Link Hover Effect: Changes to Purple/Indigo and moves slightly */
.footer-col ul li a:hover {
  /* color: var(--primary-color); */
  transform: translateX(5px);
}

/* Social Media Icons Styling */
.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  /* background: var(--primary-color); */
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #ffffff;
  white-space: nowrap;
}


.contact-email i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* Footer Bottom Section */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.bottom-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom .disclaimer {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

/* --- RESPONSIVE FOOTER --- */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 60px 5% 30px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .social-links {
    justify-content: center;
  }
  .contact-email{
    justify-content:center;
  }
  .contact-email i {
  margin-right: 4px;
}

  .footer-col ul li a:hover {
    transform: translateY(-2px);
  }
}
/* --- User Profile Dropdown Styles --- */

.user-profile-wrapper {
    position: relative;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.user-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

/* .user-name-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
} */

/* The Dropdown Card */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 240px;
    background: var(--bg-dark); /* Solid fallback */
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    display: none; /* Hidden by default */
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeInDown 0.3s ease;
}

.user-profile-wrapper.active .user-dropdown-menu {
    display: flex;
}

.user-info-header {
    padding: 5px 10px 15px;
    display: flex;
    flex-direction: column;
}

.user-info-header strong {
    font-size: 1rem;
    color: white;
}

.user-info-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dropdown-divider {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 10px 0;
}

.dropdown-item, .logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.logout-link {
    color: var(--alert-red);
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .user-name-text {
        display:inline-block; /* Only show avatar on small mobile headers */
        font-size:0.9rem;
        font-weight:500;
    }
}


      /* --- Default Setup --- */
      .mobilesection,
      .mobile-controls {
        display: none;
      }

      /* --- 1. Desktop Behavior (993px and up) --- */
      @media (min-width: 993px) {
        .desktop-only {
          display: flex;
          align-items: center;
        }

        .nav-center {
          display: flex;
          gap: 30px;
        }
        .hamburger {
          display: none;
        }

        .dropdown-trigger {
          position: relative;
          padding-bottom: 15px;
          margin-bottom: -15px;
        }
        .dropdown-trigger:hover .dropdown-menu {
          display: block;
          opacity: 1;
          visibility: visible;
        }
      }

      /* --- 2. Mobile Behavior (992px and down) --- */
      @media (max-width: 992px) {
        .hamburger {
        display: block;    /* This makes it visible on mobile */
        position: relative;
        z-index: 1100;     /* Keeps it above the nav drawer */
        cursor: pointer;
    }
        .desktop-only {
          display: none !important;
        }
        .mobilesection,
        .mobile-controls {
          display: flex;
        }

        /* The Slide-out Drawer */
        .nav-center {
          display: flex;
          flex-direction: column;
          position: fixed;
          top: 0;
          right: -100%; /* Hidden off-screen */
          width: 280px;
          height: 100vh;
          background: #0f172a;
          padding: 30px 20px;
          transition: 0.4s ease-in-out;
          box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
          overflow-y: auto;
          gap: 10px;
          z-index: 1000;
        }

        .nav-center.active {
          right: 0; /* Slide into view */
        }

        /* Mobile Links Styling */
        .nav-center a {
          padding: 12px 0;
          border-bottom: 1px solid rgba(255, 255, 255, 0.05);
          width: 100%;
        }

        .mobilesection {
          flex-direction: column;
        }
        .mobile-label {
          color: var(--primary-color);
          font-size: 12px;
          font-weight: 700;
          text-transform: uppercase;
          margin: 20px 0 5px 0;
        }

        /* Mobile Login & Language */
        .mobile-controls {
          flex-direction: column;
          gap: 15px;
          margin-top: 30px;
          padding-bottom: 50px;
        }
        .mobile-divider {
          border: 0;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .mobile-lang {
          display: flex;
          align-items: center;
          background: #221f1fff;
          padding: 10px;
          border-radius: 8px;
        }
        .mobile-lang select {
          background-color: #221f1fff;
          color: white;
          border: none;
          width: 100%;
          margin-left: 10px;
          outline: none;
        }
        .mobile-login-btn {
          width: 100%;
          padding: 12px;
          background: #221f1fff;
          border: none;
          border-radius: 8px;
          color: white;
          font-weight: 600;
        }
      }
 /* --- AI Entity Section Styling --- */

/* The link wrapper - removes default blue underlining */
.ai-entity-link {
  text-decoration: none;
  display: block;
  margin: 40px auto;
  max-width: 900px;
  transition: transform 0.3s ease;
}

.ai-entity-link:hover {
  transform: translateY(-5px);
}

.ai-entity-definition {
  background: rgba(255, 255, 255, 0.03); /* Very subtle glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Hover Glow Effect */
.ai-entity-link:hover .ai-entity-definition {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(37, 99, 235, 0.4); /* Glow matching your blue theme */
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.15);
}

/* Header Styling */
.ai-entity-definition h2 {
  color: #3b82f6; /* Electric Blue */
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

/* Optional: Add a subtle AI icon via CSS before the text */
.ai-entity-definition h2::before {
  content: '\f544'; /* FontAwesome Robot/Brain icon */
  font-family: "Font Awesome 6 Free";
  margin-right: 15px;
  font-size: 1.5rem;
  opacity: 0.9;
}

/* Paragraph Text */
.ai-entity-definition p {
  color: #e2e8f0; /* Soft white/gray */
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

/* Bold highlights within text */
.ai-entity-definition strong {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* "Read More" Hint */
.ai-entity-definition::after {
  content: "View Trust & Safety Policy →";
  display: block;
  margin-top: 15px;
  color: #3b82f6;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-entity-definition {
    margin: 20px;
    padding: 25px;
  }
  
  .ai-entity-definition h2 {
    font-size: 1.4rem;
  }
}