/* Colours 
#80CB28 - Green
#1D4478 - Blue
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* general styles */
html, body {
    height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    font-style: "Montserrat", sans-serif ;
}


/* nav bar styles  */

nav.navbar {
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease, letter-spacing 0.25s ease;
    position: relative;
}

.nav-link:hover {
    color: #1D4478;
    transform: translateY(-1px);
    letter-spacing: 0.4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #1D4478;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
    background-color: #80CB28;
}


/* header styles */

#header-txt{
    color: #80CB28;
}

/* home hero */

.home-hero{
  background: #ffffff;
  padding: 70px 0 50px;
}

.home-hero-eyebrow{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #80CB28;
  margin-bottom: 12px;
}

.home-hero-title{
  color: #1D4478;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.home-hero-sub{
  color: #1D4478;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.home-hero-btn{
  background-color: #1D4478;
  color: #80CB28;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 22px;
}

.home-hero-btn-outline{
  border: 2px solid #1D4478;
  color: #1D4478;
  border-radius: 999px;
  padding: 10px 22px;
}

.home-hero-badges .badge{
  background: rgba(29, 68, 120, 0.08);
  color: #1D4478;
  border-radius: 999px;
  padding: 6px 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.home-hero-card{
  background: rgba(29, 68, 120, 0.08);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(29, 68, 120, 0.15);
}

.home-hero-logo{
  max-width: 220px;
  width: 100%;
  height: auto;
}

/* how it works */

.how-it-works{
  background: #f6f9fc;
  padding: 60px 0;
}

.step-card{
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(29, 68, 120, 0.12);
  height: 100%;
  text-align: center;
}

.step-card h5{
  color: #1D4478;
  font-weight: 700;
}

.step-card p{
  color: #1D4478;
  margin-bottom: 0;
}

.step-number{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #80CB28;
  color: #1D4478;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* mobile sticky CTA */

.mobile-cta{
  position: sticky;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  gap: 8px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 -10px 24px rgba(29, 68, 120, 0.15);
  z-index: 999;
}

.mobile-cta-btn{
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 2px solid #1D4478;
  color: #1D4478;
  font-weight: 600;
  text-decoration: none;
}

.mobile-cta-primary{
  background: #1D4478;
  color: #80CB28;
  border-color: #1D4478;
}

/* services styles */

#service-title{
    color: #1D4478;
    text-align: center;
    margin-top: 60px;
}

#service-p{
    color: #1D4478;
    text-align: center;
    margin-top: 10px;
}

/* services page cards */

.reviews-section{
  background-color: #f6f9fc;
}

.review-card{
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(29, 68, 120, 0.12);
  height: 100%;
}

.review-stars{
  color: #80CB28;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text{
  color: #1D4478;
  font-size: 0.98rem;
}

.review-name{
  color: #1D4478;
  font-weight: 600;
}

.services-hero{
  background: linear-gradient(120deg, #1D4478 0%, #2a5da4 45%, #80CB28 120%);
  color: #ffffff;
  padding: 70px 0;
}

.services-hero-eyebrow{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.services-hero-title{
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.services-hero-sub{
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.services-hero-btn{
  background-color: #80CB28;
  color: #1D4478;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 22px;
}

.services-hero-btn-outline{
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 22px;
}

.services-hero-card{
  background: rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.services-hero-logo{
  max-width: 220px;
  width: 100%;
  height: auto;
}

.service-card{
  border: none;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(29, 68, 120, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 20rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(29, 68, 120, 0.2);
}

.service-card .card-img-top{
  height: 170px;
  object-fit: cover;
}

.service-card .card-body{
  background: #ffffff;
}

.service-card .card-title{
  color: #1D4478;
  font-weight: 700;
}

.service-card .card-text{
  color: #2b3a55;
}

.service-card .btn{
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
}



/* Main card styling */
#service-home-cards .card {
  background-color: #1D4478;
  color: #80CB28;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
}

/* Card hover animation */
#service-home-cards .card:hover {
  transform: translateY(-7px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Card image */
#service-home-cards .card img {
  height: 180px;
  object-fit: cover;
}

/* Card body text */
#service-home-cards .card-title {
  color: #80CB28;
  font-weight: 600;
}

#service-home-cards .card-text {
  color: #d2eec4; /* softer green/white text for readability */
  font-size: 0.95rem;
}

/* Explore Button */
#service-home-cards .btn {
  background-color: #80CB28 !important;
  color: #1D4478 !important;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 20px;
  transition: background-color 0.3s ease;
}

#service-home-cards .btn:hover {
  background-color: #6ab020 !important;
}


/* about content */

#about-txt{
  color: #80CB28;
}

#about-title{
  color: #1D4478;
}

/* about hero */

.about-hero{
  background: #ffffff;
  color: #1D4478;
  padding: 80px 0 60px;
}

.about-hero-eyebrow{
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #80CB28;
  margin-bottom: 12px;
}

.about-hero-title{
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.about-hero-sub{
  font-size: 1.05rem;
  color: #1D4478;
  margin-bottom: 16px;
}

/* contact page */

#contact-title{
  color: #1D4478;
}

#contact-sub{
  color: #80CB28;
}

.contact-form{
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(29, 68, 120, 0.12);
}

.contact-form .form-label{
  color: #1D4478;
  font-weight: 600;
}

.contact-form .form-control,
.contact-form .form-select{
  border-radius: 10px;
  border: 1px solid rgba(29, 68, 120, 0.25);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus{
  border-color: #1D4478;
  box-shadow: 0 0 0 0.2rem rgba(29, 68, 120, 0.2);
}

.contact-btn{
  background-color: #80CB28;
  color: #1D4478;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 28px;
}

.contact-btn:hover{
  background-color: #6ab020;
  color: #1D4478;
}

.contact-panel{
  background-color: #1D4478;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(29, 68, 120, 0.2);
}

.contact-panel h5,
.contact-panel h6{
  color: #80CB28;
}

.contact-highlight{
  background-color: rgba(128, 203, 40, 0.15);
  border-radius: 12px;
}

.contact-callback-card{
  margin-top: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}



/* footer secction */

footer{
  background-color: #1D4478;
  padding-top: 24px;
  padding-bottom: 24px;
  box-shadow: 0 -8px 20px rgba(29, 68, 120, 0.35);
}

footer img {
  max-height: 60px;
}

footer ul li {
  margin-bottom: 6px;
}

footer a,
footer a.text-white {
  color: #ffffff;
  transition: color 0.2s ease;
}

footer a:hover,
footer a.text-white:hover,
footer a:focus,
footer a.text-white:focus {
  color: #80CB28 !important;
}

footer i,
footer a i {
  transition: color 0.2s ease;
}



/* footer media query */

@media (max-width: 576px) {
  footer ul {
    text-align: center;
  }

  footer .col-md-4 {
    margin-bottom: 20px;
  }

  .mobile-cta{
    display: flex;
  }

  body{
    padding-bottom: 0;
  }
  footer{
    padding-bottom: 24px;
  }
}


@media (max-width: 480px) {
  .services-hero,
  .about-hero {
    padding: 60px 0 40px;
  }

  .service-card .d-flex {
    flex-direction: column;
  }

  .service-card .btn,
  .contact-btn {
    width: 100%;
  }

  .services-hero-title,
  .about-hero-title {
    font-size: 2rem;
  }

  .home-hero{
    padding: 60px 0 40px;
  }

  .home-hero-title{
    font-size: 2rem;
  }
}
