/* *********************************** Contact Banner CSS *********************************** */

.contact-header {
  background-color: #211932; /* Solid cyan background */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px; /* Adjust height as needed */
  text-align: center;
  color: #fff;
  padding: 0 10%;
}

.contact-header-inner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.contact-header-inner p {
  width: 650px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #748094;
}

/* *********************************** Contact Banner CSS End *********************************** */

/* *********************************** Contact Cards CSS *********************************** */
.contact-cards {
  padding: 60px 10%;
}

.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s;
  position: relative;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.174);
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card .card-icon img{
  width: auto;
  height: 80px;
  margin: 0 auto 20px;
  transition: transform 0.5s ease;
}

.contact-card:hover .card-icon {
  transform: translateY(-10px) rotate(5deg);
}

.contact-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #111;
}

.contact-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
}

.contact-card a {
  color: rgb(44, 182, 241);
  text-decoration: none;
  font-size: medium;
}

.contact-card .card-button:hover {
  background: #00cfe8;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .cards-row {
    flex-direction: column;
    align-items: center;
  }
}


/* *********************************** Contact Cards CSS End*********************************** */

/* *********************************** Form CSS *********************************** */

/* SECTION STYLING */
.contact-form-section {
  background-image: url('../images/contact-form-bg-original.png') ;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat; 
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
/* Optional overlay for better readability */
.contact-form-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.059); /* semi-transparent overlay */
  z-index: 1;
}

.contact-form-section .container {
  position: relative;
  z-index: 2; /* bring form above overlay */
}

/* FORM WRAPPER */
.contact-form-section .form-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form-section .form-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* FORM HEADING */
.contact-form-section .form-wrapper h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 30px;
  position: relative;
}

.contact-form-section .form-wrapper h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #00cce5;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-header-inner h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffffff;
  margin: 20px auto 0;
  border-radius: 2px;
}
/* FORM LABELS */
.contact-form-section .contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 0.95rem;
}

/* FORM INPUTS */
.contact-form-section .contact-form input,
.contact-form-section .contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s;
  box-sizing: border-box;
}

/* HIGHLIGHT ON FOCUS */
.contact-form-section .contact-form input:focus,
.contact-form-section .contact-form textarea:focus {
  border-color: #00cce5;
  box-shadow: 0 0 8px rgba(0, 204, 229, 0.4);
  outline: none;
}

/* INVALID FIELD INDICATION */
.contact-form-section .contact-form input:invalid,
.contact-form-section .contact-form textarea:invalid {
  border-color: #e74c3c;
}

/* TEXTAREA */
.contact-form-section .contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* SUBMIT BUTTON */
.contact-form-section .btn-submit {
  display: inline-block;
  width: 100%;
  background: #00cce5;
  color: #fff;
  padding: 15px;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form-section .btn-submit:hover {
  background: #00a2b8;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.recaptcha-container {
    display: flex;
    justify-content: center;  /* Horizontal center */
    margin: 0 auto;           /* Ensure horizontal margin is automatically calculated */
    padding-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-form-section .form-wrapper {
    padding: 30px 20px;
  }
}


/* *********************************** Form CSS End *********************************** */
