:root {
    --primary-color: #315073;
    --secondary-color: #f4f4f4;
    --accent-color: #c93d9a;
    --text-dark: #455259;
    --text-light: #fff;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

* { transition: all 0.3s ease-in-out; }

p { line-height: 1.7; }

h1, h2, h3, h4 { line-height: 1.3; }

header {
    background: linear-gradient(45deg, var(--primary-color), #003366);
    color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* === NAV (desktop default): center the links across the top === */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* center nav horizontally */
    align-items: center;
    padding: 0 1rem;
}

header h1 { display: none; } /* remove legacy brand text */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

#menuToggle {
    background: transparent;
    color: var(--text-light);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: none; /* shown on mobile only */
}

#navLinks {
    display: flex;            /* visible by default on desktop */
    align-items: center;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
	font-size: 1.25rem;
    font-weight: bold;
}
nav a:hover { color: var(--accent-color); }

/* === HERO === */
.hero {
    position: relative;
    background: linear-gradient(90deg, #ffffff, #f7f7f7);
    color: var(--text-light);
    text-align: left;
    padding: 5rem 1rem 7rem;
    display: block;
}

.hero-inner {
    display: grid;
    grid-template-columns: 500px 1fr; /* wider left column for larger image */
    align-items: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-logo {
    width: 100%;
    max-width: 700px; /* Increase this number for a larger image */
    height: auto;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-heading {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: var(--primary-color);
}

.hero-subheading {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    opacity: 0.95;
    color: var(--primary-color);
}

.hero .search-hero { margin: 0.5rem 0 0.75rem 0; }

.hero-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    display: block;
}
.hero-wave path { fill: var(--secondary-color); }


/* Make the About wave full-bleed like the hero */
#about { position: relative; padding-bottom: 7rem; } /* room for the wave */
#about > .hero-wave {
  left: 50%;
  bottom: -1px;         /* hides any seam line */
  width: 100vw;         /* span the full viewport */
  transform: translateX(-50%);
}

/* Optional: fix mobile viewport scrollbars on some browsers */
@supports (width: 100dvw) {
  #about > .hero-wave { width: 100dvw; }
}


/* === LAYOUT === */
.container { max-width: 1200px; margin: auto; padding: 2rem 1rem; }
.section h2 { color: var(--primary-color); margin-bottom: 1rem; text-align: center; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/* === Simplified FAQ Style === */
/* FAQ section background only */
#faq.section {
  background-color: #ffffff;
	padding: 50px;
	border-bottom: none;
	border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}


.faq .accordion {
  width: 100%;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Remove white boxes, borders, and shadows */
.faq-item {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

/* Keep gradient buttons clean and bold */
.faq-question {
  background: linear-gradient(45deg, var(--primary-color), #003366);
  color: var(--text-light);
  border: none;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 24px;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* Chevron animation */
.faq-question .chev {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.25;
  fill: none;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  justify-self: end;
  opacity: 0.9;
}
.faq-question[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Answer spacing */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-dark);
  padding: 0 1.25rem;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  padding: 0.75rem 1.25rem 1rem;
  max-height: 1000px; /* ensures answers don't get cropped */
}

/* Make #about full-bleed white while keeping content constrained by .container */
#about {
  position: relative;
  background-color: #fff;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 7rem; /* room for the wave */
  border-radius: 0;     /* ensure no rounded edges catch your eye at full bleed */
}

/* Full-bleed trick: extend the white beyond the container to the viewport edges */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 100vmax #fff;     /* paints the viewport sides */
  clip-path: inset(0 -100vmax);       /* allows the shadow to spill out */
  z-index: -1;                        /* keeps it behind the content */
}


.about-content {
    display: flex;
    flex-direction: row;          /* ensures image on the left, text on the right */
    align-items: flex-start;
    justify-content: flex-start;  /* optional: keeps text close to image */
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: nowrap;            /* keeps them on the same line on desktop */
}


.about-content img {
    max-width: 400px;
    width: 100%;
    
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.about-content p { flex: 1; min-width: 250px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.cta {
    background: linear-gradient(45deg, var(--accent-color), #ff8800);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    font-size: 1.4rem;
    border-radius: 8px;
    margin-top: 3rem;
}

footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

/* Buttons & Inputs */
button {
    background: linear-gradient(45deg, var(--accent-color), #f255c5);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}
button:hover {
    background: linear-gradient(45deg, #f255c5, var(--accent-color));
    transform: scale(1.05);
}

input[type="text"] {
    width: 80%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hero-btn {
    background-color: var(--accent-color);
    color: var(--text-light);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}
.hero-btn:hover { background-color: #e69500; }

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
#backToTop:hover { background-color: #e69500; }

/* Reveal on scroll */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-bottom: 0px solid #ddd;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}





/* === Mobile (fixes) === */
@media (max-width: 768px) {
    /* Center the hamburger button in the header */
    .main-nav {
        justify-content: center; /* centered instead of right-aligned */
    }

    /* Hide links by default on mobile; show when .show is added via JS */
    #menuToggle { 
		display: block; 
		font-size: 2.35rem;     /* was 1.8rem (base) */
		padding: .4rem .6rem;   /* bigger tap target */
  		line-height: 1;
	}

    #navLinks {
        display: none;                 /* CLOSED by default */
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);   /* center the dropdown under the button */
        width: 220px;
        text-align: center;
        padding: 1rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        z-index: 999;
    }
    #navLinks.show { display: flex; }

    nav a { margin: 0.5rem 0; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
	
	.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;         /* centers both blocks */
}
	
    .hero-logo { max-width: 350px; margin: 0 auto;}
    .hero-heading { font-size: 1.9rem; }
	
	.about-content {
    flex-direction: column;      /* stack vertically */
    align-items: center;         /* center the image and text horizontally */
    text-align: center;          /* center the text itself */
  }

  .about-content img {
    margin-bottom: 1rem;         /* space below the image */
  }

  .about-text {
    max-width: 600px;            /* optional: keep text lines comfortable */
  }
	
  .faq-answer { transition: none; }
  .faq-question .chev { transition: none; }
}

  .faq .accordion { gap: 0.5rem; }
  .faq-question { font-size: 1rem; }
}


    .contact-grid { grid-template-columns: 1fr; }
}
