:root {
  --primary: #2c7be5;
  --primary-lisht: rgba(44, 123, 229, 0.1);
  --secondary: #00d97e;
  --dark: #636262;
  --light: #f9fbfd;
  --light-blue: #95aac9;
  --whatsapp: #25d366;
}

body {
  font-family: "Roboto";
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

/* Header Section */
.contact-header {
  background: linear-gradient(135deg, var(--primary), #1a56b9);
  color: white;
  padding: 2rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.contact-header::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
}

.contact-title {
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  animation: fadeInDown 1s ease both;
}

.contact-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease 0.3s both;
}

/* Contact Sections */
.contact-section {
  padding: 5rem 0;
  position: relative;
}

.section-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(18, 38, 63, 0.08);
  padding: 3rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(18, 38, 63, 0.12);
}

.section-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

#gcpsForm p {
  text-align: center;
  margin: 20px;
  color: var(--light-blue);
}

.section-card:hover::before {
  transform: scaleY(1);
}

.section-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.section-card:hover .section-icon {
  transform: scale(1.1);
}

.section-title {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.section-desc {
  color: var(--light-blue) !important;
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary-custom {
  background-color: var(--primary);
  border: none;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-custom:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(44, 123, 229, 0.3);
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #1a56b9);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary-custom:hover::before {
  opacity: 1;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  border: 2px solid var(--whatsapp);
}

.btn-whatsapp i {
  margin-right: 10px;
  font-size: 1.4rem;
}

/* Form Styles */
.form-control-custom {
  border: 2px solid #e3ebf6;
  border-radius: 8px;
  padding: 1rem;
  height: auto;
  transition: all 0.3s ease;
  background-color: var(--light);
}

/* Fix select dropdown alignment in contact form */
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem var(--primary-light);
  transform: translateY(-2px);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-floating label {
  padding: 1rem;
  color: var(--light-blue);
}

.form-floating > .form-control-custom:focus ~ label {
  color: var(--primary);
  transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-header{
    height: 350px;
    padding: 5rem 0;
  }

  .contact-title {
    font-size: 2.8rem;
  }

  .contact-section {
    padding: 2rem 0;
  }

  .section-card {
    padding: 2rem;
  }
}

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

  .contact-title {
    font-size: 2.2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .contact-section {
    padding: 2rem 0;
  }

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

@media (max-width: 576px){
  .contact-header{
    padding: 1rem 0;
  }

  .contact-header h1{
    font-size: 2.5rem;
  }

  .contact-header p{
    font-size: 1rem;
  }

  .contact-section {
    padding: 1rem 0;
  }
}