/* ========================================
   ROOT VARIABLES - Brand Colors & Theme
   ======================================== */
:root {
  /* Dark Background Gradient */
  --bg1: #0a0e27;
  --bg2: #020617;
  --bg3: #1e1b4b;
  
  /* Brand Colors - Extracted from logo */
  --primary: #ffd700;
  --primary-dark: #ffb800;
  --secondary: #00d9ff;
  --accent: #9fe7c6;
  --success: #10b981;
  --danger: #ef4444;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.65);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  --gradient-secondary: linear-gradient(135deg, #00d9ff 0%, #0077ff 100%);
  --gradient-bg: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  
  /* Sizing */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text-primary);
  background: var(--gradient-bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
  mix-blend-mode: screen;
}

.blob.a {
  width: 500px;
  height: 500px;
  left: -100px;
  top: -100px;
  background: linear-gradient(45deg, #ffd700, #ffb800);
  animation-delay: 0s;
}

.blob.b {
  width: 400px;
  height: 400px;
  right: -100px;
  top: 20%;
  background: linear-gradient(45deg, #00d9ff, #0077ff);
  animation-delay: 2s;
}

.blob.c {
  width: 350px;
  height: 350px;
  left: 50%;
  bottom: -100px;
  background: linear-gradient(45deg, #9fe7c6, #10b981);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Particles Effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

header.scrolled {
  top: 10px;
  padding: 10px 18px;
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-img {
  height: 45px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base);
}

.site-title {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  flex-shrink: 0;
}

nav a,
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

nav a::before,
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  transition: transform var(--transition-base);
}

nav a:hover,
.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

nav a:hover::before,
.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* Ensure styles apply to #mainHeader nav a as well */
#mainHeader nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

#mainHeader nav a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gradient-primary);
  transition: transform var(--transition-base);
}

#mainHeader nav a:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

#mainHeader nav a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  background: var(--gradient-primary);
  color: var(--bg1);
  padding: 8px 14px;
  margin-left: 2px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta::before {
  display: none;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.05);
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.3s ease;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.service-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-tag:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.service-tag:hover::before {
  left: 100%;
}

.service-tag i {
  font-size: 12px;
  color: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.service-tag:nth-child(1) i {
  color: #ffd700;
}

.service-tag:nth-child(2) i {
  color: #00ffff;
}

.service-tag:nth-child(3) i {
  color: #ff6b6b;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s backwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-number::after {
  content: '+';
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg1);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.pulse-animation {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  }
}

/* ========================================
   SECTIONS
   ======================================== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  background: rgba(0, 0, 0, 0.2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

.service-card.featured {
  border: 2px solid var(--primary);
  background: rgba(255, 215, 0, 0.05);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gradient-primary);
  color: var(--bg1);
  padding: 5px 40px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--bg1);
  margin-bottom: 24px;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
}

.service-card h3 {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card > p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  margin-bottom: 24px;
}

.service-features li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features i {
  color: var(--success);
  font-size: 14px;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
  text-decoration: underline;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.02) 0%, rgba(255, 215, 0, 0.01) 100%);
  position: relative;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
  pointer-events: none;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 320px;
  height: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(0) scale(1);
  display: flex;
  flex-direction: column;
}

.portfolio-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
  animation: rotate 20s linear infinite;
}

.portfolio-item:hover::after {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.portfolio-item:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 25px 80px rgba(0, 255, 255, 0.15),
              0 0 40px rgba(255, 215, 0, 0.1);
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: brightness(0.95) contrast(1.05) saturate(1.1);
  border-radius: 24px 24px 0 0;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.1) saturate(1.2);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  border-radius: 0 0 24px 24px;
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.portfolio-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: -1;
}

.portfolio-item:hover .portfolio-overlay::before {
  opacity: 1;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: clamp(14px, 2.5vw, 16px);
  font-weight: 700;
  margin-bottom: 3px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}

.portfolio-overlay h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #ffd700);
  border-radius: 1px;
}

.portfolio-overlay p {
  color: #ffffff;
  font-size: clamp(10px, 2vw, 12px);
  line-height: 1.3;
  margin-bottom: 8px;
  text-align: center;
  max-width: 280px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  transform: translateY(0);
  transition: none;
}



.portfolio-tags .tag {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.portfolio-tags .tag:hover {
  background: rgba(255, 215, 0, 0.3);
  color: #000;
  transform: scale(1.05);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.portfolio-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.portfolio-link:hover::before {
  left: 100%;
}

.portfolio-item:hover .portfolio-link {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.portfolio-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.portfolio-link:active {
  transform: translateY(-1px) scale(1.02);
}

.portfolio-link i {
  font-size: 16px;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio-link:hover i {
  transform: translateX(4px);
}

.portfolio-loader {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00ffff 0%, #ffd700 50%, #00ffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  position: relative;
}

.section-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  background: rgba(0, 0, 0, 0.2);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 35px;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.testimonial-rating {
  color: var(--primary);
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 20px;
}

.testimonial-rating i {
  margin-right: 4px;
}

.testimonial-text {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-info h4 {
  font-size: clamp(16px, 2.5vw, 18px);
  margin-bottom: 4px;
  color: var(--text-primary);
}

.author-info span {
  font-size: clamp(12px, 2vw, 14px);
  color: var(--text-muted);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, rgba(0, 255, 255, 0.01) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
}

.testimonial-item {
  flex: 0 0 100%;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 30px;
  position: relative;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 60px;
  color: rgba(255, 215, 0, 0.3);
  position: absolute;
  top: -20px;
  left: -30px;
  font-family: 'Georgia', serif;
}

.testimonial-quote::after {
  content: '"';
  font-size: 60px;
  color: rgba(255, 215, 0, 0.3);
  position: absolute;
  bottom: -40px;
  right: -30px;
  font-family: 'Georgia', serif;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
}

.testimonial-avatar:hover {
  transform: scale(1.05);
  border-color: #ffd700;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
}

.testimonial-info h4 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.testimonial-info p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-rating .star {
  font-size: 18px;
  color: #ffd700;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #ffd700;
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.testimonial-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 215, 0, 0.2);
  border-top: 3px solid #ffd700;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 217, 255, 0.1));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: var(--bg1);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.contact-info i {
  color: var(--primary);
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition-base);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.fade-in {
  animation: fadeInUp 1s ease;
}

/* ========================================
   EXIT INTENT POPUP
   ======================================== */
.exit-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.exit-popup.active {
  display: flex;
}

.exit-popup-content {
  background: linear-gradient(135deg, #0a0e27 0%, #1e1b4b 100%);
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 550px;
  text-align: center;
  position: relative;
  animation: popupSlideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

@keyframes popupSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.exit-popup-close:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

.exit-popup-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 1s ease infinite;
text-align: end;
    margin-left: 20%;
}

.exit-popup h2 {
  font-size: 32px;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.exit-popup p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.exit-popup-form input {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.exit-popup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.exit-popup-form button {
  padding: 18px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 12px;
  color: var(--bg1);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.exit-popup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.trust-badge:nth-child(1) { animation-delay: 0.2s; }
.trust-badge:nth-child(2) { animation-delay: 0.4s; }
.trust-badge:nth-child(3) { animation-delay: 0.6s; }

.trust-badge-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
}

.trust-badge-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ========================================
   FLOATING CTA BUTTON
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating-cta-btn {
  background: var(--gradient-primary);
  color: var(--bg1);
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.floating-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 215, 0, 0.7);
}

/* ========================================
   CALENDLY MODAL
   ======================================== */
.calendly-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.calendly-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.calendly-modal-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 1000px;
  height: 90vh;
  max-height: 700px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideUp 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.calendly-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.calendly-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: rotate(90deg);
}

#calendly-embed {
  width: 100%;
  height: 100%;
}

/* ========================================
   LIVE CHAT BUTTON
   ======================================== */
.live-chat-trigger {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
  z-index: 997;
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

.live-chat-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.7);
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
  animation: bounceScale 1s ease-in-out infinite;
}

@keyframes bounceScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ========================================
   PROGRESS TRUST BAR
   ======================================== */
.progress-trust-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 9999;
}

.progress-trust-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ========================================
   TRUST NOTIFICATIONS
   ======================================== */
.trust-notification {
  position: fixed;
  bottom: -100px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  max-width: 350px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.trust-notification.show {
  bottom: 110px;
}

.trust-notif-icon {
  font-size: 28px;
  animation: bounce 1s ease-in-out infinite;
}

.trust-notif-content {
  flex: 1;
}

.trust-notif-message {
  color: #1e1b4b;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust-notif-time {
  color: #666;
  font-size: 12px;
}

/* ========================================
   MODERN DYNAMIC POPUPS
   ======================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-overlay.popup-center_modal .popup-container {
  max-width: 500px;
  margin: 0 auto;
}

.popup-overlay.popup-slide_in .popup-container {
  transform: translateY(100px);
}

.popup-overlay.popup-slide_in.show .popup-container {
  transform: translateY(0);
}

.popup-overlay.popup-corner_toast {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 30px;
}

.popup-overlay.popup-corner_toast .popup-container {
  max-width: 350px;
  margin: 0;
}

.popup-overlay.popup-floating {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 100px 30px 30px 30px;
}

.popup-overlay.popup-fullscreen .popup-container {
  max-width: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.popup-container {
  background: var(--popup-bg, rgba(255, 255, 255, 0.95));
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--popup-text, #1e1b4b);
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 100000;
  pointer-events: auto;
}

.popup-overlay.show .popup-container {
  transform: scale(1) translateY(0);
}

.popup-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100001;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.popup-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: scale(1.1);
}

.popup-close-btn svg {
  width: 20px;
  height: 20px;
}

/* Popup Type Specific Styles */
.popup-type-image .popup-container {
  max-width: 600px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 2px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 25px 80px rgba(99, 102, 241, 0.15);
}

.popup-type-image .popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
  border-radius: 20px 20px 0 0;
}

.popup-type-image .popup-image-container {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.popup-type-image .popup-image-container::after {
  content: '📸';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.popup-type-newsletter .popup-container,
.popup-type-offer .popup-container {
  max-width: 450px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 249, 195, 0.95) 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 25px 80px rgba(245, 158, 11, 0.15);
}

.popup-type-newsletter .popup-container::before,
.popup-type-offer .popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706, #92400e);
  border-radius: 20px 20px 0 0;
}

.popup-type-newsletter .popup-form-container,
.popup-type-offer .popup-form-container {
  text-align: center;
  position: relative;
}

.popup-type-exit_intent .popup-container {
  max-width: 500px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 226, 226, 0.95) 100%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 25px 80px rgba(239, 68, 68, 0.15);
  animation: urgentPulse 2s ease-in-out infinite;
}

.popup-type-exit_intent .popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #dc2626, #b91c1c);
  border-radius: 20px 20px 0 0;
}

@keyframes urgentPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.popup-type-exit_intent .popup-exit-container {
  text-align: center;
  position: relative;
}

.popup-type-exit_intent .exit-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.popup-type-scroll .popup-container,
.popup-type-timed .popup-container {
  max-width: 450px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 252, 231, 0.95) 100%);
  border: 2px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 25px 80px rgba(34, 197, 94, 0.15);
}

.popup-type-scroll .popup-container::before,
.popup-type-timed .popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e, #16a34a, #15803d);
  border-radius: 20px 20px 0 0;
}

.popup-type-scroll .popup-scroll-container,
.popup-type-timed .popup-timed-container {
  text-align: center;
  position: relative;
}

.popup-type-scroll .scroll-icon,
.popup-type-timed .timed-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.8;
  filter: drop-shadow(0 4px 8px rgba(34, 197, 94, 0.2));
}

.popup-type-custom .popup-container {
  max-width: 500px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(196, 181, 253, 0.95) 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 25px 80px rgba(139, 92, 246, 0.15);
}

.popup-type-custom .popup-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #7c3aed, #6d28d9);
  border-radius: 20px 20px 0 0;
}

.popup-type-custom .popup-custom-container {
  text-align: center;
  position: relative;
}

.popup-type-custom .popup-custom-container::before {
  content: '✨';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #8b5cf6;
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Popup Actions */
.popup-actions {
  margin-top: 20px;
  text-align: center;
}

.popup-cta-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--popup-btn, linear-gradient(135deg, #ffd700 0%, #ffb800 100%));
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  pointer-events: auto;
}

.popup-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Popup Animations */
.popup-anim-fadeIn .popup-container {
  opacity: 0;
  transform: scale(0.8);
}

.popup-anim-fadeIn.show .popup-container {
  opacity: 1;
  transform: scale(1);
}

.popup-anim-slideInUp .popup-container {
  transform: translateY(50px);
  opacity: 0;
}

.popup-anim-slideInUp.show .popup-container {
  transform: translateY(0);
  opacity: 1;
}

.popup-anim-bounceIn .popup-container {
  animation: popupBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupBounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.popup-anim-zoomIn .popup-container {
  animation: popupZoomIn 0.3s ease;
}

@keyframes popupZoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Success message */
.popup-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #10b981;
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 100000;
  animation: popupSuccess 0.3s ease;
}

@keyframes popupSuccess {
  from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10001;
  background: #10b981;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-weight: 500;
  animation: slideInRight 0.3s ease;
  max-width: 400px;
}

.notification-error {
  background: #ef4444;
}

.notification-info {
  background: #3b82f6;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-content p {
  margin: 0;
  flex: 1;
}

.notification-content button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
}

.popup-image-top {
  order: -1;
}

.popup-image-bottom {
  order: 999;
  margin-top: 20px;
  margin-bottom: 0;
}

.popup-image-left {
  float: left;
  width: 40%;
  margin-right: 20px;
  margin-bottom: 0;
}

.popup-image-right {
  float: right;
  width: 40%;
  margin-left: 20px;
  margin-bottom: 0;
}

.popup-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--popup-text, #1e1b4b);
  text-align: center;
}

.popup-content {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--popup-text, #333);
}

.popup-content p {
  margin-bottom: 15px;
}

.popup-content p:last-child {
  margin-bottom: 0;
}

.popup-form {
  margin-top: 20px;
}

.popup-form-field {
  margin-bottom: 15px;
}

.popup-form-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--popup-text, #1e1b4b);
  font-size: 14px;
}

.popup-form-field input,
.popup-form-field textarea,
.popup-form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.popup-form-field input:focus,
.popup-form-field textarea:focus,
.popup-form-field select:focus {
  outline: none;
  border-color: var(--popup-btn, #ffd700);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.popup-form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.popup-submit {
  width: 100%;
  padding: 14px 20px;
  background: var(--popup-btn, linear-gradient(135deg, #ffd700 0%, #ffb800 100%));
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.popup-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.popup-cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--popup-btn, linear-gradient(135deg, #ffd700 0%, #ffb800 100%));
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Popup Animations */
.popup-anim-fadeIn .popup-container {
  opacity: 0;
  transform: scale(0.8);
}

.popup-anim-fadeIn.show .popup-container {
  opacity: 1;
  transform: scale(1);
}

.popup-anim-slideInUp .popup-container {
  transform: translateY(50px);
  opacity: 0;
}

.popup-anim-slideInUp.show .popup-container {
  transform: translateY(0);
  opacity: 1;
}

.popup-anim-bounceIn .popup-container {
  animation: popupBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupBounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.popup-anim-zoomIn .popup-container {
  animation: popupZoomIn 0.3s ease;
}

@keyframes popupZoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Success message */
.popup-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #10b981;
  color: white;
  padding: 20px 30px;
  border-radius: 12px;
  font-weight: 600;
  z-index: 100000;
  animation: popupSuccess 0.3s ease;
}

@keyframes popupSuccess {
  from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ========================================
   SPECIAL OFFER POPUP
   ======================================== */
.special-offer-popup {
  position: fixed;
  bottom: -400px;
  right: 30px;
  z-index: 9997;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.special-offer-popup.show {
  bottom: 30px;
}

.special-offer-content {
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  border-radius: 20px;
  padding: 30px;
  max-width: 350px;
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5);
  position: relative;
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5);
  }
  50% {
    box-shadow: 0 20px 80px rgba(255, 215, 0, 0.8);
  }
}

.special-offer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.special-offer-close:hover {
  background: rgba(239, 68, 68, 0.5);
  transform: rotate(90deg);
}

.special-offer-badge {
  background: #ef4444;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
  animation: pulse 1.5s ease-in-out infinite;
}

.special-offer-content h3 {
  color: #1e1b4b;
  font-size: 24px;
  margin-bottom: 15px;
}

.special-offer-text {
  color: #1e1b4b;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.offer-code {
  background: rgba(30, 27, 75, 0.2);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 18px;
}

.special-offer-btn {
  width: 100%;
  background: #1e1b4b;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.special-offer-btn:hover {
  background: #0a0e27;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 27, 75, 0.4);
}

/* ========================================
   RIPPLE EFFECT
   ======================================== */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ========================================
   CONFETTI ANIMATION
   ======================================== */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 99999;
  animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ========================================
   ENHANCED BUTTON HOVER EFFECTS
   ======================================== */
.btn-primary {
  position: relative;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn-primary:hover::after {
  opacity: 1;
  right: 15px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  nav a,
  .nav-link,
  #mainHeader nav a {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .site-title {
    font-size: 16px;
  }
  
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 1200px) {
  header {
    width: calc(100% - 20px);
    padding: 12px 18px;
  }
  
  nav a,
  .nav-link,
  #mainHeader nav a {
    padding: 6px 8px;
    font-size: 13px;
  }
  
  .site-title {
    font-size: 16px;
  }
  
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  header {
    width: calc(100% - 20px);
    top: 10px;
    padding: 12px 16px;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-section {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-services {
    gap: 8px;
  }
  
  .service-tag {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .service-tag i {
    font-size: 11px;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Service card responsive adjustments */
  .service-card {
    padding: 30px 20px;
  }
  
  .service-card h3 {
    font-size: 20px;
  }
  
  .service-card > p {
    font-size: 14px;
  }
  
  .service-features {
    font-size: 13px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-slider {
    grid-template-columns: 1fr;
  }
  
  /* Card responsive adjustments for mobile/tablet */
  .blog-card-home {
    min-height: 400px;
  }
  
  .portfolio-item {
    min-height: 300px;
  }
  
  /* Card content responsive adjustments */
  .blog-content-home {
    padding: 24px;
  }
  
  .blog-content-home h3 {
    font-size: 18px;
  }
  
  .blog-content-home p {
    font-size: 14px;
  }
  
  .portfolio-overlay {
    padding: 16px;
  }
  
  .portfolio-overlay h3 {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }
  
  .exit-popup-content {
    padding: 40px 25px;
    max-width: 90%;
  }
  
  .floating-cta {
    bottom: 80px;
    right: 15px;
  }
  
  .floating-cta-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .live-chat-trigger {
    width: 55px;
    height: 55px;
    left: 15px;
    bottom: 15px;
  }
  
  .trust-badges {
    gap: 20px;
  }
  
  .trust-notification {
    left: 15px;
    max-width: calc(100% - 30px);
  }
  
  .trust-notification.show {
    bottom: 90px;
  }
  
  .special-offer-popup.show {
    right: 15px;
    left: 15px;
  }
  
  .special-offer-content {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 40px;
  }

  .site-title {
    font-size: 16px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 16px;
  }

  /* Blog section responsive */
  .blog-card-home {
    min-height: 380px;
  }

  .blog-image-home {
    aspect-ratio: 16 / 9;
  }

  .blog-content-home {
    padding: 24px;
  }

  .blog-content-home h3 {
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 12px;
  }

  .blog-content-home p {
    font-size: clamp(12px, 2.5vw, 14px);
    margin-bottom: 16px;
  }

  /* Portfolio section responsive */
  .portfolio-item {
    min-height: 280px;
  }

  .portfolio-image {
    aspect-ratio: 16 / 9;
  }

  .portfolio-overlay {
    height: 80px;
    padding: 6px;
  }

  .portfolio-overlay h3 {
    font-size: clamp(14px, 3vw, 16px);
    margin-bottom: 2px;
  }

  .portfolio-overlay p {
    font-size: clamp(11px, 2vw, 12px);
    margin-bottom: 6px;
  }

  /* Hero services responsive */
  .hero-services {
    gap: 6px;
    margin-bottom: 20px;
  }

  .service-tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  .service-tag i {
    font-size: 10px;
  }
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-hero {
  padding: 140px 0 80px;
  position: relative;
}

.contact-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 50px 0 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.quick-contact-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}

.quick-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.quick-contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.quick-contact-card:hover::before {
  transform: scaleX(1);
}

.quick-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--bg1);
  transition: all var(--transition-base);
}

.quick-icon.whatsapp-color {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
}

.quick-contact-card:hover .quick-icon {
  transform: scale(1.1) rotate(5deg);
}

.quick-contact-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.quick-contact-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.quick-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gradient-primary);
  color: var(--bg1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.trust-item i {
  color: var(--primary);
  font-size: 18px;
}

/* Calendar Section */
.calendar-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.calendly-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  overflow: hidden;
}

.booking-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary);
  transition: all var(--transition-base);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1) rotate(10deg);
  background: var(--gradient-primary);
  color: var(--bg1);
}

.benefit-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Form Section */
.contact-form-section {
  padding: 80px 0;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.form-left h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.form-intro {
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Form Steps Progress */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.form-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.form-step.active .step-number {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: var(--bg1);
  transform: scale(1.1);
}

.step-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.form-step.active .step-label {
  color: var(--primary);
}

.step-connector {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  flex: 1;
  margin: 0 10px;
  position: relative;
  top: -15px;
}

/* Why Choose */
.why-choose {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
}

.why-choose h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary);
}

.why-list {
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.why-list i {
  color: var(--success);
  font-size: 16px;
}

/* Live Activity */
.live-activity {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
}

.live-activity h4 {
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.pulse-dot {
  color: var(--success);
  font-size: 8px;
  animation: pulse 2s ease infinite;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-item i {
  color: var(--primary);
  font-size: 16px;
  width: 20px;
}

.activity-item strong {
  color: var(--text-primary);
}

.activity-time {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 11px;
}

/* Form Right Side */
.form-right {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form {
  position: relative;
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.form-group label i {
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.input-underline {
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  margin-top: -1px;
  border-radius: 2px;
}

.form-group input:focus ~ .input-underline,
.form-group select:focus ~ .input-underline,
.form-group textarea:focus ~ .input-underline {
  transform: scaleX(1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.checkbox-card {
  position: relative;
  cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  text-align: center;
  font-size: 13px;
}

.checkbox-content i {
  font-size: 24px;
  color: var(--primary);
}

.checkbox-card input:checked + .checkbox-content {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.checkbox-card:hover .checkbox-content {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Form Buttons */
.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-block {
  width: 100%;
}

/* Form Review */
.form-review {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 25px;
  margin-bottom: 25px;
}

.form-review h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
}

.review-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  display: flex;
  gap: 10px;
}

.review-item:last-child {
  border-bottom: none;
}

.review-item strong {
  color: var(--text-secondary);
  min-width: 100px;
}

.form-guarantee {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 15px;
  margin-bottom: 25px;
}

.form-guarantee i {
  font-size: 30px;
  color: var(--success);
}

.form-guarantee strong {
  display: block;
  margin-bottom: 4px;
  color: var(--success);
}

.form-guarantee p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 60px 40px;
  animation: fadeInUp 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--bg1);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.success-message h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.success-message .btn {
  margin-top: 20px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px;
  cursor: pointer;
  position: relative;
}

.faq-question i.fa-question-circle {
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.faq-question h4 {
  flex: 1;
  font-size: 16px;
  color: var(--text-primary);
  margin: 0;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform var(--transition-base);
  font-size: 14px !important;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding: 0 25px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 25px 25px;
}

/* Responsive Contact Page */
@media (max-width: 968px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-left {
    order: 2;
  }

  .form-right {
    order: 1;
  }

  /* Blog section responsive for medium screens */
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .blog-card-home {
    min-height: 400px;
  }

  .blog-image-home {
    aspect-ratio: 16 / 9;
  }

  /* Portfolio section responsive for medium screens */
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .portfolio-item {
    min-height: 280px;
  }

  .portfolio-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 120px 0 60px;
  }
  
  .quick-contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .quick-contact-card {
    padding: 20px 15px;
  }
  
  .quick-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .quick-contact-card h3 {
    font-size: 15px;
  }
  
  .quick-contact-card p {
    font-size: 12px;
  }
  
  .contact-trust-badges {
    gap: 15px;
  }
  
  .trust-item {
    font-size: 12px;
  }
  
  .calendly-container {
    padding: 15px;
  }
  
  .booking-benefits {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .form-right {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .form-steps {
    padding: 0 10px;
  }
  
  .step-label {
    font-size: 10px;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .form-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .quick-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .contact-trust-badges {
    flex-direction: column;
    gap: 10px;
  }
}

/* ========================================
   HOMEPAGE BLOG SECTION
   ======================================== */
.blog-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 215, 0, 0.01) 100%);
  position: relative;
}

.blog-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.section-cta {
  text-align: center;
  margin-top: 50px;
}

.section-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 215, 0, 0.5);
  color: #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-outline:hover {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border-color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-outline:hover::before {
  left: 100%;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-card-home {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  min-height: 450px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

.blog-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 24px;
  z-index: 1;
}

.blog-card-home::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: conic-gradient(from 180deg, transparent, rgba(0, 255, 255, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
  animation: rotateReverse 25s linear infinite;
}

.blog-card-home:hover::after {
  opacity: 1;
}

@keyframes rotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.blog-card-home:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 25px 80px rgba(255, 215, 0, 0.15),
              0 0 40px rgba(0, 255, 255, 0.1);
}

.blog-card-home:hover::before {
  opacity: 1;
}

.blog-card-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 24px;
}

.blog-card-home:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 25px 80px rgba(255, 215, 0, 0.15),
              0 0 40px rgba(0, 255, 255, 0.1);
}

.blog-card-home:hover::before {
  opacity: 1;
}

.blog-image-home {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}

.blog-card-home:hover .blog-image-home {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.blog-image-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.blog-card-home:hover .blog-image-home::after {
  opacity: 1;
}

.blog-content-home {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.blog-card-home:hover .blog-content-home {
  transform: translateY(-5px);
}

.blog-category-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  align-self: flex-start;
  transform: translateX(-10px);
  opacity: 0;
  animation: slideInLeft 0.6s ease forwards;
}

.blog-card-home:hover .blog-category-home {
  transform: translateX(0) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

@keyframes slideInLeft {
  from {
    transform: translateX(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.blog-content-home h3 {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateY(15px);
  opacity: 0;
  animation: slideInUp 0.6s ease 0.2s forwards;
  position: relative;
}

@keyframes slideInUp {
  from {
    transform: translateY(15px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.blog-card-home:hover .blog-content-home h3 {
  color: #ffd700;
  transform: translateY(10px);
}

.blog-content-home h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00ffff, #ffd700);
  transition: width 0.4s ease 0.3s;
}

.blog-card-home:hover .blog-content-home h3::after {
  width: 50px;
}

.blog-content-home p {
  font-size: clamp(13px, 2.5vw, 15px);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(15px);
  opacity: 0;
  animation: slideInUp 0.6s ease 0.3s forwards;
  transition: all 0.4s ease;
}

.blog-card-home:hover .blog-content-home p {
  transform: translateY(10px);
  opacity: 0.95;
}

.blog-meta-home {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  opacity: 0.8;
  font-size: 13px;
  transform: translateY(10px);
  opacity: 0;
  animation: slideInUp 0.6s ease 0.1s forwards;
}

.blog-meta-home span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-home i {
  color: #ffd700;
  font-size: 14px;
}

.loading-state, .no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  opacity: 0.5;
}

.loading-state i, .no-posts i {
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: 16px;
}

.blog-meta-home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.blog-date-home, .blog-read-time-home {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-date-home i, .blog-read-time-home i {
  color: #ffd700;
  font-size: 12px;
}

.blog-author-home {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(15px);
  opacity: 0;
  animation: slideInUp 0.6s ease 0.4s forwards;
  transition: all 0.4s ease;
}

.blog-card-home:hover .blog-author-home {
  transform: translateY(10px);
}

.author-avatar-home {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.3);
  transition: all 0.4s ease;
}

.blog-card-home:hover .author-avatar-home {
  border-color: #ffd700;
  transform: scale(1.1);
}

.author-avatar-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name-home {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.4s ease;
}

.blog-card-home:hover .author-name-home {
  color: #ffd700;
}

/* ========================================
   MODERN CONTACT SECTION
   ======================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 215, 0, 0.02) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-feature {
  display: flex;
  gap: 16px;
  align-items: start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #000;
  flex-shrink: 0;
}

.contact-feature h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-feature p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--primary);
  transform: translateX(8px);
}

.contact-method i {
  font-size: 28px;
  color: var(--primary);
}

.contact-method span {
  display: block;
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 4px;
}

.contact-method strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modern-contact-form .form-header {
  text-align: center;
  margin-bottom: 36px;
}

.modern-contact-form .form-header h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-contact-form .form-header p {
  font-size: 15px;
  opacity: 0.7;
}

.modern-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.modern-contact-form .form-field {
  margin-bottom: 20px;
}

.modern-contact-form .form-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.9;
}

.modern-contact-form .form-field label i {
  color: var(--primary);
  font-size: 16px;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.modern-contact-form select option {
  background: #1a1a2e;
  color: #ffffff;
  padding: 8px;
}

.modern-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.checkbox-label:hover {
  background: rgba(255, 215, 0, 0.05);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked + span {
  color: var(--primary);
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 14px;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.form-note {
  text-align: center;
  font-size: 13px;
  opacity: 0.6;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.success-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-popup-overlay.show {
  opacity: 1;
}

.success-popup {
  background: rgba(10, 14, 39, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  max-width: 500px;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon {
  font-size: 80px;
  color: var(--success);
  margin-bottom: 24px;
}

.success-popup h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.success-popup p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 32px;
  line-height: 1.6;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Contact Section */
@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  
  .modern-contact-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

/* Career Page Styles */
.career-hero {
  text-align: center;
  padding: 80px 20px 60px;
}

.career-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

.career-benefits {
  padding: 60px 20px;
}

.career-benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffd700;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.benefit-card i {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 20px;
  display: block;
}

.benefit-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.career-openings {
  padding: 60px 20px 100px;
}

.career-openings h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.job-listings {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.job-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.job-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffd700;
  transform: translateX(8px);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 20px;
}

.job-header h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card > p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.job-skills span {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.apply-btn {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.apply-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Application Modal */
.application-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.application-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.95), rgba(20, 20, 40, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 25px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff0000;
  transform: rotate(90deg);
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-right: 50px;
}

.career-application-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.career-application-form .form-field {
  margin-bottom: 20px;
}

.career-application-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.career-application-form label i {
  margin-right: 8px;
  color: #ffd700;
}

.career-application-form input,
.career-application-form select,
.career-application-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.career-application-form input:focus,
.career-application-form select:focus,
.career-application-form textarea:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.career-application-form input::placeholder,
.career-application-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.career-application-form input[type="file"] {
  padding: 10px;
  cursor: pointer;
}

/* Responsive Career Page */
@media (max-width: 768px) {
  .career-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .apply-btn {
    width: 100%;
  }
  
  .career-application-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }
}

/* Quick Contact Section - Homepage */
.quick-contact-section {
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.quick-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05), transparent 70%);
  pointer-events: none;
}

.quick-contact-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quick-contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.quick-contact-header h2 {
  font-size: 3rem;
  margin: 15px 0 20px;
}

.quick-contact-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.quick-contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.quick-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.quick-contact-card:hover::before {
  left: 100%;
}

.quick-contact-card:hover {
  transform: translateY(-10px);
  border-color: #ffd700;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.quick-contact-card.highlight {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 237, 78, 0.1));
  border-color: rgba(255, 215, 0, 0.4);
}

.quick-contact-card.highlight:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 237, 78, 0.15));
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.35);
}

.qc-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffd700;
  transition: transform 0.3s ease;
}

.quick-contact-card:hover .qc-icon {
  transform: scale(1.1) rotate(5deg);
}

.quick-contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}

.quick-contact-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.qc-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd700;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.quick-contact-card:hover .qc-action {
  gap: 12px;
}

.qc-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
  margin-top: 10px;
  letter-spacing: 1px;
}

.quick-contact-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.qc-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.qc-feature i {
  color: #ffd700;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .quick-contact-header h2 {
    font-size: 2rem;
  }
  
  .quick-contact-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-contact-features {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================
   DYNAMIC BANNERS
   ======================================== */
.dynamic-banner {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(31, 38, 76, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.dynamic-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
  animation: shimmer 2s infinite;
}

.dynamic-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.banner-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.banner-info .banner-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.banner-success .banner-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.banner-warning .banner-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.banner-error .banner-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.banner-announcement .banner-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
}

.banner-confetti .banner-icon {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
}

.banner-text {
  flex: 1;
  color: white;
}

.banner-text h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffd700;
}

.banner-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

.banner-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.banner-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.banner-btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.banner-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.banner-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Mobile banner styles */
@media (max-width: 768px) {
  .dynamic-banner {
    margin: 0 10px 12px 10px;
    padding: 14px 16px;
  }
  
  .banner-content {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .banner-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .banner-text h4 {
    font-size: 14px;
  }
  
  .banner-text p {
    font-size: 13px;
  }
  
  .banner-cta {
    padding: 6px 12px;
    font-size: 12px;
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   PROJECT MODAL
   ======================================== */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.project-modal-content {
  position: relative;
  max-width: 1200px;
  margin: 50px auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modal.active .project-modal-content {
  transform: scale(1) translateY(0);
}

.project-modal-header {
  padding: 20px 30px 0;
  text-align: right;
}

.project-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.project-modal-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.project-modal-image {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.project-modal-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.project-modal-info {
  color: #fff;
}

.project-modal-category {
  margin-bottom: 20px;
}

.category-badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-modal-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00ffff 0%, #ffd700 50%, #00ffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

.project-modal-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.project-date, .project-tech {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.project-modal-description {
  margin-bottom: 30px;
  line-height: 1.7;
}

.project-modal-description p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.project-modal-features {
  margin-bottom: 40px;
}

.project-modal-features h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffd700;
}

.project-modal-features ul {
  list-style: none;
  padding: 0;
}

.project-modal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.project-modal-features li i {
  color: #00d9ff;
  font-size: 16px;
}

.project-modal-actions {
  display: flex;
  gap: 20px;
}

.project-modal-actions .btn {
  flex: 1;
  text-align: center;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
}

.project-modal-actions .btn i {
  margin-right: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .project-modal-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .project-modal-title {
    font-size: 2rem;
  }
  
  .project-modal-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .project-modal-actions {
    flex-direction: column;
  }
  
  .project-modal-actions .btn {
    width: 100%;
  }
}

p.no-testimonials.center {
    text-align: center;
}

/* ========================================
   ADVANCED ENGAGEMENT ANIMATIONS
   ======================================== */
@keyframes engagementPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.15);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ambientGlowPulse {
  0%, 100% { opacity: 0.02; }
  50% { opacity: 0.06; }
}

@keyframes trustPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   BANNER SYSTEM
   ======================================== */
.banner-container {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 90vw;
  width: auto;
}

.site-banner {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 27, 75, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 400px;
  max-width: 600px;
  position: relative;
  overflow: hidden;
  animation: bannerSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.site-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bannerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.site-banner.dismissing {
  animation: bannerSlideOut 0.3s ease forwards;
}

@keyframes bannerSlideOut {
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* Banner Types */
.banner-info {
  border-color: rgba(59, 130, 246, 0.5);
}

.banner-info::before {
  background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
}

.banner-success {
  border-color: rgba(16, 185, 129, 0.5);
}

.banner-success::before {
  background: linear-gradient(45deg, transparent 30%, rgba(16, 185, 129, 0.1) 50%, transparent 70%);
}

.banner-warning {
  border-color: rgba(245, 158, 11, 0.5);
}

.banner-warning::before {
  background: linear-gradient(45deg, transparent 30%, rgba(245, 158, 11, 0.1) 50%, transparent 70%);
}

.banner-error {
  border-color: rgba(239, 68, 68, 0.5);
}

.banner-error::before {
  background: linear-gradient(45deg, transparent 30%, rgba(239, 68, 68, 0.1) 50%, transparent 70%);
}

.banner-promotion {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(30, 27, 75, 0.95) 100%);
}

.banner-promotion::before {
  background: linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
}

/* Banner Styles - Multiple Style Support */
.banner-style-default {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(30, 27, 75, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.banner-style-gradient {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 27, 75, 0.95) 50%, rgba(255, 215, 0, 0.1) 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.banner-style-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
}

.banner-style-modern {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(30, 27, 75, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
  position: relative;
}

.banner-style-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* Enhanced Type-Based Styling */
.banner-info {
  --banner-accent: #3498db;
  --banner-bg: rgba(52, 152, 219, 0.1);
}

.banner-success {
  --banner-accent: #27ae60;
  --banner-bg: rgba(39, 174, 96, 0.1);
}

.banner-warning {
  --banner-accent: #f39c12;
  --banner-bg: rgba(243, 156, 18, 0.1);
}

.banner-error {
  --banner-accent: #e74c3c;
  --banner-bg: rgba(231, 76, 60, 0.1);
}

.banner-announcement {
  --banner-accent: #9b59b6;
  --banner-bg: rgba(155, 89, 182, 0.1);
}

.banner-promotion {
  --banner-accent: #e67e22;
  --banner-bg: rgba(230, 126, 34, 0.1);
}

.banner-confetti {
  --banner-accent: #ffd700;
  --banner-bg: rgba(255, 215, 0, 0.1);
}

/* Apply type-based colors to icons and CTAs */
.banner-info .banner-icon,
.banner-success .banner-icon,
.banner-warning .banner-icon,
.banner-error .banner-icon,
.banner-announcement .banner-icon,
.banner-promotion .banner-icon,
.banner-confetti .banner-icon {
  background: var(--banner-bg) !important;
  color: var(--banner-accent) !important;
}

.banner-info .banner-title,
.banner-success .banner-title,
.banner-warning .banner-title,
.banner-error .banner-title,
.banner-announcement .banner-title,
.banner-promotion .banner-title,
.banner-confetti .banner-title {
  color: var(--banner-accent) !important;
}

.banner-info .banner-cta,
.banner-success .banner-cta,
.banner-warning .banner-cta,
.banner-error .banner-cta,
.banner-announcement .banner-cta,
.banner-promotion .banner-cta,
.banner-confetti .banner-cta {
  background: linear-gradient(135deg, var(--banner-accent), var(--banner-accent)dd) !important;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-icon {
  font-size: 24px;
  color: var(--primary);
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.banner-text {
  flex: 1;
  min-width: 0;
}

.banner-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.banner-message {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.banner-actions {
  flex-shrink: 0;
}

.banner-cta {
  background: var(--gradient-primary);
  color: var(--bg1);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.banner-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.banner-dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: scale(1.1);
}

/* Confetti trigger (invisible element for confetti positioning) */
.banner-confetti-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .banner-container {
    max-width: 95vw;
    top: 80px;
  }

  .site-banner {
    min-width: auto;
    max-width: 100%;
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .banner-content {
    flex-direction: column;
    gap: 12px;
  }

  .banner-actions {
    width: 100%;
  }

  .banner-cta {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   END BANNER SYSTEM
   ======================================== */

/* ========================================
   POPUP SYSTEM
   ======================================== */
.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  pointer-events: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  pointer-events: auto;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 27, 75, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
}

.popup-content.center_modal {
  text-align: center;
}

.popup-content.left_modal {
  margin-right: auto;
  margin-left: 10%;
}

.popup-content.right_modal {
  margin-left: auto;
  margin-right: 10%;
}

.popup-image {
  margin-bottom: 24px;
}

.popup-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.popup-body {
  margin-bottom: 24px;
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.popup-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 16px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.form-field input,
.form-field textarea {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.popup-submit-btn,
.popup-cta-btn {
  background: var(--gradient-primary);
  color: var(--bg1);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.popup-submit-btn:hover,
.popup-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.popup-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.popup-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  transform: scale(1.1);
}

/* Popup animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-content {
    padding: 24px;
    margin: 20px;
    max-width: none;
    width: calc(100% - 40px);
  }

  .popup-title {
    font-size: 20px;
  }

  .popup-submit-btn,
  .popup-cta-btn {
    width: 100%;
    align-self: stretch;
  }

  .popup-actions {
    flex-direction: column;
  }
}

/* ========================================
   END POPUP SYSTEM
   ======================================== */

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  min-width: 300px;
  max-width: 500px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  animation: slideInFromRight 0.3s ease-out;
  backdrop-filter: blur(10px);
}

.notification i {
  font-size: 18px;
  flex-shrink: 0;
}

.notification span {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  font-size: 20px;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.notification-close:hover {
  opacity: 1;
}

.notification-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-error {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile responsiveness for notifications */
@media (max-width: 768px) {
  .notification {
    left: 20px;
    right: 20px;
    min-width: auto;
    max-width: none;
  }
}

/* ========================================
   END NOTIFICATION SYSTEM
   ======================================== */

/* ========================================
   MODERN DYNAMIC POPUPS - UPDATED
   ======================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Design Style Variations */
.popup-overlay.popup-center_modal {
  align-items: center;
  justify-content: center;
}

.popup-overlay.popup-slide_in {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
}

.popup-overlay.popup-slide_in.show .popup-content {
  transform: translateY(0);
}

.popup-overlay.popup-corner_toast {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 30px;
}

.popup-overlay.popup-corner_toast .popup-content {
  max-width: 400px;
  margin: 0;
}

.popup-overlay.popup-floating {
  align-items: flex-start;
  justify-content: flex-end;
  padding: 100px 30px 30px 30px;
}

.popup-overlay.popup-floating .popup-content {
  max-width: 350px;
  margin: 0;
}

.popup-overlay.popup-fullscreen .popup-content {
  max-width: none;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.popup-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #1e1b4b;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.popup-overlay.show .popup-content {
  transform: scale(1) translateY(0);
}

/* Popup Body and Content */
.popup-body {
  margin-bottom: 25px;
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e1b4b;
  text-align: center;
  line-height: 1.3;
}

.popup-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  color: #333;
}

.popup-text p {
  margin-bottom: 15px;
}

.popup-text p:last-child {
  margin-bottom: 0;
}

/* Image Handling */
.popup-image {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.popup-image-top {
  order: -1;
}

.popup-image-bottom {
  order: 999;
  margin-top: 20px;
  margin-bottom: 0;
}

.popup-image-left {
  float: left;
  width: 40%;
  margin-right: 20px;
  margin-bottom: 0;
}

.popup-image-right {
  float: right;
  width: 40%;
  margin-left: 20px;
  margin-bottom: 0;
}

.popup-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

/* Form Styling */
.popup-form {
  margin-top: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: #1e1b4b;
  font-weight: 600;
  font-size: 14px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* Button Styling */
.popup-submit-btn,
.popup-cta-btn {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.popup-submit-btn::before,
.popup-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.popup-submit-btn:hover::before,
.popup-cta-btn:hover::before {
  left: 100%;
}

.popup-submit-btn:hover,
.popup-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.popup-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

/* Close Button */
.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #666;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.popup-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

/* Design Style Specific Overrides */
.popup-center_modal .popup-content {
  max-width: 500px;
}

.popup-slide_in .popup-content {
  transform: translateY(100px);
  margin-bottom: 0;
  border-radius: 20px 20px 0 0;
}

.popup-slide_in.show .popup-content {
  transform: translateY(0);
}

.popup-corner_toast .popup-content {
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.popup-floating .popup-content {
  max-width: 350px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.popup-fullscreen .popup-content {
  border-radius: 0;
  padding: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .popup-overlay {
    padding: 15px;
  }

  .popup-content {
    padding: 25px;
    max-width: 95vw;
    max-height: 95vh;
  }

  .popup-title {
    font-size: 20px;
  }

  .popup-text {
    font-size: 15px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 12px 14px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .popup-submit-btn,
  .popup-cta-btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .popup-close-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px;
  }

  .popup-title {
    font-size: 18px;
  }

  .popup-image-left,
  .popup-image-right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

/* ========================================
   POPUP FIELD ERRORS
   ======================================== */
.field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
    animation: shakeError 0.5s ease;
}

.field-error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 500;
    animation: slideDownError 0.3s ease;
}

@keyframes slideDownError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ========================================
   POPUP MESSAGE OVERLAY
   ======================================== */
.popup-message-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100002;
  border-radius: 20px;
  animation: fadeInScale 0.3s ease;
}

.popup-message-overlay.success {
  background: rgba(16, 185, 129, 0.1);
}

.popup-message-overlay.error {
  background: rgba(239, 68, 68, 0.1);
}

.popup-message {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: slideUpMessage 0.3s ease;
}

.message-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.popup-message-overlay.success .message-icon {
  color: #10b981;
}

.popup-message-overlay.error .message-icon {
  color: #ef4444;
}

.message-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e1b4b;
}

.message-text {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.message-close-btn {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.message-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpMessage {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   POPUP FORM STYLES
   ======================================== */
.popup-form-container {
  max-width: 100%;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left !important;
  margin-bottom: 0;
  display: block;
  color: inherit;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: #ffffff;
}

.form-field input.field-error,
.form-field textarea.field-error,
.form-field select.field-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.field-error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 4px;
  animation: slideDownError 0.3s ease;
  font-weight: 500;
}

@keyframes slideDownError {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-submit-btn {
  margin-top: 8px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.popup-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.popup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.popup-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.popup-submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

/* Responsive popup form styles */
@media (max-width: 768px) {
  .popup-form {
    gap: 14px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .form-field label {
    font-size: 0.9rem;
  }

  .popup-submit-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .popup-form {
    gap: 12px;
  }

  .form-field input,
  .form-field textarea,
  .form-field select {
    padding: 12px;
    font-size: 0.9rem;
  }

  .form-field label {
    font-size: 0.85rem;
  }

  .popup-submit-btn {
    padding: 12px 18px;
    font-size: 0.9rem;
  }
}

/* ========================================
   LOADING SPINNER
   ======================================== */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}