:root {
  --ecs-brand: #1f7a2d;
  --ecs-accent: #0c6efd;
  --ecs-blue: #0b2d4a;
  --ecs-green: #6fb262;
  --ecs-text: #0f172a;
  --nav-h: 80px;
  --logo-w: 200px;
  --center-gap: calc(var(--logo-w) + 40px);
  --right-nudge: 12px;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--ecs-text);
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
}

* {
  box-sizing: border-box;
}

#ecs-hero {
  position: relative;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
}

#ecs-hero a {
  text-decoration: none;
}

/* Top bar */
#ecs-hero .topbar {
  position: relative;
  z-index: 10;
  background: rgba(245, 247, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #0b2138;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

#ecs-hero .topbar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 14px;
  background: #2ea44f;
  z-index: 11;
}

#ecs-hero .nav {
  max-width: 1280px;
  margin: 0 -30px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  min-height: var(--nav-h);
  z-index: 1000;
  transform: translateZ(0);
}

#ecs-hero .nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  margin: 0 -120px;
  flex: 0 1 calc(50% - (var(--center-gap) / 2));
  justify-content: flex-start;
  white-space: nowrap;
}

#ecs-hero .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 900;
  margin: 0 -160px;
  flex: 0 1 calc(50% - (var(--center-gap) / 2));
  justify-content: flex-end;
  white-space: nowrap;
  margin-left: var(--right-nudge);
}

#ecs-hero .nav-spacer {
  flex: 0 0 var(--center-gap);
  height: 1px;
}

#ecs-hero .nav-left a {
  color: #0b2138;
  opacity: 0.9;
}

#ecs-hero .nav-left a:hover {
  opacity: 1;
}

#ecs-hero .nav-links {
  display: flex;
  gap: 12px;
  font-weight: 600;
  list-style: none;
  margin: 0;
  padding: 0;
}

#ecs-hero .nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

#ecs-hero .nav-links a {
  color: #0b2138;
  text-decoration: none;
}

/* Updated Call Pill to match the image exactly with overflow */
#ecs-hero .call-pill {
  background: #18446c;
  color: #fff;
  padding: 16px 22px 12px 22px;
  border-radius: 0 0 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 210px;
  max-width: 240px;
  box-shadow: 0 6px 20px rgba(24, 68, 108, 0.13);
  border: none;
  align-self: flex-start;
  position: relative;
  transform: none;
  transition: box-shadow 0.2s;
  text-align: center;
  /* margin-top: 12px; shifted downward to create overflow */
  margin-right: -16px; /* overflow to the right */
  margin-bottom: -20px;
  z-index: 15; /* ensure it appears above other elements */
}

#ecs-hero .call-pill strong {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

#ecs-hero .call-pill a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 2px 0;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

#ecs-hero .call-pill a[href^="mailto:"] {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.88;
}

#ecs-hero .call-pill a:hover {
  color: #bfe2ff;
  text-decoration: underline;
}

/* Hero */
#ecs-hero .hero {
  position: relative;
  background: #0e2238;
  z-index: 1;
}

#ecs-hero .hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 16px 52px;
  text-align: center;
}

#ecs-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(110%) contrast(105%);
  opacity: 0.95;
}

#ecs-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 12, 22, 0.55) 0%, rgba(2, 12, 22, 0.35) 35%, rgba(2, 12, 22, 0.55) 100%);
}

#ecs-hero .logo-badge {
  position: absolute;
  top: var(--nav-h);
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 15;
  pointer-events: none;
  min-width: var(--logo-w);
  justify-content: center;
}

/* Lower logo z-index when any dropdown is hovered */
#ecs-hero:has(.has-dropdown:hover) .logo-badge {
  z-index: 5 !important;
}

#ecs-hero .logo-badge img {
  height: 54px;
  width: auto;
  display: block;
}

/* Updated Hero Text */
#ecs-hero h1 {
  position: relative;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  margin: 24px 0 8px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

#ecs-hero .sub {
  position: relative;
  font-size: clamp(20px, 2.8vw, 32px);
  font-style: italic;
  font-weight: 300;
  opacity: 0.95;
  color: #e0e7ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 32px;
}

/* Updated CTA Row */
#ecs-hero .cta-row {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Updated Green Buttons */
#ecs-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #6fb262;
  color: #ffffff;
  border-color: whitesmoke;
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  box-shadow: 0 4px 16px rgba(111, 178, 98, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.3px;
  min-width: 160px;
}

#ecs-hero .btn:hover {
  background: linear-gradient(135deg, #7ac26d 0%, #65a65d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 178, 98, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #7ac26d;
  border-color: whitesmoke;
}

#ecs-hero .btn.secondary {
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  border-color: #6fb262;
  color: #ffffff;
  border-color: whitesmoke;
}

#ecs-hero .btn.secondary:hover {
  background: linear-gradient(135deg, #7ac26d 0%, #65a65d 100%);
  border-color: #7ac26d;
  border-color: whitesmoke;
}

#ecs-hero .hero-bottom-line {
  position: relative;
  height: 6px;
  background: #ffffff;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.6) inset;
}

/* Blue paragraph band under hero */
#ecs-hero .intro {
  background: #2e4a6a;
  color: #e8f1ff;
}

#ecs-hero .intro .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
  text-align: center;
}

/* Main content styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  color: var(--ecs-blue);
}

.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--ecs-brand);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--ecs-green);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.testimonial {
  background: #f8fafc;
  border-left: 4px solid var(--ecs-brand);
  padding: 24px;
  margin: 20px 0;
  border-radius: 8px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--ecs-blue);
  margin-top: 12px;
}

.contact-info {
  background: var(--ecs-blue);
  color: white;
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

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

.contact-item h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.contact-item a {
  color: #bfe2ff;
}

.footer {
  background: linear-gradient(135deg, #1a2332 0%, #0f1722 100%);
  color: white;
  padding: 40px 0 20px;
  text-align: center;
}

/* New sections based on the image */
.what-we-do {
  background: url('https://res.cloudinary.com/dupvpv0rf/image/upload/v1755887747/VectorSmartObject_3_xoww5f.png') center/cover;
  padding: 80px 0;
  color: white;
}

.what-we-do h2 {
  text-align: center;
  color: #6fb262;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.what-we-do h3 {
  text-align: center;
  color: #0b2d4a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card.blue {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: white;
  box-shadow: 0 16px 48px rgba(52, 73, 94, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-card.blue:hover {
  box-shadow: 0 24px 64px rgba(52, 73, 94, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card.green {
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  color: white;
  box-shadow: 0 16px 48px rgba(111, 178, 98, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-card.green:hover {
  box-shadow: 0 24px 64px rgba(111, 178, 98, 0.4), 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-card p {
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.what-we-offer {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
}

.what-we-offer h2 {
  text-align: center;
  color: #6fb262;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.what-we-offer h3 {
  text-align: center;
  color: #0b2d4a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.service-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.service-icon-item {
  text-align: center;
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-icon-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.service-icon-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.service-icon-item:hover img {
  transform: scale(1.1);
}

.service-icon-item .icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 12px 32px rgba(111, 178, 98, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-icon-item:hover .icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(111, 178, 98, 0.4), 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-icon-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0b2d4a;
  margin-bottom: 5px;
}

.service-icon-item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.business-it-services {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
  border-top: 3px solid #6fb262;
  border-bottom: 3px solid #6fb262;
}

.business-it-services h3 {
  color: #0b2d4a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.business-description {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.business-description p {
  color: #2c3e50;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 400;
}

.thats-me-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  color: white;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 12px 32px rgba(111, 178, 98, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.thats-me-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(111, 178, 98, 0.4), 0 6px 16px rgba(0, 0, 0, 0.15);
}

.onsite-support {
  background: url('https://res.cloudinary.com/dupvpv0rf/image/upload/v1755887748/shutterstock20306944_nbsrub.png') center/cover;
  color: white;
  padding: 80px 0;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.onsite-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.onsite-content-box {
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #0b2d4a;
  margin-left: auto;
  margin-right: 50px;
}

.onsite-content-box h3 {
  color: #0b2d4a;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.onsite-content-box p {
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}

.onsite-content-box .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6fb262;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.success-stories {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
}

.success-stories h2 {
  text-align: center;
  color: #6fb262;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.success-stories h3 {
  text-align: center;
  color: #0b2d4a;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-card .author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-card .author-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6fb262 0%, #5a9652 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(111, 178, 98, 0.3);
}

.testimonial-card .author-name {
  font-weight: 600;
  color: #0b2d4a;
  font-size: 1rem;
}

.testimonial-card .author-date {
  color: #666;
  font-size: 0.9rem;
}

.testimonial-card .google-icon {
  margin-left: auto;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4285f4 0%, #1a73e8 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.testimonial-card::before {
  content: "★★★★★";
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: block;
}

.testimonial-card .quote {
  color: #0b2d4a;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-card .read-more {
  color: #6fb262;
  font-size: 0.9rem;
  cursor: pointer;
}

.partners-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  text-align: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.partner-logo {
  opacity: 0.6;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 12px;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
}

.footer-links {
  background: linear-gradient(135deg, #2e4a6a 0%, #1e3a5a 100%);
  color: #bfe2ff;
  padding: 40px 0;
  text-align: center;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #bfe2ff;
  text-decoration: none;
  font-weight: 600;
}

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

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact a {
  color: #bfe2ff;
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #bfe2ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 960px) {
  #ecs-hero .nav-links {
    display: none;
  }

  #ecs-hero .call-pill {
    display: none;
  }

  #ecs-hero .nav-spacer {
    display: none;
  }

  #ecs-hero .logo-badge {
    margin-top: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .onsite-content-box {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-nav {
    flex-direction: column;
    gap: 15px;
  }
}

/* Page Content Section Styles */
.page-content-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
  min-height: 60vh;
}

.page-content-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-content-section article {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.page-content-section .page-image {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.page-content-section .page-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-content-section .page-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.page-content-section .page-content h1,
.page-content-section .page-content h2,
.page-content-section .page-content h3,
.page-content-section .page-content h4 {
  color: var(--ecs-blue);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-content-section .page-content h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--ecs-green);
  padding-bottom: 10px;
}

.page-content-section .page-content h2 {
  font-size: 2rem;
}

.page-content-section .page-content h3 {
  font-size: 1.5rem;
}

.page-content-section .page-content p {
  margin-bottom: 20px;
}

.page-content-section .page-content ul,
.page-content-section .page-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.page-content-section .page-content li {
  margin-bottom: 10px;
}

.page-content-section .page-content a {
  color: var(--ecs-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-content-section .page-content a:hover {
  border-bottom-color: var(--ecs-accent);
}

.page-content-section .page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.page-content-section .page-share {
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.page-content-section .page-share h3 {
  color: var(--ecs-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.page-content-section .pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-content-section .pagination span,
.page-content-section .pagination a {
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
  color: var(--ecs-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-content-section .pagination a:hover {
  background: var(--ecs-accent);
  color: #fff;
}

.page-content-section .pagination .current {
  background: var(--ecs-accent);
  color: #fff;
}

/* Comments Section */
.page-content-section #comments {
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Blog Post Specific Styles */
.porto-single-page {
  list-style: none !important;
}

.porto-single-page article {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  list-style: none;
}

/* Hide weird navigation arrows and bullets */
.porto-single-page .post-nav,
.porto-single-page .post-navigation,
.porto-single-page .nav-links,
.porto-single-page article > ul:first-child,
.porto-single-page article > ol:first-child {
  display: none !important;
}

.porto-single-page .entry-content > ul:first-child,
.porto-single-page .entry-content > ol:first-child {
  list-style: disc !important;
  padding-left: 30px !important;
}

/* Hide any stray bullets at top */
.porto-single-page > ul,
.porto-single-page > ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.porto-single-page .post-title,
.porto-single-page .entry-title {
  color: var(--ecs-blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--ecs-green);
  padding-bottom: 15px;
}

.porto-single-page .post-meta,
.porto-single-page .entry-meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.porto-single-page .post-content,
.porto-single-page .entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.porto-single-page .post-content img,
.porto-single-page .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Back to Blog Link - Subtle styling */
.porto-single-page .inline-block {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  color: var(--ecs-accent);
  border: 2px solid var(--ecs-accent);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.porto-single-page .inline-block:hover {
  background: var(--ecs-accent);
  color: #fff;
  transform: translateX(-3px);
}

.porto-single-page .inline-block i {
  font-size: 0.9rem;
}

/* Related Posts Section */
.porto-single-page .related-posts {
  margin-top: 50px;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.porto-single-page .related-posts .sub-title {
  color: var(--ecs-blue);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.porto-single-page .related-posts .sub-title strong {
  color: var(--ecs-green);
}

.porto-single-page hr.tall {
  display: none;
}

/* Related Posts Carousel Styling */
.porto-single-page .post-carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 10px 0 !important;
}

.porto-single-page .post-carousel article,
.porto-single-page .post-carousel .post-item {
  flex: 0 0 calc(33.333% - 15px) !important;
  min-width: 300px !important;
  margin-bottom: 0 !important;
}

/* Owl Carousel specific overrides */
.porto-single-page .owl-carousel {
  display: block !important;
}

.porto-single-page .owl-carousel .owl-stage-outer {
  overflow: visible !important;
}

.porto-single-page .owl-carousel .owl-stage {
  display: flex !important;
  gap: 20px !important;
}

.porto-single-page .owl-carousel .owl-item {
  float: none !important;
  display: flex !important;
}

.porto-single-page .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.porto-single-page .owl-carousel .owl-nav button {
  pointer-events: all;
  background: var(--ecs-accent) !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.porto-single-page .owl-carousel .owl-nav button:hover {
  background: var(--ecs-blue) !important;
  transform: scale(1.1);
}

/* Fallback grid layout if carousel fails */
.porto-single-page .related-posts .post-carousel:not(.owl-loaded) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 20px !important;
}

/* Comments Section Styling */
.porto-single-page #comments,
.porto-single-page .comments-area,
#comments,
.comments-area {
  margin-top: 40px !important;
  padding: 40px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

.porto-single-page #comments h3,
.porto-single-page .comments-title {
  color: var(--ecs-blue);
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 700;
  border-bottom: 3px solid var(--ecs-green);
  padding-bottom: 15px;
}

.porto-single-page .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.porto-single-page .comment {
  padding: 20px;
  margin-bottom: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--ecs-accent);
}

.porto-single-page .comment-author {
  font-weight: 700;
  color: var(--ecs-blue);
  margin-bottom: 10px;
}

.porto-single-page .comment-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.porto-single-page .comment-content {
  line-height: 1.6;
  color: #333;
}

.porto-single-page .comment-form {
  margin-top: 30px;
}

.porto-single-page .comment-form input[type="text"],
.porto-single-page .comment-form input[type="email"],
.porto-single-page .comment-form input[type="url"],
.porto-single-page .comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: border-color 0.3s ease;
}

.porto-single-page .comment-form input:focus,
.porto-single-page .comment-form textarea:focus {
  outline: none;
  border-color: var(--ecs-accent);
}

.porto-single-page .comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.porto-single-page .comment-form input[type="submit"],
.porto-single-page .comment-form button[type="submit"] {
  background: var(--ecs-accent);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.porto-single-page .comment-form input[type="submit"]:hover,
.porto-single-page .comment-form button[type="submit"]:hover {
  background: var(--ecs-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Remove any list bullets */
.porto-single-page ul,
.porto-single-page ol {
  list-style-position: inside;
}

.porto-single-page > ul,
.porto-single-page > ol {
  list-style: none;
  padding: 0;
}

/* Social sharing links */
.porto-single-page .post-share,
.porto-single-page .share-links {
  margin: 30px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.porto-single-page .post-share a {
  display: inline-block;
  margin: 0 10px;
  color: var(--ecs-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.porto-single-page .post-share a:hover {
  color: var(--ecs-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-content-section {
    padding: 40px 0;
  }
  
  .page-content-section article,
  .porto-single-page article {
    padding: 20px;
  }
  
  .page-content-section .page-content {
    font-size: 1rem;
  }
  
  .page-content-section .page-content h1,
  .porto-single-page .post-title,
  .porto-single-page .entry-title {
    font-size: 2rem;
  }
  
  .page-content-section .page-content h2 {
    font-size: 1.5rem;
  }
  
  .page-content-section .page-content h3 {
    font-size: 1.25rem;
  }
  
  .porto-single-page .related-posts .sub-title {
    font-size: 1.5rem;
  }
}

/* Desktop navigation and logo styles are in header.php */
