/* =====================================================
   BASE STYLES & VARIABLES
   ===================================================== */

/* Import Custom Font */
@font-face {
    font-family: 'Manrope';
    src: url('font/Manrope/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* CSS Variables */
:root {
    --primary-color: #1EB5A4;
    --primary-dark: #199488;
    --secondary-color: #263238;
    --background-offwhite: #E3EDEC;
    --background-contrast: #F4F5FA;
    --background-navbar: #263238;
    --primary-overlay: rgba(38, 50, 56, 0.5);
    --primary-overlay-light: rgb(45, 49, 63, 0.5);
    --text-muted: #777;
    --text-light: #F4F5FA;
    --text-dark: #263238;
    --font-family: 'Manrope', sans-serif;
}

.text-bold{
    font-weight: bold;
}

/* Logo Filter */
.pie-logo {
    color: var(--primary-color);
    width: 40px;
    margin: 10px;
  height: auto;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* =====================================================
   PRE-NAVBAR STYLES
   ===================================================== */
.pre-nav-bar {
    background-color: var(--background-offwhite);
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.language-switcher a {
  text-decoration: none;
  color: #666;
  font-weight: 600;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.language-switcher a.active {
  color: var(--text-dark);
  font-weight: bold;
  pointer-events: none
}

.subtle-link{
    text-decoration: none; 
    color: inherit; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
    transition: font-weight 0.3s ease-in-out, transform 0.3s ease-in-out; 
}
.subtle-link:hover {
    font-weight: bold;
}
.subtle-link:hover .email-icon{
    transform: scale(1.1);
}

/* =====================================================
   NAVBAR STYLES
   ===================================================== */
.navbar-custom {
  background-color: var(--background-navbar);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  height: 50px;
  margin-right: 8px;
  margin-bottom: 5px;
  color: var(--text-light);
}

.brand-logo:hover {
  font-weight: bold !important;
  color: var(--text-light) !important;
}

.slogan {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text-light);
  white-space: nowrap;
}

.accent {
  color: var(--primary-color);
}



/* Center the slogan inside the navbar */
.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Search Form */
.search-form {
    position: relative;
}

.search-input {
    max-width: 200px;
    border-radius: 20px;
    border: 1px solid #ccc;
    padding-right: 30px;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

/* Cart Link */
.cart-link {
    color: var(--secondary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 75vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-overlay);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--text-light);
    z-index: 2;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    text-decoration: none;
}


.custom-story-section {
  background: var(--background-contrast);;
  color: var(--secondary-color);
  padding: 60px 0;
}

.story-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.story-text {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.story-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.story-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary-color);
}

.story-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cta-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 5px;
}

.cta-link:hover {
  text-decoration: underline;
}



.problem-section {
  background: var(--background-offwhite);
  color: var(--secondary-color);
  padding: 60px 0;
}

.problem-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.problem-section .lead {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Dynamic Grid Layout for Challenge Items */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.challenge-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.challenge-item h5 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.challenge-item p {
  font-size: 1rem;
  color: var(--text-muted);
}

.challenge-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Make the third challenge span full width */
.challenge-grid .challenge-item:nth-child(3) {
  grid-column: span 2;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
  .challenge-grid {
    grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
  }

  .challenge-grid .challenge-item:nth-child(3) {
    grid-column: span 1; /* Reset to normal width for smaller screens */
  }

  .challenge-item {
    padding: 15px; /* Reduce padding slightly */
  }
}

/* Default state: hidden and shifted down */
.challenge-grid .challenge-item,
.col-md-6.animate-card {
  opacity: 0;
  transform: translateY(20px);
}

/* When visible, animate them */
.challenge-grid .challenge-item.visible {
  animation: fadeInUp 0.5s forwards;
}
.challenge-grid .challenge-item:nth-child(1).visible {
  animation-delay: 0.3s;
}
.challenge-grid .challenge-item:nth-child(2).visible {
  animation-delay: 0.6s;
}
.challenge-grid .challenge-item:nth-child(3).visible {
  animation-delay: 0.9s;
}

.col-md-6.animate-card.visible {
  animation: fadeInUp 0.5s forwards;
  animation-delay: 0.1s; /* slight delay for text */
}

/* Keyframes for fadeInUp */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




.value-section {
  padding: 80px 0;
  background: var(--background-offwhite);;
  text-align: center;
}

.value-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.value-section .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.value-item {
  padding: 20px;
  transition: transform 0.3s;
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.value-item h5 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 1rem;
  color: var(--text-muted);
}

.contact-section {
  padding: 60px 0;
  background: var(--background-contrast);
  color: var(--secondary-color);
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
}

.contact-section .lead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.primary-email {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.primary-email:hover {
  text-decoration: underline;
}
.contact-section {
  padding: 60px 0;
  background: var(--background-contrast);
  color: var(--secondary-color);
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
}

.contact-section .lead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.primary-email {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.primary-email:hover {
  text-decoration: underline;
}

/* Flex container for the cards */
.contact-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contact-section {
  padding: 60px 0;
  background: var(--background-contrast);
  color: var(--secondary-color);
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
}

.contact-section .lead {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.primary-email {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.primary-email:hover {
  text-decoration: underline;
}

.services-highlight {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Flex container for the cards */
.contact-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Each card is an anchor wrapping the whole content */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 300px;
  min-width: 250px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.founder-headshot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 15px;
  display: block;
}

.contact-card h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.linkedin-icon {
  width: 32px;
  height: auto;
  margin-top: 10px;
  display: block;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.social-subheader {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0px;
}

.social-icon {
  width: 32px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.categories-section {
    background-color: var(--background-offwhite);
    padding: 2rem 0;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.section-header .section-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Category Card */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
    border-radius: 12px;
}

.category-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary-overlay);
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 1.2rem;
    transition: background 0.3s, opacity 0.3s;
    text-align: center;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .overlay {
    background: var(--primary-overlay-light);
}

/* =====================================================
   SHOWCASE PRODUCTS SECTION
   ===================================================== */
.showcase-section {
    background-color: var(--background-contrast);
    padding: 2rem 0;
}

.product-link {
    text-decoration: none;
}

.product-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card .card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.product-card .card-img-top {
    transition: transform 0.3s;
    border-radius: 12px 12px 0 0;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1rem;
    text-align: left;
    font-family: var(--font-family);
    color: var(--secondary-color);
}

.card-title {
    margin: 0;
    font-weight: bold;
}

.price {
    font-weight: normal;
    color: #777;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* =====================================================
   INFORMATIVE SECTION
   ===================================================== */
.info-section {
    background-color: var(--background-offwhite);
    padding: 2rem 0;
}

.info-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.info-text {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 1rem;
}


/* =====================================================
   FOOTER STYLES
   ===================================================== */
.site-footer {
    background-color: var(--background-contrast);
    padding: 1rem 0;
    text-align: center;
}

/* =====================================================
   ANIMATIONS & HOVER EFFECTS
   ===================================================== */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(-20%);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.hero-content {
    animation: fadeInSlide 1.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-card {
    opacity: 0;
    transform: translateY(40px);
}

.animate-card.visible {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-text.visible {
    animation: fadeInLeft 1s ease-out forwards;
}

.animate-image.visible {
    animation: fadeInRight 1s ease-out forwards;
}

/* Button Hover Effects */
.cta-btn:hover {
    transform: scale(1.05);
    color: var(--background-contrast);
    background-color: var(--primary-dark);
}


/*About Us Styles*/


/* =====================================================
   HERO SECTION
   ===================================================== */
.landing-hero-section {
  position: relative;
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
    overflow: hidden;

}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
filter: brightness(0.5);

}


/*.overlay {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: var(--primary-overlay, rgba(0, 0, 0, 0.5));*/
/*    z-index: 1;*/
/*    transform: translateZ(0);*/
/*    will-change: opacity;*/
/*    backface-visibility: hidden;*/
/*}*/
/*!* Overlay *!*/
/*.landing-hero-section::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: rgba(255, 0, 0, 0.5);*/
/*    pointer-events: none; !* Default: semi-transparent black *!*/
/*    z-index: 3;*/
/*}*/

.landing-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-overlay-light);
}
.landing-hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}
.landing-hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.landing-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 0;
    position: relative;
    z-index: 1;
}




/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-it-works-section {
  padding: 80px 0;
  background-color: var(--background-contrast);
  position: relative;
}
.how-it-works-section .wow-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}
.how-it-works-section p {
  font-size: 1.1rem;
  color: var(--secondary-color);
}
.contrast-bubble {
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 40px;
  margin: 0 auto;
  max-width: 850px;
  position: relative;
}
.steps-container .step {
  margin-bottom: 40px;
}
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.step-icon {
  color: var(--background-contrast);
  font-size: 2rem;
}
.step-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: bold;
}
.steps-container .step p {
  margin: 0;
}
.step-description {
  color: var(--secondary-color);
  max-width: 700px;
  margin: 0 auto;
}

.toggle-journey-wrapper {
  margin-bottom: 40px;
}

.toggle-question {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
/* Toggle Switch Wrapper */
.toggle-journey-wrapper {
  margin-bottom: 40px;
}

.toggle-question {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.toggle-switch-wrapper {
  max-width: 350px;
  margin: 0 auto;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: flex;
  background-color: var(--primary-color);
  border-radius: 50px; /* Pill shape */
  overflow: hidden;
  cursor: pointer;
}

.toggle-option {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  color: var(--text-light);
  z-index: 2;
  user-select: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.toggle-option.active-option {
  color: var(--background-contrast);
  transform: scale(1.05);
}

/* Center the icon on its own line */
.toggle-option .toggle-icon {
  display: block;
  font-size: 1.5rem;
  margin-top: 5px;
  vertical-align: middle;
}

/* The slider that indicates the active state */
.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--primary-dark);
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 1;
}

/* Optional hover effect on options */
.toggle-option:hover {
  transform: scale(1.03);
}

/* Steps container: animate steps one after the other */
.steps-container .step {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
}

.steps-container .step:nth-child(1) {
  animation-delay: 0.3s;
}
.steps-container .step:nth-child(2) {
  animation-delay: 0.6s;
}
.steps-container .step:nth-child(3) {
  animation-delay: 0.9s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =====================================================
   OUR STORY & TEAM SECTION
   ===================================================== */
.story-section {
  padding: 80px 0;
}
.story-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.story-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.img-founders {
    max-width: 500px;
    width: 100%; 
    height: auto;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    object-position: center center; 
}
/* =====================================================
   MISC ABOUT US STYLES
   ===================================================== */
.highlight {
  color: var(--primary-color);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}
