/* ===== GLOBAL ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;line-height:1.6;color:#303941;background:#f8f9fa}
.container{width:90%;max-width:1200px;margin:0 auto;padding:0 20px}
section{padding:80px 0}
h1,h2,h3,h4{font-family:'Montserrat',sans-serif;font-weight:700;line-height:1.2}
img{max-width:100%;height:auto;display:block}

/* ===== THEME ===== */
:root{
  --primary-dark:#303941;
  --accent:#4dabf7;           /* subtle legacy blue */
  --text:#303941;
  --text-light:#6c757d;
  --brand-green:#39b54a;      /* header wordmark + CTA */
  --brand-green-dark:#2e9a3e;
  --deep-teal:#0E5C64;        /* main action color */
}

/* ===== HEADER ===== */
.top-bar{background:#303941;color:#fff;padding:15px 0;position:fixed;top:0;left:0;right:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.1)}
.header-container{display:flex;justify-content:space-between;align-items:center}
.logo{display:flex;align-items:center;text-decoration:none;gap:12px}
.logo-text{font-weight:800;font-size:26px;color:var(--brand-green);letter-spacing:.5px}
.logo-text span{color:var(--brand-green)}
.main-nav{display:flex;align-items:center}
.nav-links{display:flex;list-style:none}
.nav-links li{margin-left:30px}
.nav-links a{color:#fff;text-decoration:none;font-weight:600;font-size:16px;display:flex;align-items:center;transition:color .25s}
.nav-links a:hover{color:var(--accent)}
.nav-links .nav-icon{width:24px;height:24px;margin-right:10px;object-fit:contain}
.cta-button{
  background:var(--brand-green);border:2px solid var(--brand-green);color:#fff;
  padding:10px 20px;border-radius:8px;margin-left:30px;font-weight:700;transition:all .25s;box-shadow:0 4px 15px rgba(57,181,74,.25)
}
.cta-button:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(57,181,74,.35)}
.mobile-menu-btn{display:none;background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:5px}
.mobile-menu-btn img{width:24px;height:24px}

/* ===== HERO ===== */
.hero{position:relative;height:65vh;min-height:520px;display:flex;align-items:center;overflow:hidden;margin-top:70px}
.hero-bg-animation{position:absolute;inset:0;overflow:hidden;z-index:0}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.hero-bg-animation::before{content:'';position:absolute;inset:0;background:var(--primary-dark);z-index:-1}
.grid-lines{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(77,171,247,.1) 1px,transparent 1px),
    linear-gradient(90deg, rgba(77,171,247,.1) 1px,transparent 1px);
  background-size:50px 50px;z-index:1
}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg, rgba(48,57,65,.9), rgba(48,57,65,.7));z-index:2}
.hero-content{position:relative;z-index:3;color:#fff;max-width:800px}
.hero h1{font-size:clamp(2.5rem,5vw,4.5rem);margin-bottom:20px;line-height:1.1}
.hero p{font-size:1.05rem;margin-bottom:30px;opacity:.9;max-width:600px}
.hero-buttons{display:flex;flex-wrap:wrap;gap:16px;margin-top:10px}

/* Buttons — Deep Teal */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 28px;border-radius:50px;font-weight:700;letter-spacing:.2px;text-decoration:none;transition:all .25s}
.btn-primary{background:var(--deep-teal);border:2px solid var(--deep-teal);color:#fff;box-shadow:0 4px 15px rgba(14,92,100,.35)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(14,92,100,.45)}
.btn-outline{border:2px solid var(--deep-teal);color:var(--deep-teal);background:rgba(14,92,100,.10);box-shadow:0 4px 12px rgba(0,0,0,.15)}
.btn-outline:hover{color:#fff;background:var(--deep-teal);box-shadow:0 10px 25px rgba(14,92,100,.35)}

/* ===== GLOBAL BREADCRUMBS (safe ASCII separator) ===== */
.breadcrumbs{
  display:flex;align-items:center;gap:0;margin:0 0 10px;padding:0;
  font-size:.95rem;opacity:.9;color:#cfe6ea;
}
.breadcrumbs a{color:inherit;text-decoration:underline}
.breadcrumbs > * + *::before{
  content:"/";           /* ASCII-only to avoid encoding issues */
  margin:0 8px; color:inherit; opacity:.9;
}
/* Hide any legacy spans that contained a raw › */
.breadcrumbs [aria-hidden="true"]{display:none !important}

/* ===== SERVICES ===== */
.services{background:#fff}
.section-header{text-align:center;margin-bottom:60px}
.section-header h2{font-size:2.5rem;color:var(--primary-dark);margin-bottom:15px}
.section-header p{color:var(--text-light);max-width:700px;margin:0 auto;font-size:1.1rem}

.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
  padding:0; /* per your request: no outer gutter */
}

.service-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition:all .35s;
  border:1px solid #e0e0e0;
  position:relative;

  /* keep footer at bottom */
  display:flex;
  flex-direction:column;
}
.service-card:hover{transform:translateY(-8px);box-shadow:0 15px 40px rgba(14,92,100,.18)}

.service-icon{
  width:84px;height:84px;margin:30px auto 20px;
  display:flex;align-items:center;justify-content:center;border-radius:50%;
  background:rgba(14,92,100,.12); /* teal circle behind transparent PNGs */
  box-shadow:inset 0 0 0 6px rgba(14,92,100,.05);
}
.service-icon img{width:48px;height:48px;object-fit:contain;display:block}

.service-card h3{text-align:center;margin-bottom:15px;padding:0 20px;color:var(--deep-teal)}
.service-card p{color:var(--text-light);text-align:center;padding:0 20px 24px;margin:0}

/* Learn More band — Deep Teal, translucent; pinned to bottom */
.service-link{
  margin-top:auto; /* key: push to bottom */
  display:block;text-align:center;padding:16px 0;
  background:rgba(14,92,100,.08);
  color:var(--deep-teal);font-weight:700;text-decoration:none;
  border-top:1px solid #eaf3fb;
  border-bottom-left-radius:12px;border-bottom-right-radius:12px;transition:all .25s
}
.service-link:hover{color:#fff;background:var(--deep-teal)}

/* ===== PROJECTS ===== */
.projects{background:#f4f6f8}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:30px;padding:12px}
.project-card{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.05);transition:all .3s}
.project-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,.1)}
.project-image{height:250px;overflow:hidden}
.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.project-card:hover .project-image img{transform:scale(1.05)}
.project-info{padding:25px}
.project-info h3{margin-bottom:10px;color:var(--primary-dark)}
.project-info p{color:var(--text-light);margin-bottom:20px}
.project-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.project-tag{padding:5px 12px;background:rgba(14,92,100,.10);color:var(--deep-teal);border-radius:50px;font-size:.8rem;font-weight:600}

/* ===== ABOUT ===== */
.about{background:#fff}
.about-content{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.about-image{border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.1)}
.about-text h2{margin-bottom:20px;color:var(--primary-dark)}
.about-text p{margin-bottom:15px;color:var(--text-light)}

/* ===== CONTACT ===== */
.contact{background:#f4f6f8}
.contact-container{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.contact-form{background:#fff;padding:40px;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.form-group{margin-bottom:20px}
.form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--primary-dark)}
.form-control{width:100%;padding:12px 15px;border:1px solid #e0e0e0;border-radius:6px;font-family:inherit;font-size:1rem;transition:border-color .3s}
.form-control:focus{outline:none;border-color:var(--accent)}
textarea.form-control{min-height:150px;resize:vertical}
.contact-info h2{margin-bottom:20px;color:var(--primary-dark)}
.contact-details{margin-bottom:30px}
.contact-item{display:flex;align-items:flex-start;margin-bottom:18px;gap:12px}
.contact-item .icon{
  width:40px;height:40px;border-radius:50%;
  background:rgba(14,92,100,.10); /* teal-tinted circle */
  display:flex;align-items:center;justify-content:center;flex-shrink:0
}
.contact-item .icon img{width:20px;height:20px}
.contact-item .text h3{margin:0 0 5px;font-size:1.05rem}
.contact-item .text p, .contact-item .text a{color:var(--text-light);text-decoration:none}
.contact-item .text a:hover{color:var(--accent)}

/* Social icons — keep original brand colors */
.social-link img{width:28px;height:28px;display:block;transition:transform .25s}
.social-link:hover img{transform:scale(1.1)}

/* ===== FOOTER ===== */
footer{background:var(--primary-dark);color:#fff;padding:80px 0 30px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px;margin-bottom:60px}
.footer-logo{font-size:24px;font-weight:800;margin-bottom:20px}
.footer-logo span{color:var(--brand-green)}
.footer-about p{opacity:.85;line-height:1.7}
.footer-links h3,.footer-contact h3{color:#fff;margin-bottom:18px;font-size:1.2rem}
.footer-links ul{list-style:none}
.footer-links li{margin-bottom:12px}
.footer-links a{color:rgba(255,255,255,.85);text-decoration:none;transition:all .25s}
.footer-links a:hover{color:#fff;padding-left:5px}
.footer-contact .item{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px}
.footer-contact .item img{width:18px;height:18px;filter:brightness(0) invert(1)} /* white on dark bg */
.footer-contact p,.footer-contact a{color:rgba(255,255,255,.9);text-decoration:none}
.footer-contact a:hover{color:#fff}
.footer-bottom{text-align:center;padding-top:30px;border-top:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.6);font-size:.9rem}

/* ===== RESPONSIVE ===== */
@media (max-width:992px){
  section{padding:60px 0}
  .about-content,.contact-container{grid-template-columns:1fr;gap:30px}
  .about-image{order:-1}
}
@media (max-width:768px){
  .nav-links{display:none;position:fixed;top:80px;left:0;width:100%;background:#303941;flex-direction:column;padding:20px;box-shadow:0 10px 20px rgba(0,0,0,.1)}
  .nav-links.active{display:flex}
  .nav-links li{margin:10px 0}
  .nav-links a{padding:10px 0;font-size:18px}
  .cta-button{margin:20px 0 0 0;display:block;text-align:center}
  .mobile-menu-btn{display:block}
  .hero{height:70vh;min-height:520px}
  .hero h1{font-size:2.8rem}
  .hero-buttons{gap:14px}
}
@media (max-width:576px){
  section{padding:50px 0}
  .section-header h2{font-size:2rem}
  .services-grid,.projects-grid{grid-template-columns:1fr}
  .logo-text{font-size:22px}
  .footer-grid{grid-template-columns:1fr}
  .hero{height:75vh;min-height:460px}
}
