/* ------------------------------------------------------
   Root Variables
------------------------------------------------------ */
:root {

  --color-header:#F0F0F0;
  --color-footer:#e4e2e2;
  --color-white: #F0F0F0;
  --color-accent: #050e84;
  --color-accent-light: #679da8;
  --color-text: #003049;
  --color-text-accent: #003049;
  --color-border: #D1D1D1;
  --color-footer-text: #555;
  --shadow-soft: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-medium: 0 6px 18px rgba(0,0,0,0.06);
  --transition: all 0.2s ease-in-out;
  --fancy-font: 'Pacifico', cursive;
  
}

/* ------------------------------------------------------
   Base Styles
------------------------------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Make all elements calculate width properly */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

/* ------------------------------------------------------
   Header & Navigation
------------------------------------------------------ */
header, .site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: flex;
  background-color: var(--color-header);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: left;
  padding: 1rem 1.5rem 0 1.5rem;
  box-sizing: border-box;  /* Ensures padding doesn’t overflow width */
}

/* Header title */
header h1, .site-header h1 {
  font-family: var(--fancy-font);
  font-weight: 700;           /* medium-bold */
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: 0.5px;      /* subtle modern spacing */
  line-height: 1.2;           /* open, readable */
  margin: 0;
  color: var(--color-text);
  display: flex; 
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none !important;
  color: inherit;
  position: relative;
  z-index: 1100;
  gap: 10px
}

.logo-link img {
  display: block;
  max-width: 80px;
  height: auto;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: .75rem;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
  }
  .site-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* Nav link polish */
.site-nav a {
  position: relative;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-accent);
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ------------------------------------------------------
   Main Content & Sections
------------------------------------------------------ */
main {
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: 4rem 2rem;
}

main.homepage{
  padding: 0;
  box-shadow: none;
}

h1, h2, h3 {
  color: var(--color-text-accent);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

/* about Section */
/* .main-light {
  width: 100%;
  padding: 4rem 2rem;
  background-color: var(--color-white);
  text-align: center;
  margin: 0 auto;
} */

.content-box{
  background-color: var(--color-white);
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  border: 2.5px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);

  max-width: 1200px; 
  width: 97%; /* Ensures it scales down nicely on smaller screens */
  margin-left: auto;
  margin-right: auto;
}

section{
  padding: 60px 0;
  width: 100%;
  /* Adds 30px of space above and below the box, in addition to centering it */
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Call-to-Action Section */
.content-box-accent {
  background-color: var(--color-accent-light);
}

/* button style*/
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;   /* vertical | horizontal */
  background-color: var(--color-accent); /* filled color */
  color: var(--color-white);             /* text color */
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px; 
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

/* Hover / active effect */
.btn:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* Value Boxes (reuse accordion styles visually) */
.value-box {
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(0,116,153,0.02), rgba(0,116,153,0.00));
  box-shadow: var(--shadow-soft);
}
.value-box h3 {
  color: var(--color-accent);
  margin-top: 0;
}
.value-box p {
  margin: 0.5rem 0 0;
  color: var(--color-text);
}



/* ------------------------------------------------------
   Accordion (Details/Summary)
------------------------------------------------------ */
.accordion {
  border: 2.5px solid var(--color-border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin: 0.75rem 0;
  background: linear-gradient(180deg, rgba(0,116,153,0.02), rgba(0,116,153,0.00));
  transition: var(--transition);
}

.accordion summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.25rem 0.5rem 0.25rem 1.5rem;
  color: var(--color-text);
  position: relative;
  list-style: none;
}

.accordion summary::-webkit-details-marker,
.accordion summary::marker {
  display: none;
}

.accordion-icon {
  position: absolute;
  left: 0;
  top: 0.25rem;
  font-weight: bold;
  color: var(--color-accent);
}

.accordion:not([open]) .accordion-icon::before {
  content: "+";
}

.accordion[open] .accordion-icon::before {
  content: "−";
}

.accordion p,
.accordion div {
  margin: 0.5rem 0 0;
  color: var(--color-text);
}

.accordion[open] {
  box-shadow: var(--shadow-medium);
}

.accordion > *:not(summary) {
  transition: var(--transition);
}

/* ------------------------------------------------------
   Hero Section
------------------------------------------------------ */
.hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  background: linear-gradient(135deg, #0077b6, #003049); /* fallback */
  border: var(--color-border);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 100%;
}

.hero h1 {
  font-size: 3rem;
  color: white;
  font-family: var(--fancy-font);
  font-weight: 1;   
  
}

/* ------------------------------------------------------
   Footer
------------------------------------------------------ */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: var(--color-footer);
  color: var(--color-footer-text);
  border-top: 1px solid var(--color-border);
}
