:root {
  --primary: #063997;        /* slightly softer blue */
  --primary-dark: #041d61;
  --accent: #4677ffce;         /* friendlier green */
  --light: #e5f1fd;
  --dark: #1f2937;
  --gray: #6b7280;
}
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-content {
  display: flex;
  align-items: center;
  padding: 1.2rem 40px;
  gap: 35px;                 /* ← reduced a lot to pull menu closer */
}

.logo {
  width: 355px;              /* ← slightly smaller so it fits better */
  height: auto;
  flex-shrink: 0;
  display: block;
  overflow: hidden;          /* cuts off any extra transparent space on the right */
}

.logo img {
  width: 355px !important;   /* forces the image to obey our size */
  max-width: 355px !important;
  height: auto !important;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 3.5rem;               /* space between Home and Contact — keep or change to 3rem if too wide */
  margin: 0;
  padding: 0;
  list-style: none;
}

 /* Optional: if you ever add something on the far right (cart, language, etc.) */
.right-placeholder {
  flex: 1;
  text-align: right;
}

.nav-links li a {
  color: #00258b;
  text-decoration: none;
  font-weight: 550;
  font-size: 1.2rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
}

/* Underline hover effect (optional, keep or remove) */
.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

/* Mobile menu toggle & styles remain the same */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: flex;
  }
}

  /* Hamburger animation */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

/* Contact Page – Modern Minimalist Style Matching Main Page */
header {
  padding: 120px 0 90px;                    /* Exact match to main page */
  background: linear-gradient(135deg, var(--accent) 0%, var(--light) 100%);
  color: rgb(0, 0, 0);
  text-align: center;
}

#contact-form {
  padding: 100px 0;                         /* Matches main section padding */
  background: var(--light);
}

.form-wrapper {
  max-width: 880px;                         /* Wider for comfort – not too small, still centered */
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 3.2rem 2.8rem;                   /* Generous internal space like modern examples */
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.07); /* Slightly deeper shadow for card lift */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12); /* Matches service card hover on main page */
}

.form-group {
  margin-bottom: 2.2rem;                    /* More vertical breathing room */
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--primary-dark);               /* Blue tint for trust */
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #3a8ab9;
  border-radius: 10px;
  font-size: 1.08rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);              /* Green focus for positive action */
  box-shadow: 0 0 0 4px #3a8ab9;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .btn {
  width: 100%;
  padding: 18px;
  font-size: 1.18rem;
  background: var(--accent);
  border: none;
  border-radius: 50px;
  margin-top: 1.2rem;
  box-shadow: 0 6px 20px #3a8ab9;
}

.contact-form .btn:hover {
  background: #3a8ab9;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #3a8ab9;
}

.alternative-contact {
  text-align: center;
  margin-top: 3.5rem;
  font-size: 1.1rem;
  color: var(--gray);
}

.alternative-contact p:first-child {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.alternative-contact a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.alternative-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive – matches main page */
@media (max-width: 768px) {
  header { padding: 90px 0 70px; }
  #contact-form { padding: 70px 0; }
  .form-wrapper { max-width: 100%; }
  .contact-form { padding: 2.5rem 1.8rem; }
}
/* Go Back button */
.back-wrapper {
  text-align: left;           /* or center if you prefer */
  margin: 20px 0 40px 0;
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f1f1f1;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #9ac3ff;
  color: #033c92;
}
