:root {
  --primary: #721953;
  --secondary: #53275c;
  --accent: #341e4a;
  --dark: #1d2350;
  --light-bg: #f4f5fa;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* Hide reCAPTCHA badge but keep functionality */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  display: none !important;
}

section {
  position: relative;
}

.section-padding {
  padding: 5rem 0;
}

.hero-contact {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 42%), linear-gradient(135deg, #221d5a 0%, #341e4a 48%, #721953 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 36, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  background: rgba(255, 255, 255, 0.24);
}

.hero-shape-1 {
  width: 320px;
  height: 320px;
  top: -150px;
  right: 20%;
}

.hero-shape-2 {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: 12%;
}

.hero-contact .container {
  position: relative;
  z-index: 2;
}

.hero-contact h1 {
  color: #ffffff;
  font-weight: 700;
}

.hero-contact h2 {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.hero-contact .lead {
  color: rgba(255, 255, 255, 0.9);
}

.contact-section {
  background-color: #ffffff;
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(114, 25, 83, 0.2), transparent);
}

.contact-info-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-info-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.contact-info-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 14px 34px rgba(29, 35, 80, 0.08);
  height: 100%;
  border: 1px solid rgba(114, 25, 83, 0.08);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(29, 35, 80, 0.12);
  border-color: rgba(114, 25, 83, 0.15);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background-color: rgba(114, 25, 83, 0.04);
  transform: translateX(4px);
}

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

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(114, 25, 83, 0.25);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(114, 25, 83, 0.35);
}

.contact-details {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contact-value {
  color: rgba(29, 35, 80, 0.76);
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  line-height: 1.6;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-value:hover {
  color: var(--primary);
  text-decoration: none;
  transform: translateX(2px);
}

.contact-form-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 14px 34px rgba(29, 35, 80, 0.08);
  border: 1px solid rgba(114, 25, 83, 0.08);
  transition: all 0.3s ease;
}

.contact-form-card:hover {
  box-shadow: 0 20px 45px rgba(29, 35, 80, 0.12);
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-weight: 700;
  color: var(--dark);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.form-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.form-subtitle {
  color: rgba(29, 35, 80, 0.65);
  font-size: 1rem;
  margin: 0;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  display: block;
}

.required-indicator {
  color: rgb(200, 47, 79);
  font-weight: 700;
}

.form-group {
  margin-bottom: 0;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(114, 25, 83, 0.5);
  font-size: 1.1rem;
  z-index: 2;
  transition: color 0.3s ease;
}

.textarea-wrapper {
  position: relative;
}

.textarea-icon {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  color: rgba(114, 25, 83, 0.5);
  font-size: 1.1rem;
  z-index: 2;
  transition: color 0.3s ease;
}

.contact-form .form-control {
  border: 2px solid rgba(29, 35, 80, 0.1);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem 0.85rem 3rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(114, 25, 83, 0.15);
  outline: none;
  background-color: #ffffff;
}

.input-wrapper:focus-within .input-icon,
.textarea-wrapper:focus-within .textarea-icon {
  color: var(--primary);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
  padding-left: 3rem;
  padding-top: 1rem;
}

.contact-form .form-control::placeholder {
  color: rgba(29, 35, 80, 0.4);
  font-style: italic;
}

.form-submit-wrapper {
  margin-top: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 0.9rem;
  padding: 1rem 2.5rem;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(114, 25, 83, 0.22);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  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.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(114, 25, 83, 0.35);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(4px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }

  .contact-info-card {
    margin-bottom: 2rem;
  }

  .contact-form-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-contact {
    padding: 4.5rem 0;
  }

  .hero-contact h1 {
    font-size: 2rem;
  }

  .hero-contact h2 {
    font-size: 1.25rem;
  }

  .contact-info-card {
    padding: 2rem 1.75rem;
  }

  .contact-form-card {
    padding: 2rem 1.75rem;
  }

  .contact-item {
    margin-bottom: 1.5rem;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* Mobile width constraints - ensure 100% width on mobile */
@media (max-width: 575.98px) {
  html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  main, section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  [class*="col-"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

