/* ===========================
   AYYAN GEOTECH - style.css
   =========================== */

/* Century Gothic via Google Fonts fallback stack */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #4caf50;
  --brown: #6d4c41;
  --brown-dark: #4e342e;
  --brown-light: #8d6e63;
  --accent: #a1887f;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #666;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 60px rgba(46,125,50,0.15);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Uniform spacing */
  --section-pad: 90px;
  --section-pad-sm: 55px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  /* Century Gothic stack: native on Windows/Mac, Nunito as Google Fonts fallback */
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ====== TYPOGRAPHY - Uniform across all pages ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  /* Title Case enforced via CSS - no text-transform on body headings */
}

/* Section label pill */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(46,125,50,0.1);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* Uniform section title */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  /* No text-transform — headings are Title Case in HTML */
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 34px; /* sits right under the cert bar, no overlap */
  left: 0;
  right: 0;
  padding: 8px 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 6px 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.brand-logo {
  width: 120px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin-left: 0;
}

.brand-logo img {
  background-color: whitesmoke;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.3px;
}

.brand-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.2px;
}

.navbar.scrolled .nav-link { color: var(--text-dark) !important; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
  background: rgba(255, 193, 7, 0.1);
}

.navbar.scrolled .nav-link.active { color: var(--green) !important; }

.nav-cta {
  background: var(--green) !important;
  color: white !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(46,125,50,0.3);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(46,125,50,0.4) !important;
}

.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2846,125,50,1%29' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }

/* ====== HERO SECTION ====== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 92px; /* height of cert bar + navbar combined, so content isn't tucked under them */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpeg') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

/* Real <img> used only on mobile so the full photo is visible
   (uncropped) instead of the desktop cover-cropped background */
.hero-mobile-img {
  display: none;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.88) 0%,
    rgba(45, 46, 45, 0.75) 40%,
    rgba(78,52,46,0.7) 100%
  );
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero h1 span { color: #a5d6a7; }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
  font-weight: 400;
  animation: fadeInUp 0.8s 0.35s ease both;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.hero-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 500;
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 28px;
  row-gap: 10px;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-list li i {
  color: #ffd54f;
  font-size: 1rem;
}

@media (max-width: 575px) {
  .hero-list { grid-template-columns: 1fr; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.65s ease both;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--green-dark);
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-primary-custom:hover {
  background: var(--green);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 14px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 22px 0;
  animation: fadeInUp 0.8s 0.8s ease both;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.1rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.25);
  height: 50px;
  margin: auto;
}

/* ====== BUTTONS ====== */
.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: white;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  font-size: 0.92rem;
}

.btn-green:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(46,125,50,0.35);
}

.btn-brown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brown);
  color: white;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.92rem;
}

.btn-brown:hover {
  background: var(--brown-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(109,76,65,0.35);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--green);
  padding: 12px 26px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid var(--green);
  font-size: 0.92rem;
}

.btn-outline-green:hover {
  background: var(--green);
  color: white;
  transform: translateY(-3px);
}

/* ====== UNIFORM SECTIONS ====== */
.section-pad { padding: var(--section-pad) 0; }
.section-pad-sm { padding: var(--section-pad-sm) 0; }
.bg-light-custom { background: var(--bg-light); }
.bg-green-dark { background: var(--green-dark); }
.bg-brown { background: var(--brown-dark); }

/* ====== CARDS ====== */
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(46,125,50,0.1), rgba(46,125,50,0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-icon img,
.service-card:hover .service-icon i { filter: brightness(0) invert(1); }

.service-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.card-link {
  color: var(--green);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.card-link:hover { gap: 10px; color: var(--green-dark); }

/* ====== WHY CHOOSE US ====== */
.why-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  align-items: flex-start;
}

.why-card:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }

.why-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.why-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ====== ABOUT SECTION ====== */
.about-image-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.about-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 22px;
}

.about-image-wrap:hover img { transform: scale(1.04); }

.experience-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: white;
  padding: 18px 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.experience-badge .num {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: block;
}

.experience-badge .label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ====== TOP CERT BAR ====== */
.top-cert-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 34px;
  display: flex;
  align-items: center;
  background: var(--green-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.top-cert-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-cert-item i { color: #ffd54f; }
.top-cert-divider { color: rgba(255,255,255,0.4); }

/* ====== CERT BADGE ====== */
.cert-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--green);
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
  line-height: 1.6;
}

.cert-badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cert-badge-sub {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.82;
  padding-left: 19px;
  letter-spacing: 0.4px;
}

.cert-badge-divider {
  border-top: 1px solid rgba(255,255,255,0.3);
  margin: 7px 0;
}

/* ====== PROJECTS ====== */
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,94,32,0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: var(--transition);
}

.project-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.3);
}

.project-overlay h5 {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.project-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  margin: 5px 0 0;
}

/* ====== CTA BANNER ====== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--brown) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

/* ====== FOOTER ====== */
.footer {
  background: #111;
  color: rgba(255,255,255,0.75);
}

.footer-brand .brand-name { color: white; font-size: 1.25rem; }
.footer-brand .brand-tagline { color: var(--accent); }

.footer h6 {
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
}

.footer h6::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

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

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--green-light); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--green-light);
  font-size: 0.92rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span { font-size: 0.87rem; line-height: 1.55; }

.social-links { display: flex; gap: 10px; margin-top: 20px; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

/* ====== WHATSAPP FLOATING ====== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.55rem;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  color: white;
  transform: scale(1.1);
  animation: none;
}

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  min-height: 360px;
  background: linear-gradient(135deg, var(--green-dark), var(--green), var(--brown));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-hero h1 {
  color: white;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; }

.breadcrumb { background: none; margin: 0; padding: 0; }
.breadcrumb-item { font-size: 0.83rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb-item a:hover { color: white; }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ====== CONTACT ====== */
.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.05rem;
}

.contact-info-item h6 {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 3px;
  color: var(--text-dark);
}

.contact-info-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.form-control-custom {
  width: 100%;
  padding: 13px 17px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fafafa;
  transition: var(--transition);
  outline: none;
}

.form-control-custom:focus {
  border-color: var(--green);
  background: white;
  box-shadow: 0 0 0 4px rgba(46,125,50,0.08);
}

.form-label-custom {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
  display: block;
}

/* ====== TEAM CARDS ====== */
.team-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.team-img-wrap {
  width: 100%;
  height: 180px;
  background: #0abf65;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.team-img-wrap img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-card:hover .team-img-wrap img { transform: scale(1.06); }

.team-info { padding: 14px 14px 18px; }
.team-info h5 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.team-role { color: var(--green); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.3px; }

/* ====== PROCESS STEPS ====== */
.process-step { text-align: center; position: relative; }

.step-num {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 8px 25px rgba(46,125,50,0.3);
}

.process-step h5 { font-weight: 700; font-size: 0.98rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; color: var(--text-muted); }

/* ====== COUNTERS ====== */
.counter-section { background: var(--green-dark); }

.counter-item { text-align: center; padding: 36px 18px; }

.counter-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  display: block;
}

.counter-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ====== TESTIMONIAL ====== */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 22px;
  font-size: 5rem;
  color: rgba(46,125,50,0.1);
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { font-size: 0.88rem; display: block; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: #f59e0b; font-size: 0.83rem; margin-bottom: 14px; }

/* ====== CLIENT LOGOS ====== */
.client-logo {
  background: white;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 80px;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.client-logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.client-logo span {
  font-weight: 800;
  font-size: 0.83rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* ====== AOS ANIMATIONS ====== */
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"] { transform: translateY(36px); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="fade-left"] { transform: translateX(36px); }
[data-aos="zoom-in"] { transform: scale(0.92); }

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ====== KEYFRAMES ====== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ====== DIVIDERS ====== */
.section-divider {
  width: 55px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 2px;
  margin: 0 0 30px;
}

.section-divider.centered { margin: 0 auto 30px; }

/* ====== MAP ====== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ====== SPECIALIZATION SECTION ====== */
.specialization-section {
  position: relative;
  overflow: hidden;
}

.highlight-red {
  color: var(--green);
  font-weight: 900;
}

.special-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.special-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.special-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-dark);
}

.special-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-size: 15px;
}

.special-img-wrap {
  position: relative;
  z-index: 1;
}

.special-img-wrap img {
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ====== MODERN PROCESS STEPS ====== */
.process-step-modern {
  background: white;
  padding: 38px 24px 32px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.process-step-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.step-circle {
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: white;
  font-size: 1.9rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.3);
  position: relative;
  z-index: 2;
}

.process-step-modern h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.process-step-modern p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ====== REPORT SECTION ====== */
.report-section {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: 0 auto;
}

.report-header {
  background: #2e7d32;
  color: white;
  padding: 48px 38px 42px;
  text-align: center;
}

.report-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.95;
}

.report-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #eae31a;
  line-height: 1.1;
  margin: 0;
}

.report-content {
  padding: 46px 56px 56px;
}

.report-intro {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.8;
  text-align: center;
}

.report-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.report-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.bullet {
  color: #2e7d32;
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: -3px;
}

/* ====== FOUNDER / WHY IMAGE ====== */
.founder-img-wrap {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 20px;
  display: inline-block;
}

.founder-img-wrap img {
  width: 350px;
  height: auto;
  border-radius: 5px;
}

.why-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.why-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.why-list li::before {
  content: "✳";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green);
  font-size: 15px;
  font-weight: bold;
}

.why-image-wrap {
  background: #f5f5f5;
  padding: 18px;
  border-radius: 20px;
}

.why-image-wrap img {
  border-radius: 12px;
}

/* ====== SERVICES PAGE ====== */
.green-box {
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: white;
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 16px 35px rgba(46,125,50,0.18);
  margin-bottom: 28px;
}

.green-box h4 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.green-box p {
  margin: 0;
  line-height: 1.8;
  opacity: 0.95;
}

.feature-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-dark);
  line-height: 1.75;
  font-size: 0.96rem;
}

.feature-checklist li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--green-dark);
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-image-card img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  display: block;
}

.service-copy-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 18px 45px rgba(46,125,50,0.08);
  border: 1px solid rgba(46,125,50,0.08);
}

.service-copy-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 800;
}

.service-copy-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

/* ====== PROJECTS PAGE ====== */
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid rgba(46,125,50,0.3);
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.83rem;
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 6px 20px rgba(46,125,50,0.25);
}

.project-image-card img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  display: block;
}

/* Project list cards (projects page) */
.project-list-card {
  background: #fff;
  padding: 22px 24px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  transition: var(--transition);
  border-left: 4px solid var(--green);
}

.project-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.1);
}

.project-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 1rem;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Clients section */
.clients-section {
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
  padding: 60px 0 50px;
}

.clients-title {
  font-size: 2rem;
  font-weight: 800;
}

.clients-title span { color: var(--green); }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
  .navbar-nav .nav-link { color: var(--text-dark) !important; }
  .navbar { background: white !important; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
  .hero-stats .stat-divider { display: none; }
  .section-pad { padding: 65px 0; }
  .section-pad-sm { padding: 45px 0; }
}

@media (max-width: 767px) {
  /* Stack layout: full uncropped photo on top, then the text
     content below it in normal flow (instead of overlaid on top
     of a cover-cropped background image). */
  .hero {
    display: block;
    min-height: auto;
    padding: 90px 0 0;
    background: linear-gradient(135deg, #141414 0%, #2d2e2d 45%, #4e342e 100%);
  }
  .hero-bg,
  .hero-overlay {
    display: none;
  }
  .hero-mobile-img {
    display: block;
  }
  .hero .container {
    padding-top: 28px;
    padding-bottom: 8px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero .row.min-vh-100 {
    min-height: auto !important;
  }
  .hero-content { position: static; }
  .hero-stats { position: static; margin-top: 12px; }
  .stat-item { padding: 10px 0; }
  .about-image-wrap img { height: 300px; }
  .project-card img { height: 210px; }
  .report-content { padding: 36px 24px 46px; }
  .report-header { padding: 36px 22px 32px; }
}

@media (max-width: 575px) {
  .hero h1 { font-size: 1.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; justify-content: center; }
  .founder-img-wrap img { width: 100%; }
}

/* ====== CTA HEADING ====== */
.cta-heading {
  color: white;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 10px;
}

/* Emergency CTA strip */
.emergency-cta h4 {
  color: white;
  font-weight: 800;
  margin: 0;
  font-size: 1.2rem;
}

/* ====== VISION MISSION CARDS ====== */
.vision-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Clients title fix */
.clients-header h2 span { color: var(--green); }

/* ====== NAVBAR BRAND: Logo + Tagline stacked ====== */
.navbar-brand-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 72px;
  width: auto;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-tagline {
  font-family: 'Century Gothic', CenturyGothic, 'AppleGothic', 'Nunito', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px 4px 5px;
  border-radius: 50px;
  background: rgba(232, 235, 232, 0.767);
  border: 1px solid rgba(46,125,50,0.25);
  white-space: nowrap;
}

.nav-tagline i {
  color: var(--green);
  font-size: 0.68rem;
}

@media (max-width: 991px) {
  .nav-logo-img {
    height: 60px;
    padding: 6px 10px;
  }
  .nav-tagline { font-size: 0.6rem; padding: 3px 10px 3px 4px; }
}

@media (max-width: 575px) {
  .navbar-brand-wrap { gap: 8px; }
  .nav-tagline { display: none; } /* hide on very small screens to avoid crowding */
}


/* When navbar is scrolled (white bg), change tagline colors */
.navbar.scrolled .nav-tagline {
  color: var(--green-dark);
  background: rgba(46,125,50,0.08);
  border-color: rgba(46,125,50,0.25);
}

.navbar.scrolled .nav-tagline i {
  color: var(--green);
}

@media (max-width: 991px) {
  .navbar .nav-tagline {
    color: var(--green-dark);
    background: rgba(46,125,50,0.08);
    border-color: rgba(46,125,50,0.2);
  }
  .navbar .nav-tagline i { color: var(--green); }
  .nav-logo-img { height: 84px; }
}

/* ===========================================================
   MOBILE RESPONSIVE FIXES
   =========================================================== */

/* Mobile dropdown menu needs its own solid background + card look,
   since nav links otherwise sit transparently over hero/page content */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #ffffff;
    border-radius: 14px;
    margin-top: 14px;
    padding: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  }
  .navbar-nav .nav-link { padding: 10px 14px !important; }
  .navbar-nav .nav-item.ms-2 { margin-left: 0 !important; margin-top: 6px; }
  .nav-cta { text-align: center; justify-content: center; display: block !important; }
}

/* Top cert bar wraps to two lines and collides with the fixed navbar
   on small screens — simplify by hiding it and pinning navbar to top:0 */
@media (max-width: 767px) {
  .top-cert-bar { display: none; }
  .navbar { top: 0 !important; }
}

/* Shrink floating badges/stat numbers so they don't overwhelm smaller
   images and columns on phones */
@media (max-width: 575px) {
  .cert-badge { padding: 9px 11px; font-size: 0.66rem; top: 14px; left: 14px; }
  .cert-badge-sub { font-size: 0.58rem; padding-left: 17px; }
  .experience-badge { padding: 12px 16px; bottom: 14px; right: 14px; }
  .experience-badge .num { font-size: 1.7rem; }
  .experience-badge .label { font-size: 0.62rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.3rem; bottom: 18px; right: 18px; }
  .counter-item { padding: 24px 10px; }
  .counter-num { font-size: 2.1rem; }
  .stat-number { font-size: 1.6rem; }
  .project-card img { height: 190px; }
  .team-img-wrap img { width: 130px; height: 130px; }
  .section-pad { padding: 50px 0; }
  .section-pad-sm { padding: 34px 0; }
  .contact-card, .service-copy-card { padding: 26px 20px; }
  .why-card { padding: 18px; gap: 14px; }
  .why-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.05rem; }
}

/* Safety net: prevent any fixed-width images from overflowing on
   narrow viewports regardless of breakpoint */
.founder-img-wrap img,
.brand-logo,
.special-img-wrap img,
.why-image-wrap img,
.service-image-card img {
  max-width: 100%;
  height: auto;
}
