/* =======================
   RESET & BASE
   ======================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --header-height: 70px; /* global variable */
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding-top: var(--header-height); /* push content below header */
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =======================
/* =======================
   HEADER
   ======================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height); /* consistent height */
  background: #CDEBF0;
  color: black;
  z-index: 1000;

  display: flex;
  align-items: center;
}

header.scrolled {
  background: #ffffff;
  color: black;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1rem; /* only side padding */
}

.logo {
  height: 40px;    /* adjust size here */
  width: auto;     /* keeps the proportions */
  display: block;  /* avoids weird spacing */
}

/* =======================
   NAVIGATION (Desktop)
   ======================= */
/* Desktop nav (screens > 768px) */
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;        /* keeps it pushed to the right of the logo */
  margin-right: -1.5rem;       /* extra space from the right edge of the screen */
}


.nav-links a {
  margin-left: 1rem;
  color: black; /* black on desktop */
  white-space: nowrap; /* prevents multi-line wrapping */
  font-weight: 500;
}

/* Add spacing to the last nav link */
.nav-links a:last-child {
  padding-right: 1.5rem; /* adjust this value as needed */
  /* or margin-right: 1.5rem; works too */
}


/* =======================
   HAMBURGER
   ======================= */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
  transition: color 0.3s ease;
}

header.scrolled .hamburger {
  color: black;
}

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 300px; /* sidebar width */
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    display: none;
    background-color: #21344C; /* solid blue background */
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem 1rem;
    gap: 1rem;
    z-index: 1001; /* on top of overlay */
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
    text-align: left;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    width: 100%;
  }

  /* ✅ White overlay next to sidebar */
  .menu-overlay {
    position: fixed;
    top: var(--header-height);
    left: 300px; /* starts where the blue menu ends */
    width: calc(100% - 300px); /* covers rest of screen */
    height: calc(100vh - var(--header-height));
    background: rgba(255, 255, 255, 0.6); /* semi-transparent white */
    display: none;
    z-index: 1000;
  }

  .menu-overlay.show {
    display: block;
  }
}

/*for tablets*/
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.2rem; /* reduce gap for medium screens */
  }
}


/* =======================
   HERO SECTION
   ======================= */
.hero {
  background: #CDEBF0;
  padding: 6rem 0; /* vertical padding, controls background height */ 
  position: relative; /* allows child absolute positioning */
  height: 600px; /*locking the height of it*/
  overflow: visible;  /* ensures image can hang outside */
}


.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1 1 58%;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  color: #21344C;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 2rem;
}



.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 4rem;
  color: #555;
}

.hero-text .button {
  display: inline-block;
  background: #21344C;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
}



.hero-image {
  flex: 1 1 42%;
  text-align: right;
  padding-left: 8rem;
  position: relative; /* anchor point for the img */
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 690px;
  border-radius: 8px;
  display: block;
  object-fit: contain;

  position: absolute; /* 👈 removes it from normal flow */
  bottom: -25.75rem;      /* 👈 hangs below green background */
  right: 1.25rem;           /* stays aligned to the right */
}


@media (max-width: 768px) {
  .hero {
    height: auto;           /* let content define the height */
    padding: 4rem 0;        /* reduce vertical padding for balance */
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    display: none; 
  }

  .hero-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-text .button {
    display: inline-block;
    margin: 0 auto;
  }
}





/* Features Section */
/* ---------- Features Section Styled to Match Design ---------- */
.features {
  background: #CDEBF0; /* pastel green like other sections */
  padding: 4rem 2rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #333;
  font-weight: 600;
}

/* Desktop Grid */
.features-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.features-carousel .feature-card {
  flex: 1 1 calc(33.333% - 2rem);
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px; /* slightly rounder corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* subtle elevation */
  min-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.features-carousel .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.features-carousel .feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #2A84AA; /* accent green */
}

.features-carousel .feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* Mobile Carousel */
@media (max-width: 768px) {
  .features-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem 0;
  }

  .features-carousel .feature-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: unset;
  }

  .features-carousel::-webkit-scrollbar {
    display: none;
  }
  .features-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}



/* About */
.about {
  background: #ffffff;
  padding: 3rem 0;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
}

/* Contact OLD*/

/*
.contact {
  background: #f4f4f4;
  padding: 3rem 0;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact button {
  background: #2baf73;
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
*/

/*contact new*/
/* Contact Section Styling */
.contact {
  background-color: #CDEBF0; /* subtle pastel green like other sections */
  padding: 4rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.contact .container {
  max-width: 800px;
  margin: 0 auto;
}

/* Section heading */
.contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Paragraph styling */
.contact p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555;
}

/* List styling */
.contact ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact li {
  display: inline-block;
}

/* Email link as pill button with split colors */
.contact a {
  display: inline-block;
  background-color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px; /* pill shape */
  font-weight: 600;
  color: red; /* default accent color */
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s, color 0.3s;
}

.contact a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Local part (before @) */
.contact a .local {
  color: #3AB4E8; /* green for local part */
}

/* Domain part (after @) */
.contact a .domain {
  color: #555; /* muted grey for domain */
}

/* Responsive tweaks */
/* Responsive tweaks */
@media (max-width: 480px) {
  .contact ul {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center; /* centers the pills horizontally */
  }

  .contact li {
    width: 100%;
    display: flex;
    justify-content: center; /* ensures each pill is centered in its li */
  }

  .contact a {
    width: auto; /* remove full-width to keep pill shape */
    text-align: center;
  }
}





/* Footer */
footer {
  background: #21344C;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
  width: 100%;
  position: relative;
  left: 0;
}

footer p {
  margin: 0;
}

/* Testimonials Section */
/* Testimonials Section */
/* Testimonials Section */
/* ---------- Testimonials Section ---------- */
.testimonials {
  background: #ffffff; /* pastel green to match other sections */
  padding: 5rem 2rem;
  text-align: center;
}

/*what our customers say*/
.testimonials h2 {
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #333;
  font-weight: 600;
}

/* Desktop Grid */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  flex: 1 1 calc(33.333% - 2.5rem);
  background: red;
  padding: 2.5rem;
  border-radius: 12px; /* slightly rounder corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* reduced gap for better spacing */
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Name and position on top */
/* Name and position on top, stacked vertically with smaller gap */
/* ==================== Testimonials Section ==================== */
.testimonials {
  background: #ffffff; /* section background */
  padding: 5rem 2rem;
  text-align: center;
}

/* Section Heading */
.testimonials h2 {
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #333;
  font-weight: 600;
}

/* Desktop Grid */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Shared Testimonial Card */
.testimonial {
  flex: 1 1 calc(33.333% - 2.5rem);
  background: #21344C; /* ✅ change this for box color */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Hover Effect */
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Testimonial Text */
.testimonial p {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  color: #CDEBF0;
  flex-grow: 1; /* pushes name and title to bottom */
  margin: 1rem 0 0 0; /* small gap above name */
}

/* Name */
.testimonial strong {
  display: block;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

/* Position / Role */
.testimonial span {
  display: block;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
  margin-top: -0.3rem; /* bring closer to name */
}

/* ==================== Mobile Carousel ==================== */
.testimonial-carousel {
  display: none;
}

@media (max-width: 768px) {
  .testimonial-grid {
    display: none;
  }

  .testimonial-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 1rem 2rem;
  }

  .testimonial-carousel .testimonial {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-height: 200px;
  }
}







/* Intro Feature Sections */
.intro-feature {
  padding: 2rem 0;
}

.highlight-section {
  background-color: #F0FDFF;
}

.intro-feature.personalised-branding-section {
  background-color: #ffffff;
}

.intro-feature.Built-in-Review-section {
  background-color: #ffffff;
}

.intro-feature.Download-scorecard-section {
  background-color: #F0FDFF;
}

.intro-content {
  display: flex;
  flex-direction: column; /* mobile first: text above image */
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  
  max-width: 1200px; /* keeps content centered */
  margin: 0 auto;
  padding: 0 2rem;
}

.intro-text {
  flex: 1 1 50%;
  margin-top: -3rem; /* pulls the whole text block up on desktop */
}

.intro-text h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  margin-top: 0;
  color: #21344C;
}

.intro-text p {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: 0;
}

.intro-image {
  background-color: transparent;
  border-radius: 0;
  max-width: none;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✅ Responsive tweaks */
@media (max-width: 768px) {
  .feature-card {
    flex: 1 1 100%;
  }

  .intro-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem; /* reduce vertical space between text and image */
  }

  .intro-image,
  .intro-text {
    flex: 1 1 100%;
  }

  .intro-text {
    margin-top: 2.5rem;     /* push heading down */
  }

  .intro-text h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    color: #21344C;           /* test - should show now */
  }

  .intro-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .intro-image {
    margin-top: 0.5rem;
    text-align: center;
  }

  .intro-image img {
    max-width: 90%;
    height: auto;
  }
}

/* ✅ Desktop layout */
@media (min-width: 769px) {
  .intro-content {
    flex-direction: row; /* text left, image right */
    align-items: center;
  }

  .intro-feature.reverse .intro-content {
    flex-direction: row-reverse; /* image left, text right */
  }
}




/*image test*/
.logo {
  height: 50px; /* adjust as needed */
  width: auto;  /* maintain aspect ratio */
}


/*smooth scroll*/
html {
  scroll-behavior: smooth;
}


/*how it works*/
/* How It Works Section */
.how-it-works {
  background: #f9f9f9; /* light background to separate from other sections */
  padding: 5rem 2rem;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #333;
  font-weight: 600;
}

.how-it-works p {
  max-width: 1500px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
}


