/* ================= ROOT ================= */
:root {
  --green: #16a34a;
  --green-light: #22c55e;
  --green-dark: #052e16;
  --bg-light: #f0fdf4;
  --text-dark: #1f2937;
}

/* ================= GLOBAL ================= */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
  background: #ffffff;
}

/* Remove default anchor styles */
a {
  color: inherit;
  text-decoration: none;
}

/* ================= NAVBAR ================= */
.navbar {
  background: rgba(5,46,22,0.92);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff !important;
}

.nav-link {
  color: #e5e7eb !important;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--green-light) !important;
}

/* ================= BUTTONS ================= */
.btn-warning {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border: none;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  transition: all 0.3s ease;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22,163,74,0.45);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(5,46,22,0.85), rgba(5,46,22,0.85)),
    url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

.hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ================= SECTIONS ================= */
section {
  padding: 7rem 0;
  position: relative;
}

/* Soft background pattern */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(22,163,74,0.08) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
  z-index: 0;
}

section .container {
  position: relative;
  z-index: 1;
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: linear-gradient(135deg, #052e16, #064e3b);
  color: #ffffff;
}

/* ================= CARD SYSTEM ================= */
/* Anchor-wrapped card fix */
.card {
  display: block;
  height: 100%;
  border-radius: 1.25rem;
  padding: 1.6rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(22,163,74,0.15);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

/* Card image */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* Card text */
.card h5 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* Hover text enhancement */
.card:hover h5 {
  color: var(--green);
}

/* ================= LINK BUILDING EMPHASIS ================= */
#linkbuilding .card {
  border: 1px solid rgba(22,163,74,0.25);
}

#linkbuilding .card:hover {
  box-shadow: 0 30px 60px rgba(22,163,74,0.25);
}

/* ================= PROCESS ================= */
.process-step {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  padding: 2.2rem;
  border-radius: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-8px);
}

/* ================= CONTACT ================= */
#contact {
  background: var(--bg-light);
}

#contact .btn {
  margin-top: 1rem;
}

/* ================= FOOTER ================= */
footer {
  background: var(--green-dark);
  color: #ffffff;
  text-align: center;
  padding: 2.5rem 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .card img {
    height: 160px;
  }
}


/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(135deg, #052e16, #064e3b);
  color: #e5e7eb;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

/* subtle glow pattern */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(34,197,94,0.15),
    transparent 40%
  );
  pointer-events: none;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d1fae5;
}

.footer-text {
  font-size: 0.95rem;
  color: #d1d5db;
  max-width: 320px;
}

/* links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #22c55e;
}

/* social */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #22c55e;
  transform: translateY(-3px);
}

/* CTA */
.footer-cta {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: #22c55e;
  text-decoration: none;
}

.footer-cta:hover {
  text-decoration: underline;
}

/* bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 4rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 1.2rem;
}

.footer-legal a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #22c55e;
}

/* responsive */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}



/*about page css*/

/* ================== GLOBAL ================== */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #555;
  line-height: 1.7;
}

h3 {
  font-size: 20px;
  color: #333;
  margin-top: 25px;
}

p {
  font-size: 16px;
  color: #555;
}

/* ================== BANNER / CAROUSEL ================== */
.carousel-inner img {
  height: 420px;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.banner-title {
  animation: fadeInLeft 1s ease-in-out;
}

.banner-title h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 3px solid  var(--green-dark);
  display: inline-block;
}

.banner-title p {
  color: #ffffff;
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 10px;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================== ABOUT SECTION ================== */
.about_section {
  padding: 60px 0;
}

.about_section .img-box img {
  max-width: 100%;
  border-radius: 15px;
}

/* ================== TABS ================== */
.tablist {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid  var(--green-dark);
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid  var(--green-dark);
  border-radius: 6px 6px 0 0;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
}

.tab:hover {
  background-color:  var(--green-dark);
  color: #fff;
}

.tab[aria-selected="true"] {
  background-color:  var(--green-dark);
  color: #fff;
}

/* ================== TAB PANELS ================== */
.tabpanel {
  display: none;
  padding: 25px;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.tabpanel[aria-hidden="false"] {
  display: block;
}

/* ================== CONTENT SECTIONS ================== */
section h3 {
  margin-top: 30px;
}

section ul {
  padding-left: 20px;
}

section ul li {
  margin-bottom: 8px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .banner-title h1 {
    font-size: 2rem;
  }

  .banner-title p {
    font-size: 1rem;
  }

  .tab {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tab {
    font-size: 13px;
    padding: 8px 14px;
  }
}


/*SERVICE PAGE CSS*/
     .services_section {
      padding: 80px 0;
      background: #f9f9f9;
    }

    .services_section h2 {
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #333;
    }

    .services_section p {
      color: #555;
      font-size: 16px;
      max-width: 600px;
      margin: 0 auto 50px;
    }

    .services-row {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .service-card-modern {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      flex: 1 1 300px;
      max-width: 350px;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .service-card-modern:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .service-card-modern .card-image {
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    .service-card-modern img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .service-card-modern:hover img {
      transform: scale(1.1);
    }

    .service-card-modern .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .service-card-modern:hover .overlay {
      opacity: 1;
    }

    .service-card-modern .btn-learn {
      background: var(--green-light);
      color: #fff;
      padding: 10px 20px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 500;
      font-size: 14px;
    }

    .service-card-modern .card-content {
      padding: 20px;
      text-align: center;
      flex: 1 1 auto;
    }

    .service-card-modern .card-content i {
      font-size: 36px;
      color: var(--green-light);
      margin-bottom: 15px;
    }

    .service-card-modern h3 {
      font-size: 22px;
      margin-bottom: 12px;
      color: #333;
    }

    .service-card-modern p {
      font-size: 15px;
      color: #555;
      margin-bottom: 10px;
    }

    @media (max-width: 767px) {
      .service-card-modern img {
        height: 180px;
      }
    }