/* ========== NAVBAR ========== */

/* Global background + full width fix */
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background-color: #0E2C28; /* match navbar color */
overflow-x: hidden; /* remove white edge lines */
}

.navbar {
background: #0E2C28;
width: 100%;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
position: sticky;
top: 0;
z-index: 999;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.8rem 5%;
max-width: 1300px;
margin: 0 auto;
}

/* LOGO */
.logo img {
width: 150px;
height: auto;
object-fit: contain;
cursor: pointer;
transition: transform 0.3s ease;
}

.logo img:hover {
transform: scale(1.05);
}

/* NAV LINKS */
.nav-links ul {
list-style: none;
display: flex;
align-items: center;
gap: 2rem;
}

.nav-links a {
text-decoration: none;
color: #EAEAEA;
font-weight: 500;
letter-spacing: 0.3px;
transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
color: #CDA349; /* Gold highlight */
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
}

.menu-toggle span {
width: 26px;
height: 3px;
background: #CDA349;
border-radius: 2px;
transition: 0.3s ease;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
.menu-toggle {
display: flex;
}

.nav-links {
position: fixed;
top: 0;
right: -100%;
height: 100vh;
width: 70%;
background: #0E2C28;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: right 0.4s ease;
}

.nav-links ul {
flex-direction: column;
gap: 2rem;
}

.nav-links.show {
right: 0;
}

/* Animate burger icon */
.menu-toggle.active span:nth-child(1) {
transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
transform: rotate(-45deg) translateY(-8px);
}
}


/* HERO STYLING */


/* ========== HERO SECTION ========== */
.hero {
position: relative;
width: 100%;
height: 100vh;
background: url('images/ceo.jpeg') no-repeat center center/cover;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(14, 44, 40, 0.7); /* dark green overlay to match navbar */
z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
text-align: center;
color: #fff;
max-width: 800px;
padding: 0 1rem;
}

.hero-content h1 {
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 1rem;
letter-spacing: 1px;
}

.hero-content p {
font-size: 1.2rem;
font-weight: 400;
margin-bottom: 2rem;
color: #EAEAEA;
}

/* Hero Button */
.btn-hero {
display: inline-block;
background: #CDA349;
color: #0E2C28;
padding: 0.9rem 2rem;
border-radius: 4px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}

.btn-hero:hover {
background: #b78f3e;
transform: translateY(-2px);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
.hero-content h1 {
font-size: 2rem;
}
.hero-content p {
font-size: 1rem;
}
.btn-hero {
padding: 0.8rem 1.5rem;
}
}


/* ========== OUR SERVICES SECTION ========== */
/* ===== HOME SERVICES SECTION ===== */
.home-services {
  padding: 5rem 5%;
  background: #F7F7F7; /* soft neutral background for contrast */
  text-align: center;
  color: #0E2C28;
}

.home-services h2 {
  font-size: 2.2rem;
  color: #0E2C28;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.home-services h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #CDA349;
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

.home-services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.home-services .service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #0E2C28;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
}

.home-services .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  border-color: #CDA349;
}

.home-services .service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-services .service-card:hover img {
  transform: scale(1.05);
}

.home-services .service-card h3 {
  font-size: 1rem;
  padding: 1rem;
  color: #0E2C28;
  font-weight: 600;
  border-top: 2px solid #CDA349;
  background: #fff;
  transition: color 0.3s ease;
}

.home-services .service-card:hover h3 {
  color: #CDA349;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 1024px) {
  .home-services-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .home-services-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-services h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .home-services-container {
    grid-template-columns: 1fr;
  }

  .home-services h2 {
    font-size: 1.6rem;
  }
}


/* ===== TESTIMONIALS SECTION ===== */

/* ===== TESTIMONIAL SECTION (Updated for Titles) ===== */
.testimonials-section {
  background-color: #F7F7F7;
  color: #0E2C28;
  padding: 5rem 5%;
  text-align: center;
  position: relative;
}

.testimonials-section h2 {
  color: #0E2C28;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Testimonial Card */
.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 600ms ease, transform 600ms ease;
  padding: 2rem 2.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(10, 20, 20, 0.06);
  margin: 0 auto;
  text-align: left;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Title (new) */
.testimonial-title {
  color: #CDA349;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-left: 4px solid #CDA349;
  padding-left: 0.8rem;
}

/* Quote text */
.testimonial .quote {
  font-style: italic;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Author and company */
.testimonial .author {
  color: #0E2C28;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.testimonial .company {
  color: #666;
  font-size: 0.95rem;
}

/* Decorative top bar */
.testimonials-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgba(205,163,73,1), rgba(205,163,73,0.9));
  position: absolute;
  top: 0;
  left: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-section { padding: 3rem 2rem; }
  .testimonial { text-align: center; padding: 1.5rem; }
  .testimonial-title { border-left: none; padding-left: 0; }
}


/* ======= PROFESSIONAL FOOTER ======= */
footer {
  background-color: #111;
  color: #eee;
  padding: 50px 10%;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 25px;
}

.footer-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: none; /* shows actual logo colors */
}

.footer-right {
  text-align: right;
}

.footer-right h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-right a, 
.footer-right p {
  color: #eee;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #f44336;
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
}

.social-icons {
  margin-bottom: 12px;
}

.social-icons a {
  color: #eee;
  margin: 0 10px;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f44336;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ✅ Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    text-align: center;
    margin-top: 20px;
  }

  .footer-right a, .footer-right p {
    justify-content: center;
  }

  .footer-logo {
    margin: 0 auto;
  }
}


/* ===== ABOUT SECTION ===== */
.about-section {
  background: #f8f9fa; /* lighter neutral background */
  color: #333; /* softer contrast text */
  padding: 5rem 0 3rem;
  text-align: center;
}

.about-section h2 {
  color: #b8860b; /* gold accent */
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about-section p {
  max-width: 850px;
  margin: 0.8rem auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* subtle divider below section */
.about-section::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #b8860b;
  margin: 2rem auto 0;
  border-radius: 3px;
}


/* ===== ETHOS SECTION (Fixed Grid Layout) ===== */
.ethos-section {
  background: #F7F7F7;
  color: #222;
  padding: 5rem 0;
}

.ethos-section .section-title {
  text-align: center;
  color: #0E2C28;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.ethos-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
}

/* --- Grid Layout --- */
.ethos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.ethos-card {
  background: #fff;
  border-left: 4px solid #CDA349;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ethos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.ethos-card h3 {
  color: #0E2C28;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.ethos-card p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Responsive Layouts --- */
@media (max-width: 992px) {
  .ethos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ethos-grid {
    grid-template-columns: 1fr;
  }
}

/* MISSION AND VISION SECTION STYLE  */

/* Mission & Vision Section */
.mission-vision {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Two-column grid layout */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

.mission-card,
.vision-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.mission-card h3,
.vision-card h3 {
  color: #b8860b; /* gold */
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.mission-card p,
.vision-card p {
  color: #333;
  line-height: 1.7;
  font-size: 1rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-card,
  .vision-card {
    text-align: center;
  }
}


           /* SERVICES PAGE STYLING */

           /* ===== SERVICES HERO ===== */
.services-hero {
  background: url('images/he.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.services-hero .hero-overlay {
  background: rgba(14, 44, 40, 0.7);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #EAEAEA;
}

.services-hero h1 {
  color: #CDA349;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ===== SERVICES GRID ===== */
.services-grid-section {
  padding: 4rem 5%;
  background: #f5f5f5;
  color: #0E2C28;
  text-align: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop/tablet */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card h3 {
  color: #0E2C28;
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 1rem 1.5rem;
  color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }

  .service-card img {
    height: 200px;
  }

  .services-hero h1 {
    font-size: 2rem;
  }

  .services-hero p {
    font-size: 1rem;
  }
}



                  /* OUR TEAM PAGE STYLING */

/* ===== TEAM SECTION ===== */
.team-section {
  background: #f8f9fa;
  padding: 5rem 5%;
}

.team-title {
  text-align: center;
  color: #0E2C28;
  font-size: 2rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.team-member {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

/* LEFT IMAGE */
.member-left {
  flex: 0 0 350px;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

/* RIGHT CONTENT */
.member-description {
  flex: 1;
}

.member-name {
  color: #0E2C28;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.role {
  color: #CDA349;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.member-description p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column;
  }

  .member-left {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .member-description {
    text-align: center;
  }
}


  /* TEAM AT WORK STYLING  */


/* ===== TEAM GALLERY SECTION ===== */
.team-gallery {
  padding: 70px 8%;
  background: #ffffff;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  color: #0E2C28;
  margin-bottom: 50px;
  font-weight: 700;
}

/* Grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Each item */
.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
}

/* Caption */
.gallery-item p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}
