@font-face {
  font-family: "SubHeadings-Montserrat";
  src: url("../assets/fonts/Montserrat-Bold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Headings-CalSans";
  src:
    url("../assets/fonts/CalSans-SemiBold.otf") format("opentype"),
    url("../assets/fonts/CalSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Body-Montserrat";
  src: url("../assets/fonts/Montserrat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
/* global */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Headings-CalSans", sans-serif;
  font-weight: 600;
}

body {
  font-family: "Body-", sans-serif;
}

.subheading,
.btn,
nav a {
  font-family: "SubHeadings-Montserrat", sans-serif;
  font-weight: 600;
}

body {
  font-family: "Body-Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

/* ==========================
   BRAND COLORS
========================== */
:root {
  --primary-blue: #315dfe;
  --white: #ffffff;
  --accent-yellow: #fed04f;
}

/* hero image */
.founder-hero {
  background: url("../assets/images/Founder-img.jpeg") center / cover no-repeat;
}

/* =========================
   INTRO GRID (FIXED BALANCE)
========================= */
.founder-intro {
  padding: 140px 0; /* 🔥 more breathing room */
  background-color: var(--primary-blue);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

/* =========================
   IMAGE (CONTROLLED)
========================= */
.image-frame {
  width: 100%;
  max-width: 700px;
  height: 700px;

  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* center image nicely */
.founder-image {
  display: flex;
  justify-content: center;
}

/* =========================
   TEXT (IMPROVED READABILITY)
========================= */
.founder-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.founder-text h2 {
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--white);
  text-align: center;
}

.founder-text p {
  color: var(--white);
  line-height: 1.75;
  font-size: 1.3rem;
  text-align: center;
}

/* =========================
   STORY SECTION
========================= */
.founder-story {
  padding: 140px 20px;
  background: #f8f9fc;
}

.founder-story .lead {
  font-size: 1.3rem;
  font-family: "SubHeadings", sans-serif;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.6;
}

/* =========================
   FOUNDER STORY (REFINED)
========================= */
.founder-story {
  padding: 140px 20px;

  background: #f8f9fc; /* soft contrast section */
  position: relative;
}

/* container already centered via .narrow */

/* =========================
   LEAD (HIGHLIGHT LINE)
========================= */
.founder-story .lead {
  font-family: "SubHeadings", sans-serif;
  font-size: 1.35rem;
  line-height: 1.6;

  color: #111;

  margin-bottom: 30px;

  position: relative;
}

/* subtle accent line */
.founder-story .lead::before {
  content: "";
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
  top: -20px;

  width: 60px;
  height: 3px;

  background: #2c666e;
  border-radius: 2px;
}

/* =========================
   BODY TEXT
========================= */
.founder-story p {
  font-size: 1.05rem;
  line-height: 1.75;

  color: black;

  margin-bottom: 18px;
}

/* =========================
   TEXT WIDTH CONTROL
========================= */
.founder-story .narrow {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   OPTIONAL DEPTH (SUBTLE)
========================= */
.founder-story::after {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.02),
    transparent 70%
  );

  pointer-events: none;
}

/* =========================
   CTA
========================= */
.founder-cta {
  padding: 140px 20px;
  text-align: center;
  background: #0a090c;
  color: white;
}

.founder-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

/* =========================
   BUTTON
========================= */
.btn {
  padding: 12px 28px;
  border-radius: 999px;
  font-family: "SubHeadings", sans-serif;
}

.btn.primary {
  background: white;
  color: #111;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 30px;
}

/* =========================
   NAVBAR BASE
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 25px 40px;

  background: transparent;
  transition: all 0.4s ease;
}

/* =========================
   SCROLLED STATE
========================= */
.navbar.scrolled {
  background: #07393c; /* 🔥 your primary blue */
  padding: 18px 40px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px); /* subtle premium effect */
}

/* =========================
   LOGO
========================= */
.logo {
  height: 40px;
  object-fit: contain;
}

/* =========================
   NAV LINKS
========================= */
.navbar nav {
  display: flex;
  gap: 30px;
}

.navbar nav a {
  font-family: "SubHeadings-Montserrat", sans-serif;
  font-size: 0.95rem;

  color: white;
  text-decoration: none;

  position: relative;
  transition: 0.3s ease;
}

/* hover underline effect */
.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;

  width: 0%;
  height: 2px;
  background: #ffd84d; /* accent */

  transition: width 0.3s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: #07393c;

    flex-direction: column;
    align-items: center;
    padding: 20px 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: 0.3s ease;
  }

  .navbar nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .navbar nav a {
    padding: 10px 0;
  }
}

/* =========================
   HAMBURGER ANIMATION
========================= */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .image-frame {
    margin: 0 auto;
    height: 380px;
  }
}
