/* ===========================
   CUSTOM FONTS
   =========================== */

@font-face {
    font-family: 'Creolia';
    src: url('creolia-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* NEW: Inter Regular */
@font-face {
    font-family: 'Inter';
    src: url('Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 400; /* Normal weight */
    font-style: normal;
    font-display: swap;
}
h2{
  font-family: 'Creolia', Courier, monospace;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}
h3{
  font-family: 'Creolia', Courier, monospace;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}

/* General Reset + Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Inter', sans-serif; /* This changes all text to Inter */
  color: #222;
  background-color: #fff;
}

/* Main content */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Full-width sticky container */
.navbar-outer {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: #fff;
  transition: box-shadow 0.25s ease;
}

/* Shadow on scroll */
.navbar-outer.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Centered content */
.navbar {
  max-width: 1200px;      /* controls how wide content is */
  margin: 0 auto;         /* centers content */
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #333;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover + Active States */
.nav-links a:hover {
  color: #588E46;
}

.nav-links a.active {
  color: #588E46;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #588E46;
}

/* Intro Section */
.intro {
  margin-top: 1rem;
  line-height: 1.6;
}

.intro h1 {
  font-family: 'Creolia', Courier, monospace;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}

.intro p {
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.5;
}

.links {
  margin-top: 15px;
  margin-bottom: 15px;
}

.links a {
  color: #588E46;
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* Projects Section */
/* PROJECT GRID CONTAINER */
.projects {
  font-family: 'Creolia', Courier, monospace;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: center;

  width: 100%;
  max-width: 1200px;
}
/* PROJECT TILE BASE STYLE */
.project {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}
/* IMAGE INSIDE TILE */
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps aspect ratio and fills space */
  transition: filter 0.3s ease;
}
/* TEXT OVERLAY */
.project .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);


}

.project:hover img {
  filter: brightness(0.65); /* darkens image by 25%, adjusts naturally */
}






/* ===========================
   NEXT PROJECT TILE
   =========================== */
/* Outer tile — behaves like all others */
.project.next {
  overflow: visible; /* Allows the lifted part to show */
  z-index: 3;
}
/* Inner wrapper — controls tilt and lift separately */
.project.next .next-inner {
  transform: rotate(-8deg) translateY(-60px);
  transition: transform 0.4s ease;

}
.project.next .next-inner .overlay {
  color: #000 !important;
  text-shadow: none;
}
/* Hover state for the same tile */
.project.next:hover .next-inner {
  transform: rotate(0deg) translateY(0);
  color: #fff;

}

/* ===========================
   Girl Figure Positioning
   =========================== */
.girl-figure {
  position: absolute;
  width: 260px; /* adjust depending on your desired scale */
  top: 55%;     /* approximate placement above the 3rd tile */
  left: 68%;    /* tweak this to align with tile 3 */
  transform: translate(-50%, -100%) rotate(-2deg);
  z-index: 2000;
  pointer-events: none; /* so it doesn't block hovers below */
}






/*//////////////

/* ===========================
   PROJECT DETAIL SECTION
   =========================== */

   /* Subtitle under the main H2 */
.project-subtitle{
  font-size: 1rem;
  line-height:1.5 ;
  font-weight: 500;
  color: #444;
  margin-top: -30px; /* Pulls it closer to the title */
  margin-bottom: 50px;
  max-width: 700px;

}
.project-detail {
  position: relative;
  margin-top: 100px;
  color: #222;
  
}

.ifs-background {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  z-index: 0;
}

.ifs-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  left: 0;
  margin-left: -200px;
  user-select: none;
  pointer-events: none;
}

.project-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ifs-logo {
  width: 160px;
  height: auto;
}

.ai-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: center;
}

.video-col{
  align-items: center;
  text-align: center;
}





.project-category {
  font-size: 1rem;
  color: #666666;
  font-weight: bold;
}

.project-title {
  font-size: 2.4rem;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.project-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.project-text {
  flex: 1;
  line-height: 1.7;
  font-size: 1rem;
}

.project-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.project-video {
  width: 100%;
  max-width: 360px;

}

/* ===========================
   PROJECT META (Company / Platform / etc.)
   =========================== */
.project-meta {
  width: 100vw;                /* stretch background full width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;          /* trick to make full width within centered layout */
  margin-top: 60px;
  background: #f7f7f7;
  padding: 50px 0;             /* top and bottom space */
  color: #222;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Inner container that matches other content width */
.project-meta .meta-wrapper {
  max-width: 1200px;           /* matches main content width */
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* two even columns */
  gap: 30px 30px;
  padding: 0 20px;             /* same horizontal padding as body */
  box-sizing: border-box;
}
/* Each item group column */
.project-meta .meta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-meta .meta-col strong {
  color: #8327E1;              /* Purple label highlight */
  font-weight: 600;
  line-height: 2;
}

/* Impact Dashboard */next-project-link



.impact-dashboard {
  margin-top: 60px;
  text-align: center;
}
.impact-title{
  font-size: 1.6rem;
  margin: 30px 0px;
  font-weight: 600;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.impact-item {
  border: 1px solid #8327E1;
  border-left-width: 4px;
  border-radius: 0px;
  padding: 20px;
  font-size: 0.9rem;
  color: #8327E1;
  text-align: left;

}
.arrow {
  width: 90px;
  height: auto;
}
.impact-item h4{
  font-family: 'Creolia', Courier, monospace;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #8327E1;
}
.impact-item h5{
  font-family: 'Creolia', Courier, monospace;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #8327E1;
}
.impact-item p{
  font-size: .7rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #AC67F2;
}

/* Next Project link */
.next-project-link{
  text-align: center;   /* centers inline elements like images */
  margin: 50px 0; 
  }

.next-project-link img{
  width: 40px;
  height: auto;
}

/*
.next-project-link a {
  text-decoration: none;
  color: #222;
  border-bottom: 2px solid #8bc34a;
  padding-bottom: 2px;
  font-weight: bold;
  transition: color 0.3s ease;
}
.next-project-link a:hover {
  color: #8bc34a;
}*/

/* ===========================
   PROJECT MAZOOMA 
   =========================== */

/* ===========================
   CAROUSEL STYLES
   =========================== */

.carousel-section {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f8f8f8;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);*/
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  margin: 60px 0px 60px 0px;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.carousel-slide video,
.carousel-media {
  width: 80%;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  border: 2px solid black;
}


/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 20px;
}

.carousel-btn-next {
  right: 20px;
}

.carousel-btn svg {
  color: #333;
}

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-indicator:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background-color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-section {
    height: 70vh;
    min-height: 400px;
    padding: 20px 10px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn-prev {
    left: 10px;
  }

  .carousel-btn-next {
    right: 10px;
  }

  .carousel-indicators {
    bottom: 20px;
    gap: 8px;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}







/* ===========================
   MAZOOMA PROJECT SECTION
   =========================== */

.mazooma-wrapper {
  margin-top: 120px;
  margin-bottom: 100px;
  width: 100%;
}

/* --- Header Group --- */
.mazooma-header-group {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.mazooma-brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mazooma-top-logo {
  height: 30px; /* Adjust based on your logo file */
  width: auto;
}

.mazooma-category {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.mazooma-main-title {
  font-family: 'Creolia', Courier, monospace;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #111;
  line-height: 1.1;
}

.mazooma-subtitle {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  font-weight: 700 ;
}



/* --- Hero Image --- */
.mazooma-hero-container {
  width: 100%;
  margin-bottom: 60px;
  text-align: center;
}

.mazooma-hero-img {
  width: 100%;
  max-width: 900px; /* Controls max width of laptop image */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* --- Text Columns (About vs Problem) --- */
.mazooma-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  margin-top: 60px;
}



.mazooma-h3 {
  font-family: 'Creolia', Courier, monospace;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222;
}

.mazooma-p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

.mazooma-quote {
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  border-left: 2px solid #ccc;
  padding-left: 15px;
}

/* --- Work Completed (Pills) --- */
.mazooma-work-section {
  margin-bottom: 80px;
}

.mazooma-pills-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Update this part of your Mazooma CSS */
.mazooma-pill {
  background-color: #EAF4F9; 
  padding: 10px 24px;       /* Adjusted padding slightly */
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334;
  display: flex;
  align-items: center;
  gap: 12px;                /* Space between image and text */
  border: 1px solid #dcebf2; /* Optional: Adds subtle definition */
}
/* New class for the images */
.mazooma-icon-img {
  height: 24px;  /* Constraints height to match text line */
  width: auto;   /* Maintains aspect ratio */
  display: block;
  mix-blend-mode: multiply;
}

/* --- Project Meta Bar --- */
.mazooma-meta-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  background: #f7f7f7; /* Light grey strip */
  padding: 50px 0;
  margin-bottom: 80px;
}

.mazooma-meta-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* align with body padding */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.8;
}

.mazooma-meta-item strong {
  color: #2978AE; /* Cyan/Blue brand color from reference */
  font-weight: 700;
}

/* --- Impact Dashboard (Images) --- */
.mazooma-impact-section {
  text-align: center;
  margin-bottom: 100px;
}

.mazooma-impact-header {
  font-family: 'Creolia', Courier, monospace;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.mazooma-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1frbox;
  grid-template-columns: repeat(2, 1fr); /* 2x2 Layout */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.mazooma-stat-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.mazooma-stat-img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .mazooma-text-grid, .ai-text-grid{
    grid-template-columns: 1fr; /* Stack columns */
    gap: 30px;
  }
  
  .mazooma-meta-grid {
    grid-template-columns: 1fr; /* Stack meta data */
    text-align: left;
    gap: 20px;
  }
  
  .mazooma-stats-grid {
    grid-template-columns: 1fr; /* Stack stats cards vertically */
    gap: 20px;
  }

  .mazooma-main-title {
    font-size: 2.2rem;
  }
}


/* ===========================
   COPPERLEAF PROJECT SECTION
   =========================== */

.cl-wrapper {
  margin-top: 120px;
  margin-bottom: 100px;
  width: 100%;
}

/* --- Common Text Styles --- */
.cl-h3 {
  font-family: 'Creolia', Courier, monospace;
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #222;
}

.cl-section-header {
  font-family: 'Creolia', Courier, monospace;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.cl-p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

/* --- 1. Header --- */
.cl-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.cl-brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.cl-top-logo {
  height: 25px;
  width: auto;
}

.cl-category {
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
}

.cl-main-title {
  font-family: 'Creolia', Courier, monospace;
  font-size: 3rem;
  margin-bottom: 15px;
  color: #111;
  line-height: 1.1;
}

.cl-subtitle {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
}

/* --- 2. Top Grid (Problem | Hero) --- */
.cl-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 80px;
}

.cl-hero-img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0.1,0,0,0);
  mix-blend-mode: multiply;
}

/* --- 3. Meta Bar (Brown Theme) --- */
.cl-meta-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  background: #fbf5f2; /* distinct light beige for Copperleaf */
  padding: 50px 0;
  margin-bottom: 80px;
}

.cl-meta-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}

.cl-meta-item strong {
  color: #814520; /* The requested brown color */
  font-weight: 700;
}

/* --- 4. Process Highlights --- */
.cl-process-section {
  max-width: 1000px;
  margin: 0 auto 100px auto;
}

.cl-hmw-block {
  margin-bottom: 40px;
}
.cl-hmw-block h4 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

/* 1. Update Path & Solution Images (Process Section) */
.cl-full-width-img {
  width: 80%;        /* Reduced from 100% */
  height: auto;
  display: block;    /* Required for centering */
  margin-left: auto; /* Centers the image horizontally */
  margin-right: auto;
}

.margin-bottom-40 { margin-bottom: 40px; }

/* Tasks Pills */
.cl-tasks-block {
  margin-bottom: 60px;
}
.cl-tasks-block h4 {
  margin-bottom: 15px;
}

.cl-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cl-pill {
  border: 1px solid #814520;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.85rem;
  color: #333;
  background: #fff;
}

/* --- 5. Impact Dashboard (6 Grid) --- */
.cl-impact-section {
  margin-bottom: 120px;
}

/* 2. Update Impact Dashboard Grid */
.cl-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  
  /* NEW: Dimensions to center the whole grid of images */
  width: 80%;       
  margin: 0 auto;   
}

.cl-stat-img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

/* --- 6. Design System Team --- */
.cl-team-section {
  max-width: 1000px;
  margin: 0 auto 50px auto;
}

.cl-team-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr; /* Smaller left col, wider photo */
  gap: 40px;
  align-items: center;
}

.cl-team-title {
  font-family: 'Creolia', Courier, monospace;
  font-size: 2.2rem;
  line-height: 1.1;
  color: #222;
  margin-bottom: 5px;
}

.cl-team-subtitle {
  font-weight: 700;
  color: #444;
  margin-bottom: 30px;
}

.cl-ds-logo {
  width: 60px;
  margin-bottom: 20px;
}

.cl-quote {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.cl-team-photo {
  width: 100%;
  height: auto;
  border-radius: 20px; /* Reference implies rounded aesthetics for photos */
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .cl-impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cl-top-grid {
    grid-template-columns: 1fr;
  }
  .cl-meta-grid {
    grid-template-columns: 1fr; /* Stack meta */
    text-align: center;
  }
  .cl-team-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cl-quote {
    margin-bottom: 30px;
  }
  .cl-main-title {
    font-size: 2.2rem;
  }
}




   /* ===========================
   RESUME PAGE
   =========================== */
/* 1. Main Container & Centering Fix */
.resume-summary {
  width: min(90%, 1200px); /* Responsive width: 90% of screen, capped at 1200px */
  margin: 0 auto;          /* THIS fixes the centering issue */
  padding-bottom: 4rem;    /* Spacing before footer */
}
/* 2. Page Titles */
.summary-header {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 2rem;
}
.summary-header h1 {
  font-family: 'Creolia', Courier, monospace;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.summary-header p.links {
  font-size: 1rem;
  color: #666;
}
/* 3. The Main Grid Wrapper */
/* This controls the Grid HEADERS row */
.resume-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* 3 Columns: Company | Role | Projects */
  gap: 2rem; /* consistent gap between columns */
  align-items: start;
}
/* 4. Header Styling */
.grid-header {
  font-family: 'Creolia', Courier, monospace;
  font-weight: bold;
  /*text-transform: uppercase;
  letter-spacing: 0.05em;*/
  background: #668824;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  
  color: #fff;
  line-height: 1.6;
}

/* Style for the link text wrapper to align icon + text */
.resume-link {
  display: inline-flex;
  align-items: center;  /* Vertically centers icon with text */
  gap: 8px;             /* Space between icon and text */
  text-decoration: none;
  font-weight: 500;
  color: #8bc34a;       /* Your brand green */
  transition: opacity 0.3s ease;
}

.resume-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Style for the icons themselves */
.link-icon {
  width: 18px;         /* Standard icon size */
  height: auto;
  display: block;
}

/* Style for the pipe "|" separator */
.separator {
  margin: 0 10px;
  color: #ccc;
}



/* ===========================
   NEW SECTION: Company Blocks
   =========================== */
/* This wraps ONE full company row (Company info + Roles + Projects) */
.company-section {
  grid-column: 1 / -1; /* Spans across all 3 header columns */
  
  /* Create an internal grid that MATCHES the parent grid exactly */
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; 
  gap: 2rem;
  
  /* Presentation styling */
  padding-top: 2rem;
  padding-bottom: 2rem;
  /* border-bottom: 1px solid #668824; /* Divider line */
}
/* Remove border from the very last company */
.company-section:last-child {
  border-bottom: none;
}
/* ---- Column 1: Company Info ---- */
.company {
  grid-column: 1; /* Sits in first column */
}
.company-logo {
  width: 100px;
  display: block;
  margin-bottom: 1rem;
}
.company h3 {
  margin: 0.25rem 0 0.5rem 0;
  color: #222;
  font-size: 1.1rem;
  font-weight: 700;
}
.industry {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #666;
}
/* ---- Column 2 & 3: Roles & Projects Grid ---- */
/* This container sits in columns 2 and 3 */
.company-roles {
  grid-column: 2 / 4; /* Spans from col 2 to the end */
  
  display: grid;
  grid-template-columns: 1fr 1fr; /* Internally split into Role | Project */
  gap: 2rem; /* Matches the parent gap */
}
/* The magic wrapper that keeps role/project aligned side-by-side */
.role-project-pair {
  display: contents; /* Allows children to sit directly in the grid slots */
}
/* Individual Role & Project Typography */
.role, 
.resume-project {
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 1px solid #668824;
  padding-left: 12px;
}
.role strong {
  color: #000;
  display: block;
  margin-bottom: 2px;
}

blockquote {
  font-style: italic;
  margin: 0;
  color: #555;
  background: #F4F8ED;
  padding: 10px;
  border-left: 3px solid #668824;
  font-size: 0.9rem;
}


/* ✅ Mobile view (when width < 600px): stack all 4 vertically */

/* Responsive behavior */


footer {
  /* Force full width despite body max-width */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 60px 60px 0px 0px;
  
  /* Visuals */
  background-color: #668824; /* Your Brand Green */
  color: white;
  padding: 40px 0;
  margin-top: 80px; /* Spacing from the last project */
}
footer .container {
  /* Defines the content area */
  max-width: 1200px;
  margin: 0 auto;      /* Centers the container */
  padding: 0 20px;     /* Prevents text touching edges on mobile */
  text-align: center;  /* Centers the text */
}
footer p {
  font-weight: normal;
  font-size: 0.9rem;
}

.email-link{
  color: white;
}
/* ===========================
   MOBILE RESPONSIVENESS (Resume)
   =========================== */
@media (max-width: 768px) { /* Covers 540px & tablets */
  
  /* 1. Hide the table headers (Company, Role, Projects) */
  .grid-header {
    display: none; 
  }
  /* 2. Switch Main Grid to a vertical stack */
  .resume-grid {
    display: block; 
  }
  /* 3. Layout for each Company Block */
  .company-section {
    display: flex;
    flex-direction: column; /* Stacks Logo/Name on top of Roles */
    gap: 1rem;
    padding: 2rem 0;       /* Vertical breathing room */
    /*border-bottom: 2px solid #668824; /* Thicker line between companies */
  }
  
  /* 4. Layout for the Roles area */
  .company-roles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between different roles */
    margin-top: 0.5rem;
  }
  /* 5. Stack Role + Project vertically */
  .role-project-pair {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Small gap between Role title and Project name */
  }
  /* 6. Mobile Visual Tweaks */
  .company-logo {
    width: 60px; /* Keep logos modest */
    margin-bottom: 0.5rem;
  }
  
  .role strong {
    font-size: 1.05rem;
    color: #222;
  }
  
  /* Add label "Projects:" so context isn't lost without table headers */
  .resume-project::before {
    content: "Project: ";
    font-weight: bold;
    font-size: 0.8rem;
    color: #8bc34a; /* Your brand green */
    text-transform: uppercase;
    margin-right: 4px;
  }
}

/* ✅ Tablet view (when width < 900px): 2 x 2 layout */
@media (max-width: 740px) {
  .intro h1{
    font-size: 3rem;
  }
  .projects {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* smaller spacing */
  }
  .project.next .next-inner {
    transform: none;
  }
  .project {
    transform: rotate(0deg);
  }
  .project .overlay {
    font-size: 1.4rem; /* smaller text */
  }
    .girl-figure {
    opacity: 0;
  }
  .resume-grid, .company-section{
    gap: .5rem;
  }
     .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

/* 1. Stack Text and Video vertically */
  .project-content {
    flex-direction: column;
    gap: 40px; /* Space between text and video */
  }
  /* 2. Make video nice and big */
  .project-visual {
    width: 100%;
    justify-content: center;
  }
  .project-video {
    max-width: 80%; /* Don't let it get too huge, but bigger than desktop */
  }
  /* 3. Adjust Background Watermark so it doesn't break layout */
  .ifs-background img {
    margin-left: -50px; /* Less negative margin */
    opacity: 0.5;       /* Fade it out a bit more */
  }

  /* Keep proportional scaling on smaller screens */

}

@media (max-width: 540px) {
  .projects {
    grid-template-columns: 1fr;
    gap: 10px;
  }
 .project.next {
    transform: none;
  }
  .project .overlay {
    padding: 10px;
  }
  
    .project-meta .meta-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
   .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================
   ABOUT PAGE STYLES
   =========================== */


.ab-about-section {
  padding: 60px 20px;
}

.ab-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   HERO SECTION
   =========================== */

.ab-hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
  position: relative;
}

.ab-hero-text {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ab-title {
  margin-bottom: auto;
}

.ab-cta-link {
  margin-top: auto;
  align-self: flex-start;
}

.ab-hero-image {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.ab-hero-image img {
  width: 120%; /* Scaled up by 20% */
  max-width: 600px; /* Adjusted max-width accordingly (500px * 1.2) */
  height: auto;
  border-radius: 12px;
}


.ab-hero-quote {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  height: 100%;
}

.ab-quote-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  background: transparent;
}



/* ===========================
   TITLE STYLING
   =========================== */

.ab-title {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Creolia', Georgia, serif; /* Apply Creolia to entire title */
}

.ab-title-green {
  color: #6B8E23;
  font-weight: 400;
  font-family: 'Creolia', Georgia, serif;
}

.ab-title-black {
  color: #000;
  font-weight: 700;
  font-family: 'Creolia', Georgia, serif;
}

.ab-title-chaos {
  display: inline-block;
  font-family: 'Creolia', Georgia, serif;
}

.ab-chaos-img {
  height: 3.5rem;
  vertical-align: middle;

}

.ab-cta-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  border-top: 2px solid #222;
  padding-top: 12px;
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease;
}

.ab-cta-link:hover {
  color: #6B8E23;
}

/* ===========================
   CONTENT SECTIONS
   =========================== */

.ab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.ab-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.ab-subsection-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}

.ab-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}

.ab-text strong {
  font-weight: 700;
  color: #000;
}

.ab-right-column{
  margin-top: 40px;
}

/* ===========================
   BOTTOM CTA
   =========================== */

.ab-bottom-cta {
  text-align: center;
  padding: 60px 20px;
}

.ab-cta-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
}

.ab-btn-connect {
  display: inline-block;
  padding: 15px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #6B8E23;
  background-color: transparent;
  border: 2px solid #6B8E23;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 30px;
}

.ab-btn-connect:hover {
  background-color: #6B8E23;
  color: #fff;
}

.ab-cta-footer {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  font-weight: 400;
}


/* ============================= */
/* Knowledge Sharing Section */
/* ============================= */



.ab-section-title {
  font-size: 42px;
  margin-bottom: 50px;
}

.ab-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.ab-knowledge-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.ab-knowledge-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.ab-sub-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #7a869a;
  margin-bottom: 12px;
}

.ab-knowledge-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #5f6c7b;
}

/* ============================= */
/* Responsive Breakpoints */
/* ============================= */

/* Tablet */
@media (max-width: 968px) {
  .ab-knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 634px) {
  .ab-knowledge-grid {
    grid-template-columns: 1fr;
  }

  .ab-section-title {
    font-size: 32px;
  }
}





/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 968px) {
  .ab-hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
    align-items: start;
    margin-bottom: 0px;
  }
  .ab-hero-text {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    padding-top: 0;
  }
  .ab-title {
    margin-bottom: 30px;
  }
  .ab-cta-link {
    margin-top: 20px;
    padding-top: 20px;
    font-size: 1.3rem;
  }
  .ab-hero-image {
    grid-column: 2;
    grid-row: 1;
    height: auto;
  }
  .ab-hero-image img {
    width: 100%;
    max-width: 100%;
  }
  .ab-hero-quote {
    position: static;
    grid-column: 1 / 3;
    grid-row: 2;
    transform: none;
    right: auto;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;  
  }
  .ab-quote-img {
    max-width: 350px;
  }
  .ab-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ab-title {
    font-size: 3.5rem;
  }
  .ab-chaos-img {
    height: 2.5rem;
    margin: 0px;
  }
  .ab-right-column{
  margin-top: 0px;
}
}

@media (max-width: 700px) {
  .ab-title{
    font-size: 3rem;
  }
}

@media (max-width: 634px) {
  .ab-hero {
    grid-template-columns: 1fr;
  }

  .ab-hero-text {
    grid-column: 1;
    grid-row: 1;
  }

  .ab-hero-image {
    grid-column: 1;
    grid-row: 2;
    margin: 20px 0;
  }

  .ab-hero-quote {
    grid-column: 1;
    grid-row: 3;
    margin: 20px auto;
  }

  .ab-title {
    font-size: 4rem;
  }

  .ab-chaos-img {
    height: 4rem;
    margin: 0px;
  }

  .ab-cta-heading {
    font-size: 1.4rem;
  }

  .ab-cta-link {
    font-size: 1.5rem;
  }

  .ab-btn-connect {
    padding: 12px 35px;
    font-size: 1rem;
  }
}





/* Animation Initial State: Hidden and Scaled Down */
.scroll-animate, 
.mazooma-stat-card {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bounce effect */
}

/* The Active State (added by JS) */
.pop-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

html {
  scroll-behavior: smooth;
}
/* Ensure the new links don't get underlined */
a.project {
  text-decoration: none;
  display: block; /* Ensures links act like boxes */
}