/* index.css */
:root{
  --bg: #f7f9fb;
  --card-bg: #ffffff;
  --muted: #6b7280;
  --text: #0f172a;
  --accent: #0ea5a3;
  --gap: 22px;
  --radius: 12px;
  --max-width: 1200px;
  --narrow-width: 920px;
  --shadow: 0 8px 30px rgba(16,24,40,0.06);
  --shadow-hover: 0 20px 40px rgba(16,24,40,0.10);
  --transition: 280ms cubic-bezier(.2,.9,.2,1);
}
/* ================================/* 
   TOP NAV ANNOUNCEMENT MARQUEE
================================ */

.top-marquee {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #037B45, #0aa65b);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Track */
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-left 40s linear infinite; /* 🔽 slowed down */
}

/* Text */
.marquee-track span {
  padding: 10px 3rem;
  white-space: nowrap;
}

/* Pause on hover */
.top-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ================================
   ANIMATION (RIGHT → LEFT)
================================ */
@keyframes marquee-left {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .top-marquee {
    font-size: 0.85rem;
  }

  .marquee-track {
    animation-duration: 20s; 
  }

  .marquee-track span {
    padding: 8px 2rem;
  }
}

/*===END OF MARQUEE====*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Base font and colors */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
  }
  
  /* Container */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Primary & Hover Colors */
  :root {
    --primary-color: #037B45;
    --hover-color: #65a874;
  }

  /* Top Header */
  .top-header {
    background: #f4f4f4;
    padding: 2px 0;
    border-bottom: 1px solid #ddd;
  }
  .top-header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
  }
  .top-header .contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
 /* Navbar */
.navbar {
  background: var(--primary-color);
  color: #fff;
  position: relative;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .logo {
  width: 50px;
  height: auto;
}

.company-name {
  font-size: 1.3rem;
  font-weight: bold;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a,
.login-btn {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-links li a:hover,
.login-btn:hover {
  color: var(--hover-color);
}

/* Dropdown */
.login-dropdown {
  position: relative;
}

.login-dropdown .dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: #037B45;
  color: #333;
  display: none;
  flex-direction: column;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.login-dropdown.active .dropdown-content {
  display: flex;
}

.dropdown-content a {
  padding: 10px;
  text-decoration: none;
  color:  #333#;
  border-bottom: 1px solid #ccc;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background: var(--hover-color);
  color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background-color: var(--primary-color);
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .login-dropdown .dropdown-content {
    position: relative;
    top: 0;
    right: auto;
    left: 0;
    margin-top: 5px;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .login-dropdown .dropdown-content {
    position: absolute;
    top: 100%;             
    right: 0;          
    left: auto;              
    margin-left: 0;        
    min-width: 130px;        
    max-width: 160px;
    width: max-content;
    box-sizing: border-box;
  
  }
}


  /* Hamburger Menu */
  .menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }
 
/* Slider Section */
#slider {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 400px;
  }
  
  .slider-container {
    position: relative;
    height: 100%;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 5px;
  }
  .slider-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
  }
  
  .slider-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background:#c5e9cd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }
  
  .slider-dots .dot.active {
    background:#037B45;
  }
  /* Our Services Section */
  .services-section {
    padding: 40px 0;
    text-align: center;
    background: #fafafa;
  }
  .services-section h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  .service-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease;
  }
  .service-box:hover {
    transform: translateY(-5px);
  }
  .service-box .service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  .service-box p {
    margin-top: 10px;
    font-size: 1rem;
  }
  .service-box small {
    font-size: 0.85rem;
    color: #777;
  }
  
/* Testimonial Slider Container */
.testimonial-section {
  background-color: #f1eeee;   
  padding: 60px 20px;         
}
.testimonial-slider {
  position: relative;
  max-width: 600px;
  aspect-ratio: 2 / 1;         
  margin: 50px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 px 16px rgba(247, 247, 247, 0.1);
  padding: 20px;
}

/* Decorative floating circles */
.testimonial-slider::before,
.testimonial-slider::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}
.testimonial-slider::before {
  width: 120px; height: 120px;
  background: #037B45;
  top: -60px; left: -60px;
}
.testimonial-slider::after {
  width: 80px; height: 80px;
  background: #FFD700;
  bottom: -40px; right: -40px;
  animation-duration: 10s;
}
@keyframes float {
  0%,100%   { transform: translate(0,0)    scale(1); }
  50%       { transform: translate(15px,15px) scale(1.05); }
}

/* Heading underline animation */
.testimonial-heading {
  position: relative;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}
.testimonial-heading::after {
  content: "";
  width: 60px; height: 4px;
  background: #037B45;
  display: block;
  margin: 8px auto 0;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  animation: underline 1s forwards;
}
@keyframes underline {
  to { transform: scaleX(1); }
}

/* Slides wrapper uses flex + transform for smooth slide */
.slides {
  display: flex;
  width: 100%;
  height: calc(100% - 40px);   /* leave room for dots */
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

/* Each slide fills container and centers content */
.testimonial-slide {
  flex: 0 0 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px;
  opacity: 0.6;
  transform: scale(0.98);
  transition: opacity 0.6s, transform 0.6s;
}
.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Photo styling (circle) */
.testimonial-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  border: 2px solid #ddd;
}

/* Client text */
.client-name {
  font-size: 1.2rem;
  color: #037B45;
  margin: 4px 0;
}
.client-profession {
  font-size: 1rem;
  color: #777;
  margin-bottom: 8px;
  font-style: normal;
}
.client-review {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  max-height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 10px;
}

/* Dots */
.testimonial-slider-dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
}
.testimonial-slider-dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-slider-dot:hover {
  transform: scale(1.2);
}
.testimonial-slider-dot.active {
  background: #037B45;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .testimonial-slider { padding: 15px; }
  .testimonial-photo { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .testimonial-slider { padding: 10px; }
  .testimonial-photo { width: 50px; height: 50px; }
  .client-name { font-size: 1rem; }
  .client-review { font-size: 0.85rem; max-height: 40px; }
}

  /* About Us Section */
  .central-heading {
  text-align: center;
  font-size: 2rem; 
  color: #333;   
  margin: 20px 0;
}
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  .about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    background-color: #f7f3f3; /* Dark background for contrast */
    color: #555;
  }
  
  /* Left Content */
  .about-content {
    flex: 1;
    margin-right: 40px;
    max-width: 600px;
  }
  
  .section-heading {
    font-size: 1.2rem; /* Not too big */
    color: #037B45;   /* A contrasting color */
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  
  .about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .about-content p {
    margin-bottom: 30px;
    line-height: 1.6;
  }
  
  /* Feature List with Tick Icons */
  .feature-list {
    list-style: none;
    margin-bottom: 30px;
  }
  
  .feature-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }
  
  .feature-list .tick {
    color: #037B45;
    font-size: 1.2rem;
    margin-right: 10px;
  }
  
  /* Stats Section */
  .stats {
    margin-bottom: 30px;
  }
  
  .single-stat {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .label {
    width: 120px;
    font-weight: bold;
  }
  
  .progress-bar {
    flex: 1;
    background-color: #444;
    border-radius: 50px;
    margin: 0 10px;
    height: 10px;
    position: relative;
    overflow: hidden;
  }
  
  .progress-fill {
    background: #037B45; /* Progress fill color */
    height: 100%;
    width: 0;
    border-radius: 50px;
  }
  
  /* Percent Text */
  .percent {
    width: 50px;
    text-align: right;
  }  
  /* Right Image Area */
  .image-area {
    position: relative;
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-area img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 3px solid #037B45;
    border-radius: 4px;
    object-fit: cover;
  }
  
/* Read More Button */
.read-more-btn {
    display: inline-block;
    background-color:#037B45;
    color: #f8f8f8;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }
  
  .read-more-btn:hover {
    background-color:#65a874;
  }
  
  /* Project Done Overlay */
  .project-done {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #037B45;
    color: #f8f8f8;
    padding: 10px 20px;
    border-radius: 0 0 8px 0;
    text-align: center;
  }
  
  .project-done h3 {
    margin-bottom: 5px;
    font-size: 1.8rem;
    font-weight: bold;
  }
  
  .project-done p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .about-us {
      flex-direction: column;
      padding: 40px;
    }
  
    .about-content {
      margin-right: 0;
      margin-bottom: 30px;
      max-width: 100%;
    }
  
    .image-area {
      max-width: 100%;
    }
  
    .image-area img {
      max-width: 100%;
    }
  }
  
  @media (max-width: 576px) {
    .label,
    .percent {
      display: block;
      width: 100%;
      margin-bottom: 5px;
      text-align: left;
    }
  
    .single-stat {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .progress-bar {
      margin: 5px 0 15px 0;
    }
  }
/*about us content*/
.consult-section {
  background-color: #fff;
  border-radius: none;
  overflow: hidden;
  max-width: 200%;   /* Make section wider compared to its height */
  margin: 30px auto;
}

/* Container takes a wide layout */
.container-aboutus{
  padding: 30px;
  width: 200%;
  min-height: 200px;  /* You can adjust the min-height if needed */
}

/* Header styling */
.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h1 {
  font-size: 2.5em;
  color: #5b5d5e;
  margin-bottom: 10px;
}

.section-header .tagline {
  font-size: 1.1em;
  color: #7f8c8d;
}

/* Content paragraph styling */
.content p {
  margin-bottom: 15px;
  font-size: 1 em;
  text-align: justify;
  color: #868383;
}
  .section-header h1 {
    font-size: 2em;
  }
  /* Vision & Mission Section */
.vision-mission {
  display: flex;
  flex-direction: row;      
  justify-content: center;  
  gap: 24px;                  
  margin: 60px 0;
  flex-wrap: wrap;            
}

.vision-mission .box {
  flex: 0 1 48%;        
  max-width: 600px;   
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* headings */
.vision-mission .box:first-child h3 {
  color: #037B45;          
}
.vision-mission .box:last-child h3 {
  color: #037B45;           
}

/* marquee viewport */
.vision-mission .box marquee {
  flex: 1;                    
  height: 200px;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  padding-right: 8px;
}

/* responsive breakpoint: stack under 600px */
@media (max-width: 600px) {
  .vision-mission {
    flex-direction: column;    
    align-items: center;
  }
  .vision-mission .box {
    width: 100%;
    max-width: 320px;
  }
}

  /*CEO Section*/
.ceo-section {
  padding: 60px 20px;
  background: #f5f8fa;
  overflow: hidden;
}

.ceo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 1s ease both;
}

/* Image Column */
.ceo-image {
  flex: 0 0 280px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  animation: zoomIn 1s ease both;
}
.ceo-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Text Column */
.ceo-info {
  flex: 1 1 400px;
  text-align: justify;
  color: #333;
  line-height: 1.6;
  animation: fadeInLeft 1s ease both;
}

/* Headings */
.ceo-info h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #037B45; 
  position: relative;
}
.ceo-info h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #037B45;
  margin-top: 6px;
  border-radius: 2px;
}
.ceo-info h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #037B45; 
}

/* Paragraph */
.ceo-info p {
  margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* Staff Gallery */
 /* ---------- Professional CSS (paste in your stylesheet) ---------- */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  background:var(--bg);
  color:var(--text);
  line-height:1.42;
}

/* Section / container */
.staff-gallery{
  padding: 48px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,251,1));
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  width:100%;
  padding:0 12px;
}

/* narrow variant centers a visually smaller grid */
.container--centered{
  display:flex;
  justify-content:center;
  padding-top:6px;
  padding-bottom:6px;
}

/* Title */
.gallery-title{
  text-align:center;
  margin:0 0 26px;
  font-size:1.8rem;
  font-weight:600;
  letter-spacing:-0.2px;
  color:var(--text);
}

/* Grid */
.gallery-grid{
  display:grid;
  gap:var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  width:100%;
}

/* when gallery is inside the centered container, narrow the grid so it appears centered */
.staff-gallery--narrow .gallery-grid,
.container--centered .gallery-grid{
  max-width:var(--narrow-width);
  margin:0 auto;
}

/* Card */
.gallery-item{
  background:var(--card-bg);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display:flex;
  flex-direction:column;
  cursor:default;
  outline: none;
}

/* Square media area: modern + fallback */
/* 1) Use a .media wrapper with padding-top fallback for older browsers  */
/* 2) Image absolutely covers that square using object-fit: cover */
.media{
  position:relative;
  width:100%;
  /* fallback square */
}
.gallery-item .media::before{
  content:"";
  display:block;
  padding-top:100%; /* 1:1 square fallback */
}
.gallery-item img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  -webkit-user-drag:none;
  user-select:none;
  /* progressive enhancement */
  aspect-ratio: 1 / 1;
  transition: transform 420ms cubic-bezier(.2,.9,.2,1);
}

/* caption area under the square */
.staff-info{
  padding:14px 12px;
  text-align:center;
  background:var(--card-bg);
  border-top:1px solid rgba(15,23,42,0.04);
}
.staff-info h4{
  margin:0 0 6px;
  font-size:1.02rem;
  font-weight:600;
}
.staff-info p{
  margin:0;
  font-size:0.92rem;
  color:var(--muted);
}

/* Hover & focus interactions (subtle but premium) */
.gallery-item:hover,
.gallery-item:focus-within{
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.gallery-item:hover img,
.gallery-item:focus-within img{
  transform: scale(1.03);
}

/* Accessible keyboard focus */
.gallery-item:focus-visible{
  outline: 4px solid rgba(14,165,163,0.12);
  outline-offset: 6px;
}

/* Small decorative accent (optional) */
.gallery-item::after{
  content:"";
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:8px;
  background: linear-gradient(135deg, rgba(14,165,163,0.12), rgba(99,102,241,0.06));
  pointer-events:none;
  z-index:2;
}

/* Responsive tweaks */
@media (max-width:980px){
  :root{ --narrow-width: 720px; }
  .gallery-grid{ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:18px; }
}
@media (max-width:560px){
  .gallery-grid{ grid-template-columns: 1fr; gap:14px; }
  .staff-gallery{ padding:28px 12px; }
  .gallery-title{ font-size:1.3rem; margin-bottom:18px; }
  .gallery-item::after{ display:none; }
}
/* =========================================================
   FINAL GALLERY SYSTEM — CLEAN & PROFESSIONAL
   Sections:
   1. Staff — Group Photos
   2. Instruments and Surveyors on Site
   Includes unified Lightbox
========================================================= */

/* =======================
   SECTION BASE
======================= */
#staff-groups,
.gallery {
  padding: clamp(3rem, 5vw, 5rem) 0;
  background: #f8f9fb;
}

#staff-groups .gallery-title,
.gallery h1 {
  text-align: center;
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 700;
  color: #222;
  margin-bottom: 2.5rem;
}

/* =========================================================
   1️⃣ STAFF — GROUP PHOTOS
========================================================= */
#staff-groups .group-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* Card */
#staff-groups .gallery-item {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Media */
#staff-groups .media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

#staff-groups .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Hover */
#staff-groups .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

#staff-groups .gallery-item:hover img {
  transform: scale(1.06);
}

/* Info */
#staff-groups .staff-info {
  padding: 1.1rem 1.3rem;
  text-align: left;
}

#staff-groups .staff-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #111;
}

#staff-groups .staff-info p {
  font-size: 0.9rem;
  color: #666;
}

/* =========================================================
   2️⃣ INSTRUMENTS & SURVEYORS (MATCHING STYLE)
========================================================= */
.gallery .gallery-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

/* Card */
.gallery .card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Image */
.gallery .card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Hover */
.gallery .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.gallery .card:hover img {
  transform: scale(1.06);
}

/* Info */
.gallery .card-info {
  padding: 1.1rem 1.3rem 1.4rem;
  text-align: left;
}

.gallery .card-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #111;
}

.gallery .card-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.lightbox[aria-hidden="false"] {
  display: block;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

/* Modal */
.lightbox-panel {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* Image */
#lightbox-image {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}

/* Caption */
.lightbox-caption {
  padding: 0.85rem 1.2rem;
  font-size: 0.95rem;
  text-align: center;
  color: #f8f8f8;
  background: rgba(0,0,0,0.65);
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  #staff-groups .group-grid,
  .gallery .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 600px) {
  #staff-groups,
  .gallery {
    padding: 2.5rem 0;
  }

  .lightbox-panel {
    max-width: 96vw;
    max-height: 90vh;
    border-radius: 14px;
  }

  #lightbox-image {
    max-height: 72vh;
  }

  .lightbox-caption {
    font-size: 0.85rem;
  }
}


  /*Our process*/
 .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Section: Our Process */
  .our-process {
    padding: 60px 0;
    text-align: center;
    text-transform: initial;
  }
  .section-header h3 {
    font-weight: normal;
    color: #c2c2c2;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #333;
  }
  .step-box h4 {
    color: #fff;
  }
  
  /* Steps Wrapper*/
  .steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  /* Individual Step Box*/
  .step-box {
    background-color: #222121; 
    padding: 30px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  /*  Hover effect on entire step */
  .step-box:hover {
    background-color: #65a874;
  }
  
  /* Icon Box*/
  .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s ease;
  }
  
  .black-icon {
    background-color:  #037B45;
  }
  
  .black-icon:hover {
    background-color:  #000; 
  }
  
  .green-icon {
    background-color:  #037B45;
  }
  
  .green-icon:hover {
    background-color: #000;
  }
  
  /*Step Titles and Paragraph */
  .step-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }
  
  .step-box p {
    font-size: 0.95rem;
    color: #ccc;
  }
  
 /* Base styles for the portfolio section */
.portfolio {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.portfolio h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #333;
}

/* Grid container for the portfolio cards */
.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

/* Individual card styles with smooth transitions */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Styling the images within the cards */
.portfolio-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

/* Overlay styles for showing text on hover */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.overlay p {
  font-size: 1em;
}

  /* Footer */
  .footer {
    position: relative;
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    overflow: hidden;
  }
  .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: url('../img/background.jpg') no-repeat center center/cover;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
  }
  .footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 20px;
  }
  .footer-links, .footer-contact, .footer-logo {
    flex: 1;
    min-width: 200px;
    margin-left: 60px;
  }
  .footer-links ul, .footer-contact ul {
    list-style: none;
  }
  .footer-links ul li, .footer-contact ul li {
    margin-bottom: 10px;
  }
  .footer-links ul li a, .footer-contact ul li {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    margin-right: 10px;
  }
  .footer-links ul li a:hover, .footer-contact ul li:hover {
    color: var(--hover-color);
  }
  .footer-links i {
    color: #037B45;
  }
  .footer-logo img {
    width: 100px;
  }
  .footer-bottom {
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    border-top: 1px solid #555;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
  }
  .footer-contact i {
    color: #037B45;
  }
/* Floating Chat Box Styles */
.chat-box-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    z-index: 1000;
  }
  .chat-header-left {
    display: flex;
    align-items: center;
  }
  
  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
  }
.chat-icon {
  display: inline-block;
  cursor: pointer;
  /* two animations: jiggle 0.8s infinite, bounce 2s infinite */
  animation: jiggle 0.8s infinite ease-in-out,
             bounce 2s infinite ease-in-out;
}
/* small left‑right rotation */
@keyframes jiggle {
  0%, 100%   { transform: rotate(0deg); }
  25%        { transform: rotate(5deg); }
  75%        { transform: rotate(-5deg); }
}
/* small up‑and‑down motion */
@keyframes bounce {
  0%, 100%   { transform: translateY(0); }
  50%        { transform: translateY(-6px); }
}

  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  /* Position the icon and tooltip purely via chat-icon pseudo-elements */
  .chat-icon {
    position: fixed;
    bottom: 20px;
    margin-bottom: 35px;
    right: 20px;
    display: inline-block;
    cursor: pointer;
    font-size: 2.5rem;
    color: #037B45;
    /* animate both icon and tooltip */
    animation: jiggle 0.8s infinite ease-in-out, bounce 2s infinite ease-in-out;
  }
  /* Tooltip text before the icon */
  .chat-icon::before {
    content: "Need help? Chat with us";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #037B45;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-right: 8px;
    z-index: 1000;
  }
  /* Arrow pointing to icon */
  .chat-icon::after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #037B45;
    margin-right: 2px;
    z-index: 1000;
  }
  .chat-box-header {
    background:#037B45;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 5px 0 0;
  }
  
  .chat-box-body {
    padding: 15px;
    font-size: 14px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .chat-box-footer {
    display: flex;
    border-top: 1px solid #ddd;
  }
  
  .chat-box-footer input {
    border: none;
    flex: 1;
    padding: 10px;
    font-size: 14px;
  }
  
  .chat-box-footer button {
    border: none;
    background: #037B45;

    color: #fff;
    padding: 0 15px;
    cursor: pointer;
  }
  
  /* Chat Icon */
  .chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background:#037B45;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    font-size: 28px;
  }
  /* Scroll to Top Button */
  .scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background:#037B45;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .about-container, .ceo-container {
      flex-direction: column;
      text-align: center;
    }
    .navbar .nav-links {
      display: none;
      flex-direction: column;
      background: var(--primary-color);
      width: 100%;
    }
    .navbar .nav-links li {
      text-align: center;
      padding: 10px 0;
      border-top: 1px solid #037B45;
    }
    .navbar.active .nav-links {
      display: flex;
    }
    .menu-icon {
      display: block;
    }
    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 480px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
    }
  }
  /*Contact page css*/
.contact-heading {
  text-align: center;
  font-size: 2rem;
  margin-top: 10px;
  color: #333;
}

/* Main Container */
.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Main Container */
.contact-container {
  display: flex;
  max-width: 1200px;
  margin: 30px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Form Section (Left) */
.contact-form-section {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #333;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font-size: 0.95rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #037B45;
}

button[type="submit"] {
  background-color: #037B45;
  color: #fff;
  font-size: 1rem;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #65a874;
}

/* Map Section (Right) */
.map-section {
  flex: 1;
  min-height: 400px; /* Ensures some height for the map area */
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Bottom Row Info with Icons */
.info-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 50px; /* 50px bottom margin to create spacing */
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-item {
  text-align: center;
  flex: 1;
  max-width: 250px;
  margin: 10px;
}

.info-item i {
  font-size: 2rem;
  color: #037B45;
  margin-bottom: 8px;
}

.info-item p {
  font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    margin: 20px;
  }
  
  .map-section {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .info-row {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .info-item {
    max-width: 100%;
    margin: 10px 0;
  }

  button[type="submit"] {
    font-size: 0.95rem;
    padding: 10px;
  }
}
/* Gallery Container for Cards */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 50px;
}
.gallery h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #444;
  text-align: center;
}

/* Card Styles */
.card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 50px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 16px rgba(0,0,0,0.2);
}

/* Card Image */
.card img {
  width: 100%;
  display: block;
}

/* Card Information */
.card-info {
  padding: 1rem;
  text-align: left;
}

.card-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #222;
}

.card-info p {
  font-size: 1rem;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card {
    width: 90%;
  }
}
