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

:root {
/* 
===================
Color Pallette 
===================
*/

/* Primary Color */
--clr-primary: #90ab8b;
/* Secondary Color */
--clr-secondary: #3b4953;
/* Brand-gradient */
--gradient-var1: linear-gradient(180deg, #90ab8b, #3b4953);

/*Fonts */
--ff-primary: "Montserrat", sans-serif;
--ff-secondary: "Roboto", sans-serif;
/* font size */
font-size: 16px;
/* Global Transition */
--transition: all 0.3s ease;

 --header-height: 70px; /* fallback for mobile */
}

*, ::after, ::before{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--ff-primary);
  line-height: 1.2;
}

/* Header (same as your other pages) */
.header{
  width: 100%;
  display: flex;
  padding: 10px 40px;
  align-items: center;
  position: sticky;
  z-index: 1000;
  top: 0;
  transition: background 0.3s ease;
}

.header:hover{ background: #333; }
.header.scrolled{ background: #333; }

.logo-link{
  width: fit-content;
  height: fit-content;
  margin-right: auto;
}
.logo-image{
  width: 250px;
  height: auto;
}
.nav-list{
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-list li a{
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}
.nav-list li a:hover{ color: var(--clr-primary); }
.menu-icon{ display: none; }

@media screen and (max-width: 768px){
  .logo-image{ width: 150px; }
  .nav-list{ display: none; }
  .menu-icon{
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }
}
.mobile-sidebar{
  position: fixed;
  top: var(--header-height);              /* starts below header */
  right: 0;
  width: 80%;
  max-width: 320px;
  height: calc(100vh - var(--header-height));
  background: #333;
  z-index: 2000;

  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

/* Active state (JS toggles this) */
.mobile-sidebar.active{
  transform: translateX(0);
}

.sidebar-nav{
  padding: 24px 20px;
}

.sidebar-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-list a{
  text-decoration: none;
  color: #f4f4f4;
  font-family: var(--ff-primary);
  font-size: 18px;
  transition: color 0.3s ease;
}

.sidebar-list a:hover{
  color: var(--clr-primary);
}

/* Overlay should also start below header (so header stays clickable) */
.sidebar-overlay{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  background: rgba(0,0,0,0.6);
  z-index: 1500;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active{
  opacity: 1;
  pointer-events: all;
}

/* Only show on mobile */
@media screen and (min-width: 769px){
  .mobile-sidebar,
  .sidebar-overlay{
    display: none;
  }
}

/* About Hero */
.about-hero{
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  overflow: hidden;
  background: #333;
}

.about-hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 82vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    background-image: url('hero.webp');
    background-size: cover;     
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
}

.about-hero-inner{
  position: relative;
  z-index: 2;
  color: #f4f4f4;
  text-align: center;
  max-width: 950px;
}

.about-title{
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: 2px;
}

.about-subtitle{
  margin-top: 12px;
  font-size: clamp(14px, 2.5vw, 18px);
  opacity: 0.95;
}

.hero-cta{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-cta,
.secondary-cta{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: var(--ff-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.primary-cta{
  background: var(--clr-secondary);
  color: #f4f4f4;
}
.primary-cta:hover{ filter: brightness(1.05); transform: translateY(-1px); }

.secondary-cta{
  border: 2px solid rgba(255,255,255,0.8);
  color: #f4f4f4;
}
.secondary-cta:hover{ border-color: var(--clr-primary); color: var(--clr-primary); }

/* Trust strip */
.trust-strip{
  width: 100%;
  background: #333;
  color: #f4f4f4;
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 58px 16px;
  flex-wrap: wrap;
}

.trust-item{
  text-align: center;
  min-width: 140px;
}

.trust-number{
  font-size: 26px;
  color: var(--clr-primary);
}

.trust-text{
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.95;
}

/* Section base */
.section{
  padding: 80px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-alt{
  background: #ffffff;
}

.container-title{
  width: min(1000px, 92%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 1em;
}

.container-title h2{
  font-size: 32px;
  color: #333;
}

.header-bold{
  width: 4%;
  height: 4px;
  background: var(--clr-primary);
  border: none;
}

@media screen and (max-width: 768px){
  .container-title{ align-items: center; }
  .header-bold{ width: 10%; }
}

/* Two column area */
.two-col{
  width: min(1000px, 92%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card{
  background: #f4f4f4;
  border-radius: 12px;
  padding: 22px;
}

.card-title{
  font-size: 20px;
  margin-bottom: 10px;
}

.card-text{
  font-size: 14px;
}

.bullet-list{
  margin-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

@media screen and (max-width: 768px){
  .two-col{ grid-template-columns: 1fr; }
}

/* Services */
.service-grid{
  width: min(1000px, 92%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card{
  background: #f4f4f4;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card h3{
  font-size: 18px;
}

.service-card p{
  font-size: 14px;
}

.service-link{
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--clr-secondary);
  text-decoration: none;
}
.service-link:hover{ color: var(--clr-primary); }

@media screen and (max-width: 900px){
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px){
  .service-grid{ grid-template-columns: 1fr; }
}

/* Steps */
.steps{
  width: min(1000px, 92%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step{
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #eee;
}

.step-badge{
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: var(--clr-primary);
  color: #333;
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3{
  font-size: 16px;
  margin-bottom: 8px;
}

.step p{
  font-size: 14px;
}

@media screen and (max-width: 900px){
  .steps{ grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px){
  .steps{ grid-template-columns: 1fr; }
}

/* Proof */
.proof-grid{
  width: min(1000px, 92%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.proof-card{
  background: #f4f4f4;
  border-radius: 12px;
  padding: 20px;
}

.quote{
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
}

.quote-author{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.9;
}

.small-muted{
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.8;
}

@media screen and (max-width: 900px){
  .proof-grid{ grid-template-columns: 1fr; }
}

/* Link Styling for Proof Card */
.service-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--clr-secondary);
  text-decoration: none;
}

.service-link:hover {
  color: var(--clr-primary);
}

/* Management Section */
.management-grid {
  width: min(350px, 92%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

.management-card {
  background: #f4f4f4;
  border-radius: 12px;
  overflow: hidden; /* Ensures image doesn't bleed out of corners */
  transition: var(--transition);
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
}

.management-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.management-img-container {
  position: relative;
  width: 100%;
  height: 250px; /* Adjust height as needed */
  background: #ddd; /* Placeholder color */
  overflow: hidden;
}

.management-img {
  position: absolute;
  width: 200%;
  height: 200%;
  left: -50%;
  top: -80%;
  object-fit: cover; /* Keeps aspect ratio while filling space */
  display: block;
}

.management-info {
  padding: 20px;
  text-align: center;
}

.management-name {
  font-size: 20px;
  color: #333;
  margin-bottom: 5px;
}

.management-role {
  font-size: 14px;
  color: var(--clr-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.management-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Tablet view */
@media screen and (max-width: 900px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile view */
@media screen and (max-width: 500px) {
  .management-grid {
    grid-template-columns: 1fr;
  }
  
  .management-img-container {
    height: 300px;
  }
}

/* CTA */
.cta-section{
  padding: 70px 10px;
  background: #333;
  color: #f4f4f4;
  display: flex;
  justify-content: center;
}

.cta-inner{
  width: min(900px, 92%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta-inner h2{
  font-size: clamp(22px, 4vw, 32px);
}

.cta-inner p{
  font-size: 14px;
  opacity: 0.95;
}

/* Contact details strip (same vibe as your home) */
.contact-details-strip{
  display: flex;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
  justify-content: center;
  gap: 100px;
  background: #333;
}

.contact-detail{
  color: #f4f4f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.contact-detail a{
  color: #f4f4f4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}
.contact-icon{
  padding: 12px;
  border-radius: 100%;
  background: var(--clr-primary);
}

.contact-title-small{
  font-size: 18px;
}

.contact-text{
  font-size: 14px;
  opacity: 0.95;
}

@media screen and (max-width: 768px){
  .contact-details-strip{
    flex-direction: column;
    gap: 40px;
  }
}

/* Footer (same as yours) */
.footer {
  background: #333;
  color: #f4f4f4;
  padding-top: 40px;
}
.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 10px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.socials a {
  margin-right: 10px;
  font-size: 20px;
  color: #ccc;
}

.socials a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #555;
  margin-top: 30px;
  font-size: 14px;
}
