/* Container & Layout */
.contact-section {
  padding: 5rem 2rem;
  background-color: #f8f9fa;
  font-family: system-ui, -apple-system, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Styles */
.section-header {
  margin-bottom: 3rem;
}

.sub-badge {
  display: inline-block;
  background-color: #f3efe6;
  color: #b58d43;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  border-left: 4px solid #c8a152;
  margin-bottom: 0.75rem;
}

.section-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0d1b2a;
  margin: 0 0 0.5rem 0;
}

.header-description {
  color: #555;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0;
}

/* Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Card */
.contact-form-wrapper {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-group label span {
  color: #e63946;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d1b2a;
  box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

.cloudflare-box {
  margin-top: 0.5rem;
}

.submit-btn {
  background-color: #0d1b2a;
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
  background-color: #1b263b;
}

.submit-btn:active {
  transform: scale(0.99);
}

/* Sidebar Info & Map */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #0d1b2a;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 1.2rem;
  background: #f3efe6;
  padding: 8px;
  border-radius: 8px;
}

.info-item strong {
  display: block;
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
}

.info-item p {
  margin: 0.2rem 0 0 0;
  font-weight: 600;
  color: #1a1a1a;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}


/* Hero Section Container */
.contact-hero {
  padding: 4.5rem 2rem 3rem 2rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 2-Column Balanced Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* Main Content Styling */
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sub-badge {
  display: inline-block;
  background-color: #f3efe6;
  color: #b58d43;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 4px;
  border-left: 4px solid #c8a152;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0d1b2a;
  line-height: 1.15;
  margin: 0 0 1rem 0;
  letter-spacing: -0.5px;
}

.hero-description {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 520px;
}

/* Quick Contact Column */
.hero-quick-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid #eef2f6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.quick-icon {
  font-size: 1.25rem;
  background: #f3efe6;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-info {
  display: flex;
  flex-direction: column;
}

.quick-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2a;
  text-decoration: none;
  margin-top: 2px;
}

.quick-value:hover {
  color: #c8a152;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
}


.contact-hero {
  position: relative;
  padding: 80px 0;
  /* Dark semi-transparent linear gradient layered over the background image */
  background: 
    linear-gradient(135deg, rgba(18, 45, 57, 0.88) 0%, rgba(13, 27, 42, 0.75) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

/* Ensure text & cards stand out crisp against the dark gradient */
.contact-hero .hero-title {
  color: #ffffff;
  font-size: 2.75rem;
  font-weight: 800;
  margin-top: 15px;
  margin-bottom: 15px;
}

.contact-hero .hero-description {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Optional styling tweak for white floating info cards over the hero */
.contact-hero .quick-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
}

.contact-hero .quick-label {
  color: #64748b;
  font-weight: 700;
}

.contact-hero .quick-value {
  color: #122d39;
  font-weight: 800;
}



/* Ensure the overall footer acts as a positioning container */
footer, .footer-section {
  position: relative;
  background-color: #0d1726; /* Navy background */
  color: #a0aec0;
}

/* 1. Main Footer Body Spacing */
.footer-main {
  padding-top: 60px;
  padding-bottom: 50px;
}

/* 2. Bottom Copyright Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Subtle separator line */
  padding: 20px 0;
  background-color: #0a121e; /* Slightly darker shade for distinct separation */
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-text {
  margin: 0;
  font-size: 14px;
  color: #e2e8f0;
}

/* Social Icons Layout */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: #c5a059; /* Brand Accent/Gold */
  color: #ffffff;
}

/* 3. Back To Top Button Position Fix */
#back-to-top, .scroll-to-top, .top-btn {
  position: fixed; /* Or absolute to page wrapper if preferred */
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #1a293e;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#back-to-top:hover {
  background-color: #c5a059;
}