/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Screen Reader Only Content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: #0E2A87;
  padding: 15px 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  height: 50px;
  margin-right: 15px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Typography */
h1, h2 {
  color: #000000;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #e67e22;
  margin: 30px 0 10px;
  font-family: 'Roboto', Arial, sans-serif;
}

.subtitle {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #000000;
  margin: 4px 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Contact Info Section */
.contact-info-section {
  padding: 40px 0;
}

.table-container {
  overflow-x: auto;
  margin: 0 20px;
}

/* Contact Table Styles */
.contact-table {
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-table th {
  background-color: #e67e22;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 1.25rem;
}

.contact-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: center;
}

.contact-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.contact-table tr:hover {
  background-color: #f1f1f1;
}

.contact-table a {
  color: #0E2A87;
  text-decoration: none;
  font-weight: bold;
}

.contact-table a:hover {
  color: #e67e22;
  text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 20px;
}

.contact-form {
  background: #ffffff;
  border: 2px solid #e67e22;
  border-radius: 12px;
  padding: 25px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0px 8px 25px rgba(0,0,0,0.1);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #e67e22;
  font-size: 1.8rem;
  font-weight: bold;
}

.form-description {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.contact-form input:invalid,
.contact-form textarea:invalid {
  border-color: #e1e5e9;
}

.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.field-help {
  display: block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* reCAPTCHA Modal Styling */
.recaptcha-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recaptcha-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
}

.recaptcha-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.recaptcha-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

.recaptcha-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.recaptcha-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.recaptcha-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.recaptcha-body {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recaptcha-body p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.recaptcha-body .g-recaptcha {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.recaptcha-body .g-recaptcha > div {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .recaptcha-popup {
    width: 80%;
    max-width: none;
  }
  
  .recaptcha-body .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
  
  .recaptcha-header {
    padding: 15px;
  }
  
  .recaptcha-body {
    padding: 20px 15px;
  }
}

.submit-btn {
  background-color: #e67e22;
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #cc580f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
}

/* Phone validation error styles */
.phone-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Map Section */
.map-section {
  padding: 0;
}

.map-mango-hotel {
  width: 100%;
  margin: 0;
  padding: 0;
}

.map-mango-hotel iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Footer Styles */
.footer {
  background-color: #002f87d1;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 40px 0;
  position: relative;
  font-size: 1.1rem;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,47,135,0.9);
  z-index: 0;
}

.footer > div {
  position: relative;
  z-index: 1;
}

.footer-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 250px;
}

.footer-divider {
  width: 1.5px;
  background: #fff;
  opacity: 0.9;
  margin: 0 30px;
  align-self: stretch;
}

.footer-info {
  flex: 2;
  font-size: 1.1rem;
}

.footer-info p {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.footer-columns .col {
  flex: 1;
}

.footer-right {
  flex: 1;
  text-align: left;
  font-size: 1.1rem;
}

.footer-right a {
  color: #fff;
  margin: 0 5px;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-right .social {
  display: flex;
  gap: 12px;
}

.footer-right .social a {
  color: orange;
  font-size: 1.5rem;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #fff;
  opacity: 1;
}

.footer-right p,
.footer-right .social,
.footer-right .footer-bottom {
  margin-bottom: 15px;
}

.footer-right .footer-bottom {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    padding: 30px 15px;
  }
  
  .contact-form {
    max-width: 500px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    margin: 20px 0 8px;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    padding: 25px 15px;
  }
  
  .contact-info-section {
    padding: 30px 0;
  }
  
  .contact-table {
    width: 95%;
    font-size: 1rem;
  }
  
  .contact-table th,
  .contact-table td {
    padding: 8px 5px;
  }
  
  .contact-form-section {
    padding: 40px 0;
  }
  
  .contact-form {
    padding: 20px;
    margin: 0 10px;
  }
  
  .contact-form h2 {
    font-size: 1.5rem;
  }
  
  .form-description {
    font-size: 0.9rem;
  }
  
  .footer {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
  
  .footer-divider {
    width: 100%;
    height: 1.5px;
    margin: 20px 0;
  }
  
  .footer-logo,
  .footer-info,
  .footer-right {
    flex: none;
    width: 100%;
  }
  
  .footer-columns {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-right {
    text-align: center;
  }
  
  .footer-right .social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }
  
  header img {
    height: 40px;
    margin-right: 10px;
  }
  
  .hero-section {
    padding: 20px 10px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .contact-info-section {
    padding: 20px 0;
  }
  
  .table-container {
    margin: 0 10px;
  }
  
  .contact-table {
    font-size: 0.9rem;
  }
  
  .contact-table th,
  .contact-table td {
    padding: 6px 3px;
  }
  
  .contact-form-section {
    padding: 30px 0;
  }
  
  .contact-form {
    padding: 15px;
    margin: 0 5px;
  }
  
  .contact-form h2 {
    font-size: 1.3rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 12px;
  }
  
  .submit-btn {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .footer {
    padding: 20px 15px;
    font-size: 1rem;
  }
  
  .footer-logo img {
    max-width: 200px;
  }
  
  .footer-info p {
    font-size: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .footer-columns {
    flex-direction: column;
  }
  
  .map-mango-hotel iframe {
    height: 300px;
  }
}

/* Print Styles */
@media print {
  .contact-form,
  .footer {
    display: none;
  }
  
  .contact-table {
    box-shadow: none;
  }
}
