/* ============================================
   NAVBAR CUSTOMIZATION
   ============================================ */

/* Navbar base styling */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Navbar brand styling */
.navbar-brand {
  font-size: 1.25rem;
  color: #1a1a1a !important;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(5deg) scale(1.05);
}

/* Nav links styling */
.navbar-nav .nav-link {
  color: #4a5568 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #078638 !important;
}

/* Active link indicator */
.navbar-nav .nav-link.active {
  color: #078638 !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: linear-gradient(90deg, #078638, #08983f);
  border-radius: 2px 2px 0 0;
}

/* Hover underline effect for non-active links */
.navbar-nav .nav-link:not(.active)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #078638;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:not(.active):hover::before {
  width: calc(100% - 2rem);
}

/* Contact button styling */
.navbar .btn-success {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  background: linear-gradient(135deg, #078638, #08983f);
  border: none;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.navbar .btn-success:hover {
  transform: translateY(-2px);
 box-shadow: 0 5px 15px rgba(0, 100, 0, 0.3);
  background: linear-gradient(135deg, #08983f, #078638);
}

/* Mobile menu styling */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .navbar-nav .nav-link.active::after {
    left: 0;
    right: auto;
    width: 4px;
    height: 100%;
    bottom: auto;
    top: 0;
  }
  
  .navbar .btn-primary {
    width: 100%;
  }
}

/* ============================================
   FOOTER CUSTOMIZATION
   ============================================ */

/* Footer base styling */

footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* Footer headings */
footer h6 {
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #08983f, transparent); 
}

/* Footer links */
footer ul li {
  margin-bottom: 0.75rem;
}

footer a {
  color: #a0aec0 !important;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: #ffffff !important;
  transform: translateX(5px);
}

/* Footer text */
footer .text-muted {
  color: #718096 !important;
  line-height: 1.8;
}

/* Contact info icons */
footer .bi {
  color: #08983f;  
  margin-right: 0.5rem;
}

/* Social media icons */
footer .d-flex a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
}

footer .d-flex a:hover {
  background: #08983f;  
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 100, 0, 0.3); 
}

/* Logo in footer */
footer .navbar-brand,
footer a[href*="home"] {
  transition: transform 0.3s ease;
}

footer .navbar-brand:hover,
footer a[href*="home"]:hover {
  transform: translateY(-3px);
}

/* Divider */
footer hr {
  opacity: 0.1;
  margin: 2rem 0 1.5rem;
}

/* Copyright section */
footer .text-center {
  padding-top: 1rem;
  opacity: 0.7;
}

/* Responsive footer */
@media (max-width: 767.98px) {
  footer h6 {
    margin-top: 1rem;
  }

  footer .col-md-4,
  footer .col-md-2,
  footer .col-md-3 {
    margin-bottom: 2rem;
  }
}
/* ============================================
   ADDITIONAL ENHANCEMENTS
   ============================================ */

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

/* Remove focus outline but keep accessibility */
.navbar-toggler:focus {
  box-shadow: none;
  border-color: rgba(13, 110, 253, 0.5);
}

/* Navbar shadow on scroll (optional - requires JS) */
.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.project-card .overlay {
    background: rgba(13, 110, 253, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Project image helpers -------------------------------------------------- */
.project-detail-img {
    width: 100%;
    height: auto;          /* preserve aspect ratio and avoid squashing */
    max-height: auto;    /* limit height for very tall images */
    object-fit: contain;  /* show full image without cropping */
    object-position: center;
}

/* images shown on the other-projects cards inside detail page */
.other-project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

/* generic project images used in the listing page; height can grow on large screens */
.project-img {
    width: 100%;
    height: auto;           /* preserve aspect ratio */
    max-height: auto;      /* keep consistent card proportions */
    object-fit: contain;    /* avoid cropping */
    object-position: center;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}
.project-card:hover .overlay {
    opacity: 1;
}
.project-card .overlay a {
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid #fff;
    border-radius: 4px;
    text-decoration: none;
}
.hero h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero p {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.what-we-are-img {
    max-width: 90%;  /* reduces the image width */
    height: auto;    /* keeps aspect ratio */
    display: block;
    margin: 0 auto;  /* centers the image */
}
/* Make client logos larger */
.enlarged-logo {
    max-width: 120%; /* increase logo size */
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.enlarged-logo:hover {
    transform: scale(1.1);
}

/* Enlarge logos and add hover effect */
.enlarged-logo {
    max-width: 120%; /* make logos larger */
    transition: transform 0.3s ease;
}

.enlarged-logo:hover {
    transform: scale(1.1);
}

/* GENERAL */
.about-section {
  padding: 6rem 0;
}

.light-bg {
  background: #f7f9fc;
}

/* INTRO */
.about-intro {
  padding: 6rem 0 4rem;
  background: #f2f4f8;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
}

.about-subtitle {
  font-size: 1.25rem;
  color: #555;
  max-width: 700px;
}

/* HEADINGS */
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #078638;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* IMAGE */
.about-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

/* LIST */
.about-list {
  padding-left: 1rem;
}

.about-list li {
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* CARDS */
.about-card {
  background: white;
  padding: 2.5rem;
  border-left: 4px solid #078638;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  height: 100%;
}

/* CTA */
.about-cta {
  background: #0d1b2a;
  color: white;
  padding: 5rem 0;
}

.about-cta h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* SCROLL */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Styles moved from home.html ====== */
/* Card Hover Effects */
.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Smooth pointer events fix */
.pointer-events-none {
  pointer-events: none;
}

/* Badge animation */
.badge {
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8f9fa;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-card img {
  object-fit: cover;
}

.btn {
  background-color: #08983f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #08983f, #078638);
  color: white;
}

.hero-slider .carousel-item {
  position: relative;
}

.hero-slider .bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-slider .overlay {
  transition: all 0.5s ease;
}

.carousel-fade .carousel-item {
  transition: opacity 1s ease;
}

.logo-slider {
  overflow: hidden;
  padding: 40px 0;
  background: white;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.logo-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .logo-track img {
    height: 60px;
  }
  .logo-track {
    gap: 40px;
  }
}

.quick-facts {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.fact-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 35px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.fact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.fact-icon {
  font-size: 2.8rem;
  color: #08983f;
  margin-bottom: 15px;
}

.fact-number {
  font-size: 3rem;
  font-weight: 800;
  color: #08983f;
  line-height: 1;
}

.fact-plus {
  font-size: 2rem;
  font-weight: 700;
  color: #08983f;
  margin-left: 4px;
}

.fact-text {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .fact-number {
    font-size: 2.4rem;
  }
  .fact-plus {
    font-size: 1.6rem;
  }
}

.why-choose-section {
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 0;
}
.why-choose-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

/* End moved styles */
/* ============================================
   QUICK FACTS SECTION
   ============================================ */


.quick-facts::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,20 Q300,40 600,20 T1200,20 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-repeat: repeat-x;
  opacity: 0.1;
  pointer-events: none;
}

.quick-facts .container {
  position: relative;
  z-index: 1;
}

.fact-item {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  position: relative;
}

.fact-item:hover {
  transform: translateY(-10px);
}

.fact-icon {
  width: 80px;
  height: 80px;
  background: rgba(7, 134, 56, 0.15);
  border: 2px solid #078638;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #078638;
  transition: all 0.3s ease;
}

.fact-item:hover .fact-icon {
  background: #078638;
  color: white;
  box-shadow: 0 10px 25px rgba(7, 134, 56, 0.3);
}

.fact-number {
  font-size: 3.5rem;
  font-weight: 900;
 color: #08983f;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fact-text {
  font-size: 0.95rem;
   color: black;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  word-spacing: 2px;
}

@keyframes factPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.fact-number.animate {
  animation: factPulse 0.6s ease-out;
}
/* About Page Skeleton Styling in main.css */

/* General Sections */
.about-section {
  padding: 6rem 0;
}

.light-bg {
  background: #f7f9fc;
}

/* Page Intro */
.about-intro {
  padding: 6rem 0 4rem;
  background: #f2f4f8;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
}

.about-subtitle {
  font-size: 1.25rem;
  color: #555;
  max-width: 700px;
}

/* Section Headings */
.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #078638;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Images */
.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
}

/* Cards */
.about-card {
  background: white;
  padding: 2rem;
  border-left: 4px solid #078638;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  height: 100%;
  margin-bottom: 2rem;
}

/* CTA Section */
.about-cta {
  background: #0d1b2a;
  color: white;
  padding: 5rem 0;
}

.about-cta h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Scroll reveal animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

