 /* ====================== contactuswtech.css ====================== */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  --light-bg: #f8fbff;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* General Styles */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--light-bg);
  color: #333;
  padding-top: 76px; /* Space for fixed navbar */
}

/* Navbar Scroll Effect */
.navbar {
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar-scrolled {
  background-color: rgba(33, 37, 41, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* ====================== HERO SECTION ====================== */
.contact-hero {
  background: var(--gradient);
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)),
    url('close-up-group-women-with-hands-up.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 0 6rem;
  position: relative;
  color: white;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('close-up-group-women-with-hands-up.jpg') center/cover;
  opacity: 0.25;
  mix-blend-mode: overlay;
  z-index: 0;
}

.contact-hero > .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.contact-hero .lead {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ====================== INFO CARDS ====================== */
 /* ====================== UPDATED INFO CARDS ====================== */
.info-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  border: 1px solid rgba(13, 110, 253, 0.08);
  /* Removed height: 100% to prevent stretching */
  padding: 1.5rem; /* Reduced padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-card:hover {
  transform: translateY(-5px); /* Subtle lift */
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

.info-icon {
  font-size: 2.2rem; /* Slightly smaller icon */
  color: var(--primary);
  margin-bottom: 0.8rem;
  transition: all 0.4s ease;
}

/* Optional: This ensures the cards stay grouped in the center 
   if the form is much longer than the three cards combined */
.col-lg-5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ====================== FORM CARD (Modern Look) ====================== */
.form-card {
  background: linear-gradient(135deg, #ffffff, #f0f7ff);
  border-radius: 20px;
  padding: 2.8rem;
  box-shadow: 0 20px 60px rgba(13, 110, 253, 0.12);
  border: 1px solid rgba(13, 110, 253, 0.1);
  position: relative;
  overflow: hidden;
}

/* Animated subtle glow border */
.form-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(120deg, transparent, rgba(13, 110, 253, 0.35), transparent);
  opacity: 0.6;
  animation: borderGlow 6s linear infinite;
  z-index: 0;
}

@keyframes borderGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.form-card * {
  position: relative;
  z-index: 1;
}

.form-card h3 {
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

/* Form Groups */
.form-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #e0e7ff;
  border-radius: 14px;
  background: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
  outline: none;
}

/* Floating Labels */
.form-group label {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  background: white;
  padding: 0 8px;
  font-size: 0.95rem;
  color: #6c757d;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  top: -8px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* Submit Button */
.btn-submit {
  background: var(--gradient);
  border: none;
  padding: 16px;
  border-radius: 14px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.4s ease;
  width: 100%;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.35);
}

.btn-submit:active {
  transform: scale(0.97);
}

/* ====================== MAP ====================== */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-top: 3rem;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 991px) {
  .contact-hero {
    padding: 6rem 0 4rem;
  }
  
  .form-card {
    padding: 2rem;
  }
  
  body {
    padding-top: 70px;
  }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #0d6efd 0%, #4dabff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}