/* ===================== RESET & VARIABLES ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0d1b;
  --bg-card: #0f1a30;
  --bg-card-hover: #152040;
  --border-color: #1e3054;
  --accent-blue: #4361ee;
  --accent-purple: #7c3aed;
  --gradient-main: linear-gradient(135deg, #2d429e, #7c3aed);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.25) 0%, transparent 65%);
  --text-primary: #ffffff;
  --text-secondary: #abbcd4;
  --text-accent: #60a5fa;
  --check-color: #4ade80;
  --star-color: #f59e0b;
  --underline-accent: linear-gradient(90deg, #4361ee, #7c3aed);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-purple); border-radius: 4px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===================== UTILITIES ===================== */
.container { max-width: 1550px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

.section-title-wrap { text-align: center; margin-bottom: 48px; }
.section-title-wrap h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.section-underline {
  width: 50px; height: 3px;
  background: var(--underline-accent);
  border-radius: 2px;
  margin: 0 auto 18px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== NAVBAR ===================== */
nav {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 60px;
  transition: background 0.3s;
}
nav.scrolled { background: rgba(10,15,30,0.97); }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-logo-link { text-decoration: none; color: inherit; display: inline-block; }
.nav-logo { display: flex; align-items: center; gap: 18px; }
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 16px; color: #fff;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text span:first-child { font-family: 'DM Sans', sans-serif; font-weight: 900; font-size: 24px; color: #ffffff; line-height: 1.1; }
.nav-logo-text span:last-child { font-size: 11px; color: var(--text-secondary); line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 16px; letter-spacing: 0.2px; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--gradient-main);
  color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 8px; border: none;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,0.4); }

.hamburger { 
  display: none; 
  flex-direction: column; 
  gap: 5px; 
  cursor: pointer; 
  padding: 8px;
  transition: transform 0.3s ease;
}
.hamburger:hover {
  transform: scale(1.1);
}
.hamburger span { 
  display: block; 
  width: 22px; 
  height: 2px; 
  background: #fff; 
  border-radius: 2px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { 
  transform: translateY(7px) rotate(45deg); 
  background: var(--accent-blue);
}
.hamburger.open span:nth-child(2) { 
  opacity: 0; 
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) { 
  transform: translateY(-7px) rotate(-45deg); 
  background: var(--accent-blue);
}

.mobile-nav { 
  display: none; 
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10,15,30,0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  flex-direction: column;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease,
              transform 0.3s ease,
              padding 0.3s ease;
}

.mobile-nav.open {
  display: flex;
  max-height: calc(100vh - 64px);
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}

/* ===================== HERO ===================== */
#hero {
  background: transparent;
  background-image: var(--gradient-hero);
  padding-top: 60px; padding-bottom: 60px;
  text-align: center;
}
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1a2040; border: 1px solid rgba(67,97,238,0.4);
  border-radius: 999px; padding: 14px 16px;
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 24px;
}
.hero-badge svg { color: var(--accent-blue); }
.hero-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  max-width: 1000px; margin: 0 auto 36px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-heading .gradient-text {
  background: linear-gradient(135deg, #3b82f6 20%, #8b5cf6 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subheading {
  font-size: 1.1rem; color: var(--text-secondary); font-weight: 500; margin-bottom: 36px;
}
.hero-desc {
  font-size: 1rem; color: var(--text-accent);
  max-width: 650px; margin: 0 auto 50px;
}
.hero-btns {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-blue {
  background: linear-gradient(135deg, #4361ee, #7c3aed); color: #fff; border: none;
  padding: 13px 28px; border-radius: 24px; font-weight: 600; font-size: 19px;
  cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-blue:hover { 
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
}
.btn-outline-white {
  background: transparent; color: #fff; border: 1px solid #4361ee;
  padding: 25px 28px; border-radius: 24px; font-weight: 500; font-size: 19px;
  cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-outline-white:hover { 
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}
.btn-outline-purple {
  background: transparent; color: #fff; border: 1px solid rgba(124,58,237,0.5);
  padding: 13px 28px; border-radius: 24px; font-weight: 500; font-size: 19px;
  cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-outline-purple:hover { 
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.8);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.hero-img-wrap {
  display: none !important;
}
.hero-img-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(67,97,238,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67,97,238,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-img-overlay { position: absolute; inset: 0; }
.hero-img-circles { position: absolute; inset: 0; pointer-events: none; }
.hero-circuit-1 { position: absolute; top: 20px; left: 20px; width: 100px; height: 100px; border: 1px solid rgba(67,97,238,0.2); border-radius: 50%; }
.hero-circuit-2 { position: absolute; bottom: 20px; right: 20px; width: 80px; height: 80px; border: 1px solid rgba(124,58,237,0.2); border-radius: 50%; }
.hero-circuit-3 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 180px; height: 180px; border: 1px solid rgba(99,102,241,0.15); border-radius: 50%; }

/* ===================== ABOUT ===================== */
#about { background: var(--bg-secondary); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; margin-left: -220px; }
.about-text p { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 138%; }
.about-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 12px; padding: 24px;
  transition: all 0.3s ease; cursor: default;
}
.about-card:hover { transform: translateY(-3px); background: var(--bg-card-hover); border-color: transparent; box-shadow: 0 0 0 1.5px transparent, 0 0 12px rgba(124,58,237,0.4); outline: 1.5px solid; outline-color: transparent; background-clip: padding-box; position: relative; }
.about-card:hover::before { content: ''; position: absolute; inset: -1px; border-radius: 13px; padding: 1px; background: linear-gradient(135deg, #000000, #573c86, #000000, #191a22); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.about-card-icon { font-size: 28px; margin-bottom: 10px; }
.about-card h4 { font-family: 'Syne', sans-serif; color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.about-card p { font-size: 13px; color: var(--text-secondary); }

/* Expandable About Cards */
.about-card {
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card.expanded {
  transform: scale(1.05);
  z-index: 100;
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.98), rgba(30, 41, 59, 0.98));
  border-color: rgba(124, 58, 237, 0.8);
  box-shadow: 0 40px 90px rgba(124, 58, 237, 0.4), 0 0 0 2px rgba(124, 58, 237, 0.3);
}

.about-card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.about-card.expanded .about-card-details {
  max-height: 300px;
  opacity: 1;
  margin-top: 16px;
}

.about-card-details h5 {
  color: #a78bfa;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.about-card-details ul li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}

.about-card-details ul li::before {
  content: ">";
  color: var(--accent-purple);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 101;
}

.about-card.expanded .about-card-close {
  opacity: 1;
  transform: scale(1);
}

.about-card-close:hover {
  background: rgba(124, 58, 237, 0.4);
  transform: scale(1.1);
}

.about-card-close::before,
.about-card-close::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.about-card-close::before {
  transform: rotate(45deg);
}

.about-card-close::after {
  transform: rotate(-45deg);
}

/* Responsive adjustments for expanded cards */
@media (max-width: 768px) {
  .about-card.expanded {
    transform: scale(1.02);
    grid-column: 1 / -1;
  }
  
  .about-card.expanded .about-card-details {
    max-height: 400px;
  }
}

/* ===================== SERVICES ===================== */
#services { background: transparent; }
.services-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px; 
  align-items: stretch;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card-link:hover {
  transform: translateY(-6px);
}

.service-card {
  border-radius: 12px; border: 1px solid var(--border-color);
  background: var(--bg-card); overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-link:hover .service-card { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 40px rgba(0,0,0,0.3); 
  border-color: rgba(67,97,238,0.4); 
}
.service-img {
  height: 180px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.service-img-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.service-img-overlay { position: absolute; inset: 0; }
.service-icon { position: relative; z-index: 1; }
.service-icon svg { width: 48px; height: 48px; }
.service-content { 
  padding: 24px; 
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-content h3 { font-family: 'Syne', sans-serif; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-content p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.service-list { 
  list-style: none; 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
  flex: 1;
  margin-bottom: 16px;
}
.service-list li { font-size: 13px; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.service-list li::before { content: "✓"; color: var(--check-color); font-weight: 700; flex-shrink: 0; }
.service-link { 
  display: inline-block; 
  margin-top: auto; 
  color: var(--text-accent); 
  font-size: 14px; 
  font-weight: 500; 
  transition: all 0.2s; 
}
.service-link:hover { color: #fff; text-decoration: underline; }

/* ===================== PORTFOLIO ===================== */
#portfolio { background: var(--bg-secondary); }

/* Portfolio Carousel Container */
.portfolio-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 -40px;
  padding: 0 40px;
}

/* Portfolio Slider - Show all 6 cards */
.portfolio-slider {
  flex: 1;
  overflow: visible;
  border-radius: 12px;
}

.portfolio-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Portfolio Cards */
.portfolio-card {
  border-radius: 12px; 
  border: 1px solid var(--border-color);
  background: var(--bg-card); 
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Stagger animation delays for each card */
.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 40px rgba(67,97,238,0.15); 
}

/* Arrow Buttons */
.portfolio-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-main);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.portfolio-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(67,97,238,0.4);
}

.portfolio-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.portfolio-arrow-left {
  left: 0;
}

.portfolio-arrow-right {
  right: 0;
}

.portfolio-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

/* Portfolio Indicators */
.portfolio-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background: var(--text-secondary);
}

.indicator.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .portfolio-track {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .portfolio-carousel {
    margin: 0 -30px;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .portfolio-carousel {
    margin: 0 -20px;
    padding: 0 20px;
    gap: 15px;
  }
  
  .portfolio-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .portfolio-arrow {
    width: 40px;
    height: 40px;
  }
  
  .portfolio-arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .portfolio-carousel {
    margin: 0 -15px;
    padding: 0 15px;
    gap: 10px;
  }
  
  .portfolio-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .portfolio-arrow {
    width: 36px;
    height: 36px;
  }
  
  .portfolio-arrow svg {
    width: 14px;
    height: 14px;
  }
}

.portfolio-img { height: 220px; overflow: hidden; position: relative; }
.portfolio-img-inner {
  width: 100%; height: 100%;
  transition: transform 0.4s ease;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.portfolio-card:hover .portfolio-img-inner { transform: scale(1.05); }
.portfolio-content { padding: 20px; }

.portfolio-badge {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent-blue);
  color: var(--text-accent); font-size: 12px;
  padding: 4px 10px; border-radius: 14px;
}
.portfolio-content h3 { font-family: 'Syne', sans-serif; color: #fff; font-size: 18px; font-weight: 700; margin-top: 10px; margin-bottom: 4px; }
.portfolio-content p { color: var(--text-secondary); font-size: 13px; }

/* ===================== PRICING ===================== */
#pricing { background: transparent; }
.pricing-section-title { font-family: 'Syne', sans-serif; color: #fff; font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 32px; margin-top: 56px; }
.pricing-section-title:first-of-type { margin-top: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 14px; padding: 32px; position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(20, 58, 228, 0.3); }
.pricing-card.popular { border: 1px solid rgba(124,58,237,0.6); box-shadow: 0 0 0 1px rgba(124,58,237,0.3), 0 8px 32px rgba(124,58,237,0.2); }
.popular-badge { position: absolute; top: 0; right: 0; background: var(--gradient-main); color: #fff; font-size: 12px; padding: 5px 12px; border-radius: 0 14px 0 14px; font-weight: 600; }
.pricing-card h4 { font-family: 'Syne', sans-serif; color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-price .amount { font-family: 'Bebas Neue', sans-serif; color: #fff; font-size: 3rem; font-weight: 400; line-height: 1; }
.pricing-price .period { color: var(--text-secondary); font-size: 14px; }
.pricing-divider { border: none; border-top: 1px solid var(--border-color); margin: 20px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: 14px; color: var(--text-secondary); display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li::before { content: "✓"; color: var(--check-color); font-weight: 700; flex-shrink: 0; }
.pricing-btn { width: 100%; padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 24px; transition: all 0.2s; font-family: 'DM Sans', sans-serif; border: none; }
.pricing-btn.outline-btn { background: var(--gradient-main); color: #fff; }
.pricing-btn.outline-btn:hover { background: rgba(255,255,255,0.05); }
.pricing-btn.gradient-btn { background: var(--gradient-main); color: #fff; }
.pricing-btn.gradient-btn:hover { opacity: 0.9; }

/* ===================== WHY CHOOSE US ===================== */
#why { background: var(--bg-secondary); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { 
  background: var(--bg-card); 
  border: 1px solid var(--border-color); 
  border-radius: 12px; 
  padding: 28px; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  cursor: pointer;
  position: relative;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(67,97,238,0.1); }
.why-icon { width: 48px; height: 48px; background: var(--gradient-main); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.why-icon svg { width: 24px; height: 24px; color: #fff; }
.why-card h4 { font-family: 'Syne', sans-serif; color: #fff; font-size: 16px; font-weight: 600; margin-top: 16px; margin-bottom: 8px; }
.why-card p { color: var(--text-secondary); font-size: 14px; }

/* Expandable Why Cards */
.why-card.expanded {
  transform: scale(1.05);
  z-index: 100;
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.98), rgba(30, 41, 59, 0.98));
  border-color: rgba(67, 97, 238, 0.8);
  box-shadow: 0 40px 90px rgba(67, 97, 238, 0.4), 0 0 0 2px rgba(67, 97, 238, 0.3);
}

.why-card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.why-card.expanded .why-card-details {
  max-height: 400px;
  opacity: 1;
  margin-top: 16px;
}

.why-card-details h5 {
  color: #60a5fa;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.why-card-details ul li {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}

.why-card-details ul li::before {
  content: ">";
  color: var(--accent-blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-card-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(67, 97, 238, 0.2);
  border: 1px solid rgba(67, 97, 238, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 101;
}

.why-card.expanded .why-card-close {
  opacity: 1;
  transform: scale(1);
}

.why-card-close:hover {
  background: rgba(67, 97, 238, 0.4);
  transform: scale(1.1);
}

.why-card-close::before,
.why-card-close::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.why-card-close::before {
  transform: rotate(45deg);
}

.why-card-close::after {
  transform: rotate(-45deg);
}

/* Responsive adjustments for expanded why cards */
@media (max-width: 768px) {
  .why-card.expanded {
    transform: scale(1.02);
    grid-column: 1 / -1;
  }
  
  .why-card.expanded .why-card-details {
    max-height: 500px;
  }
}

/* ===================== UNIVERSAL ZOOM ANIMATIONS ===================== */
/* About Cards Zoom Animation */
.about-card:not(.expanded) {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:not(.expanded):hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

/* Why Cards Zoom Animation */
.why-card:not(.expanded) {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:not(.expanded):hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(67, 97, 238, 0.3);
}

/* Service Cards Zoom Animation */
.service-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(67, 97, 238, 0.3);
}

/* Portfolio Cards Zoom Animation */
.portfolio-card-zoom {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card-zoom:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Pricing Cards Zoom Animation */
.pricing-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

/* Enhanced zoom for popular pricing card */
.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 25px 50px rgba(124, 58, 237, 0.4);
}

/* Mobile optimizations for zoom animations */
@media (max-width: 768px) {
  .about-card:not(.expanded):hover,
  .why-card:not(.expanded):hover,
  .service-card:hover,
  .portfolio-card-zoom:hover,
  .pricing-card:hover {
    transform: translateY(-4px) scale(1.02);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-4px) scale(1.04);
  }
}

/* ===================== PROCESS ===================== */
#process { background: transparent; }
.process-container { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.process-line { position: absolute; top: 35px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, #4361ee, #7c3aed); z-index: 0; }
.process-step { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; position: relative; z-index: 1; transition: all 0.3s; }
.process-step:hover .process-circle { transform: scale(1.05); cursor: pointer; }
.process-circle { width: 70px; height: 70px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; transition: all 0.3s; cursor: pointer; }
.process-circle:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 15px 35px rgba(67, 97, 238, 0.4); }
.process-circle svg { width: 28px; height: 28px; color: #fff; }
.process-num { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; background: #fff; color: #4361ee; font-size: 11px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.process-step h4 { font-family: 'Syne', sans-serif; color: #fff; font-size: 15px; font-weight: 600; margin-top: 16px; margin-bottom: 6px; }
.process-step p { color: var(--text-secondary); font-size: 13px; max-width: 150px; }

/* Process Popup Modal */
.process-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.process-popup.active {
  opacity: 1;
  visibility: visible;
}

.process-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.process-popup-content {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.98), rgba(30, 41, 59, 0.98));
  border: 2px solid rgba(67, 97, 238, 0.3);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.8) translateY(50px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar for process popup */
.process-popup-content::-webkit-scrollbar {
  width: 8px;
}

.process-popup-content::-webkit-scrollbar-track {
  background: rgba(67, 97, 238, 0.1);
  border-radius: 4px;
  margin: 1rem 0;
}

.process-popup-content::-webkit-scrollbar-thumb {
  background: rgba(67, 97, 238, 0.4);
  border-radius: 4px;
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.process-popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(67, 97, 238, 0.6);
}

.process-popup-content::-webkit-scrollbar-thumb:active {
  background: rgba(67, 97, 238, 0.8);
}

.process-popup.active .process-popup-content {
  transform: scale(1) translateY(0);
}

.process-popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.process-popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  border-color: rgba(67, 97, 238, 0.6);
}

.process-popup-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 70px 20px 30px;
  border-bottom: 1px solid rgba(67, 97, 238, 0.2);
}

.process-popup-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-popup-icon svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

.process-popup-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.process-popup-step-num {
  background: rgba(67, 97, 238, 0.2);
  border: 2px solid rgba(67, 97, 238, 0.4);
  color: #60a5fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.process-popup-body {
  padding: 30px;
}

.process-popup-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.process-popup-details h4 {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 25px;
}

.process-popup-details h4:first-child {
  margin-top: 0;
}

.process-popup-activities,
.process-popup-deliverables {
  list-style: none;
  margin-bottom: 20px;
}

.process-popup-activities li,
.process-popup-deliverables li {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
}

.process-popup-activities li::before,
.process-popup-deliverables li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

.process-popup-timeline {
  color: var(--text-accent);
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
}

/* Process Circle Animation on Click */
.process-circle.clicked {
  animation: processCirclePulse 0.6s ease-out;
}

@keyframes processCirclePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 20px rgba(67, 97, 238, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

/* Responsive Design for Process Popup */
@media (max-width: 768px) {
  .process-popup-content {
    width: 95%;
    max-height: 90vh;
  }
  
  .process-popup-header {
    padding: 20px 20px 15px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .process-popup-title {
    font-size: 24px;
  }
  
  .process-popup-body {
    padding: 20px;
  }
  
  .process-popup-description {
    font-size: 15px;
  }
  
  .process-popup-details h4 {
    font-size: 16px;
  }
  
  .process-popup-activities li,
  .process-popup-deliverables li {
    font-size: 13px;
  }
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

/* ===================== CONTACT ===================== */
#contact { background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: 45% 55%; gap: 48px; align-items: flex-start; }
.contact-info-title { color: #fff; font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-info-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; }
.contact-card-icon { width: 40px; height: 40px; background: rgba(67, 98, 238, 0.993); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.contact-card .label { color: #fff; font-size: 14px; font-weight: 600; margin-top: 10px; margin-bottom: 2px; }
.contact-card .value { color: var(--text-secondary); font-size: 13px; }
.office-hours { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 20px; margin-top: 16px; }
.office-hours h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 36px; }
.contact-form-title { font-family: 'Syne', sans-serif; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; color: var(--text-secondary); font-size: 13px; margin-bottom: 6px; }
.form-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); color: #fff; border-radius: 8px; padding: 12px 16px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; transition: all 0.2s; }
.form-input::placeholder { color: rgba(148,163,184,0.5); }
.form-input:focus { border-color: var(--accent-blue); background: rgba(255,255,255,0.06); box-shadow: 0 0 0 3px rgba(67,97,238,0.15); }
textarea.form-input { height: 110px; resize: vertical; }
.form-submit { width: 100%; padding: 14px; font-size: 15px; font-weight: 600; color: #fff; background: var(--gradient-main); border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { opacity: 0.88; box-shadow: 0 6px 24px rgba(124,58,237,0.4); transform: translateY(-1px); }

/* ===================== FOOTER ===================== */
footer { background: var(--bg-primary); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand-name { font-family: 'DM Sans', sans-serif; color: #fff; font-size: 22px; font-weight: 700; }
.footer-brand-tagline { color: var(--text-accent); font-size: 13px; margin-bottom: 14px; }
.footer-brand-desc { color: var(--text-secondary); font-size: 13px; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.social-icon:hover { background: var(--gradient-main); border-color: transparent; transform: scale(1.1); color: #fff; }
.footer-col-title { color: #fff; font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--accent-blue); display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 13px; transition: all 0.2s; display: inline-block; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item { color: var(--text-secondary); font-size: 13px; line-height: 2; }
.footer-bottom { border-top: 1px solid var(--border-color); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom-left { color: var(--text-secondary); font-size: 13px; }
.footer-bottom-right { display: flex; gap: 20px; }
.footer-bottom-right a { color: var(--text-secondary); font-size: 13px; transition: color 0.2s; }
.footer-bottom-right a:hover { color: #fff; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services-grid, .portfolio-grid, .pricing-grid,
  .why-grid, .testimonials-grid { 
    grid-template-columns: repeat(2, 1fr); 
    align-items: stretch;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-container { flex-wrap: wrap; gap: 32px; }
  .process-line { display: none; }
  .process-step { flex: 0 0 calc(33.33% - 16px); }
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,15,30,0.98); backdrop-filter: blur(12px); z-index: 999; padding: 20px; border-bottom: 1px solid var(--border-color); flex-direction: column; gap: 16px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { display: block; color: var(--text-secondary); font-size: 16px; padding: 8px 0; border-bottom: 1px solid rgba(30,48,84,0.3); }
  .mobile-nav .nav-cta { display: block; text-align: center; background: var(--gradient-main); color: #fff; padding: 12px; border-radius: 8px; font-weight: 600; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero-heading { font-size: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .services-grid { 
    grid-template-columns: repeat(2, 1fr); 
    align-items: stretch;
  }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .why-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 calc(50% - 16px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-cards { grid-template-columns: 1fr; }
  .services-grid { 
    grid-template-columns: repeat(2, 1fr); 
    align-items: stretch;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns button { width: 100%; max-width: 280px; }
}

/* ===================== CARD HOVER EFFECTS ===================== */
.about-card, .service-card, .portfolio-card, .pricing-card, .custom-quote-card,
.why-card, .testimonial-card, .contact-card {
  position: relative;
}

.about-card::after, .service-card::after, .custom-quote-card::after, .portfolio-card::after,
.pricing-card::after, .why-card::after, .testimonial-card::after,
.contact-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1b42c2, #3e70db, #2c48e9, #4d19c5);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::after, .service-card:hover::after, .portfolio-card:hover::after,
.pricing-card:hover::after, .custom-quote-card::after, .why-card:hover::after, .testimonial-card:hover::after,
.contact-card:hover::after {
  opacity: 1;
}

/* ===================== AURORA BACKGROUND ===================== */
.aurora-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: auroraMove 14s ease-in-out infinite alternate;
}
.a1 {
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, #4361ee, transparent 70%);
  top: -100px; left: -100px;
  animation-duration: 10s;
}
.a2 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, #7c3aed, transparent 70%);
  top: 20%; right: -150px;
  animation-duration: 8s;
  animation-delay: -5s;
}
.a3 {
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, #60a5fa, transparent 70%);
  bottom: 10%; left: 20%;
  animation-duration: 8s;
  animation-delay: -10s;
}
@keyframes auroraMove {
  0%   { transform: translateX(0px) translateY(0px) scale(1); }
  33%  { transform: translateX(80px) translateY(-60px) scale(1.1); }
  66%  { transform: translateX(-60px) translateY(80px) scale(0.95); }
  100% { transform: translateX(40px) translateY(-40px) scale(1.05); }
}
/* Video Background Styling */
#bg-video {
  position: fixed;      /* Fix position on screen */
  top: 0;
  left: 0;
  width: 100%;          /* Full width */
  height: 100%;         /* Full height */
  object-fit: cover;    /* Cover the screen without stretching */
  z-index: -1;          /* Behind all other content */
  opacity: 0.5;         /* 50% transparency */
  pointer-events: none; /* Allow clicks to pass through */
}
/* ========================================
   CUSTOM QUOTE CARD & MODAL STYLES
   ======================================== */

.custom-quote-card .pricing-price {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* First horizontal line ABOVE the text (dark green line 1) */
.custom-quote-card .pricing-price::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, var(--accent-purple) 80%, transparent 100%);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* Second horizontal line BELOW the text (dark green line 2) */
.custom-quote-card .pricing-price::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, var(--accent-purple) 80%, transparent 100%);
  margin-top: 16px;
  border-radius: 2px;
}

.custom-quote-card .pricing-price .amount,
.custom-quote-card .pricing-price .period {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
  text-align: left;
}

.custom-quote-card .pricing-divider {
  display: none !important;
}

.custom-quote-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  flex-grow: 1;
  order: 3;
  margin-top: 24px;
}

.custom-quote-card .pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  order: 2;
}

/* Text at top (red bracket area) */
.custom-quote-card::before {
  content: 'Not sure which package fits you? Create a personalized solution for you by just clicking the Get Custom Quote button below!.';
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  order: 1;
  margin-bottom: 20px;
}

/* Remove the duplicate at bottom */
.custom-quote-card::after {
  content: none;
}

/* Quote Modal Overlay */
.quote-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.3s ease;
}

.quote-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Modal Content Box */
.quote-modal-content {
  background: linear-gradient(135deg, var(--bg-card), rgba(15, 26, 48, 0.95));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 0;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(67, 97, 238, 0.2);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modal Header */
.quote-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 24px 24px 0 0;
}

.whatsapp-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.quote-modal-title-section {
  flex: 1;
}

.quote-modal-title {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.quote-modal-subtitle {
  color: var(--accent-blue);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.quote-modal-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* Close Button */
.quote-modal-close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.quote-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Custom Quote Form */
.custom-quote-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-form-group {
  display: flex;
  flex-direction: column;
}

.quote-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-label svg {
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Budget Selection Buttons */
.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.budget-btn {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.budget-btn:hover {
  background: rgba(67, 97, 238, 0.1);
  border-color: var(--accent-blue);
  color: #fff;
}

.budget-btn.selected {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* Contact Info Row */
.contact-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.option-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.option-checkbox:hover {
  background: rgba(67, 97, 238, 0.08);
  border-color: rgba(67, 97, 238, 0.3);
  transform: translateY(-1px);
}

.option-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.option-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-checkbox input[type="checkbox"]:checked ~ .option-box {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.option-checkbox input[type="checkbox"]:checked ~ .option-box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.option-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.option-checkbox:hover .option-text {
  color: #fff;
}

.option-checkbox input[type="checkbox"]:checked ~ .option-text {
  color: #fff;
  font-weight: 600;
}

/* Submit Button Enhancement */
.quote-form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
}

.submit-note {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.quote-form-row {
  display: flex;
  gap: 10px;
}

/* Form Inputs */
.quote-form-input,
.quote-form-select,
.quote-form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: all 0.2s;
}

.quote-form-input::placeholder,
.quote-form-textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.quote-form-input:focus,
.quote-form-select:focus,
.quote-form-textarea:focus {
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.quote-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Fix dropdown option text colors */
.quote-form-select option {
  background: #1a1f2e;
  color: #e2e8f0;
  padding: 10px;
}

.quote-form-select option:hover {
  background: #2d3748;
  color: #fff;
}

.quote-form-select option:checked {
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
}

.quote-form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

/* Checkbox Group */
.quote-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.quote-checkbox:hover {
  color: #fff;
}

.quote-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-blue);
}

/* Submit Button */
.quote-form-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.quote-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.quote-form-submit:active {
  transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .quote-modal.active {
    padding: 10px;
  }

  .quote-modal-content {
    max-width: 100%;
    border-radius: 20px;
  }

  .quote-modal-header {
    padding: 24px 20px 20px;
    gap: 12px;
  }

  .whatsapp-icon {
    width: 48px;
    height: 48px;
  }

  .quote-modal-title {
    font-size: 20px;
  }

  .quote-modal-subtitle {
    font-size: 14px;
  }

  .quote-modal-description {
    font-size: 12px;
  }

  .custom-quote-form {
    padding: 24px 20px;
    gap: 20px;
  }

  .budget-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-info-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .budget-btn {
    padding: 14px 16px;
    font-size: 14px;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .option-checkbox {
    padding: 14px 16px;
  }

  .option-text {
    font-size: 14px;
  }

  .quote-form-submit {
    padding: 16px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .quote-modal.active {
    padding: 8px;
  }

  .quote-modal-content {
    border-radius: 16px;
  }

  .quote-modal-header {
    padding: 20px 16px 16px;
  }

  .whatsapp-icon {
    width: 44px;
    height: 44px;
  }

  .quote-modal-title {
    font-size: 18px;
  }

  .quote-modal-subtitle {
    font-size: 13px;
  }

  .quote-modal-description {
    font-size: 11px;
  }

  .custom-quote-form {
    padding: 20px 16px;
    gap: 18px;
  }

  .quote-modal-close {
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .budget-btn {
    padding: 12px 14px;
    font-size: 13px;
  }

  .quote-form-submit {
    padding: 14px;
    font-size: 14px;
  }
}
/* ========================================
   CUSTOM QUOTE CARD STYLING
   ======================================== */

/* Make all pricing cards equal width */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Quote Card Styling */
.custom-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 500px;
}

.custom-quote-card h4 {
  margin-bottom: 16px;
}

.custom-quote-card .pricing-price {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
  position: relative;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* First horizontal line ABOVE the text */
.custom-quote-card .pricing-price::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, var(--accent-purple) 80%, transparent 100%);
  margin-bottom: 16px;
  border-radius: 2px;
}

/* Second horizontal line BELOW the text */
.custom-quote-card .pricing-price::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, var(--accent-purple) 80%, transparent 100%);
  margin-top: 16px;
  border-radius: 2px;
}

.custom-quote-card .pricing-price .amount,
.custom-quote-card .pricing-price .period {
  font-family: 'Syne', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
  text-align: left;
}

/* Hide the divider */
.custom-quote-card .pricing-divider {
  display: none !important;
}

/* First text paragraph in the middle */
.custom-quote-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  text-align: center;
  flex-grow: 0;
}

/* Second duplicate text paragraph (stacked after the first) */
.custom-quote-desc + .custom-quote-desc {
  margin-top: 0;
  margin-bottom: 32px;
}

/* Button at bottom with space above */
.custom-quote-card .pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
}
/* ========================================
   WHATSAPP FLOATING CHAT BUTTON CSS
   ======================================== */

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.whatsapp-float .whatsapp-text {
  position: absolute;
  right: 70px;
  background: #fff;
  color: #128C7E;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  font-family: 'DM Sans', sans-serif;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover svg {
  transform: rotate(15deg);
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: whatsapp-pulse 2s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-float .whatsapp-text {
    display: none;
  }
}
/* ========================================
   PRIVACY POLICY & TERMS OF SERVICE MODAL CSS
   ======================================== */

/* Policy Modal Overlay */
.policy-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}

.policy-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
}

/* Modal Content Box */
.policy-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 100%;
  position: relative;
  animation: slideUp 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  margin: auto;
}

/* Close Button */
.policy-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: 300;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
}

.policy-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* Modal Title */
.policy-modal-title {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-right: 40px;
}

/* Modal Body */
.policy-modal-body {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom Scrollbar for Modal Body */
.policy-modal-body::-webkit-scrollbar {
  width: 6px;
}

.policy-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.policy-modal-body::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 10px;
}

.policy-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* Headings in Modal */
.policy-modal-body h3 {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.policy-modal-body h3:first-child {
  margin-top: 0;
}

/* Paragraphs */
.policy-modal-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Lists */
.policy-modal-body ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.policy-modal-body ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Last Updated Text */
.policy-last-updated {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-style: italic;
  font-size: 13px;
}

/* Footer Links Styling */
.footer-bottom-right a {
  cursor: pointer;
  transition: all 0.2s;
}

.footer-bottom-right a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .policy-modal-content {
    padding: 32px 24px;
    margin: 20px 0;
  }

  .policy-modal-title {
    font-size: 24px;
  }

  .policy-modal-body {
    font-size: 13px;
    max-height: 500px;
  }

  .policy-modal-body h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .policy-modal.active {
    padding: 20px 15px;
  }

  .policy-modal-content {
    padding: 28px 20px;
  }

  .policy-modal-close {
    right: 15px;
    top: 15px;
    width: 36px;
    height: 36px;
    font-size: 28px;
  }

  .policy-modal-title {
    font-size: 22px;
    padding-right: 30px;
  }

  .policy-modal-body {
    max-height: 400px;
  }
}
/* Temporarily hide Twitter, LinkedIn, YouTube, and Fiverr icons */
.social-icon[title="Twitter"],
.social-icon[title="LinkedIn"],
.social-icon[title="YouTube"],
.social-icon[title="Fiverr"] {
  display: none !important;
}
/* Make contact cards look clickable and add smooth transitions */
.contact-card {
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(67, 97, 238, 0.25);
  border-color: var(--accent-blue);
}

.contact-card:hover .contact-card-icon {
  background: var(--white);
}

.contact-card:hover .label {
  color: var(--white);
}

/* Smooth icon transition */
.contact-card-icon {
  transition: all 0.3s ease;
}

/* Smooth label transition */
.contact-card .label {
  transition: all 0.3s ease;
}

/* ========================================
   PORTFOLIO CUSTOM IMAGES
   ======================================== */

/* Portfolio Image Container */
.portfolio-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: 12px 12px 0 0;
}

/* Portfolio Image Photo Styling */
.portfolio-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

/* Hover Effect - Zoom In */
.portfolio-card:hover .portfolio-img-photo {
  transform: scale(1.08);
}

/* Hide the old emoji/gradient backgrounds */
.portfolio-img-inner {
  display: none !important;
}

/* Optional: Add subtle gradient overlay on images */
.portfolio-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-img::after {
  opacity: 0.7;
}

/* Ensure smooth transitions */
.portfolio-img {
  transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .portfolio-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .portfolio-img {
    height: 180px;
  }
}

/* ========================================
   MOBILE VIEW FIXES
   ======================================== */

/* ========================================
   FIX 1: HAMBURGER MENU - ALWAYS VISIBLE
   ======================================== */

/* Make hamburger menu always visible and properly positioned on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 1001;
    margin-left: auto; /* Push to the right */
  }
  
  /* Ensure hamburger doesn't get hidden */
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  /* Hide desktop nav links on mobile */
  .nav-links {
    display: none !important;
  }
  
  /* Hide desktop CTA button on mobile */
  nav .nav-cta {
    display: none !important;
  }
}


/* ========================================
   FIX 2: ABOUT SECTION - AUTO-ADJUSTABLE
   ======================================== */

/* Reset the negative margin that's breaking the layout */
.about-grid {
  margin-left: 0 !important; /* Remove the -220px negative margin */
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Make about cards container responsive */
.about-cards {
  width: 100% !important; /* Remove the 138% width */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tablet view - show side by side */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
  }
  
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop view - restore two column layout */
@media (min-width: 1025px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
  }
  
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile view - stack cards vertically */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small mobile - single column cards */
@media (max-width: 480px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   ADDITIONAL MOBILE IMPROVEMENTS
   ======================================== */

/* Ensure all sections are contained properly */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  section {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  
  /* Fix any sections that might overflow */
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* ========================================
   FIX: NAVBAR AND HERO OVERLAP ON MOBILE
   ======================================== */

/* Add padding to hero section to account for fixed navbar */
#hero {
  padding-top: 80px !important; /* Space for navbar */
}

/* Ensure hero content stays below navbar on all mobile sizes */
@media (max-width: 768px) {
  #hero {
    padding-top: 100px !important; /* Extra space for mobile navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* For very small devices like iPhone SE */
@media (max-width: 375px) {
  #hero {
    padding-top: 90px !important;
  }
  
  /* Adjust hero heading size for small screens */
  .hero-heading {
    font-size: 1.75rem !important;
  }
  
  /* Adjust badge size */
  .hero-badge {
    font-size: 11px !important;
    padding: 5px 12px !important;
  }
}

/* Make sure navbar stays on top */
nav {
  position: fixed !important;
  top: 0 !important;
  z-index: 1000 !important;
}
/* ========================================
   FIX 1: REMOVE THE RED OUTLINED BOX/IMAGE
   ======================================== */

/* Add this CSS to hide the hero image box */
.hero-img-wrap {
  display: none !important;
}


/* ========================================
   FIX 2: CENTER THE HERO TEXT VERTICALLY
   ======================================== */

/* Update the hero section to center content vertically */
#hero {
  background: transparent;
  background-image: var(--gradient-hero);
  padding-top: 0; /* Remove top padding */
  padding-bottom: 0; /* Remove bottom padding */
  text-align: center;
  min-height: 100vh; /* Full viewport height */
  display: flex; /* Enable flexbox */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}

/* ========================================
   NEW PRICING COMPARISON TABLE STYLE
   ======================================== */

/* Pricing Header Section */
.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.pricing-header p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Toggle Switch (Monthly/Yearly) */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
}

.pricing-toggle span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.pricing-toggle span.active {
  color: #fff;
}

.toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--gradient-main);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
  transform: translateX(28px);
}

/* Pricing Table Container */
.pricing-comparison-table {
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 80px;
}

/* Pricing Tiers Header */
.pricing-tiers {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
}



.tier-column {
  text-align: center;
  padding: 0 16px;
}

.tier-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.tier-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  line-height: 1;
}

.tier-price .currency {
  font-size: 1rem;
  vertical-align: top;
}

.tier-period {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Feature Rows */
.feature-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(30, 48, 84, 0.3);
  transition: background 0.2s;
  align-items: center;
}

.feature-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-name {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-value {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 0 16px;
}

/* Checkmark Icon */
.feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(67, 97, 238, 0.15);
  border: 1px solid rgba(67, 97, 238, 0.3);
  border-radius: 50%;
  color: var(--accent-blue);
  font-size: 12px;
}

.feature-check svg {
  width: 14px;
  height: 14px;
}

/* CTA Buttons Row */
.pricing-cta-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.02);
}



.cta-button-wrapper {
  text-align: center;
  padding: 0 16px;
}

.pricing-cta-btn {
  width: 100%;
  padding: 12px 24px;
  background: #fff;
  color: #072864;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'DM Sans', sans-serif;
}

.pricing-cta-btn:hover {
  background: var(--gradient-main);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .pricing-tiers,
  .feature-row,
  .pricing-cta-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  
  .tier-price {
    font-size: 2rem;
  }
  
  .feature-name {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  /* Stack pricing tiers vertically on mobile */
  .pricing-comparison-table {
    overflow-x: auto;
  }
  
  .pricing-tiers,
  .feature-row,
  .pricing-cta-row {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .pricing-tiers,
  .feature-row,
  .pricing-cta-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    padding: 20px 12px;
  }
  
  .tier-column,
  .feature-value,
  .cta-button-wrapper {
    padding: 0 8px;
  }
  
  .tier-price {
    font-size: 1.5rem;
  }
  
  .feature-name {
    font-size: 12px;
  }
  
  .pricing-cta-btn {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* Make sure container doesn't interfere with centering */
#hero .container {
  width: 100%;
}

/* ========================================
   NAVBAR DROPDOWN MENUS
   ======================================== */

/* Dropdown Container */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Arrow Icon - Desktop only */
@media (min-width: 769px) {
  .nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
  }

  .nav-dropdown:hover > a::after {
    transform: rotate(180deg);
  }
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 26, 48, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  min-width: 220px;
  padding: 12px 0;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

/* Show dropdown on hover - Desktop only */
@media (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

/* Dropdown Items */
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(67, 97, 238, 0.1);
  color: #fff;
  padding-left: 24px;
}

/* Dropdown Icons */
.dropdown-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.dropdown-icon svg {
  width: 16px;
  height: 16px;
}

/* Dropdown Divider */
.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
  /* Hide desktop dropdowns on mobile */
  .nav-links .nav-dropdown {
    display: none;
  }
  
  /* Mobile dropdown in mobile nav */
  .mobile-nav .nav-dropdown {
    display: block;
    position: relative;
  }
  
  .mobile-nav .nav-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
  }
  
  .mobile-nav .nav-dropdown > a:hover {
    color: var(--accent-blue);
  }
  
  .mobile-nav .dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--accent-blue);
  }
  
  .mobile-nav .nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .mobile-nav .dropdown-menu {
    position: static;
    transform: none;
    margin-top: 0;
    margin-left: 16px;
    border: none;
    border-left: 2px solid transparent;
    background: transparent;
    padding: 8px 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, border-left-color 0.3s ease;
  }
  
  .mobile-nav .nav-dropdown.open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    border-left-color: var(--accent-blue);
  }
  
  .mobile-nav .dropdown-menu a {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .mobile-nav .dropdown-menu a:hover {
    padding-left: 20px;
  }
}

/* ===================== NEW CONTACT SECTION STYLES ===================== */
.contact-new-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

/* Contact Information Section */
.contact-info-section {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.95), rgba(30, 41, 59, 0.95));
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-info-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* New Contact Cards */
.contact-cards-new {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.contact-card-new {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.contact-card-new:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.contact-card-icon-new {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4361ee, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-card-content {
  flex: 1;
}

.contact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

/* Office Hours */
.office-hours-new {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.office-hours-new h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.hours-row-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-row-new:last-child {
  border-bottom: none;
}

.hours-row-new span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.hours-row-new span:last-child {
  color: #60a5fa;
  font-weight: 500;
}

/* Connect With Us Section */
.connect-section {
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.95), rgba(30, 41, 59, 0.95));
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.connect-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.connect-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Social Cards */
.social-cards {
  display: grid;
  gap: 1rem;
  flex: 1;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.social-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.social-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-content {
  flex: 1;
}

.social-content h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.social-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.social-arrow {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.social-card:hover .social-arrow {
  color: #60a5fa;
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-new-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-new-grid {
    gap: 1.5rem;
  }
  
  .contact-info-section,
  .connect-section {
    padding: 1.5rem;
  }
  
  .contact-info-title,
  .connect-title {
    font-size: 1.5rem;
  }
  
  .contact-card-new,
  .social-card {
    padding: 1rem;
  }
  
  .contact-card-icon-new,
  .social-icon-wrapper {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .contact-info-section,
  .connect-section {
    padding: 1rem;
  }
  
  .contact-card-new,
  .social-card {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .contact-card-content,
  .social-content {
    text-align: center;
  }
}

/* ===================== GET IN TOUCH ANIMATIONS - INTEGRATED WITH MAIN SYSTEM ===================== */

/* Section Title Animations - Scroll triggered */
#contact .section-title-wrap h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

#contact .section-title-wrap h2.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

#contact .section-underline {
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.6s ease-out;
  transform-origin: center;
}

#contact .section-underline.animate-on-scroll {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.1s;
}

#contact .section-subtitle {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

#contact .section-subtitle.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Contact Information Section Animation - Scroll triggered */
.contact-info-section {
  opacity: 0;
  transform: translateX(-80px) translateY(20px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-info-section.animate-on-scroll {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.contact-info-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.contact-info-title.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.contact-info-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.contact-info-desc.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Contact Cards Animation - Scroll triggered */
.contact-card-new {
  opacity: 0;
  transform: translateY(40px) scale(0.95) rotateZ(-2deg);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.contact-card-new.animate-on-scroll {
  opacity: 1;
  transform: translateY(0) scale(1) rotateZ(0deg);
}

.contact-card-new:nth-child(1).animate-on-scroll { transition-delay: 0.1s; }
.contact-card-new:nth-child(2).animate-on-scroll { transition-delay: 0.2s; }
.contact-card-new:nth-child(3).animate-on-scroll { transition-delay: 0.3s; }
.contact-card-new:nth-child(4).animate-on-scroll { transition-delay: 0.4s; }

/* Connect Section Animation - Using about cards pattern */
.connect-section {
  opacity: 0;
  transform: translateX(80px) translateY(20px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connect-section.animate-on-scroll {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.connect-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.connect-title.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.connect-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.connect-desc.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Social Cards Animation - Scroll triggered */
.social-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95) rotateZ(-2deg);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.social-card.animate-on-scroll {
  opacity: 1;
  transform: translateY(0) scale(1) rotateZ(0deg);
}

.social-card:nth-child(1).animate-on-scroll { transition-delay: 0.1s; }
.social-card:nth-child(2).animate-on-scroll { transition-delay: 0.2s; }
.social-card:nth-child(3).animate-on-scroll { transition-delay: 0.3s; }
.social-card:nth-child(4).animate-on-scroll { transition-delay: 0.4s; }

/* Enhanced Hover Animations - Integrated with Main Website System */
.contact-card-new {
  position: relative;
  overflow: hidden;
}

.contact-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.contact-card-new:hover::before {
  left: 100%;
}

.contact-card-new:hover {
  transform: translateY(-15px) scale(1.08) rotateY(5deg);
  box-shadow: 0 30px 70px rgba(67, 97, 238, 0.4), 0 0 0 2px rgba(67, 97, 238, 0.3);
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.98), rgba(30, 41, 59, 0.98));
  border-color: rgba(67, 97, 238, 0.8);
}

.contact-card-new:hover .contact-card-icon-new {
  transform: scale(1.2) rotate(10deg) translateY(-3px);
  filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.4));
}

.contact-card-new:hover .contact-label {
  color: #60a5fa;
  transform: translateX(5px);
}

.contact-card-new:hover .contact-value {
  color: #ffffff;
  transform: translateX(3px);
}

/* Social Cards Enhanced Hover Effects */
.social-card {
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.1), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.social-card:hover::before {
  left: 100%;
}

.social-card:hover {
  transform: translateY(-15px) scale(1.08) rotateY(5deg);
  box-shadow: 0 30px 70px rgba(67, 97, 238, 0.4), 0 0 0 2px rgba(67, 97, 238, 0.3);
  background: linear-gradient(135deg, rgba(15, 26, 48, 0.98), rgba(30, 41, 59, 0.98));
  border-color: rgba(67, 97, 238, 0.8);
}

.social-card:hover .social-icon-wrapper {
  transform: scale(1.2) rotate(10deg) translateY(-3px);
  filter: drop-shadow(0 5px 15px rgba(67, 97, 238, 0.4));
}

.social-card:hover .social-content h4 {
  color: #60a5fa;
  transform: translateX(5px);
}

.social-card:hover .social-content h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4361ee, #60a5fa);
  transition: width 0.3s ease;
}

.social-card:hover .social-content h4::after {
  width: 100%;
}

.social-card:hover .social-content p {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
}

.social-card:hover .social-arrow {
  transform: translateX(8px);
  color: #60a5fa;
}

/* Scroll-triggered Animation Integration */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Apply scroll animations to Get in Touch elements */
#contact .section-title-wrap,
#contact .contact-info-section,
#contact .connect-section,
.contact-card-new,
.social-card {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .section-title-wrap.animated,
#contact .contact-info-section.animated,
#contact .connect-section.animated,
.contact-card-new.animated,
.social-card.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Icon Animation */
.contact-card-icon-new,
.social-icon-wrapper {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Animation */
.contact-label,
.contact-value,
.social-content h4,
.social-content p {
  transition: all 0.3s ease;
}

/* Arrow Animation */
.social-arrow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Additional Keyframes for Integrated Animation System */
@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineReveal {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes aboutTextReveal {
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes contactCardReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotateZ(-2deg);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-5px) scale(1.02) rotateZ(1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0deg);
  }
}

@keyframes socialCardReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95) rotateZ(-2deg);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-5px) scale(1.02) rotateZ(1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateZ(0deg);
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* ===================== WHATSAPP CONFIRMATION MODAL ===================== */
.whatsapp-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: modalFadeIn 0.3s ease-out;
}

.whatsapp-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.whatsapp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border-color);
}

.whatsapp-modal-header h3 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.whatsapp-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.whatsapp-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.whatsapp-modal-body {
  padding: 24px;
}

.selected-package-info {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.selected-package-info h4 {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.selected-package-info p {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.selected-package-features {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.selected-package-features ul {
  margin: 0;
  padding-left: 20px;
}

.selected-package-features li {
  margin-bottom: 4px;
}

.whatsapp-redirect-text {
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  margin: 0;
}

.whatsapp-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-color);
}

.whatsapp-btn-cancel,
.whatsapp-btn-confirm {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  border: none;
}

.whatsapp-btn-cancel {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.whatsapp-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.whatsapp-btn-confirm {
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-btn-confirm:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}


@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive design for modal */
@media (max-width: 600px) {
  .whatsapp-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .whatsapp-modal-header {
    padding: 20px 20px 16px;
  }
  
  .whatsapp-modal-body {
    padding: 20px;
  }
  
  .whatsapp-modal-footer {
    padding: 16px 20px 20px;
    flex-direction: column;
  }
  
  .whatsapp-btn-cancel,
  .whatsapp-btn-confirm {
    width: 100%;
  }
}