@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* --primary-color: #6C3BFF;
  --secondary-color: #00F0FF;
  --accent-color: #FF00E5; */
  --primary-color: #ee3a57;
  --secondary-color: #ff6201;
  --accent-color: #e10083;
  --bg-color: #FAFAFA;
  --text-color: #0F172A;
  --text-muted: #64748B;
  --light-bg: #FFFFFF;
  --border-radius: 20px;
  --border-radius-lg: 32px;
  --soft-shadow: 0 20px 40px rgba(108, 59, 255, 0.08);
  
  /* Advanced Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

a {
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Utilities */
.section-padding {
  padding: 120px 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}
.bg-primary-custom {
  background-color: var(--primary-color) !important;
  color: white !important;
}

/* Modal & Inputs */
.custom-modal {
  border-radius: 20px;
  background: var(--bg-color);
  position: relative;
}
.custom-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  z-index: 0;
}
body.dark-theme .custom-modal::before {
  background: rgba(17, 17, 17, 0.8);
}
.custom-modal > * {
  position: relative;
  z-index: 1;
}
.custom-input {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(108, 59, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
body.dark-theme .custom-input {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.custom-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(108, 59, 255, 0.25);
  background-color: var(--bg-color);
}
body.dark-theme .custom-input:focus {
  color: #fff;
}

/* Social Icon Box */
/* Premium Social Icons */
.social-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(123, 97, 255, 0.08);
    border: 1px solid rgba(123, 97, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icon-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #8B5CF6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.social-icon-box i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.social-icon-box:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(123, 97, 255, 0.3);
}

.social-icon-box:hover::before {
    opacity: 1;
}

.social-icon-box:hover i {
    color: #ffffff;
}

body.dark-theme /* Premium Social Icons */
.social-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(123, 97, 255, 0.08);
    border: 1px solid rgba(123, 97, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-icon-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #8B5CF6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.social-icon-box i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.social-icon-box:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(123, 97, 255, 0.3);
}

.social-icon-box:hover::before {
    opacity: 1;
}

.social-icon-box:hover i {
    color: #ffffff;
}

.social-icon-box:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(108, 59, 255, 0.2);
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  padding: 16px 40px;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(255, 140, 87, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-primary-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(255, 121, 59, 0.4);
  color: white;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 15px 39px; /* adjusted slightly for 2px border */
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-custom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-outline-custom:hover::before {
  opacity: 1;
}

.btn-outline-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 101, 59, 0.25);
  color: white;
  border-color: transparent;
}

/* Advanced Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  z-index: -1;
}

.glass-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(108, 59, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Animated Gradient Meshes */
.gradient-mesh {
  position: absolute;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.25;
  border-radius: 50%;
  animation: meshFloat 15s infinite alternate ease-in-out;
}

.mesh-1 {
  background: var(--primary-color);
  width: 600px; height: 600px;
  top: -10%; right: -10%;
}

.mesh-2 {
  background: #ee4643;
  width: 500px; height: 500px;
  bottom: -20%; left: -10%;
  animation-delay: -5s;
}

.mesh-3 {
  background: var(--accent-color);
  width: 400px; height: 400px;
  top: 40%; left: 30%;
  animation-delay: -10s;
  opacity: 0.4;
}

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(15%, -15%) scale(1.2) rotate(20deg); }
  66% { transform: translate(-15%, 15%) scale(0.8) rotate(-15deg); }
  100% { transform: translate(-5%, -10%) scale(1.1) rotate(10deg); }
}

/* Navbar */
.navbar {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 25px 0;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.navbar.floating-nav {
  top: 20px;
  width: 96% !important;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 50px;
  padding: 15px 40px;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  transition: all 0.4s ease;
}

.navbar.floating-nav::before {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.floating-nav.scrolled {
  top: 10px;
  padding: 12px 40px;
  border: none;
}

.navbar.scrolled::before {
  background: rgba(255, 255, 255, 0.9);
}

.navbar.floating-nav.scrolled::before {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted) !important;
  margin: 0 10px;
  position: relative;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.floating-nav .nav-link {
  color: var(--text-muted) !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-color) !important;
}

.floating-nav .nav-link:hover, .floating-nav .nav-link.active {
  color: var(--text-color) !important;
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  bottom: -6px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-link:hover::before, .nav-link.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Premium Desktop Dropdown Styling */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 12px;
    min-width: 240px;
    animation: dropdownFade 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    transform-origin: top center;
    margin-top: 15px;
  }

  @keyframes dropdownFade {
    0% { opacity: 0; transform: scaleY(0.95) translateY(-10px); }
    100% { opacity: 1; transform: scaleY(1) translateY(0); }
  }

  .navbar .dropdown-item {
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .navbar .dropdown-item:last-child {
    margin-bottom: 0;
  }

  .navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
    background: rgba(108, 59, 255, 0.08);
    color: var(--primary-color);
    transform: translateX(5px);
  }

  .navbar .dropdown-item.active, .navbar .dropdown-item:active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    box-shadow: 0 5px 15px rgba(108, 59, 255, 0.3);
    transform: translateX(5px);
  }

  .navbar .dropdown-divider {
    border-top-color: rgba(0, 0, 0, 0.06);
    margin: 8px 0;
  }
}

/* Hero Section */
.hero {
  padding: 220px 0 140px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -0.04em;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-visual {
  position: relative;
  z-index: 10;
}

.hero-visual .glass-card {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover .glass-card {
  transform: translateY(-10px) rotate(0deg) !important;
  box-shadow: 0 40px 80px rgba(108, 59, 255, 0.2) !important;
}

/* Page Header (for inner pages) */
.page-header {
  padding: 200px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.page-header h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Bento Section Background Blobs */
.bento-section {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.08) 0%, rgba(0, 240, 255, 0.08) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

body.dark-theme .bento-section {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.08) 0%, rgba(0, 240, 255, 0.08) 100%);
}

.bento-section::before,
.bento-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.bento-section::before {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,59,255,0.15) 0%, transparent 70%);
}

.bento-section::after {
  bottom: 0%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,240,255,0.15) 0%, transparent 70%);
}

body.dark-theme .bento-section::before { background: radial-gradient(circle, rgba(108,59,255,0.3) 0%, transparent 70%); }
body.dark-theme .bento-section::after { background: radial-gradient(circle, rgba(0,240,255,0.3) 0%, transparent 70%); }

/* Bento Grid Layout - Premium Redesign */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.bento-item {
  grid-column: span 6;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 4rem 3rem;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.04),
    inset 0 0 0 1px rgba(255,255,255,0.5);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-item-large {
  grid-column: span 6;
}

.bento-item > * {
  position: relative;
  z-index: 1;
}

.bento-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(108,59,255,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.bento-item:hover::before {
  opacity: 1;
}

body.dark-theme .bento-item {
  background: linear-gradient(145deg, rgba(30,30,30,0.9), rgba(17,17,17,0.4));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

.bento-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(108, 59, 255, 0.15),
    inset 0 0 0 1px rgba(255,255,255,0.8);
  border-color: rgba(108, 59, 255, 0.4);
}

body.dark-theme .bento-item:hover {
  border-color: rgba(108, 59, 255, 0.5);
  box-shadow: 
    0 30px 60px rgba(108, 59, 255, 0.2),
    inset 0 0 0 1px rgba(255,255,255,0.1);
}

.bento-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(108,59,255,0.1);
  position: relative;
  z-index: 1;
}

body.dark-theme .bento-icon {
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bento-item:hover .bento-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 30px rgba(108, 59, 255, 0.3);
}

/* Tech Stack */
.tech-stack-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
}

body.dark-theme .tech-stack-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tech-stack-card i {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}

.tech-stack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 59, 255, 0.15);
  border-color: rgba(108, 59, 255, 0.3);
}

body.dark-theme .tech-stack-card:hover {
  border-color: rgba(108, 59, 255, 0.5);
}

.tech-stack-card:hover i {
  transform: scale(1.1);
}

/* Services */
.service-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.service-hero-image-wrap {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  position: relative;
}
.service-hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-hero-image-wrap:hover img {
  transform: scale(1.03);
}

.service-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.1), rgba(0, 240, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  color: var(--primary-color);
}

.glass-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(108, 59, 255, 0.3);
}

/* Service Detail Page */
.service-detail-img {
  border-radius: var(--border-radius-lg);
  width: 100%;
  box-shadow: var(--soft-shadow);
  margin-bottom: 40px;
}

/* Portfolio */
.portfolio-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  box-shadow: var(--soft-shadow);
}

.portfolio-img {
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: white;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay p {
  color: rgba(255,255,255,0.8);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn {
  transform: translateY(0);
}

.portfolio-overlay .btn {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, background-color 0.3s ease, color 0.3s ease;
}

/* Footer */
footer {
  background-color: #f8f9fa;
  color: #4b5563;
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
}

footer .mesh-1 {
  opacity: 0.1;
  top: auto; bottom: -50%; left: -20%;
}

footer h3, footer h5 {
  color: var(--text-color);
}

footer a {
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--primary-color);
  transform: translateX(3px);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  color: var(--text-color);
  margin-right: 12px;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 59, 255, 0.3);
}

/* Dark Theme Footer Overrides */
footer.footer-dark {
  background-color: #0f0f13;
  color: #a1a1aa;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer.footer-dark h3, 
footer.footer-dark h5 {
  color: #ffffff;
}

footer.footer-dark a {
  color: #a1a1aa;
}

footer.footer-dark a:hover {
  color: #c4b5fd; /* Soft purple on hover */
}

footer.footer-dark .text-muted {
  color: #a1a1aa !important;
}

footer.footer-dark .social-links a {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

footer.footer-dark .social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  box-shadow: 0 10px 25px rgba(108, 59, 255, 0.4);
}

.reach-us-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Responsive */
  @media (max-width: 991px) {
    .hero {
      padding: 160px 0 80px;
      text-align: left;
    }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content p { margin: 0 0 30px 0; }
    .page-header { padding: 150px 0 80px; }
    .page-header h1 { font-size: 3rem; }
  .service-hero {
    padding: 150px 0 80px;
    text-align: center;
  }
  .section-title { font-size: 2.5rem; }
  .bento-item, .bento-item-large { grid-column: span 12; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .bento-item { grid-column: span 6; }
  .bento-item-large { grid-column: span 12; }
}

/* Mobile Navbar Offcanvas Styling */
@media (max-width: 991.98px) {
  .navbar.floating-nav {
    width: 95% !important;
    top: 10px;
    border-radius: 20px;
    padding: 10px 15px;
  }
  .navbar.floating-nav::before {
    border-radius: 20px;
  }
  .offcanvas {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
  }
  .offcanvas-title {
    color: var(--text-color) !important;
  }
  .btn-close {
    filter: none;
  }
  .offcanvas-body {
    padding: 2.5rem 1.5rem;
  }
  .offcanvas-body .navbar-nav {
    align-items: stretch !important;
    width: 100%;
    gap: 8px;
  }
  .offcanvas-body .nav-link {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 14px 20px;
    color: var(--text-color) !important;
    border-radius: 12px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
  }
  .offcanvas-body .nav-link:hover, .offcanvas-body .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(108, 59, 255, 0.08);
    transform: translateX(5px);
  }
  .offcanvas-body .nav-link::before {
    display: none !important;
  }
  
  .offcanvas-body .dropdown-menu {
    border: none;
    background: transparent;
    padding: 10px 0 10px 15px;
    margin: 5px 0 15px 20px;
    box-shadow: none;
    border-left: 2px solid rgba(108, 59, 255, 0.2);
    border-radius: 0;
  }
  .offcanvas-body .dropdown-item {
    padding: 12px 15px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
  }
  .offcanvas-body .dropdown-item:hover, .offcanvas-body .dropdown-item.active {
    background: rgba(108, 59, 255, 0.08);
    color: var(--primary-color);
    transform: translateX(5px);
  }
  
  .offcanvas-body .btn-primary-custom {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    font-size: 1.1rem;
    display: block;
    text-align: center;
  }
}

/* Stat Cards */
.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 59, 255, 0.15) !important;
  border-color: rgba(108, 59, 255, 0.3) !important;
}

/* 3D Global CTA Animation */
.cta-3d-container {
  perspective: 1000px;
}
.cta-3d-wrapper {
  transform-style: preserve-3d;
  animation: float-3d 6s ease-in-out infinite;
}
@keyframes float-3d {
  0% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateY(-15px) rotateX(-2deg) rotateY(2deg); }
  100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
}

  /* Subheading Moving Underline Animation */
  h6.text-gradient {
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
  }
  h6.text-gradient::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: rgba(108, 59, 255, 0.15);
    border-radius: 2px;
  }
  h6.text-gradient::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5px;
    height: 3px;
    width: 30px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 1;
    animation: move-dash 2.5s ease-in-out infinite;
  }
  @keyframes move-dash {
    0% { left: 0; }
    50% { left: calc(100% - 30px); }
    100% { left: 0; }
  }

/* Soft Gradient Background */
.bg-soft-gradient {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.03) 0%, rgba(123, 97, 255, 0.08) 100%);
}

/* Premium Dark Mesh CTA */
.cta-premium-bg {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: 0;
}
.orb-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--primary-color);
}
.orb-2 {
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: var(--accent-color);
}
.btn-glow {
  box-shadow: 0 0 20px rgba(108, 59, 255, 0.4);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(108, 59, 255, 0.6);
  transform: translateY(-2px);
}

/* Premium Footer Styles */
.footer-link {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}
.footer-link::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: -15px;
  opacity: 0;
  color: var(--primary-color);
  transition: all 0.3s ease;
}
.footer-link:hover {
  color: var(--primary-color);
  transform: translateX(10px);
}
.footer-link:hover::before {
  opacity: 1;
}
.social-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 10px;
}
.social-orb:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 59, 255, 0.4);
  border-color: var(--primary-color);
}
.newsletter-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
}
.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(108, 59, 255, 0.2);
  color: #fff;
}
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  border: none;
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  background: white;
  border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 59, 255, 0.1) !important;
  border-color: rgba(108, 59, 255, 0.2);
}
.feature-icon-box {
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(108, 59, 255, 0.2) !important;
}

/* Testimonial Cards */
/* Force equal height for testimonial cards */
.testimonial-swiper .swiper-slide {
  height: auto !important;
}

.testimonial-card {
    height: 100%;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
  background: white;
  border-radius: 1.5rem;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 59, 255, 0.1) !important;
}
.testimonial-card::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  color: rgba(108, 59, 255, 0.04);
  z-index: 0;
  transition: all 0.3s ease;
}
.testimonial-card:hover::before {
  color: rgba(108, 59, 255, 0.08);
  transform: scale(1.1) rotate(5deg);
}
.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* Footer Particles and Styles */
.footer-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.footer-particles::before {
  content: '';
  position: absolute;
  width: 4px; height: 4px;
  background: transparent;
  box-shadow: 
    10vw 50px rgba(255,50,50,0.5), 30vw 150px rgba(255,140,0,0.3), 50vw 80px rgba(255,50,50,0.5), 70vw 250px rgba(255,140,0,0.3), 90vw 120px rgba(255,50,50,0.5),
    15vw 250px rgba(255,140,0,0.3), 45vw 350px rgba(255,50,50,0.5), 65vw 100px rgba(255,140,0,0.3), 85vw 300px rgba(255,50,50,0.5), 25vw 20px rgba(255,140,0,0.3);
  animation: floatUpParticles 15s linear infinite;
  border-radius: 50%;
}
.footer-particles::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: transparent;
  box-shadow: 
    5vw 180px rgba(255,140,0,0.2), 25vw 320px rgba(255,50,50,0.3), 40vw 90px rgba(255,140,0,0.2), 
    60vw 380px rgba(255,50,50,0.3), 80vw 220px rgba(255,140,0,0.2), 95vw 40px rgba(255,50,50,0.3);
  animation: floatUpParticles 20s linear infinite reverse;
  border-radius: 50%;
}
@keyframes floatUpParticles {
  0% { transform: translateY(100px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-400px); opacity: 0; }
}
.footer-top-padding {
  padding-top: 6rem !important;
}
.contact-icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.contact-icon-circle:hover {
  background: rgba(108, 59, 255, 0.2);
  transform: scale(1.1);
}

/* 3D Premium Cards */
.card-3d {
  background: #ffffff;
  border-radius: 24px;
  border: 2px solid rgba(255, 59, 59, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
}

.card-3d:hover {
  transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) scale(1.02) translateY(-8px);
  border: 2px solid rgba(255, 59, 59, 0.6);
  box-shadow: -15px 25px 40px rgba(108, 59, 255, 0.12);
}

.card-3d-link {
  color: var(--text-color);
  transition: all 0.4s ease;
  display: inline-block;
}

.card-3d:hover .card-3d-link {
  color: var(--primary-color) !important;
  transform: translateZ(15px);
}

.card-3d h4 {
  transition: transform 0.4s ease;
}
.card-3d:hover h4 {
  transform: translateZ(25px);
  color: var(--primary-color);
}

.card-3d p {
  transition: transform 0.4s ease;
}
.card-3d:hover p {
  transform: translateZ(15px);
}

.card-3d-icon-wrap {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: rgba(108, 59, 255, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.card-3d:hover .card-3d-icon-wrap {
  transform: translateZ(40px);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 12px 24px rgba(108, 59, 255, 0.25);
}

/* Scroll to Top Button */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(108, 59, 255, 0.3);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 25px rgba(108, 59, 255, 0.5);
  color: white;
}



/* Dark Feature Cards (Glassmorphism) */
.feature-card-dark {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card-dark::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: all 0.6s ease;
  transform: skewX(-20deg);
}

.feature-card-dark:hover::before {
  left: 150%;
}

.feature-card-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(108, 59, 255, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(108, 59, 255, 0.15);
}

.feature-icon-box-dark {
  background: rgba(255, 108, 108, 0.1);
  color: #ff6565;
  transition: all 0.4s ease;
}

.feature-card-dark:hover .feature-icon-box-dark {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(108, 59, 255, 0.3);
}


/* Footer specific H6 underline animation */
.dark-section h6.text-gradient::before, footer h6.text-gradient::before {
  background: #ffffff;
}
.dark-section h6.text-gradient::after, footer h6.text-gradient::after {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   About Page Premium Section Upgrades
   ========================================================================== */

/* Dark Section (Why Choose Us) */
.dark-section {
  background-color: #050505;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dark-section .glass-card {
  background: rgba(30, 30, 30, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dark-section .glass-card::before {
  display: none;
}

.dark-section .glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(108, 59, 255, 0.4);
  box-shadow: 0 20px 40px rgba(108, 59, 255, 0.15);
  background: rgba(40, 40, 40, 0.6);
}

.dark-section .text-muted {
  color: #a0a0a0 !important;
}

.dark-section .glass-card .bg-white {
  background: rgba(108, 59, 255, 0.1) !important;
  color: #bfaaff !important;
  border: 1px solid rgba(108, 59, 255, 0.2);
  transition: all 0.4s ease;
}

.dark-section .glass-card:hover .bg-white {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
  color: #ffffff !important;
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(108, 59, 255, 0.4);
}

/* Process Section (How We Work) */
.process-section {
  background: linear-gradient(180deg, rgba(108, 59, 255, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
  position: relative;
}

.process-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none !important;
  border-radius: 24px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 2.5rem !important;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 2;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(108, 59, 255, 0.08) !important;
}

.text-gradient-clip {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.15), rgba(0, 240, 255, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  font-size: 7rem !important;
  top: -10px !important;
  right: -10px !important;
  opacity: 1 !important;
  user-select: none;
  z-index: 0 !important;
  transition: all 0.4s ease;
}

.process-card:hover .text-gradient-clip {
  background: linear-gradient(135deg, rgba(108, 59, 255, 0.3), rgba(0, 240, 255, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.05);
}
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
  color: #ffffff !important;
}

.dark-section .text-primary-custom {
  color: #bfaaff !important;
}

.dark-section .glass-card:hover .text-primary-custom {
  color: #ffffff !important;
}

/* Service Page Desktop Image Size */
@media (min-width: 992px) {
  .service-hero-image-wrap img {
    height: 500px;
    object-fit: cover;
    width: 100%;
  }
}

/* Animated Background Blobs for Service Hero */
.service-hero-content {
  position: relative;
  z-index: 1;
}

.service-hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.9;
  animation: float-blob 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.service-hero .blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(74, 20, 200, 0.45) 0%, transparent 70%);
  animation-delay: 0s;
}

.service-hero .blob-3 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 100, 220, 0.4) 0%, transparent 70%);
  animation-delay: -3s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(15%, -10%) scale(1.15) rotate(15deg); }
  66% { transform: translate(-10%, 15%) scale(0.9) rotate(-10deg); }
  100% { transform: translate(-15%, -15%) scale(1.05) rotate(5deg); }
}

body.dark-theme .service-hero .blob-1 {
  background: radial-gradient(circle, rgba(74, 20, 200, 0.6) 0%, transparent 70%);
}
body.dark-theme .service-hero .blob-3 {
  background: radial-gradient(circle, rgba(0, 100, 220, 0.6) 0%, transparent 70%);
}

/* Single Hero Image Floating Animation */
.hero-single-image {
  animation: floatUpAndDown 6s ease-in-out infinite;
}

@keyframes floatUpAndDown {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(108, 59, 255, 0.1);
  border-radius: 50%;
  border-left-color: var(--primary-color);
  border-top-color: var(--accent-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* WhatsApp Floating Button */
#whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 999;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

#whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* About Us Stat Box */
.about-stat-box {
  bottom: -30px;
  right: -30px;
  max-width: 250px;
  z-index: 5;
}

@media (max-width: 991.98px) {
  .about-stat-box {
    bottom: -20px;
    right: 20px;
    max-width: 220px;
  }
}



/* Custom Select Dropdown UI */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}
.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 400;
}
.custom-select-trigger.custom-placeholder {
  color: #6c757d;
}
body.dark-theme .custom-select-trigger.custom-placeholder {
  color: rgba(255,255,255,0.6);
}
.custom-select-trigger::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s;
  margin-left: 10px;
}
.custom-select-wrapper.open .custom-select-trigger::after {
  transform: translateY(2px) rotate(-135deg);
}
.custom-options {
  position: absolute;
  display: block;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(108, 59, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
body.dark-theme .custom-options {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}
.custom-option {
  position: relative;
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-color, #212529);
}
body.dark-theme .custom-option {
  color: #ffffff;
}
.custom-option:hover, .custom-option.selected {
  background: rgba(108, 59, 255, 0.1);
  color: var(--primary-color);
}
body.dark-theme .custom-option:hover, body.dark-theme .custom-option.selected {
  background: rgba(108, 59, 255, 0.2);
  color: #fff;
}


/* Dropup modifier for custom select */
.custom-select-wrapper.dropup .custom-options {
  top: auto;
  bottom: calc(100% + 5px);
  transform: translateY(10px);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}
body.dark-theme .custom-select-wrapper.dropup .custom-options {
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.custom-select-wrapper.open.dropup .custom-options {
  transform: translateY(0);
}/* Premium Contact Info Cards */
.contact-info-card {
    background: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
    z-index: 1;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(238, 58, 87, 0.03), rgba(255, 98, 1, 0.03));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(238, 58, 87, 0.1);
}

.contact-info-card:hover::before,
.contact-info-card:hover::after {
    opacity: 1;
}

.contact-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(238, 58, 87, 0.1), rgba(255, 98, 1, 0.1));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px dashed rgba(238, 58, 87, 0.3);
    border-radius: 50%;
    animation: rotateDash 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes rotateDash {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-info-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(238, 58, 87, 0.3);
}

.contact-info-card:hover .contact-icon-wrapper::after {
    opacity: 1;
}

.contact-info-text h6 {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-text h6 {
    color: var(--primary-color);
}

.contact-info-text p, .contact-info-text ul, .contact-info-text li {
    transition: color 0.3s ease;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.contact-link:hover .contact-info-text p {
    color: var(--text-color) !important;
}
