/* Harris Groundworks - Professional Styles */
:root {
  --dark-blue: #0A2540;
  --dark-blue-deep: #061628;
  --accent-blue: #1E4D7B;
  --light-blue: #E8F1F8;
  --white: #FFFFFF;
  --off-white: #F7F9FC;
  --text-dark: #1A1A2E;
  --text-muted: #5A6A7A;
  --glow-color: rgba(30, 77, 123, 0.55);
  --success: #28a745;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar-harris {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-deep) 100%);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.35);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-harris .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white) !important;
  letter-spacing: 0.3px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #1E4D7B, #0A2540);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.navbar-harris .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.25s ease;
  margin: 0 2px;
}

.navbar-harris .nav-link:hover,
.navbar-harris .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.12);
}

/* ========== GLOW BUTTONS (side by side) ========== */
.btn-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #3a7bd5, #00d2ff, #3a7bd5);
  border-radius: 12px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: blur(8px);
}

.btn-glow:hover::before {
  opacity: 0.7;
}

.btn-glow-primary {
  background: linear-gradient(135deg, #1E4D7B 0%, #0A2540 100%);
  color: var(--white) !important;
  box-shadow: 0 6px 20px var(--glow-color),
              0 0 0 0 rgba(30, 77, 123, 0.4);
}

.btn-glow-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px var(--glow-color),
              0 0 25px rgba(30, 77, 123, 0.45);
  color: var(--white) !important;
}

.btn-glow-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-glow-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-glow-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2),
              0 0 20px rgba(255,255,255,0.25);
  color: var(--white) !important;
}

.btn-glow-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-glow-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5),
              0 0 25px rgba(37, 211, 102, 0.35);
  color: var(--white) !important;
}

.btn-glow-call {
  background: linear-gradient(135deg, #0A2540 0%, #1E4D7B 100%);
  color: var(--white) !important;
  box-shadow: 0 6px 20px var(--glow-color);
}

.btn-glow-call:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px var(--glow-color),
              0 0 25px rgba(30, 77, 123, 0.45);
  color: var(--white) !important;
}

.btn-glow-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.15rem;
}

.btn-group-side {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* ========== HERO ========== */
.hero-section {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-deep) 60%, #0d3a5c 100%);
  color: var(--white);
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, rgba(30,77,123,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-section .lead {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 540px;
  margin-bottom: 2rem;
}

.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.stat-box .number {
  font-size: 2rem;
  font-weight: 800;
  color: #7eb8e8;
  display: block;
  line-height: 1.1;
}

.stat-box .label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ========== SECTIONS ========== */
.section-padding {
  padding: 4.5rem 0;
}

.section-title {
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.bg-light-blue {
  background-color: var(--light-blue);
}

.bg-off-white {
  background-color: var(--off-white);
}

/* Service cards */
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(10,37,64,0.08);
  box-shadow: 0 6px 20px rgba(10,37,64,0.06);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(10,37,64,0.12);
  border-color: rgba(30,77,123,0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--dark-blue), var(--accent-blue));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: white;
  font-size: 1.5rem;
}

.service-card h5 {
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Project cards */
.project-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10,37,64,0.08);
  box-shadow: 0 6px 20px rgba(10,37,64,0.06);
  height: 100%;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(10,37,64,0.14);
}

.project-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, #1a3a5c, #0A2540);
}

.project-body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-blue);
  background: var(--light-blue);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.project-body h5 {
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

/* Why us */
.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--dark-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Contact form */
.contact-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 40px rgba(10,37,64,0.1);
  border: 1px solid rgba(10,37,64,0.06);
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid #d0d7de;
  padding: 0.7rem 1rem;
  font-size: 0.98rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(30,77,123,0.18);
}

.form-label {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 0.92rem;
}

.info-block {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.info-block h5 {
  color: var(--dark-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark-blue);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.info-link:hover {
  color: var(--accent-blue);
}

.info-link i {
  width: 40px;
  height: 40px;
  background: var(--dark-blue);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--accent-blue) 100%);
  color: white;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Footer */
.footer-harris {
  background: var(--dark-blue-deep);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}

.footer-harris h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.1rem;
  font-size: 1.1rem;
}

.footer-harris a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-harris a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* Utilities */
.text-dark-blue { color: var(--dark-blue) !important; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 3.5rem 0 3rem;
  }
  .btn-group-side {
    flex-direction: column;
    width: 100%;
  }
  .btn-group-side .btn-glow {
    width: 100%;
  }
  .stat-box {
    margin-bottom: 0.75rem;
  }
}

/* Subtle page load fade */
.page-content {
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Project card image fix */
.project-card {
  overflow: hidden;          /* clips anything that tries to spill out */
  border-radius: 0.5rem;     /* optional – matches typical card look */
}

.project-img {
  width: 100%;
  height: 220px;             /* fixed height for all cards – change if you want taller/shorter */
  object-fit: cover;         /* crops the image nicely to fill the box */
  object-position: center;   /* keeps the interesting part centred */
  display: block;
}

/* Navbar logo */
.navbar-logo {
  height: 48px;          /* desktop size */
  width: auto;
  object-fit: contain;
  transition: height 0.2s ease;
}

/* Slightly smaller on mobile so it doesn’t dominate */
@media (max-width: 991.98px) {
  .navbar-logo {
    height: 40px;
  }
}