body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  padding-top: 80px; /* Adjust based on navbar height */
}
body {
  margin: 0;
  overflow-x: hidden;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.quote-btn {
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  white-space: nowrap;
}



/* Logo + Text */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Quicksand", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #000;
}

.logo-img {
  width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: rotate(-8deg) scale(1.1);
}

.logo-text {
  display: inline-block;
}

.navbar-content {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus,
.nav-links li a.active {
  color: #D2773B;
}

.quote-btn {
  background-color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.theme-toggle {
  margin-left: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #222;
}

input:checked + .slider:before {
  transform: translateX(26px);
}


.contact-hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
  height: 311.16px;
  background: url('images/Copilot_20251007_164810.png') center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.2));
  z-index: 1;
}

.contact-hero h1,
.contact-hero p,
.contact-hero .btn {
  position: relative;
  z-index: 2; /* ensures text sits above overlay */
}


.contact-hero h1 {
  font-size: 2.5rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-hero p {
  font-size: 1.1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #fff;
}



/* Contact Form wider with border styling */
.contact-form {
  flex: 2 1 600px;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e0e0e0; /* visible border on the right/form */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Grid layout for inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 2rem; /* more breathing room between fields */
  margin-bottom: 2rem;
}
/* Each form group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space between label <p> and input */
}
/* Full-width fields span both columns */
.form-group.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr; /* stack on smaller screens */
  }
}

/* Input, select, textarea styling */
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 48px; /* ensures consistent height */
  box-sizing: border-box;
}

/* Textareas taller by default */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form h2 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 1.5rem;
  color: #000000;
}
/* Labels (the <p> tags) */
.form-group p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
}


.contact-form button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.custom-select {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.custom-select .selected {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-weight: 500;
  color: #333;
}

.custom-select .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-top: 0.3rem;
  display: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-select .options li {
  padding: 0.8rem 1rem;
  transition: background 0.2s ease;
}

.custom-select .options li:hover {
  background: #f9f9f9;
}


/* Default styles */
button[name="general-inquiry"] {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

button[name="request-quote"] {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

/* Active state (swapped styles) */
button.active {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

button.inactive {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* General select styling */

select[name="budget"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #333;
  appearance: none; /* removes default arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23D2773B' height='24' viewBox='0 0 24 24' width='24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover & focus states */
select[name="budget"]:hover {
  border-color: #D2773B;
}

select[name="budget"]:focus {
  outline: none;
  border-color: #D2773B;
  box-shadow: 0 0 0 3px rgba(210, 119, 59, 0.2);
}

/* Label styling */
/* Labels (the <p> tags) */
.form-group p {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
}


/* Service of Interest dropdown */
select[name="service"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #333;
  appearance: none; /* removes default arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23D2773B' height='24' viewBox='0 0 24 24' width='24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover & focus states */
select[name="service"]:hover {
  border-color: #D2773B;
}

select[name="service"]:focus {
  outline: none;
  border-color: #D2773B;
  box-shadow: 0 0 0 3px rgba(210, 119, 59, 0.2);
}



.social-links a {
  color: #D2773B;
  text-decoration: none;
  margin: 0 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group p{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  font-size: 14px;
}

input, textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-submit {
  background: #000000;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  transition: background 0.3s ease;
}

.contact-form .btn-submit:hover {
  background: #b85f2f;
  transform: translateY(-2px);
}

/* Responsive layout */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr; /* stack neatly on mobile */
    gap: 1.2rem;
  }
}
.contact-faq {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
}

.contact-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #000;
}

.contact-faq {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 2rem;
}

.contact-faq h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  color: #000;
}

.contact-faq {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
}

.contact-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #000;
}

.faq-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.faq-card h3 {
  font-size: 1.2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 0.8rem;
  color: #000000;
}

.faq-card p {
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  line-height: 1.5;
}


.contact-map {
  text-align: center;
  padding: 3rem 2rem;
  background: #000000;
}

.contact-map h2 {
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-bottom: 1rem;
}

.contact-map p {
  font-family: Arial, Helvetica, sans-serif;
  color: #f9f9f9;
}

/*-------------------------------------------------------*/
footer {
  background-color: #000;
  color: #fff;
  padding: 3rem 2rem;
  font-size: 0.95rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.footer-center h4,
.footer-right h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-center ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li,
.footer-right ul li {
  margin-bottom: 0.5rem;
}

.footer-center ul li a,
.footer-right ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-center ul li a:hover,
.footer-right ul li a:hover {
  color: #d4af37; /* Gold hover */
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-legal {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin-bottom: 0.5rem;
}

.footer-legal a {
  color: #aaa;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}


/* Mobile Responsive Styles */
@media (max-width: 768px) {
  

  .contact-hero {
    height: 200px;
    padding: 2rem 1rem;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
  }

  .contact-hero p {
    font-size: 0.9rem;
  }

  .contact-form {
    flex: 1;
    padding: 1.5rem;
  }

  .form-grid {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-form button {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .contact-faq {
    padding: 1rem;
    margin: 2rem auto;
  }

  .contact-faq h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .faq-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .faq-card h3 {
    font-size: 1rem;
  }

  .faq-card p {
    font-size: 0.9rem;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    min-width: 100%;
  }

  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  

  .contact-hero {
    height: 150px;
  }

  .contact-hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .form-group p {
    font-size: 0.85rem;
  }

  input,
  textarea,
  select {
    font-size: 16px; /* prevents zoom on iOS */
  }

  .btn-submit {
    width: 100%;
    padding: 0.8rem 1rem;
  }
}