/* BraBico App - Elite Contact Experience Design */
:root {
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.4);
  --secondary: #ec4899;
  --secondary-glow: rgba(236, 72, 153, 0.4);
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.4);
  --dark-bg: #050508;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Immersive Cyber Background --- */
.cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  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: 50px 50px;
  transform: perspective(1000px) rotateX(60deg);
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  from {
    transform: perspective(1000px) rotateX(60deg) translateY(0);
  }

  to {
    transform: perspective(1000px) rotateX(60deg) translateY(50px);
  }
}

/* --- Floating Tech Spheres --- */
.sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  animation: float-sphere 15s ease-in-out infinite alternate;
}

.sphere-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-glow);
  top: -100px;
  right: -100px;
}

.sphere-2 {
  width: 300px;
  height: 300px;
  background: var(--secondary-glow);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float-sphere {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, -40px) scale(1.1);
  }
}

/* --- Layout --- */
.contact-wrapper {
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}

/* --- Contact Info Panel (Left) --- */
.info-section {
  padding-right: 2rem;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--primary);
  border-radius: 100px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

h1.contact-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.contact-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.contact-title span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--primary-glow);
  z-index: -1;
  filter: blur(4px);
}

.contact-lead {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 3rem;
  max-width: 500px;
}

/* --- Info Cards --- */
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateX(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.icon-box {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 20px var(--primary-glow);
  transition: transform 0.3s ease;
}

.contact-method:hover .icon-box {
  transform: scale(1.1) rotate(-5deg);
}

.method-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.method-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  text-decoration: none;
}

/* --- Form Container (Right) --- */
.glass-form-card {
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 3.5rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glass-form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(135deg, var(--glass-border), transparent, var(--glass-border));
  -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;
  pointer-events: none;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
  color: white !important;
  font-size: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px var(--primary-glow), 0 0 20px rgba(139, 92, 246, 0.2) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.btn-transmit {
  width: 100%;
  padding: 1.25rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-transmit:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-transmit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-transmit:hover::after {
  left: 100%;
}

/* --- Modal --- */
.modal-content {
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 3rem;
}

.success-icon-wrap {
  width: 100px;
  height: 100px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--accent);
  font-size: 3rem;
  border: 2px solid var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

/* --- Back Link --- */
.home-link {
  position: absolute;
  top: 40px;
  left: 40px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.home-link:hover {
  opacity: 1;
  color: white;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .contact-wrapper {
    padding: 100px 0 40px;
  }

  .info-section {
    padding-right: 0;
    margin-bottom: 4rem;
    text-align: center;
  }

  .contact-lead {
    margin: 0 auto 3rem;
  }

  .contact-method {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .glass-form-card {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  h1.contact-title {
    font-size: 2.5rem;
  }

  .glass-form-card {
    padding: 1.5rem;
  }
}

/* --- Added Navigation Styles --- */
.navbar {
  background: rgba(10, 10, 15, 0.7) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: all 0.4s ease;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  animation: rotate-slow 6s linear infinite;
}

.logo-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 4px;
  transform: rotate(45deg);
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}