/* --- Base, Reset & Fluid Setup --- */
:root {
  /* Define colors and spacing as variables for easy maintenance */
  --color-primary: #072544;
  --color-secondary: #0A2E57;
  --color-accent: #00FFFF;
  --color-text-light: #FFFFFF;
  --color-text-medium: #E0E0E0;
  --color-text-dark: #adadad;
  --color-border: #1E5798;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  /* Fluid typography using clamp() */
  --fs-hero: clamp(2.25rem, 6vw + 1rem, 3rem);
  --fs-title: clamp(1.5rem, 4vw + 0.5rem, 2rem);
  --fs-body: 1rem; /* 16px */
  --fs-small: 0.875rem; /* 14px */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: var(--fs-body);
}

/* --- Utility & Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto; /* Uses logical properties */
  padding-inline: 1.5rem; /* 24px */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.75rem; /* 60px */
  padding-bottom: 3.75rem;
}

/* --- Header & Navigation (Mobile First) --- */
.header {
  padding-block: 1.25rem; /* 20px */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger-menu, .close-menu {
  display: block; /* Show hamburger on mobile by default */
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 2.5rem; /* Larger tap target */
  z-index: 1001;
}

.nav-menu {
  display: none; /* Hide nav by default on mobile */
  position: fixed;
  inset: 0; /* Replaces top, left, width, height */
  background-color: var(--color-primary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem; /* 40px */
  z-index: 1000;
}

.nav-menu.active {
  display: flex; /* JS will toggle this class */
}

.nav-item {
  font-size: 1.5rem; /* 24px for mobile menu */
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--color-accent);
}

.close-menu {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
}

/* --- Hero Section --- */
.hero-section {
  width: 100%;
  background: linear-gradient(90deg, #143a65 0%, #2874cb 50%, #1e5798 100%);
  padding: 7.5rem 1.5rem 5rem 1.5rem;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin-inline: auto;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: var(--fs-hero);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-title .highlight-text {
  font-weight: 400;
  color: var(--color-text-medium);
}

.hero-subtitle {
  font-size: 1.125rem; /* 18px */
  color: var(--color-text-medium);
}

/* --- Main Contact Section (Mobile First) --- */
.contact-section {
  width: 100%;
  max-width: 1200px;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr; /* Single column by default */
  gap: 2.5rem;
  align-items: flex-start;
}

/* --- Form --- */
.form-container {
  background-color: var(--color-secondary);
  border-radius: 12px;
  padding: clamp(1.5rem, 5vw, 2.5rem); /* Fluid padding */
}

.form-title {
  font-family: var(--font-secondary);
  font-size: var(--fs-title);
  font-weight: 700;
  margin-bottom: 2rem;
}

.gradient-text {
  background: linear-gradient(90deg, #C084FC 0%, #00FFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* Fallback for older browsers */
  -webkit-text-fill-color: transparent;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  flex-direction: column; /* Mobile first */
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-medium);
}

.form-input, .form-textarea {
  background-color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--color-text-light);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent);
}

.form-textarea {
  min-height: 140px; /* Use min-height */
  resize: vertical;
}

.submit-button {
  background: linear-gradient(90deg, #9D00FF 0%, #00FFFF 100%);
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-size: 1.125rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--color-text-light);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px color-mix(in srgb, #9D00FF 30%, transparent);
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-header {
  margin-bottom: 0.5rem;
}

.contact-info-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-info-subtitle {
  font-size: 1rem;
  color: #B0B0B0;
}

.contact-card {
  background-color: var(--color-secondary);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #9D00FF 0%, #5E0099 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon img {
  width: 24px;
  height: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-light);
}

.contact-value {
  font-size: 1rem;
  color: #B0B0B0;
  line-height: 1.5;
}

/* --- Map Section --- */
.map-section {
    width: 100%;
    max-width: 800px;
    padding-inline: 1.5rem;
    margin-inline: auto;
}

.map-section a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 0;
}

.map-section a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--color-border) 40%, transparent);
}

.map-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Bottom CTA Section --- */
.cta-section {
  width: 100%;
  max-width: 1200px;
  background: linear-gradient(90deg, #1E5798 0%, #2874CB 100%);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
}

.cta-title {
  font-family: var(--font-secondary);
  font-size: var(--fs-title);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-medium);
  max-width: 600px;
  margin-inline: auto;
}

/* === FOOTER STYLES (Mobile First) === */
.footer {
    padding: 3.75rem 0 2rem;
    background-color: #0b2f57;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.25rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    max-width: 350px;
    margin-inline: auto;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-medium);
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 1rem;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-links a {
  color: var(--color-text-light);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-divider {
    height: 1px;
    background-color: #2e5a8a;
    border: none;
    margin-block: 2.5rem;
}

.footer-copyright {
    text-align: center;
    font-size: var(--fs-small);
    color: var(--color-text-dark);
}

/* --- Responsive Media Queries (Tablet and Up) --- */

/* Small tablets and large phones */
@media (min-width: 600px) {
  .form-row {
    flex-direction: row; /* Side-by-side fields on larger screens */
  }
}

/* Tablets */
@media (min-width: 768px) {
  .hamburger-menu, .close-menu {
    display: none; /* Hide mobile menu buttons */
  }
  
  .nav-menu {
    display: flex; /* Show desktop nav */
    position: static;
    flex-direction: row;
    background-color: transparent;
    width: auto;
    height: auto;
    gap: 2rem;
  }
  
  .nav-item {
    font-size: 1rem; /* Reset font size for desktop */
  }
  
  .footer-content {
      grid-template-columns: 2fr 1fr 1.5fr;
      gap: 3rem;
      text-align: left;
  }
  
  .footer-col {
      align-items: flex-start;
  }

  .footer-description, .social-links {
    margin-inline: 0;
    justify-content: flex-start;
  }
}

/* Laptops and Desktops */
@media (min-width: 992px) {
  .contact-section {
    grid-template-columns: 1.5fr 1fr; /* Two columns on desktop */
  }
}
