:root {
  /* Primary violet */
  --primary: #6d28d9; /* violet-700 */
  --primary-light: #c4b5fd; /* violet-300 */
  --primary-dark: #4c1d95; /* violet-900 */

  /* Neutral / layout */
  --secondary: #1e293b; /* slate-800 */
  --background: #f8fafc; /* slate-50 */
  --text: #020617; /* slate-950 */

  /* Accent (works with violet) */
  --accent: #8b5cf6; /* violet-500 */

  /* Status */
  --success: #16a34a; /* green-600 */

  /* Gold (kept but softened to match violet) */
  --gold: #e0b84f;
  --gold-light: #f7ecd0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
}

html {
  scroll-behavior: smooth;
}

/* Hero */
.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 50%
    );
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(
      30deg,
      #0ea5e9 12%,
      transparent 12.5%,
      transparent 87%,
      #0ea5e9 87.5%
    ),
    linear-gradient(
      150deg,
      #0ea5e9 12%,
      transparent 12.5%,
      transparent 87%,
      #0ea5e9 87.5%
    );
  background-size: 80px 140px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid white;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Cards */
.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #9986eb, #320e67);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  border-color: #7c3aed;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.icon-container {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1),
    rgba(212, 175, 55, 0.1)
  );
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.2),
    rgba(212, 175, 55, 0.2)
  );
}

.trust-badge {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.5rem;
  font-family: "DM Sans", sans-serif;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

footer {
  background: var(--primary);
  color: white;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(14, 165, 233, 0.5),
    transparent
  );
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}
.sidebar {
  position: sticky;
  top: 120px;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.1);
  height: fit-content;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(14, 165, 233, 0.05);
  color: var(--accent);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
  color: currentColor;
}

/* Service Cards */
.service-detail-card {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 1rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.05),
    rgba(212, 175, 55, 0.05)
  );
  border: 1px solid rgba(14, 165, 233, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}
/* Hero slider */
.hero-section {
  height: 90vh;
  min-height: 700px;
  position: relative;
}

.hero-slide {
  height: 90vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.9) 0%,
    rgba(139, 92, 246, 0.8) 100%
  );
}

/* Animated gradient background */
.animated-bg {
  background: linear-gradient(-45deg, #6366f1, #8b5cf6, #ec4899, #f43f5e);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.4);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* Partner Logo Slider */
.logo-slider {
  overflow: hidden;
  position: relative;
  background: white;
  padding: 3rem 0;
}

.logo-track {
  display: flex;
  animation: scroll-logo 40s linear infinite;
}

@keyframes scroll-logo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-track:hover {
  animation-play-state: paused;
}

/* Card */
.partner-logo {
  min-width: 200px;
  height: 120px;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.partner-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Hover card effect */
.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
  border: 2px solid rgba(124, 58, 237, 0.2);
}

/* Image styling */
.partner-logo img {
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
  opacity: 0.8;
}

/* Image hover */
.partner-logo:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* Info Slide */
.partner-info {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  text-align: center;
  transition: bottom 0.3s ease;
  backdrop-filter: blur(10px);
}

.partner-logo:hover .partner-info {
  bottom: 0;
}

.partner-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 2px;
}

.partner-visit {
  display: block;
  font-size: 10px;
  color: #7c3aed;
  font-weight: 500;
}
.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Pause animation on hover */
.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .partner-logo {
        min-width: 150px;
        height: 100px;
        margin: 0 10px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 16));
        }
    }
    
    .partner-name {
        font-size: 10px;
    }
    
    .partner-visit {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .logo-track {
        width: calc(120px * 32);
        animation: slide 25s linear infinite;
    }
    
    .partner-logo {
        min-width: 120px;
        height: 90px;
        margin: 0 8px;
        padding: 15px;
    }
    
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 16));
        }
    }
}
/* Market Ticker */
.market-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  overflow: hidden;
}
.ticker-hidden {
  transform: translateY(-100%);
}
.ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.ticker-label {
  font-weight: 600;
  opacity: 0.9;
}

.ticker-value {
  font-weight: 700;
  font-size: 1rem;
}

.ticker-change {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

.ticker-change.positive {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.ticker-change.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.ticker-loading {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* Header */
header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109, 40, 217, 0.1);
  transition: box-shadow 0.3s ease;
}
.header-top {
  top: 0;
}
header.scrolled {
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.08);
}

.logo-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.site-logo {
    height: 80px;
    transition: all 0.3s ease;
    padding: 5px;
}
.logo-small .site-logo {
    height: 60px;
}
.header-scrolled .site-logo {
    height: 50px;
    transform: scale(0.95);
}
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(109, 40, 217, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  min-width: 280px;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.875rem 1.5rem;
  color: var(--text-dark);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--background);
  padding-left: 1.75rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 3px 0;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 110px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Mobile Submenu - Collapsed by default */
.mobile-submenu {
  padding-left: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-submenu.open {
  max-height: 500px;
}

/* Chevron rotation */
.mobile-nav-link .fa-chevron-down,
.nav-link .fa-chevron-down {
  transition: transform 0.3s ease;
}

.mobile-nav-link.open .fa-chevron-down,
.nav-link.open .fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-menu.active {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.mobile-nav-link,
.mobile-submenu-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(109, 40, 217, 0.1);
  display: block;
  color: var(--text-dark);
}

.mobile-submenu {
  background: var(--background);
  padding-left: 1rem;
}

.mobile-submenu-item {
  border-left: 3px solid var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-menu {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}
/* Logo Image */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .logo-img {
    height: 35px;
  }
}

/* Hero Slider - Mobile Responsive Fix */
.hero-slider {
  margin-top: 110px;
  height: 680px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 27, 75, 0.7),
    rgba(109, 40, 217, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.hero-content {
  text-align: center;
  color: white;
  width: 100%;
  max-width: 800px;
  padding: 1rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-family: "DM Sans", sans-serif;
  font-style: italic;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-slider {
    height: 500px;
  }

  .hero-title {
    font-size: 2.75rem;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: 380px;
    margin-top: 110px;
  }

  .hero-slide {
    position: relative;
    height: 380px;
    display: none;
  }

  .hero-slide.active {
    display: block;
    opacity: 1;
  }

  .hero-overlay {
    position: absolute;
    height: 100%;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1rem 0.75rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .hero-slider {
    min-height: 300px;
  }

  .hero-slide {
    height: 300px;
  }

  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(109, 40, 217, 0.15);
}

/* Photo + Overlay wrapper */
.team-photo-wrapper {
  position: relative;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

/* Hover overlay with bio */
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(109, 40, 217, 0.92),
    rgba(91, 33, 182, 0.95)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-bio {
  color: white;
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
}

/* Info */
.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-family: "DM Sans", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.team-designation {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.team-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 320px;
  }
}
/* ============================================
   POPUP STYLES - GRADIENT BACKGROUND
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    background: linear-gradient(135deg, #1e293b 0%, #6D28D9 50%, #D946EF 100%);
    border-radius: 24px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(109, 40, 217, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.popup-close svg {
    color: white;
}

.popup-content {
    display: flex;
    flex-direction: column;
}

/* Image Section - Integrated with gradient */
.popup-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.popup-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.9), transparent);
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Body */
.popup-body {
    padding: 2.5rem;
    color: white;
}

/* Title with emoji/icon support */
.popup-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.popup-message {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.popup-message strong {
    color: white;
    font-weight: 700;
}

/* Contact Box with glassmorphism */
.popup-contact {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-details {
    font-size: 1.125rem;
    color: white;
    font-weight: 600;
}

.contact-phone {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.contact-phone:hover {
    border-bottom-color: white;
}

/* Action Buttons */
.popup-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.popup-btn {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.popup-btn-primary {
    background: white;
    color: #6D28D9;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.popup-btn-primary:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.popup-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.popup-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Footer */
.popup-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: white;
}

/* Decorative Elements */
.popup-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.popup-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 70, 239, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 640px) {
    .popup-container {
        margin: 0.5rem;
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .popup-body {
        padding: 2rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-subtitle {
        font-size: 1rem;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-btn {
        width: 100%;
        min-width: 100%;
    }
    
    .popup-image {
        height: 220px;
    }
    
    .popup-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
    
    .popup-contact {
        padding: 1.25rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .popup-title {
        font-size: 1.375rem;
    }
    
    .popup-message {
        font-size: 0.95rem;
    }
}

/* Disable body scroll when popup is active */
body.popup-active {
    overflow: hidden;
}

/* Smooth scrollbar for popup content */
.popup-container::-webkit-scrollbar {
    width: 8px;
}

.popup-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.popup-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.popup-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}