/* ========== CSS VARIABLES - Brand Colors ========== */
:root {
  /* Primary Colors from existing site */
  --primary-blue: #007bff;
  --primary-red: #dc3545;
  --dark-navy: #0a1828;
  --light-bg: #f8f9fa;

  /* Modern Accent Colors */
  --accent-orange: #ff6b35;
  --accent-teal: #178582;
  --accent-gold: #bfa181;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-main: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-max: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* Active menu item styling */
.nav-menu a.active::after {
  width: 100% !important;
}

/* Active on scrolled white navbar */
.navbar.scrolled .nav-menu a.active {
  color: var(--gray-700) !important;
}

/* Active on purple navbar */
.navbar:not(.scrolled) .nav-menu a.active {
  color: var(--white) !important;
  font-weight: 700;
}

/* ========== GLOBAL RESET & BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

/* ========== MODERN NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #28023d;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

/* When SCROLLED - White background */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-md);
}

.navbar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 90px;
  width: auto;
  max-width: 250px;
  transition: opacity 0.3s ease;
}

/* @media (max-width: 768px) {
  .logo-container img {
    height: 50px;
  }
} */

/* Start with WHITE logo visible */
.logo-white {
  display: block;
}

/* Start with COLORED logo hidden */
.logo-default {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

/* Nav links - WHITE by default (purple navbar) */
.nav-menu a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

/* Nav links - DARK when scrolled (white navbar) */
.navbar.scrolled .nav-menu a {
  color: var(--gray-700) !important;
}

.nav-menu a:hover {
  color: var(--white);
}

.navbar.scrolled .nav-menu a:hover {
  color: var(--gray-700) !important;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: width 0.3s ease;
}

.navbar.scrolled .nav-menu a::after {
  background: var(--gray-700);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* CTA Button - Keep WHITE text always */
.nav-cta {
  background: var(--primary-red);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-menu a.nav-cta,
.navbar.scrolled .nav-cta,
.nav-menu a.nav-cta {
  color: var(--white) !important;
  background: var(--primary-red) !important;
}

.nav-cta:hover {
  background: #c82333 !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after {
  display: none;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1002;
}

.navbar.scrolled .mobile-menu-toggle {
  color: var(--gray-700) !important;
}

/* ========== HERO SECTION - Modern & Impactful ========== */
.hero-section {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #28023d;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  width: 100%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content .highlight {
  color: var(--accent-orange);
  display: block;
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 550px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: #28023d;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary-NEW {
  background: var(--white) !important;
  color: var(--gray-700);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--gray-700);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* Floating Stats Cards */
.stats-card {
  position: absolute;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
}

.stats-card.card-1 {
  top: 5%;
  right: -5%;
  animation-delay: 0s;
}

.stats-card.card-2 {
  bottom: 10%;
  left: -10%;
  animation-delay: 1s;
}

.stats-card h3 {
  font-size: 2rem;
  color: #28023d;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stats-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ========== TRUST BADGES ========== */
.trust-section {
  background: var(--gray-50);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
}

.trust-badge i {
  font-size: 1.5rem;
  color: #28023d;
}

.trust-badge span {
  font-weight: 600;
}

/* ========== ABOUT SECTION - Modern Cards ========== */
.about-section {
  padding: var(--section-padding);
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  color: var(--gray-700);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: #28023d;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.about-card-icon {
  width: 60px;
  height: 60px;
  background: #28023d;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.about-card-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.about-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========== SERVICES SECTION - Card Grid ========== */
.services-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.service-card-header {
  background: #28023d;
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.service-card-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.service-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features li i {
  color: #28023d;
}

.service-card-footer {
  margin-top: auto;
}

.service-link {
  color: #28023d;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: #28023d;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ========== CLIENTS SECTION - Modern Carousel ========== */
.clients-section {
  padding: var(--section-padding);
}

.client-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.client-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s ease;
}

.client-card {
  min-width: 400px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.client-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.client-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.client-info h4 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.client-info p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.client-card-body p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #28023d;
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.client-link:hover {
  gap: 1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #28023d;
  color: var(--white);
  border-color: #28023d;
}

/* ========== TESTIMONIALS / REVIEWS ========== */
.reviews-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

/* .reviews-embed {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
} */

/* ========== CONTACT SECTION - Split Layout ========== */
.contact-section {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-methods {
  list-style: none;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-methods li:last-child {
  border-bottom: none;
}

.contact-methods i {
  font-size: 1.5rem;
  color: #28023d;
  width: 30px;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #28023d;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-submit {
  background: #28023d;
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #28023d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-column p,
.footer-column li {
  color: var(--gray-400);
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: white;
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--gray-700);
  background: var(--gray-800);
  color: var(--white);
  border-radius: var(--radius-md);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--gray-700);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* .newsletter-form button:hover {
  background: #0056b3;
} */

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .stats-card {
    display: none;
  }

  .hero-visual img {
    max-width: 400px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info {
    position: static;
  }
}

.mobile-menu-close,
.menu-close-wrapper {
  display: none;
}
/* Mobile menu - Works on ALL mobile devices */
@media (max-width: 1199px) {
  .nav-menu a.active {
    background: var(--gray-100);
    color: var(--gray-700) !important;
    font-weight: 600;
  }

  /* Remove white color override in mobile menu */
  .navbar:not(.scrolled) .nav-menu a.active {
    color: var(--gray-700) !important; /* Override the white */
    background: var(--gray-100) !important;
    font-weight: 600;
  }

  .menu-close-wrapper {
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: 1rem;
    list-style: none;
  }

  /* Hide hamburger when menu is open */
  body.menu-open .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu-close {
    display: inline-block;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem 1rem;
    line-height: 1;
  }

  .mobile-menu-close:active {
    transform: scale(0.95);
  }
  /* Show hamburger button */
  .mobile-menu-toggle {
    display: block !important;
  }

  /* Hide desktop menu by default, position off-screen right */
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  /* Show menu when active */
  .nav-menu.active {
    display: flex !important;
    transform: translateX(0);
  }

  /* Dark overlay when menu is open */
  body.menu-open::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
    /* margin-bottom: 0.5rem; */
  }

  .nav-menu a {
    display: block;
    /* padding: 1rem; */
    color: var(--gray-700) !important;
    border-radius: var(--radius-md);
    text-decoration: none;
  }

  .nav-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-blue) !important;
  }

  .nav-menu .nav-cta {
    color: var(--white) !important;
    background: var(--primary-red) !important;
    text-align: center;
  }

  /* Ensure no conflicts with nav positioning */
  .nav-menu a::after {
    display: none !important;
  }

  .navbar-container {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  /* Logo size adjustment for small phones */
  .logo-container img {
    height: 90px;
  }

  /* Content adjustments only - DO NOT touch nav-menu */
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .client-card {
    min-width: 300px;
  }

  .contact-form {
    padding: 2rem;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}

/* Google Translate Override */
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

/* ========== WELCOME MODAL STYLES ========== */
.welcome-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  pointer-events: none;
}

.welcome-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.welcome-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1; /* Below modal content */
  cursor: pointer; /* Shows it's clickable */
}

.welcome-modal-content {
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
  z-index: 2; /* Above overlay */
  cursor: default; /* Normal cursor on content */
}

.welcome-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.welcome-modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  transform: rotate(90deg);
}

.welcome-modal-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background: #28023d;
  color: var(--white);
  /* border-radius: var(--radius-xl) var(--radius-xl) 0 0; */
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: bounce 2s infinite;
}

.modal-icon i {
  font-size: 2.5rem;
  color: var(--white);
}

.welcome-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.welcome-modal-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.welcome-modal-body {
  padding: 2rem;
}

.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.social-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.social-icon-card.facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.05);
}

.social-icon-card.twitter:hover {
  border-color: #1da1f2;
  background: rgba(29, 161, 242, 0.05);
}

.social-icon-card.linkedin:hover {
  border-color: #0077b5;
  background: rgba(0, 119, 181, 0.05);
}

.social-icon-card.instagram:hover {
  border-color: #e4405f;
  background: rgba(228, 64, 95, 0.05);
}

.social-icon-card img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.social-icon-card:hover img {
  transform: scale(1.1);
}

.social-icon-card span {
  font-size: 0.875rem;
  font-weight: 600;
}

.modal-translate-section {
  background: var(--gray-50);
  /* padding: 1.5rem; */
  border-radius: var(--radius-lg);
  text-align: center;
}

.modal-translate-section p {
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-translate-section i {
  color: var(--primary-blue);
}

.welcome-modal-footer {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #28023d;
  color: var(--white);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.modal-cta:hover {
  background: #28023d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.modal-skip {
  background: transparent;
  color: var(--gray-600);
  border: 2px solid var(--gray-300);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-skip:hover {
  background: var(--gray-100);
  color: var(--gray-900);
  border-color: var(--gray-400);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .welcome-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .welcome-modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .welcome-modal-header h2 {
    font-size: 1.5rem;
  }

  .welcome-modal-body {
    padding: 1.5rem;
  }

  .social-icons-grid {
    gap: 0.75rem;
  }

  .social-icon-card {
    padding: 1rem 0.5rem;
  }

  .social-icon-card img {
    width: 40px;
    height: 40px;
  }
}

/* ========== THANK YOU PAGE ========== */
.thank-you-section {
  padding: var(--section-padding);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
}

.thank-you-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

/* Success Icon */
.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out 0.2s backwards;
}

/* Content */
.thank-you-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.thank-you-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  animation: fadeIn 0.6s ease-out 0.3s backwards;
}

.thank-you-message {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
  animation: fadeIn 0.6s ease-out 0.4s backwards;
}

/* Action Buttons */
.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  animation: fadeIn 0.6s ease-out 0.5s backwards;
}

.thank-you-actions .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-width: 180px;
  justify-content: center;
}

/* Social Section */
.thank-you-social {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  animation: fadeIn 0.6s ease-out 0.6s backwards;
}

.social-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-3px);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .thank-you-card {
    padding: 3rem 2rem;
  }

  .thank-you-title {
    font-size: 2rem;
  }

  .thank-you-message {
    font-size: 1.125rem;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .thank-you-card {
    padding: 2rem 1.5rem;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }

  .thank-you-title {
    font-size: 1.75rem;
  }

  .thank-you-message {
    font-size: 1rem;
  }
}

/* ------------------------------- Remote Support PIN Modal Styles --------------------*/
.pin-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(17, 17, 17, 0.6);
  display: none;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999;
  padding: 16px;
  backdrop-filter: blur(2px);
  transition: none !important;
  animation: none !important;
}

.pin-modal[aria-hidden="false"] {
  display: flex !important;
}

.pin-modal__dialog {
  background: #fff;
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  padding: 32px 24px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  margin: 0 !important;
  transform: none !important;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pin-modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 4px 8px;
  transition: color 0.2s;
}

.pin-modal__close:hover {
  color: #000;
}

.pin-modal__dialog h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: #111;
}

.pin-modal__subtitle {
  margin: 0 0 20px;
  color: #555;
  font-size: 0.95rem;
}

.pin-form__label {
  display: block;
  margin: 0 0 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.pin-form__input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 20px;
  letter-spacing: 0.3em;
  text-align: center;
  font-family: "Courier New", monospace;
  transition: border-color 0.2s;
}

.pin-form__input:focus {
  outline: none;
  border-color: #4a148c;
}

.pin-form__help {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.pin-form__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.pin-form__actions .btn {
  flex: 1;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn.btn-secondary {
  background: #e9ecef;
  color: #333;
  border: 1px solid #d0d7de;
}

.btn.btn-secondary:hover {
  background: #d3d9df;
}

.pin-form__error {
  margin-top: 12px;
  color: #b00020;
  font-size: 0.9rem;
  min-height: 1.3em;
  font-weight: 500;
}

/* Force center alignment for modal buttons */
#pinForm .btn,
#pinForm .btn-primary,
#pinForm .btn-secondary,
.pin-form__actions button {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
/* ------------------------------- End of Remote Support PIN Modal Styles --------------------*/

/* ============================
   Global overflow fix
   ============================ */
html,
body {
  overflow-x: hidden !important;
  top: 0px !important;
}
