/* Makes width calculations include padding + border */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/* NAV STYLING */
.nav-links {
  list-style: none; /* REMOVES BULLETS */
  padding: 0; /* REMOVES BULLET GAP */
  margin: 0;
  display: flex;
  gap: 40px;

}

.navbar {
  display: flex;
  justify-content: center; /* Centers links since no logo exists */
  background: #fff;
  padding: 15px;
  /* margin-top: 20px;
  margin-bottom: 20px; */
  /* border:#b000f0 2px solid;
  border-radius: 12px; */
  width: 85%;
  margin: 20px auto 50px; /* top, left/right, bottom */
  max-width: 1300px;
}

/* Link Base Styles and States */
.nav-links a {
  text-decoration: none; /* Removes default underline */
  color: white; /* Sets color for default/unvisited links */
  font-size: 1.4rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.nav-pills {
  border: 5px solid #b000f0;

  border-radius: 3px;
  padding: 10px;
  background-color: #0b0720;
} 

/* .nav-pills {
  border:
    2px,
    solid #b000f0;
  border-radius: 3px;
  color: #2d5bff;
  padding: 10px;
  background-color: lightgray;
} */


.nav-links a:hover {
  color: #4da6ff; /* A lighter blue color on hover */
  text-decoration: underline; /* Adds an underline on hover */
}

.nav-links a:active {
  color: #0000ff;
}

/* Hamburger Button - hidden by default */
.hamburger {
  position: relative;
  display: none;
   width: 32px;
  height: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  display: block;
  width: 25px;
  height: 3px;
  background: #0b0720;
  margin: 0px;

  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.hamburger span:nth-child(1){top: 0px;}
.hamburger span:nth-child(2){top: 10px;}
.hamburger span:nth-child(3){top: 20px;}


.hamburger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }



/* Mobile View (under 768px) */
@media (max-width: 768px) {
  .navbar { position: relative; }

  .hamburger {
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  .nav-links {
    display: none; /* Hide links initially */
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding-top: 50px;
    gap: 5px;
  }
  .nav-links.active {
    display: flex;
  } /* Show when JS adds 'active' */
}

header picture,
header .banner__img {
  display: block;
  width: 100%;
  height: auto;   /* key: prevents “cut off” unless you force height elsewhere */
}


.container-banner picture,
.container-banner .banner__img {
  display: block;
  width: 100%;
  height: auto;   /* key: prevents “cut off” unless you force height elsewhere */
}

header {
   width: 100%;
  margin: 0;
  padding: 0;

}

.container-banner {
  width: 100%;
  margin: 0;
  padding: 0;
}


.intro-card {
  /* margin: 0 auto; */
  /* margin: 20px auto; */
  margin: 0;
  font-family: inherit;
  width: auto;
  max-width: none;
  background-color: #ffffff;
  font-size: 1.2rem;
  background-image: linear-gradient(
    45deg,
    #f8f9fa 25%,
    transparent 25%,
    transparent 50%,
    #f8f9fa 50%,
    #f8f9fa 75%,
    transparent 75%,
    transparent
  );

  background-size: 15px 15px; /* Size of the stripes */
  /* END OF REPLACEMENT */
  /* border: 1px solid #e0e0e0; */
  /* border: 1px solid #b000f0; */
  border: 3px solid #b000f0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  color: #0b0720;

  position: relative;
  overflow: hidden;
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(
    --accent,
    #b000f0
  ); /* uses card-specific color, falls back to blue */
}


.intro-card p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* #about {
  background-color: #0b0720;
  width: 100%;
} */

/* MAIN WRAPPER */



.section-container {
    width: 85%;
  max-width: 1300px;
  margin: 20px auto 55px; /* for now, keep it similar to what you had */
  font-family: Arial, Helvetica, sans-serif;

}

.section_title {
  font-size: 2.50rem;
  margin: 0 0 24px 0;  /* space under heading */
  color: #0b0720;
  /* color: #0056b3; */
  /* color: #0000ff */
}


.section_title .icon-about { color: #b000f0; }   
.section_title .icon-services { color:#F97316; } 
.section_title .icon-contact { color: #b000f0; } 
/* .section_title .icon-contact { color: #4da6ff; } */



/* THE GRID */

.services-grid {
  display: flex;
  flex-direction: column; /* stack panels */
  gap: 25px;
}

/*THE INDIVIDUAL CARD*/


.service-card .service-line {
  font-size: 1.3rem; /* adjust */
}


.service-card {
  position: relative;
  overflow: hidden;

  background-color: #ffffff;
  background-image: linear-gradient(
    45deg,
    #f8f9fa 25%,
    transparent 25%,
    transparent 50%,
    #f8f9fa 50%,
    #f8f9fa 75%,
    transparent 75%,
    transparent
  );
  background-size: 15px 15px;
  border: 3px solid #F97316;
  border-radius: 12px;
  padding: 25px 25px 25px 35px; /* left padding to clear the bar */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  color: #0b0720;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(
    --accent,
    #F97316
  ); /* uses card-specific color, falls back to blue */
}

/* Adjusting your H2/H3 specifically inside cards */
.service-card h2 {
  font-size: 1.6rem; /* Scaled down slightly for card fit */
  margin-top: 0;
  color: #0b0720;
}

.service-card h3 {
  font-size: 1.3rem;
  color: #0056b3;
  margin-bottom: 5px;
}

.service-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.service-card li {
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.3;
}

/* Visual style for the empty/future cards */
.service-card.empty {
  border: 2px dashed #ccc;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  color: #999;
}

/* RESPONSIVE: Stack them on mobile */
@media (max-width: 1024px) {
  .services-grid {
    flex-direction: column;
  }
  .service-card {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Two columns INSIDE a card (only where you add .service-columns in HTML) */
.service-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid #e7e7e7;
}

/* On smaller screens, stack back to one column */
@media (max-width: 1024px) {
  .service-columns {
    grid-template-columns: 1fr;
  }
}

/* CONTACT FORM */

.form-3col {
  display: grid;
  grid-template-columns: 250px 200px 1fr; /* CTA | labels | fields */
  gap: 12px 14px;
  align-items: start;
}

.form-3col .cta {
  grid-column: 1;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  /* border: 1px solid rgba(0,0,0,0.08); */
}

.cta p {
  font-size: 1.2rem;
}

.form-3col .fields {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 12px;
  align-items: center;
}

.form-3col label {
  text-align: right;
  margin: 0;
}

/* inputs + select + textarea */
.form-3col input[type="text"],
.form-3col input[type="tel"],
.form-3col input[type="email"],
.form-3col textarea {
  width: 100%;
  margin: 0;
  border: 2px solid #b000f0;
  border-radius: 4px;
  padding: 10px;
}

/* Make message box larger + align to top beside its label */
.form-3col textarea {
  min-height: 180px;  /* increase to 220/260 if you want bigger */
  resize: vertical;   /* user can drag taller */
}

.form-3col .fields label[for="message"] {
  align-self: start;  /* makes label sit at top of tall textarea */
  padding-top: 8px;   /* optional: visually lines up with textarea padding */
}

.form-3col .submit-btn {
  grid-column: 2 / 3;   /* input column (inside .fields) */
  width: 100%;
  background-color: #0b0720;
  color: white;
  padding: 14px;
  margin-top: 8px;
  border: #b000f0 solid 2px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}


.form-3col .submit-btn:hover {
  filter: brightness(0.95);
}

.form-container {
 border: 2px solid #b000f0;
 border-radius: 12px;
 padding: 25px 25px 25px 35px; /* left padding to clear the bar */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
position: relative;   /* anchor */
overflow: hidden; 
  background-color: #ffffff;
  background-image: linear-gradient(
    45deg,
    #f8f9fa 25%,
    transparent 25%,
    transparent 50%,
    #f8f9fa 50%,
    #f8f9fa 75%,
    transparent 75%,
    transparent
  );
  background-size: 15px 15px;

}

#form-section {
  background-color: #999;
  width: 100%;
}

.form-container::before {
  content: "";
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(
    --accent,
    #b000f0
  ); /* uses card-specific color, falls back to blue */

}

.form-status { margin-top: 0.75rem; }
.submit-btn.is-loading { opacity: 0.7; cursor: wait; }


.hp {
  position: absolute;
  /*hides it for screenreaders*/
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-error {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}


@media (max-width: 900px) {
  .form-3col {
    grid-template-columns: 1fr;
  }

  .form-3col .fields {
    grid-column: auto;
    /* grid-template-columns: 1fr; */
    grid-template-columns: minmax(90px, 27%) 1fr;
  }

  .form-3col label {
    text-align: left;
  }

  .form-3col .fields label[for="message"] {
    align-self: auto;
    padding-top: 0;
  }
}

/* FOOTER */

footer {
  background-color: #0b0720;
  min-height: 200px;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;

}

.footer-inner {
  width: 85%;
  max-width: 1300px;
  margin: 0 auto;      /* centers the footer-inner block */
  padding: 30px 0;     /* optional: gives breathing room */
  font-family: Arial, Helvetica, sans-serif;

  display: flex;
  flex-direction: column; /* stack */
  align-items: center;    /* center the blocks (ul, div, icon) */
  gap: 16px; 
  
}
footer nav ul {
  list-style: none;  /* remove bullets */
  margin: 0;         /* remove browser default margin */
  padding: 0;        /* remove browser default left indent */
}

footer nav li {
  margin: 0 0 10px; /* optional spacing between links */
}

footer a,
footer a:visited {
  color: inherit;
  text-decoration: none;
}

footer .footer-social { color: white; }
footer .footer-social:hover { color: #b000f0; }


.copyright {
  opacity: 0.85;
  font-size: 0.9rem;
}



/*ACCESSIBLITY*/

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: #fff;

  font-size: 1.125rem;   /* text size */
  line-height: 1.2;
  padding: 1rem 1.25rem; /* clickable area */
  border-radius: 0.5rem; /* optional */
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
}

/* Strong keyboard-focus indicator */
.form-3col .submit-btn:focus-visible {
  outline: 4px solid #ffffff;   /* inner ring that pops on black */
  outline-offset: 3px;
  box-shadow: 0 0 0 10px rgba(176, 0, 240, 0.45); /* outer purple ring */
  filter: brightness(1.08);
}

/* Fallback for browsers that don't support :focus-visible */
.form-3col .submit-btn:focus {
  outline: 4px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 10px rgba(176, 0, 240, 0.45);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/*makes fields associated with errors stand out*/
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  outline: 3px solid #b000f0;
  outline-offset: 2px;
}

/* NOTE (me): Add keyboard focus styling for nav links + hamburger.
   Hover styles don’t help keyboard users, so this makes the focused element obvious when tabbing. */
.nav-links a:focus-visible,
.hamburger:focus-visible {
  outline: 4px solid #b000f0;
  outline-offset: 4px;
}
