/* shivayur.co Custom Design System */

:root {
  /* Colors */
  --bg-primary: #07080d;
  --bg-secondary: #0d0f17;
  --bg-tertiary: #141724;
  --bg-card: rgba(20, 23, 36, 0.6);
  --bg-glass: rgba(13, 15, 23, 0.7);
  
  --primary: #4facfe;
  --primary-glow: rgba(79, 172, 254, 0.4);
  --secondary: #00f2fe;
  --secondary-glow: rgba(0, 242, 254, 0.4);
  --accent: #b927fc;
  
  --text-primary: #ffffff;
  --text-secondary: #a1a5b7;
  --text-muted: #565874;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(79, 172, 254, 0.2);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-cosmic: linear-gradient(135deg, #b927fc 0%, #2c52ff 100%);
  --gradient-card-active: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(185, 39, 252, 0.15) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--primary-glow);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Background Mesh & Glow Blobs */
.mesh-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.mesh-background::before,
.mesh-background::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
  animation: drift 25s infinite alternate ease-in-out;
}

.mesh-background::before {
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -10%;
  left: -10%;
}

.mesh-background::after {
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -10s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10%, 15%) scale(1.2);
  }
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.hidden { display: none !important; }
.text-sm { font-size: 0.875rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 242, 254, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.5), 0 0 10px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.main-header.scrolled {
  padding: 12px 0;
  background-color: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.logo-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.25);
  transform: translateY(-1px);
}

.logo-svg {
  width: 26px;
  height: 26px;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 0 4px rgba(79, 172, 254, 0.2));
}

.logo-box:hover .logo-svg {
  transform: rotate(10deg) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.6));
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.logo-text .accent-i {
  color: var(--secondary);
  position: relative;
  text-shadow: 0 0 10px var(--secondary-glow);
}

.logo-text .accent-a {
  color: var(--primary);
  position: relative;
  text-shadow: 0 0 10px var(--primary-glow);
}

.footer-logo-box {
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
  margin-bottom: 16px;
}

.footer-logo-box:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-cta-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: saturate(1.2);
}

.hero-bg-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 20%, var(--bg-primary) 80%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-card-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: float-card 6s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-floating {
  position: relative;
  width: 300px;
  height: 300px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 20px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(79, 172, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
  transform-style: preserve-3d;
}

.hero-card-floating:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 45px rgba(79, 172, 254, 0.3);
}

.hero-card-floating::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, var(--primary), transparent, transparent);
  animation: rotate-border 8s infinite linear;
  z-index: 1;
}

.floating-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
}

.hero-svg-logo {
  width: 140px;
  height: 140px;
  color: var(--text-primary);
  filter: drop-shadow(0 0 15px rgba(79, 172, 254, 0.4));
  transition: transform 0.5s ease;
  transform: translateZ(30px);
}

.hero-card-floating:hover .hero-svg-logo {
  transform: translateZ(40px) scale(1.05) rotate(3deg);
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.6));
}

@keyframes float-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(5%, -5%); opacity: 0.9; }
}

@keyframes float-card {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes rotate-border {
  100% { transform: rotate(360deg); }
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(13, 15, 23, 0.4);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-card-active);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 28px;
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.learn-more {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

/* Hover States for Services */
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 20px var(--border-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px var(--primary-glow);
}

.service-card:hover .learn-more {
  color: var(--secondary);
  gap: 12px;
}

/* Service Drawer details (Modal slider) */
.service-drawer {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100vh;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-drawer-btn:hover {
  color: var(--text-primary);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0;
}

.drawer-image-box {
  width: 100%;
  height: 250px;
  background-color: var(--bg-primary);
  overflow: hidden;
  position: relative;
}

.drawer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.drawer-body:hover .drawer-img {
  transform: scale(1.05);
}

.drawer-content {
  padding: 40px 30px;
}

.drawer-subhead {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.drawer-subhead:first-of-type {
  margin-top: 0;
}

.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.drawer-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.85rem;
}

.drawer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.drawer-cta-box {
  margin-top: 40px;
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.portfolio-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-img-box {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #000;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.85;
}

.portfolio-info {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

.portfolio-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.portfolio-project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text-primary);
}

/* Portfolio Hover states */
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
  opacity: 1;
}

/* Project Planner Section */
.planner-section {
  padding: 100px 0;
}

.planner-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.planner-info {
  position: sticky;
  top: 120px;
}

.planner-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.planner-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.planner-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-md);
}

.visual-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.estimator-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.estimator-row strong {
  color: var(--text-primary);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  max-width: 60%;
}

.price-indicator {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.price-amount {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forms System */
.planner-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-pill.active {
  background: var(--gradient-primary);
  color: #000;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
}

.form-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  outline: none;
}

.form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.1s ease;
}

.form-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.error-msg {
  color: #ff3838;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-input.invalid {
  border-color: #ff3838;
}

.form-input.invalid + .error-msg {
  display: block;
}

.submit-btn {
  position: relative;
  overflow: hidden;
}

.btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 0.8s infinite linear;
}

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

/* Success Box states */
.form-success-box {
  text-align: center;
  padding: 20px 0;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
  animation: glow-pulse 2s infinite alternate;
}

@keyframes scale-up {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glow-pulse {
  0% { filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.3)); }
  100% { filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.7)); }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
}

.testimonial-slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slider {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.rating-stars {
  color: #ffb800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.testimonial-author {
  margin-top: 10px;
}

.author-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.author-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Footer Section */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 44px;
  object-fit: contain;
  margin-bottom: 20px;
  mix-blend-mode: screen;
  filter: brightness(1.2);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.social-links a:hover {
  background: var(--gradient-primary);
  color: #000;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 0 10px var(--primary-glow);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-sub-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.subscribe-form {
  width: 100%;
}

.subscribe-input-box {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  width: 100%;
  transition: all 0.3s ease;
}

.subscribe-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.2);
}

.sub-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 8px 12px;
  outline: none;
  font-size: 0.9rem;
}

.sub-btn {
  background: var(--gradient-primary);
  border: none;
  color: #000;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sub-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--primary-glow);
}

.subscribe-msg {
  display: none;
}

.subscribe-msg.success {
  display: block;
  color: var(--secondary);
}

.subscribe-msg.error {
  display: block;
  color: #ff3838;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* Mobile Navigation Overlay Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 8, 13, 0.7);
  backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Responsiveness Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-container {
    gap: 40px;
  }
  .hero-card-floating {
    width: 280px;
    height: 280px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    gap: 24px;
  }
  .planner-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .planner-info {
    position: relative;
    top: 0;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .btn-nav {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    z-index: 100;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    font-size: 1.1rem;
    width: 100%;
  }
  
  .nav-cta-mobile {
    display: block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
    background: var(--gradient-primary);
    color: #000;
    border-radius: 8px;
    padding: 12px !important;
    font-weight: 600;
  }
  
  .nav-cta-mobile::after {
    display: none;
  }
  
  /* Hamburger menu animation */
  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto 30px;
  }
  
  .hero-actions {
    justify-content: center;
    width: 100%;
  }
  
  .hero-visual {
    margin-top: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .service-drawer {
    width: 100%;
    right: -100%;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .planner-form-container {
    padding: 24px;
  }
  
  .price-amount {
    font-size: 1.4rem;
  }
}

/* Booking Modal Styles */
.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 480px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  z-index: 250;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(10px);
  z-index: 240;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.booking-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mock Calendar */
.mock-calendar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.mock-calendar-header {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 15px;
}

.mock-calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  font-size: 0.85rem;
}

.day-label {
  color: var(--text-secondary);
  opacity: 0.5;
  font-weight: 500;
}

.day-num {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-num.active-day {
  border: 1px solid rgba(79, 172, 254, 0.3);
}

.day-num.active-day:hover {
  background: rgba(79, 172, 254, 0.1);
}

.day-num.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slot-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  margin: 0 4px;
  transition: all 0.2s ease;
}

.slot-pill.active {
  background: var(--gradient-primary);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.4);
}
