/* ========================================================== */
/* ===== CONTACT PAGE - DARK THEME WITH HERO IMAGE ===== */
/* ========================================================== */

:root {
  --bg: #002153;
  --surface: #0A2A5A;
  --card: #0F2F5F;
  --card-hover: #1A3B6B;
  --accent: #4AA8C7;
  --accent2: #00D9B1;
  --text: #E8EAF0;
  --muted: #8892A4;
  --border: #1A3B6B;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --radius: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================== */
/* ===== SECTION LABEL ===== */
/* ========================================================== */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.7rem, 0.9vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 168, 199, 0.10);
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(74, 168, 199, 0.15);
  margin-bottom: 1rem;
}

.section-label i {
  font-size: 0.65rem;
}

.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ========================================================== */
/* ===== PAGE HERO SECTION - WITH BACKGROUND IMAGE ===== */
/* ========================================================== */

.page-hero {
  position: relative;
  padding: 130px 0 80px;
  min-height: 400px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1600&h=500&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ===== DARK OVERLAY ===== */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
      rgba(0, 33, 83, 0.88) 0%, 
      rgba(0, 33, 83, 0.75) 40%, 
      rgba(0, 33, 83, 0.55) 70%,
      rgba(0, 33, 83, 0.35) 100%
  );
  z-index: 0;
}

/* ===== PATTERN OVERLAY ===== */
.page-hero__pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234AA8C7' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  max-width: 520px;
}

/* ========================================================== */
/* ===== CONTACT LAYOUT ===== */
/* ========================================================== */

.contact-layout {
  padding: 60px 0 80px;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ========================================================== */
/* ===== FORM CARD ===== */
/* ========================================================== */

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.required {
  color: #ff6b6b;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: all 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 168, 199, 0.10);
  background: rgba(255, 255, 255, 0.08);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892A4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

select option {
  background: var(--surface);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ========================================================== */
/* ===== SUBMIT BUTTON ===== */
/* ========================================================== */

.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #002153;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(74, 168, 199, 0.20);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 168, 199, 0.35);
}

.btn-submit i {
  transition: transform 0.3s ease;
}

.btn-submit:hover i {
  transform: translateX(4px);
}

/* ========================================================== */
/* ===== SUCCESS MESSAGE ===== */
/* ========================================================== */

.success-msg {
  display: block;
  background: rgba(0, 217, 177, 0.10);
  border: 1px solid var(--accent2);
  color: var(--accent2);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.success-msg i {
  margin-right: 6px;
}

/* ========================================================== */
/* ===== CONTACT INFO ===== */
/* ========================================================== */

.contact-info h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.info-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.info-block:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(74, 168, 199, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.info-block:hover .info-icon {
  background: var(--accent);
  color: #002153;
}

.info-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.info-val {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.info-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ========================================================== */
/* ===== FAQ SECTION ===== */
/* ========================================================== */

.faq-section {
  margin-top: 24px;
}

.faq-section h3 {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.faq-q::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q::after {
  content: '−';
  transform: rotate(0deg);
}

.faq-a {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-top: 10px;
}

/* ========================================================== */
/* ===== RESPONSIVE ===== */
/* ========================================================== */

@media (max-width: 992px) {
  .page-hero {
      padding: 100px 0 60px;
      min-height: auto;
      background-position: 60% center;
  }
  
  .contact-grid {
      grid-template-columns: 1fr;
      gap: 24px;
  }
  
  .form-card {
      order: 1;
  }
  
  .contact-info {
      order: 2;
  }
  
  .page-hero__overlay {
      background: linear-gradient(135deg, 
          rgba(0, 33, 83, 0.90) 0%, 
          rgba(0, 33, 83, 0.80) 50%, 
          rgba(0, 33, 83, 0.60) 100%
      );
  }
}

@media (max-width: 768px) {
  .page-hero {
      padding: 80px 0 50px;
      text-align: center;
      background-position: 50% center;
  }
  
  .page-hero__content {
      text-align: center;
  }
  
  .page-sub {
      max-width: 100%;
      margin: 0 auto;
  }
  
  .contact-layout {
      padding: 40px 0 60px;
  }
  
  .form-card {
      padding: 24px 20px;
      border-radius: 14px;
  }
  
  .form-row {
      grid-template-columns: 1fr;
      gap: 0;
  }
  
  .info-block {
      padding: 14px 16px;
  }
  
  .btn-submit {
      padding: 10px 20px;
      font-size: 0.9rem;
  }
  
  .page-hero__overlay {
      background: linear-gradient(135deg, 
          rgba(0, 33, 83, 0.92) 0%, 
          rgba(0, 33, 83, 0.85) 50%, 
          rgba(0, 33, 83, 0.70) 100%
      );
  }
}

@media (max-width: 480px) {
  .page-hero {
      padding: 70px 0 40px;
      min-height: auto;
  }
  
  .page-hero h1 {
      font-size: 1.8rem;
  }
  
  .page-sub {
      font-size: 0.9rem;
  }
  
  .contact-layout {
      padding: 30px 0 50px;
  }
  
  .contact-grid {
      gap: 16px;
  }
  
  .form-card {
      padding: 16px 14px;
      border-radius: 12px;
  }
  
  .form-card h2 {
      font-size: 1.2rem;
      margin-bottom: 14px;
  }
  
  .form-group {
      margin-bottom: 12px;
  }
  
  input,
  textarea,
  select {
      padding: 8px 12px;
      font-size: 0.85rem;
  }
  
  textarea {
      min-height: 80px;
  }
  
  label {
      font-size: 0.78rem;
  }
  
  .btn-submit {
      padding: 10px 16px;
      font-size: 0.85rem;
  }
  
  .contact-info h2 {
      font-size: 1.2rem;
      margin-bottom: 14px;
  }
  
  .info-block {
      padding: 12px 14px;
      border-radius: 10px;
      gap: 10px;
  }
  
  .info-icon {
      width: 36px;
      height: 36px;
      min-width: 36px;
      font-size: 1rem;
      border-radius: 10px;
  }
  
  .info-val {
      font-size: 0.88rem;
  }
  
  .info-sub {
      font-size: 0.72rem;
  }
  
  .faq-section h3 {
      font-size: 0.95rem;
  }
  
  .faq-item {
      padding: 12px 14px;
      border-radius: 10px;
  }
  
  .faq-q {
      font-size: 0.85rem;
  }
  
  .faq-a {
      font-size: 0.8rem;
  }
  
  .success-msg {
      font-size: 0.82rem;
      padding: 10px 12px;
  }
  
  .section-label {
      font-size: 0.65rem;
  }
}

@media (max-width: 360px) {
  .page-hero {
      padding: 60px 0 30px;
  }
  
  .page-hero h1 {
      font-size: 1.5rem;
  }
  
  .form-card {
      padding: 12px 10px;
  }
  
  .info-block {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 14px 12px;
  }
  
  .info-icon {
      margin-bottom: 4px;
  }
  
  .faq-item {
      padding: 10px 12px;
  }
  
  .btn-submit {
      padding: 8px 14px;
      font-size: 0.8rem;
  }
}