/* Section with background */
.contact-section {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: url("Images/BackGround_Image.png") no-repeat center center/cover;
  position: relative;
  color: #fff;
}

/* Dark overlay for readability */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Container content above overlay */
.contact-section .container {
  position: relative;
  z-index: 1;
}

/* Badge */
.badge-box {
  display: inline-block;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 14px;
  margin-bottom: 20px;
}
.badge {
  background: #ff0000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-right: 6px;
}

/* Headings */
.main-heading {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
}
.main-heading span {
  color: #ddd;
  font-weight: 400;
}

/* Paragraph */
.contact-section p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 30px;
}

/* Button */
.cta-btn {
  display: inline-block;
  background: #ff0000;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.8);
  transition: 0.3s;
}
.cta-btn:hover {
  background: #cc0000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .main-heading {
    font-size: 32px;
  }
  .contact-section p {
    font-size: 14px;
  }
  .cta-btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* Container */
.contact-container {
  display: flex;
  gap: 30px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
  flex-wrap: wrap; /* ensures wrap on small screens */
}
/* Left Form */
.contact-form-box {
  flex: 2;
  background: #111;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  min-width: 300px; /* prevent shrink too much */
}

@media (max-width: 992px) {
  .contact-form-box {
    padding: 20px;
    border-radius: 12px;
    max-width: 500px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .contact-form-box {
    flex: 1;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
  }
}
/* Form Layout */
.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #ddd;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 14px;
}

label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #aaa;
}
input, select, textarea {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border 0.3s;
}
input:focus, select:focus, textarea:focus {
  border-color: #ff0000;
}
textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #ff0000;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s;
  box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.6);
}
.submit-btn:hover {
  background: #cc0000;
}

/* Right Info Section */
.contact-info {
  flex: 1;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  min-width: 250px;
}

.info-box {
  margin-bottom: 20px;
  padding: 15px;
  background: #222;
  border-radius: 10px;
}

.info-box h4 {
  margin-bottom: 10px;
  color: #fff;
}

.info-box p {
  color: #bbb;
  font-size: 14px;
  margin: 5px 0;
}

/* Tags */
.tag {
  font-size: 12px;
  background: #444;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.tag.remote {
  background: #2a9d8f;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 12px;
  }
}

.hero-section {
  height: auto; 
  min-height: 70vh; /* smaller than full screen */
  background: url("Images/BackGround_Image.png") no-repeat center center;
  background-size: cover;  /* better than contain for responsiveness */
  background-color: #000;  
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  position: relative;
  text-align: center;
  color: #fff;
}

/* Overlay effect */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}

/* Card Content */
.hero-card, .container {
  position: relative;
  z-index: 1;
  /* max-width: 800px; */
}

/* Headings */
.hero-section h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-section h1 span {
  color: #bbb;
}

/* Paragraph */
.hero-section p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

/* Buttons */
.appointment-btn, .btn {
  background: #ff0000;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.8);
  transition: 0.3s;
}

.appointment-btn:hover, .btn:hover {
  background: #cc0000;
}

.btn-contact {
  background: #ff1313;
  color: #fff !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #d80a0a;
  transform: scale(1.05);
  box-shadow: 0px 0px 12px rgba(255, 19, 19, 0.7);
}

