/* --- 1. Reset & Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
  color: #1e293b;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container utility */
.container {
  width: 100%;
  max-width: 1100px; /* Slightly tighter width for readability */
  margin: 0 auto;
  padding: 0 20px;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* --- 2. Header / Navigation --- */
header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgb(245, 245, 245, 0.95); /* Updated Background Color */
}

header h1 {
  font-size: 20px;
  font-weight: 700;
  color: #0a3d62; /* Updated Color */
  padding-left: 20px;
  padding-top: 10px;
  font-family: "poppins", sans-serif;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  color: #0a3d62; /* Brand Blue */
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0a3d62;
  font-weight: 600;
}

/* --- 3. Hero Section --- */
.page-hero {
  text-align: center;
  padding: 60px 20px 40px 20px;
  background: #fff;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 16px;
}

.page-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
}

/* --- 4. Main Contact Content --- */
.contact-section {
  padding: 60px 0;
  background-color: #fff; /* White background per screenshot */
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 1.5fr; /* right side bigger, Form wider */
  gap: 60px;
  align-items: start;
}

/* Left Column: Contact Info */
.info-group {
  margin-bottom: 32px;
}

.section-header {
  font-size: 20px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 24px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-top: 24px;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #0a3d62;
}

.info-link:hover {
  color: #f59e0b;
}

.company-details {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

/* Right Column: Form */
.form-intro {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 32px;
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  outline: none;
  color: #334155;
  background: #fff;
  font-family: inherit;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.btn-send {
  width: 100%;
  background-color: #f59e0b;
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-send:hover {
  background-color: #d97706;
}

#contactMessage {
  position: fixed;
  top: 20px; /* distance from top */
  right: 20px; /* distance from right */
  max-width: 300px;
  padding: 15px;
  background: #e0ffe0; /* light green for success */
  border: 1px solid green;
  border-radius: 8px;
  z-index: 9999; /* make sure it's on top of everything */
}

.privacy-note {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 16px;
  line-height: 1.5;
}

/* Secure Badge Box */
.secure-container {
  padding: 40px 0 80px 0;
  display: flex;
  justify-content: center;
  background: #fff;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  padding: 16px 24px;
  border-radius: 8px;
  max-width: 500px;
}

.secure-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.secure-text p {
  font-size: 12px;
  color: #64748b;
}

/* --- 5. Footer (Reused) --- */
footer {
  background-color: #fff;
  padding: 60px 0 40px 0;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 12px;
}

.socials {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: flex-start;
}

.footer-col p {
  font-size: 14px;
  color: #64748b;
}

.footer-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #64748b;
}

.footer-links a:hover {
  color: #f59e0b;
}

.copyright {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  padding-top: 30px;
  border-top: 1px solid #f1f5f9;
}

/* --- 6. Responsive Design --- */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }

  .contact-grid {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* On mobile, maybe hide the nav links or simplify header */
  .nav-links {
    gap: 16px;
  }
}
