body {
    font-family:'Figtree', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f6f6;
    color: #333;
}

header {
    background-color: #3C583C; /* Green 500 */
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

video {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.2rem;
}



.key-features h2 {
    margin-top: 0rem;    /* Reduce space above */
    margin-bottom: 2.5rem; /* Increase space below */
}

main {
    /*padding: 2rem 1rem;*/
}

.intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 300px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.cta {
    background-color: #667545; /* Green 400 */
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.cta .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: white;
    color: #3C583C;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.key-features {
    text-align: center;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 2rem;
  }
  
  .features-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .feature-item {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

.feature-img {
    width: 100%;
    height: 180px;              /* Set your desired height */
    object-fit: cover;          /* Crop to fill the box */
    object-position: top;       /* Crop from the top */
    border-radius: 4px;
    display: block;
}

  .hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
  }
  
  .hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    /* Optional: add a white overlay for readability */
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95));
}
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
  }
  
  .hero h1 {
    margin-bottom: 2rem;
    color: #EEF7DB;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  }
  
.bannerimage {
    width: 100%;
    max-width: 100%;
    height: 320px; /* adjust as needed for 'air' */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.bannerimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

section {
    margin: 2rem auto;
    padding: 2rem;
    /* width: 80%; */
    /* max-width: 900px; */
    text-align: center;
  }

.who-for-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.who-for-text {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.who-for-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-for-image img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
}


footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}

.bannerimage.banner-learnmore {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bannerimage.banner-learnmore img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-learnmore-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.541);
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.banner-learnmore-content a {
    color: #d6f91d; /* or your preferred color */
    text-decoration: underline;
    font-weight: 500;
}

.products {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin: 2rem auto;
  max-width: 1200px;
  flex-wrap: wrap;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  min-width: 260px;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 1.5px 4px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s, transform 0.2s;
  margin: 0.5rem;
  background: #f8f8f8;
}

.product-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 1;
}

.product-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: center;
}

.product-card h2 {
  margin: 0 0 0.7rem 0;
  color: #111;
  text-decoration: none;  
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-card p {
  margin: 0;
  color: #111;
  text-decoration: none;  
  font-size: 1.1rem;
  line-height: 1.5;
}

.product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 3px 8px rgba(0,0,0,0.06);
  transform: translateY(-4px) scale(1.02);
}

.product-card:hover .product-card-bg {
  opacity: 0.28;
  filter: blur(1px);
}

/* Remove link styles on hover/focus */
.product-card:focus,
.product-card:active,
.product-card:hover {
  outline: none;
  text-decoration: none;
}

/* --- SLRLearn Page Styles (Unified Colour Scheme) --- */
.slrlearn-body {
    background: #f6f6f6;
    color: #333;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}
.slrlearn-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* center both items */
    gap: 2.5rem;             /* add a gap between text and image */
    padding: 60px 2rem;      /* reduce horizontal padding */
    min-height: 350px;
    overflow: hidden;
    background: none; /* Remove background image/gradient */
}
.slrlearn-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    /* Optional: subtle overlay for readability */
}
.slrlearn-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(60, 88, 60, 0.55); /* green overlay for contrast */
    z-index: 1;
}
.slrlearn-hero-content,
.slrlearn-hero-image {
    position: relative;
    z-index: 2;
}
.slrlearn-hero-content {
    max-width: 500px;
}
.slrlearn-hero h1 {
    
    margin-bottom: 0.5em;
    color: #fff;
}
.slrlearn-hero p {
    margin-bottom: 1.5em;
    color: #fff;
}
.slrlearn-cta-btn {
    background: #3C583C;
    color: #fff;
    padding: 0.8em 2em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}
.slrlearn-cta-btn:hover {
    background: #667545;
}
.slrlearn-hero-image img {
    max-width: 340px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.slrlearn-section {
    padding: 48px 5% 32px 5%;
    background: #fff;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.slrlearn-section h2 {
    color: #3C583C;
    margin-bottom: 0.5em;
}
.slrlearn-modules-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center
}
.slrlearn-module-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    margin-bottom: 16px;
    width: 100%;
    text-align: center;
}

.slrlearn-module-card img {
    width: 100%;
    max-width: 220px;
    border-radius: 8px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.slrlearn-module-card h3 {
    margin: 0 0 10px 0;
    color: #3C583C;
}
.slrlearn-module-card p {
    color: #333;
    text-align: center;
}
.slrlearn-banner-section {
    width: 100%;
    margin: 32px 0;
    text-align: center;
    height: 220px; /* Set your desired banner height */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.slrlearn-banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}
.slrlearn-upcoming-section {
    padding: 32px 5%;
    background: #eaf1fa;
    border-radius: 10px;
    margin-bottom: 32px;
    text-align: center;
}
.slrlearn-upcoming-section h3 {
    color: #3C583C;
    margin-bottom: 0.5em;
}
.slrlearn-upcoming-section p {
    color: #333;
}
.slrlearn-bottom-cta {
    display: flex;
    justify-content: center;
    padding: 40px 0 60px 0;
}
.slrlearn-bottom-cta .slrlearn-cta-btn {
    background: #3C583C;
    color: #fff;
    padding: 1em 2.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.slrlearn-bottom-cta .slrlearn-cta-btn:hover {
    background: #667545;
}



@media (max-width: 900px) {
    .who-for-container {
    flex-direction: column;
  }
  .who-for-image img {
    max-height: 200px;
  }

    .features-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 1.2rem;
  }

  .slrlearn-modules-list {
    flex-direction: column;
    gap: 1rem;
  }
  .slrlearn-module-card {
    min-width: 0;
    width: 100%;
    padding: 1.2rem;
  }

  .slrlearn-bottom-cta .slrlearn-cta-btn {
    padding: 1.2em 2em;
    width: 90vw;
    max-width: 350px;
  }
    .slrlearn-hero {
    margin: 0 !important;
    padding: 32px 2vw;
  }
  
  .products {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .product-card {
    max-width: 98vw;
    min-width: 0;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/9;
    padding: 0.5rem;
  }
  .product-card-content {
    padding: 1.2rem;
  }
    .slrlearn-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    .slrlearn-hero-image {
        justify-content: center;
        margin-top: 24px;
    }
    .slrlearn-modules-list {
        flex-direction: column;
        gap: 0;
    }
}