/* ============================================================
   Sourabh Gupta – Groundwater Advisory
   Custom Stylesheet | style.css
   Tech: Bootstrap 5.3 + Custom CSS
   Author: Premium UI Build
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --primary:       #0a3d6b;   /* deep navy */
  --primary-dark:  #072c4f;
  --primary-light: #1565a0;
  --accent:        #2e8b57;   /* forest green */
  --accent-light:  #3aa368;
  --accent-pale:   #e8f5ee;
  --gold:          #c8993a;
  --text-dark:     #1a2332;
  --text-mid:      #4a5568;
  --text-light: #1a2332;
  --bg-light:      #f7fafd;
  --bg-white:      #ffffff;
  --border:        #dce8f0;

  --font-display:
  'Playfair Display', Georgia, serif;
  --font-body:
  'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px
  rgba(10,61,107,.08);
  --shadow-md:  0 6px 24px
  rgba(10,61,107,.12);
  --shadow-lg:  0 16px 48px
  rgba(10,61,107,.16);
  --transition: .3s
  cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

ul, ol { list-style: none; padding: 0; margin: 0; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

.section-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 3rem;
}

/* ── Utilities ────────────────────────────────────────────── */
.text-accent  { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary); }
.bg-accent-pale    { background: var(--accent-pale); }

.divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: .75rem 0 1.5rem;
}
.divider-center { margin: .75rem auto 1.5rem; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: .7rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-custom:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,139,87,.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: .7rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
  padding: .7rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Header / Navbar ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar { padding: .85rem 0; }

.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.navbar-brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.brand-tagline {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: .03em;
}

/* Nav links */
.navbar-nav .nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: .4rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .9rem; right: .9rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent) !important; }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .6rem;
  margin-top: .4rem !important;
  min-width: 220px;
  animation: dropIn .2s ease;
}
@keyframes dropIn {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}
.dropdown-item {
  font-size: .88rem;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-item:hover {
  background: var(--accent-pale);
  color: var(--accent);
}

/* Hamburger */
.navbar-toggler {
  border: 1px solid var(--border);
  padding: .35rem .6rem;
  border-radius: var(--radius-sm);
}
.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='%230a3d6b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    margin-top: .5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  .navbar-nav .nav-link::after { display: none; }
  .dropdown-menu { box-shadow: none; border: none; background: var(--bg-light); }
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/media/images/hero-pattern.svg') center/cover no-repeat;
  opacity: .06;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgb(255 0 0 / 88%);
  border: 1px solid rgba(255,255,255,.2);
  color: #ffffff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}
.hero-badge i { color: var(--gold); }

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero-title span { color: #7ecba1; }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat-item { color: rgba(255,255,255,.9); }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  min-height: 480px;
}
.hero-photo {
  position: relative;
  z-index: 2;
  width: 340px;
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
}
.hero-glow {
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(126,203,161,.25) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* ── Trust Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--primary);
  padding: 1.1rem 0;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-weight: 500;
}
.trust-bar-item i { color: #7ecba1; font-size: 1rem; }

/* ── Section Padding ──────────────────────────────────────── */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── About Preview ────────────────────────────────────────── */
.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-image-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s ease;
}
.about-image-frame:hover img { transform: scale(1.03); }
.about-experience-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-experience-badge .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about-experience-badge .lbl {
  font-size: .78rem;
  opacity: .9;
  font-weight: 500;
}

.feature-check-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text-mid);
}
.feature-check-item i {
  color: var(--accent);
  margin-top: .15rem;
  flex-shrink: 0;
  font-size: 1.05rem;
}

/* ── Services ─────────────────────────────────────────────── */
.services-section { background: var(--bg-light); }

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: var(--radius-lg);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .service-link { color: #fff !important; }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,.15); }
.service-card:hover .service-link i { transform: translateX(4px); }

.service-card > * { position: relative; z-index: 1; }

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--accent-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.service-icon { font-size: 1.6rem; color: var(--accent); transition: color var(--transition); }
.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
  font-family: var(--font-display);
  transition: color var(--transition);
}
.service-desc {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  line-height: 1.65;
  transition: color var(--transition);
}
.service-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color var(--transition);
}
.service-link i { transition: transform var(--transition); }

/* ── Stats / Achievements ─────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 70px 0;
}
.stat-card { text-align: center; padding: 1.5rem 1rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-num sup { font-size: 1.4rem; }
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  letter-spacing: .04em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
}

/* ── Projects / Case Studies ──────────────────────────────── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-card-img { transform: scale(1.05); }
.project-card-body { padding: 1.5rem; }
.project-sector-badge {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-bottom: .75rem;
  text-transform: uppercase;
}
.project-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
  font-family: var(--font-display);
}
.project-meta {
  font-size: .85rem;
  color: var(--text-light);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.project-meta span { display: flex; align-items: center; gap: .3rem; }

.project-results {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.result-pill {
  background: var(--accent-pale);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* Filter tabs */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  padding: .4rem 1.1rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab.active,
.filter-tab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section { background: var(--bg-light); }

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--accent-pale);
  position: absolute;
  top: 10px; left: 20px;
  line-height: 1;
}
.testimonial-stars { color: var(--gold); margin-bottom: .75rem; font-size: .9rem; }
.testimonial-text {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-top: .5rem;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-pale);
}
.testimonial-name { font-weight: 600; font-size: .92rem; color: var(--primary); }
.testimonial-role { font-size: .78rem; color: var(--text-light); }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.cta-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff;
  margin-bottom: .75rem;
}
.cta-desc { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 70px 0 0;
}
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand img { height: 50px; }
.footer-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 300px;
  margin-top: 1rem;
}
.footer-heading {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), padding var(--transition);
}
.footer-links a:hover { color: #7ecba1; padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.footer-contact-item i { color: #7ecba1; margin-top: .15rem; flex-shrink: 0; }

.social-links { display: flex; gap: .6rem; margin-top: 1rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: #fff; }

.footer-newsletter { margin-top: 1rem; }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  color: #fff;
  font-size: .88rem;
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-btn {
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: .55rem 1.1rem;
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-btn:hover { background: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3rem;
  padding: 1.25rem 0;
}
.footer-bottom-text { font-size: .83rem; color: rgba(255,255,255,.45); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--bg-white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: .5rem;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero-breadcrumb a:hover { color: #7ecba1; }
.page-hero-breadcrumb i { font-size: .65rem; }

/* ── About Page ───────────────────────────────────────────── */
.vision-card, .mission-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  height: 100%;
}
.vision-card { background: var(--primary); color: #fff; }
.mission-card { background: var(--accent); color: #fff; }
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: .8; }
.vm-title { font-size: 1.3rem; color: #fff; margin-bottom: .75rem; }
.vm-text { color: rgba(255,255,255,.8); line-height: 1.7; font-size: .95rem; }

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent-pale);
}
.team-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.team-role { font-size: .85rem; color: var(--accent); font-weight: 600; margin-bottom: .75rem; }
.team-bio { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }

.why-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all var(--transition);
  height: 100%;
}
.why-item:hover { box-shadow: var(--shadow-md); border-color: var(--accent); }
.why-icon {
  width: 50px; height: 50px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--accent);
}
.why-text h6 { font-weight: 700; color: var(--primary); margin-bottom: .35rem; }
.why-text p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; margin: 0; }

/* ── Services Page ────────────────────────────────────────── */
.service-detail-banner { background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; }
.service-detail-img { width: 100%; height: 380px; object-fit: cover; }

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-list-item:last-child { border-bottom: none; }
.feature-list-item i { color: var(--accent); margin-top: .15rem; flex-shrink: 0; }

.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.step-content h6 { font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.step-content p { font-size: .88rem; color: var(--text-mid); margin: 0; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-label { font-size: .88rem; font-weight: 600; color: var(--text-dark); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(46,139,87,.12);
  outline: none;
}
.form-control::placeholder { color: var(--text-light); }

.contact-info-card {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
}
.contact-info-title { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.contact-info-subtitle { color: rgba(255,255,255,.7); margin-bottom: 2rem; font-size: .92rem; }
.contact-detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-text label { font-size: .78rem; color: rgba(255,255,255,.55); font-weight: 600; display: block; margin-bottom: .15rem; }
.contact-detail-text span { color: rgba(255,255,255,.9); font-size: .92rem; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  background: var(--bg-light);
  border: 1px solid var(--border);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ── Project Detail Gallery ───────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  margin-bottom: .75rem;
}
.highlight-icon { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

.animate-fadeInUp { animation: fadeInUp .7s ease both; }
.animate-delay-1  { animation-delay: .15s; }
.animate-delay-2  { animation-delay: .3s; }
.animate-delay-3  { animation-delay: .45s; }
.animate-delay-4  { animation-delay: .6s; }

[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── Back to Top ──────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--primary); transform: translateY(-2px); }

/* ── Responsive Tweaks ────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-section { min-height: auto; padding: 70px 0 100px; }
  .hero-image-wrap { min-height: 300px; margin-top: 2rem; }
  .hero-photo { width: 260px; }
  .hero-stats { gap: 1.2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 1.5rem; }
}
@media (max-width: 575.98px) {
  .section-pad { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary-custom,
  .hero-actions .btn-white { width: 100%; justify-content: center; }
}

/* ── Placeholder Images via CSS (gradient fills) ─────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #c8d8e8 0%, #e8f0f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* ── Page Hero ── */
.page-hero{background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 100%);padding:70px 0 110px;position:relative;overflow:hidden;}
.page-hero::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:60px;background:#fff;clip-path:ellipse(60% 100% at 50% 100%);}
.page-hero-title{font-size:clamp(1.8rem,4vw,3rem);color:#fff;margin-bottom:.5rem;font-family:var(--font-display);font-weight:700;}
.page-hero-breadcrumb{display:flex;align-items:center;gap:.5rem;color:rgba(255,255,255,.65);font-size:.88rem;}
.page-hero-breadcrumb a{color:rgba(255,255,255,.65);}
.page-hero-breadcrumb a:hover{color:#7ecba1;}
/* ── hero override (Django version) ── */
.hero-section::after{display:none;}
