*//* ===== Reset Style - Always Start CSS Files with this ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* =========================  MOBILE PHONE OPTIMIZATION START ========================= */
/* Make sure the page doesn't overflow horizontally */
html, body { 
  max-width: 100%;
  overflow-x: hidden;
}

/* Your header area */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;          /* THIS lets items wrap instead of overflowing */
  padding: 12px;
}

/* Your nav */
.site-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;          /* THIS wraps links to the next line */
}

/* =========================  MOBILE PHONE OPTIMIZATION END  ========================= */

/* ===== Body ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f6fb;
    color: #222;
    line-height: 1.6;
}

body {
  background-color: #ffffff;
  color: #222222;
}

/* Make images scale down */
img {
  max-width: 100%;
  height: auto;
}
.logo {
  max-width: 100%;
  height: auto;
}

/* =========================  FIRST HEADER (Logo + Title)  ========================= */
   .site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.logo {
    width: auto;
    height: 190px;
    margin-right: 20px;
}
.tagline {
  font-size: 22px;
  font-weight: bold;
   color:#51A14A;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin-top: 10px;
  font-size: 14px;
}
.nav-links a {
    text-decoration: none;
}
.header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px; /* or whatever width you prefer */
    margin: 0 auto;
    padding: 20px;
}

.site-header {
  background-color: #ffffff;
  border-bottom: none;
  padding: 20px 0;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-text h1 {
    font-size: 36px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* =========================  CENTER LINKS + HOVER COMMANDS  ======================== */
.center_links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 20px;
}
 /* Style for the link */
        .hover-link {
            position: relative;
            color: blue;
            text-decoration: underline;
        }

        /* The tooltip box that appears on hover */
        .hover-link::after {
            content: attr(data-url); /* Fetches the URL from the attribute */
            position: absolute;
            top: 100%; /* Places it just below the link */
            left: 50%; /* Centers it horizontally */
            transform: translateX(-50%);
            background: #6A5ACD;
            color: #fff;
            padding: 5px 10px;
            border-radius: 4px;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s;
            font-size: 0.9em;
        }
      /* Show the tooltip when hovering */
        .hover-link:hover::after {
            opacity: 1;
            visibility: visible;
        }
 /* =========================  HORIZONAL RULES (HR)  ======================== */

 .equal-hr {
  display: block;          /* ensure it's treated as block */
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: none;            /* remove default styling */
  height: 1px;               /* thin line */
  background-color:#51A14A;  /* or your chosen color */
}

/* =========================  SECOND HEADER (Navigation)  ========================= */

header:not(.site-header) {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

header:not(.site-header) h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subheader {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Navigation */
.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #6a5acd;
    font-weight: bold;
} 

p {
 margin: 1em 0;

 }

.nav a:hover {
    text-decoration: underline;
}

/* =========================  Main Page Content Area  ======================== */
.centered {
    text-align: center;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #f7f6fb;
    padding: 0 20px;
}

.section {
    margin: 20px auto;
    margin-bottom: 40px;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #6a5acd;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    margin-top: 10px;
}

.button:hover {
    background-color: #5a4bbd;
}

/* =========================  Footer  ========================= */

footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777;
}

footer a {
    color: #6a5acd;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}
