.site-header {
  background: #222;          /* same as footer background */
  color: white;
  padding: 1rem 2rem;
  font-family: 'Montserrat'; 
  font-size: 1.1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-family: 'Montserrat'; /* , sans-serif;*/
  font-weight: 80;   /* Thin */
  color: #31aae6;     /* brand blue */
  font-size: 1.4rem;
  letter-spacing: 0.2px; /* optional: makes it feel lighter and spaced out */
}

/* =====================
   NAVIGATION STYLES
   ===================== */

/* Default desktop nav */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  
  z-index: 1000;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 300;
}

.nav a:hover {
  text-decoration: underline;
}

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-menu {
    display: none; /* hidden by default */
    flex-direction: column;
    background: #222;
    padding: 1rem;
    position: absolute;
    top: 60px;   /* adjust to your header height */
    right: 1rem;
    border-radius: 8px;
  }

  .nav-menu.nav-menu_visible {
    display: flex; /* show when toggled */
  }

  .nav-toggle {
    display: block; /* hamburger shows */
  }
}

/* Desktop reset (forces menu visible again after mobile rules) */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
  }
}



/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 0rem;
  font-size: 0.9rem;
  font-family: "Open Sans", Arial;
}

.site-footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer a i {
  font-size: 1.2rem;   /* size of the icon */
  color: #aaa;         /* match footer text color */
  transition: color 0.2s ease;
}

.site-footer a i:hover {
  color: #fff;         /* hover effect */
}

/* Layout: stack nicely on mobile, inline on desktop */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 600px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
  }
}

  .footer-container p {
    flex: 1;
    margin: 0;
  }

  .footer-container p:nth-child(1) { text-align: left; }   /* Trademark */
  .footer-container p:nth-child(2) { text-align: center; } /* Privacy */
  .footer-container p:nth-child(3) { text-align: right; }  /* LinkedIn */




/* Fonts */
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  font-size: 1.3rem;
}


/* Fonts */
.section p {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  font-size: 1.1rem;
}

h1, h2, h3 {
  font-family: "Merriweather", Georgia, serif;
  margin: 0 0 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

/* Containers & Sections */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 1rem;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  background: url('/images/hero-bg-fallback.jpg') center/cover no-repeat; 
  background-image: image-set(
    url('/images/hero-bg.webp') type("image/webp"),
    url('/images/hero-bg-fallback.jpg') type("image/jpeg")
  );
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}


.hero-content {
  position: relative;
  color: #fdfdfd;
  text-align: center; 
  z-index: 1;
 /* max-width: 500px; */
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}




/* Services section */
.services {
  background-color: #f7f9fc; /* soft light gray-blue */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  text-align: left;
}


/*.service-card:hover { */
 /* transform: translateY(-5px);*/
/*} */

.service-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.service-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.service-card li {
  font-family: "Open Sans", Arial, sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1rem;  /* keeps it at default size */
}

/* Placeholder icons */
.service-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

/* Mobile: stack services */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.service-card img {
  width: 100%;
  height: 180px;      /* fixed height */
  object-fit: cover;  /* keeps it proportional, crops overflow */
  border-radius: 8px;
  margin-bottom: 1rem;
}




/* ===== Button Styles for Founder and Contact ===== */

/* Apply secondary font to all buttons */
.btn {
  font-family: Arial, sans-serif; /* secondary font */
  font-size: 0.8rem;                /* consistent font size */
  display: inline-block;
  margin: 2rem auto 0; /* top margin, auto left/right centers */
  padding: 0.8rem 1.8rem; /* consistent padding */
  border-radius: 50px; /* fully rounded */
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  min-width: 120px; /* ensures consistent width */
  box-sizing: border-box;         /* ensures padding doesn't break width */
}

/* Founder button (black with white text) */
.btn.founder-btn {
  background-color: #000;
  color: #fff;
}

.btn.founder-btn:hover {
  background-color: #222;
}

/* Contact button (white with dark text) */
.section.contact .btn {
  background-color: #fff;
  color: #325d8a;
}

.section.contact .btn:hover {
  background-color: #e9eef6;
}

/* Center buttons in their container */
.section.contact .container,
.section.hero .container,
.section.whyus .container {
  text-align: center; /* ensures buttons are centered horizontally */
}



/* Contact section (blue background + readable text) */
.section.contact {
  background-color: #325d8a;
  color: #fff;
}

.section.contact h2,
.section.contact h3 {
  color: #fff;
}

.section.contact p {
  color: #f0f0f0; /* softer white */
}




.email-btn {
  background: transparent;      /* no fill */
  color: #333;                  /* black text */
  border: 1px solid #000;       /* black outline */
  padding: 0.8rem 1.5rem;
  border-radius: 999px;         /* pill-shaped */
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}




/* ==== Our Founder Page ==== */
.founder-page .founder-card-bg {
  background-color: #f8fcfc;  /* light blue */
  border-radius: 12px;        /* optional rounded corners */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-page .founder-photo {
  position: relative;
  z-index: 2;
  /* Move image up so its vertical center meets the top of the card */
  top: -25px; /* half of image height */
}

.founder-page .founder-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

.founder-page .founder-card {
  background: #fff;
  padding: 3rem 2rem 2rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  width: 100%;
  text-align: left;
  /* offset by half the image height so center aligns with top */
  margin-top: -75px; 
}

.founder-page .founder-card h1 {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.founder-page .founder-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

/* ==== Founder Links (LinkedIn & GitHub) ==== */
.founder-page .founder-links {
  display: flex;
  justify-content: center;  /* center horizontally */
  gap: 2rem;               /* space between icons */
  margin-top: 2rem;
}

.founder-page .founder-links img {
  width: 80px;              /* icon size */
  height: 80px;
  display: block;
  transition: transform 0.2s ease;
}

.founder-page .founder-links img:hover {
  transform: scale(1.1);    /* subtle hover effect */
}

/* === Privacy page overrides === */
.page-privacy {
  text-align: left;   /* uncenters text */
}

.page-privacy ul li {
  font-size: 1.1rem;
}


.page-privacy h1 {
  font-size: 2rem;    /* smaller title */
  text-align: left;
}

.page-privacy h2 {
  font-size: 1.3rem;  /* smaller subheaders */
  text-align: left;
}

.page-privacy hr {
  display: none;      /* remove lines */
}

