/* CSS Variables - New Color Scheme */
:root {
    --primary: #1f2937;      /* Primary color */
    --accent: #6b7280;    /* Accent, secondary color */
    --accent-hover: #4b5563;  /* Accent hover color */
    --accent-gradient: linear-gradient(135deg, #9ca3af 0%, #4b5563 100%);
    --accent-soft: rgba(75, 85, 99, 0.12);
    --accent-soft-strong: rgba(75, 85, 99, 0.18);
    --card-bg: #ffffff;      /* Card background */
    --text-dark: #111827;    /* Dark text */
    --text-muted: #4b5563;   /* Muted text */
    --border: #e5e7eb;       /* Borders */
    --bg:#ffffff;
    --shadow: 0 4px 20px rgba(31, 41, 55, 0.08);
    --shadow-sm: 0 6px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 30px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 45px rgba(0,0,0,0.16);
    --shadow-card-hover: 0 25px 60px rgba(0,0,0,0.18);
    --shadow-hover: 0 12px 32px rgba(31, 41, 55, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.enquiry{
  padding:50px;
  margin-top: 5%;

}

.enquiry-inner{
  max-width:1200px;
  display:flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  flex-direction: column;
  margin: 0 auto;
  
}

/* LEFT TEXT */

.enquiry-text{
  margin-bottom:20px;
}
.enquiry-text h1{
  font-size:45px;
  font-weight:800;
  line-height:1.15;
  margin-bottom:24px;
}

.enquiry-text p{
  max-width:700px;
  font-size:18px;        
  line-height:1.7;
  color:var(--text-muted);
}

.enquiry-text a{
  color:var(--text-dark);
  text-decoration:none;
}

.enquiry-text a:hover{
  color:var(--text-muted  );
  text-decoration:none;
}
/* FORM */
.enquiry-form{
  max-width:1000px;
  width:100%;
  margin:0;
}

.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  margin-bottom:40px;
}

.field label{
  display:block;
  font-size:17px;
  color:var(--text-dark);
  margin-bottom:15px;
}

.field input,
.field textarea{
  width:100%;
  border:none;
  border-bottom:1px solid var(--border);
  color: var(--text-muted);
  padding:2px 0;
  font-size:17px;
  outline:none;
}

.field input:focus,
.field textarea:focus{
  border-color:var(--accent-hover);
}

.field.full{
  margin-bottom:36px;
}

/* DATE INPUT — CLEAN & MINIMAL */
.field input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 2px 0;
  font-size: 17px;
  height: 38px;
  line-height: 1.2;
  outline: none;
  color: #0f172a;
}

/* Focus underline */
.field input[type="date"]:focus {
  border-bottom-color: #0f172a;
}

/* Hide default dd-mm-yyyy */
.field input[type="date"]::-webkit-datetime-edit {
  color: transparent;
}

/* Show date when focused or selected */
.field input[type="date"]:focus::-webkit-datetime-edit
 {
  color: transparent;
}

.field input[type="date"]:valid::-webkit-datetime-edit{
  color: var(--text-muted);
}
/* Calendar icon */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
  filter: grayscale(1);
}

.field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 0.8;
}


/* BUTTON */
.enquiry-form .btn-primary{
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: var(--bg);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
}


.enquiry-form.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: var(--transition);
}


.enquiry-form .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    gap: 16px;
}

.enquiry-form .btn-primary:hover::before
 {
    opacity: 1;
}

.form-message {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  color: #22c55e; /* green */
}

.form-message.error {
  color: #ef4444; /* red */
}
/* CAPTCHA FIELD — MATCHES FORM STYLE */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
}

/* Captcha input — SAME AS OTHER INPUTS */
#captchaInput {
  flex: 1;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 4px 0;
  font-size: 18px;
  outline: none;
  background: transparent;
}

#captchaInput:focus {
  border-color: #0f172a;
}

/* Captcha canvas — subtle & clean */
#captchaCanvas {
  height: 44px;
  width: 140px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 6px;
}

/* Refresh button — minimal icon style */
.captcha-container button {
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #64748b;
  transition: color 0.25s ease, transform 0.25s ease;
}

.captcha-container button:hover {
  color: #0f172a;
  transform: rotate(90deg);
}



/* Loading Screen (Hidden by Default) */
#loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 18px;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

/* Loader Animation */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3F455A;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}




@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ================== LARGE LAPTOPS (1025px - 1366px) ================== */
@media (min-width: 1025px) and (max-width: 1366px) {

  .enquiry {
    padding: 60px 40px;
    margin-top: 6%;
  }

  .enquiry-inner {
    gap: 35px;
  }

  .enquiry-text h1 {
    font-size: 40px;
  }

  .enquiry-text p {
    font-size: 17px;
    max-width: 650px;
  }

  .form-row {
    gap: 40px;
  }

  .enquiry-form {
    max-width: 900px;
  }
}

/* ================== TABLETS LANDSCAPE (769px - 1024px) ================== */
@media (min-width: 769px) and (max-width: 1024px) {

  .enquiry {
    padding: 50px 30px;
    margin-top: 8%;
  }

  .enquiry-text h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .enquiry-text p {
    font-size: 16px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
  }

  .field label {
    font-size: 16px;
  }

  .field input,
  .field textarea {
    font-size: 16px;
  }
}

/* ================== TABLETS PORTRAIT (601px - 768px) ================== */
@media (min-width: 601px) and (max-width: 768px) {

  .enquiry {
    padding: 45px 24px;
    margin-top: 10%;
  }

  .enquiry-inner {
    gap: 30px;
  }

  .enquiry-text h1 {
    font-size: 30px;
  }

  .enquiry-text p {
    font-size: 15px;
  }

  /* Make form single column */
  .form-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 30px;
  }

  .field.full {
    margin-bottom: 30px;
  }

  .captcha-container {
    gap: 16px;
    flex-wrap: wrap;
  }

  #captchaCanvas {
    width: 120px;
    height: 40px;
  }
}

/* ================== LARGE MOBILES (481px - 600px) ================== */
@media (min-width: 481px) and (max-width: 600px) {

  .enquiry {
    padding: 40px 18px;
    margin-top: 14%;
  }

  .enquiry-text h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .enquiry-text p {
    font-size: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }

  .field label {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .field input,
  .field textarea {
    font-size: 15px;
  }

  .captcha-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #captchaCanvas {
    width: 110px;
    height: 38px;
  }

  .captcha-container button {
    font-size: 26px;
  }

  .enquiry-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ================== SMALL MOBILES (≤480px) ================== */
@media (max-width: 480px) {

  .enquiry {
    padding: 30px 16px;
    margin-top: 18%;
  }

  .enquiry-inner {
    gap: 25px;
  }

  /* TEXT */
  .enquiry-text h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .enquiry-text p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* FORM LAYOUT */
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .field label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .field input,
  .field textarea {
    font-size: 14px;
  }

  .field.full {
    margin-bottom: 24px;
  }

  /* CAPTCHA FIX */
  .captcha-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #captchaCanvas {
    width: 100%;
    max-width: 130px;
    height: 38px;
  }

  .captcha-container button {
    font-size: 24px;
  }

  /* BUTTON */
  .enquiry-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 14px;
  }

  /* Loading text */
  #loading-screen p {
    font-size: 14px;
  }
}