.contact-hero {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 152, 219, 0.95) 100%);
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 6rem 0;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/pexels-karolina-grabowska-4475524 (1).jpg") center/cover;
  opacity: 0.15;
  z-index: 1;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

.contact-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.contact-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Times New Roman' !important;
}

.contact-hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.3s forwards;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-section {
  padding: 6rem 0;
  background: #f8f9fa;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #3498db, transparent);
}

.contact-form-wrapper {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #3498db, #2c3e50);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-floating > .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  background-color: #ffffff !important;
  color: #2c3e50 !important;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: #3498db;
  background-color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.1);
}

.form-floating > textarea.form-control {
  height: 150px;
  resize: none;
}

.btn-submit {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::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: 0.5s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
  color: white;
}

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

.btn-submit:active {
  transform: translateY(0);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  color: #2c3e50;
  font-family: 'Times New Roman' !important;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #3498db;
  border-radius: 2px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .contact-hero {
    min-height: 40vh;
    padding: 4rem 0;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 35vh;
    padding: 3rem 0;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

.contact-info-enhanced {
  background: linear-gradient(135deg, #2c3e50, #3498db) !important;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.email-highlight {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.email-highlight:hover {
  color: #f1f1f1;
}

