/* ============================================
   MODERN REDESIGN - Template Inspired Layout
   ============================================ */

/* HEADER - Remove Sticky and Border */
.site-header {
  position: static !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 2rem 0 !important;
}

.site-header .header-container,
.site-header .container {
  max-width: 1600px;
  margin: 10px auto;
  padding: 0 10px;
}

/* Navigation - Smaller Text */
.nav {
  gap: 0.25rem !important;
}

.nav-link {
  font-size: 0.875rem !important;
  padding: 0.5rem 0.75rem !important;
}

/* PAGE CONTAINER - Wider with Minimal Margins */
.page-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px;
}
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO CAROUSEL - Large with Right Vertical Navigation */
.hero-carousel-large {
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.hero-carousel-large .page-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.carousel-wrapper-large {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.carousel-slides-large {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.carousel-slide-large {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-color: #fff;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.carousel-slide-large.active {
  opacity: 1;
}

.carousel-img-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  flex-shrink: 0;
  min-height: 100%;
  min-width: 100%;
}

/* Vertical Navigation - Right Side */
.carousel-nav-vertical {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.nav-dot-vertical {
  width: 12px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-dot-vertical:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

.nav-dot-vertical.active {
  background-color: #fff;
  height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Carousel Arrow Navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 0;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow-prev {
  left: 20px;
}

.carousel-arrow-next {
  right: 20px;
}

/* WHAT WE OFFER - Image Left + 2x2 Grid Right */
.what-we-offer {
  padding: 20px 0;
  background-color: #fff;
}

.offer-layout {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.offer-image {
  flex: 0 0 35%;
  min-height: 500px;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.offer-grid-2x2 {
  flex: 1;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-template-rows: repeat(2, 1fr) !important;
  gap: 20px;
  min-height: 500px;
  grid-auto-flow: row;
}

.offer-box {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 0;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.offer-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.offer-header-box {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.offer-header-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.offer-main-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
}

.offer-subtitle {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  opacity: 0.95;
}

.offer-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.offer-box-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.offer-box-title a {
  color: #1a1d29;
  text-decoration: none;
  transition: color 0.3s ease;
}

.offer-box-title a:hover {
  color: #0066cc;
}

.offer-box-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #5c6c75;
  margin: 0;
}

/* CTA BANNER - Full Width Image with Overlay */
.cta-banner {
  padding: 0;
  background-color: #f8f9fa;
  margin: 0;
}

.cta-banner .page-container {
  max-width: 100%;
  padding: 0;
}

.cta-banner-content {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%),
              url('../images/cta-banner.jpg') center/cover;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SERVICES SPLIT SECTION - Image Left + 2x2 Grid Right */
.services-split {
  padding: 20px 0;
  background-color: #fff;
}

.services-split-container {
  display: flex;
  gap: 0;
  height: 500px;
}

.services-image-left {
  flex: 0 0 50%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  height: 100%;
}

.services-image-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-grid-2x2 {
  flex: 0 0 50%;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 0 !important;
  padding: 0;
  margin: 0;
  height: 100%;
  width: 50%;
  box-sizing: border-box;
}

.service-grid-box {
  background-color: #fff;
  padding: 30px 25px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.service-grid-box-empty {
  background-color: #f8f9fa;
}

.service-grid-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.service-grid-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 15px 0;
}

.service-grid-title a {
  color: #1a1d29;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-grid-title a:hover,
.service-grid-box:hover .service-grid-icon {
  color: #0066cc;
}

.service-grid-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c6c75;
  margin: 0;
}

.cta-banner-overlay {
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 40px;
}

.cta-banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: #fff;
}

.cta-banner-text {
  font-size: 1.5rem;
  margin: 0 0 40px 0;
  opacity: 0.95;
}

.cta-banner-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-banner-primary,
.btn-banner-secondary {
  padding: 15px 40px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-banner-primary {
  background-color: #fff;
  color: #0066cc;
}

.btn-banner-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.btn-banner-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-banner-secondary:hover {
  background-color: #fff;
  color: #0066cc;
  text-decoration: none;
}

/* ABOUT US SECTION - Simple & Clean */
.about-section-simple {
  padding: 40px 0;
  background-color: #fff;
}

.about-content-center {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-title-large {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 30px 0;
}

.about-text-large {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #3d4f58;
  margin: 0 0 40px 0;
}

.about-badge-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-badge {
  display: inline-block;
  padding: 12px 24px;
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-weight: 600;
  color: #0066cc;
  font-size: 1rem;
}

/* STATS SECTION - Large Numbers */
.stats-large {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-row {
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item-large {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-number-huge {
  font-size: 5rem;
  font-weight: 700;
  color: #0066cc;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label-small {
  font-size: 1rem;
  color: #5c6c75;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* WHY CHOOSE US */
.why-choose-us {
  padding: 40px 0;
  background-color: #fff;
}

.why-choose-us .page-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.section-title-center {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1d29;
  text-align: center;
  margin: 0 0 60px 0;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

.feature-box {
  background-color: #f8f9fa;
  padding: 40px 30px;
  border-radius: 0;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex: 1;
  min-width: 200px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-box:hover {
  border-color: #0066cc;
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 15px 0;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5c6c75;
  margin: 0;
}

/* TESTIMONIALS */
.testimonials {
  padding: 40px 0;
  background-color: #fff;
}

.testimonials .page-container {
  max-width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-row {
  display: flex;
  gap: 5px;
  transition: transform 0.3s ease;
}

.testimonial-card {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 0;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 3.33px);
  min-width: 250px;
}

.testimonial-quote {
  font-size: 4rem;
  line-height: 1;
  color: #0066cc;
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #3d4f58;
  margin: 0 0 20px 0;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 15px;
  border-top: 2px solid #e9ecef;
}

.testimonial-author strong {
  font-size: 1rem;
  color: #1a1d29;
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: #5c6c75;
}

/* Testimonial Navigation Arrows */
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 0;
  cursor: pointer;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.testimonial-nav-prev {
  left: 20px;
}

.testimonial-nav-next {
  right: 20px;
}

/* SOCIAL MEDIA SECTION */
.social-section-simple {
  padding: 30px 0;
  background-color: #fff;
  text-align: center;
}

.social-title-simple {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 30px 0;
}

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

.social-link-simple {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #f8f9fa;
  color: #3d4f58;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.social-icon-simple {
  font-size: 1.25rem;
}

.social-link-simple.youtube:hover {
  background-color: #ff0000;
  color: #fff;
  border-color: #ff0000;
  transform: translateY(-3px);
}

.social-link-simple.whatsapp:hover {
  background-color: #25d366;
  color: #fff;
  border-color: #25d366;
  transform: translateY(-3px);
}

.social-link-simple.facebook:hover {
  background-color: #1877f2;
  color: #fff;
  border-color: #1877f2;
  transform: translateY(-3px);
}

.social-link-simple.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .page-container {
    padding: 0 30px;
  }

  .offer-layout {
    flex-direction: column;
  }

  .offer-image {
    min-height: 400px;
  }

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

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

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

@media (max-width: 768px) {
  .page-container {
    padding: 0 20px;
  }

  .carousel-wrapper-large {
    height: 400px;
  }

  .offer-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .offer-image {
    min-height: 300px;
  }

  .cta-banner-content {
    height: 300px;
  }

  .cta-banner-title {
    font-size: 2rem;
  }

  .cta-banner-text {
    font-size: 1.125rem;
  }

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

  .stat-number-huge {
    font-size: 3.5rem;
  }

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

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

  .stats-row {
    gap: 30px;
  }

  .stat-item-large {
    flex: 1 1 calc(50% - 15px);
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper-large {
    height: 300px;
  }

  .nav-dot-vertical {
    width: 10px;
    height: 30px;
  }

  .nav-dot-vertical.active {
    height: 45px;
  }

  .offer-main-title {
    font-size: 1.75rem;
  }

  .cta-banner-buttons {
    flex-direction: column;
  }

  .btn-banner-primary,
  .btn-banner-secondary {
    width: 100%;
  }

  .stat-item-large {
    flex: 1 1 100%;
  }
}


/* SIMPLE PAGE LAYOUT - For Customization and other pages */
.simple-page-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 10px;
}

.page-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 40px 0;
  text-align: center;
}

.section-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 40px 0 20px 0;
}

.section-image {
  margin: 0 0 40px 0;
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e0e0e0;
}

.section-images-row {
  display: flex;
  gap: 10px;
  margin: 0 0 40px 0;
}

.section-image-half {
  flex: 1;
}

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

.section-image-third {
  flex: 1;
}

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


/* EDUCATION PAGE LAYOUT */
.education-page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px;
}

.page-banner {
  width: 100%;
  margin: 0 0 40px 0;
}

.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.course-section {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0 0 40px 0;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
}

.course-section:last-child {
  border-bottom: none;
}

.course-content {
  flex: 1;
}

.course-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 15px 0;
}

.course-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #5c6c75;
  margin: 0;
}

.course-image-small {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
}

.course-image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 1px solid #e0e0e0;
}

/* Education course catalogue */
.education-category {
  margin: 0 0 18px;
  border-radius: 16px;
  background: var(--pc-white);
}

.education-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 26px;
  color: var(--pc-ink);
  background: #edf6fb;
  border-radius: 16px;
  cursor: pointer;
  font-size: clamp(1.08rem, 1.9vw, 1.48rem);
  font-weight: 800;
  list-style: none;
}

.education-category summary::-webkit-details-marker {
  display: none;
}

.education-category summary::after {
  content: "⌄";
  color: var(--pc-green);
  font-size: 1.6rem;
  font-weight: 400;
}

.education-category[open] summary::after {
  content: "⌃";
}

.education-intro {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin: 0 0 36px;
  padding: clamp(16px, 3vw, 32px) 0;
}

.education-certificate img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  box-shadow: 0 16px 36px rgba(16, 42, 47, .14);
}

.education-eyebrow {
  margin: 0 0 8px;
  color: var(--pc-green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.education-intro h1,
.education-offerings h2 {
  margin: 0 0 14px;
  color: var(--pc-ink);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.education-intro-copy > p:not(.education-eyebrow) {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.7;
}

.education-benefit-grid,
.education-offering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.education-benefit-grid {
  margin-top: 26px;
}

.education-benefit-grid span,
.education-offering-grid > article > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--pc-white);
  background: var(--pc-green);
  border-radius: 50%;
  font-weight: 900;
}

.education-benefit-grid strong {
  display: block;
  color: var(--pc-ink);
}

.education-benefit-grid p,
.education-offering-grid p {
  margin: 6px 0 0;
  color: var(--pc-muted);
  font-size: .92rem;
  line-height: 1.55;
}

.education-offerings {
  width: 100vw;
  margin: 0 0 36px calc(50% - 50vw);
  padding: clamp(24px, 4vw, 42px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--pc-soft);
}

.education-offerings > .education-eyebrow,
.education-offerings > h2,
.education-offering-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.education-offering-grid article {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--pc-soft);
}

.education-offering-grid > article > span {
  flex: 0 0 30px;
  margin: 0;
}

.education-offering-grid h3 {
  margin: 0;
  color: var(--pc-ink);
  font-size: 1.02rem;
}

.education-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 18px 26px 26px;
}

.education-course-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  overflow: hidden;
  background: var(--pc-soft);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
}

.education-course-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--pc-white);
}

.education-course-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.education-course-card h2 {
  margin: 0 0 10px;
  color: var(--pc-ink);
  font-size: 1.2rem;
}

.education-course-card p {
  margin: 0 0 20px;
  color: var(--pc-muted);
  line-height: 1.6;
}

.education-course-card .button {
  margin-top: auto;
}

.education-video-section {
  margin: 42px 0 20px;
  padding: 36px 0 0;
  border-top: 1px solid var(--pc-line);
}

.education-video-section h2 {
  margin: 0 0 22px;
  color: var(--pc-ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
}

.education-video-section video {
  display: block;
  width: min(100%, 960px);
  margin: 0 auto;
  background: #000;
}

@media (max-width: 768px) {
  .course-section {
    flex-direction: column;
  }

  .course-image-small {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
  }

  .education-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 18px 18px;
  }

  .education-category summary {
    padding: 11px 18px;
  }

  .education-intro,
  .education-benefit-grid,
  .education-offering-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .education-course-grid {
    grid-template-columns: 1fr;
  }
}


/* VIDEO SECTION */
.video-section {
  margin: 60px 0 40px 0;
  padding: 40px 0;
  border-top: 2px solid #e0e0e0;
}

.video-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1d29;
  text-align: center;
  margin: 0 0 30px 0;
}

.video-container {
  position: relative;
  width: 100%;
  background-color: #000;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Tally customization page */
.customization-page {
  width: min(1600px, calc(100% - 20px));
  margin: 0 auto;
  padding: 0 0 clamp(36px, 6vw, 76px);
}

.customization-banner {
  margin-bottom: clamp(34px, 5vw, 60px);
}

.customization-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.customization-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding-bottom: clamp(38px, 6vw, 68px);
}

.customization-intro,
.customization-sectors,
.customization-videos {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.customization-intro > img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
}

.customization-eyebrow {
  margin: 0 0 8px;
  color: var(--pc-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.customization-intro h1,
.customization-page section > h2 {
  margin: 0 0 14px;
  color: var(--pc-ink);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.customization-intro-copy > p:last-child {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.75;
}

.customization-capabilities,
.customization-addons {
  margin: 0 0 clamp(34px, 5vw, 60px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--pc-soft);
}

.customization-capabilities {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.customization-capabilities > .customization-eyebrow,
.customization-capabilities > h2,
.customization-capability-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.customization-addons {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.customization-addons > .customization-eyebrow,
.customization-addons > h2,
.customization-addon-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.customization-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.customization-capability-grid article {
  padding: 24px;
  background: var(--pc-white);
}

.customization-capability-grid span,
.customization-sector-grid span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--pc-white);
  background: var(--pc-green);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
}

.customization-capability-grid h3 {
  margin: 0 0 8px;
  color: var(--pc-ink);
}

.customization-capability-grid p {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.65;
}

.customization-sectors,
.customization-videos {
  margin-top: 0;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.customization-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.customization-sector-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.customization-sector-grid span {
  width: 86px;
  height: 86px;
  margin-bottom: 12px;
  background: var(--pc-ink);
  font-size: 1.75rem;
}

.customization-sector-grid p {
  margin: 0;
  color: var(--pc-ink);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
}

.customization-addon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.customization-addon-grid article {
  display: grid;
  min-height: 102px;
  place-items: center;
  padding: 16px;
  color: var(--pc-ink);
  background: var(--pc-white);
  text-align: center;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.4;
}

.customization-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.customization-video-grid a {
  display: block;
  overflow: hidden;
  color: var(--pc-ink);
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.customization-video-grid a:hover {
  color: var(--pc-ink);
  transform: translateY(-4px);
  box-shadow: var(--pc-shadow);
}

.customization-video-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.customization-video-grid span {
  display: block;
  padding: 15px 16px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .customization-sector-grid,
  .customization-addon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .customization-intro,
  .customization-capability-grid,
  .customization-video-grid {
    grid-template-columns: 1fr;
  }

  .customization-sector-grid,
  .customization-addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* PRODUCTS PAGE LAYOUT */
.products-page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 10px;
}

.product-section {
  margin: 0 0 60px 0;
  padding: 0 0 60px 0;
  border-bottom: 2px solid #e0e0e0;
}

.product-section:last-child {
  border-bottom: none;
}

.product-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 30px 0;
  text-align: center;
}

.product-content {
  margin: 0 0 30px 0;
}

.product-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3d4f58;
  margin: 0;
}

.product-image {
  margin: 0 0 30px 0;
  text-align: center;
}

.product-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: inline-block;
  border: 1px solid #e0e0e0;
}

.product-features {
  margin: 0;
}

.product-features h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1d29;
  margin: 0 0 20px 0;
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  font-size: 1rem;
  line-height: 1.7;
  color: #5c6c75;
  padding: 10px 0 10px 30px;
  position: relative;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: 700;
  font-size: 1.2rem;
}


/* TALLY PRIME PAGE LAYOUT */
.tally-prime-page {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px;
}

.tally-prime-page .page-banner {
  width: 100%;
  margin: 0 0 30px 0;
}

.tally-prime-page .page-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.tally-overview {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 clamp(32px, 4vw, 54px);
  text-align: center;
}

.tally-overview > p:first-child,
.tally-highlights > p {
  margin: 0 0 8px;
  color: var(--pc-red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tally-overview h1,
.tally-highlights > h2 {
  margin: 0 0 14px;
  color: var(--pc-ink);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.tally-overview > p:last-child {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.7;
}

.tally-product-section,
.tally-video-section {
  padding: clamp(32px, 4.5vw, 60px) 0;
  border-top: 1px solid var(--pc-line);
}

.tally-product-section > h1,
.tally-product-section > h2,
.tally-video-heading h2 {
  margin: 0 0 28px;
  color: var(--pc-ink);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.tally-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tally-product-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tally-product-card {
  display: grid;
  grid-template-columns: minmax(130px, 38%) 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vw, 34px);
  background: var(--pc-soft);
  border: 1px solid var(--pc-line);
  border-radius: 18px;
}

.tally-product-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.tally-product-content h2,
.tally-product-content h3 {
  margin: 0 0 10px;
  color: var(--pc-ink);
  font-size: 1.4rem;
}

.tally-product-content p {
  margin: 0 0 20px;
  color: var(--pc-muted);
  line-height: 1.65;
}

.tally-product-content .button {
  margin-top: 12px;
}

.tally-collapsible {
  margin: 0 0 18px;
  background: var(--pc-white);
}

.tally-collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 26px;
  color: var(--pc-ink);
  background: #edf6fb;
  border-radius: 16px;
  cursor: pointer;
  font-size: clamp(1.08rem, 1.9vw, 1.48rem);
  font-weight: 800;
  list-style: none;
}

.tally-collapsible summary::-webkit-details-marker {
  display: none;
}

.tally-collapsible summary::after {
  content: "⌄";
  color: var(--pc-green);
  font-size: 1.6rem;
  font-weight: 400;
}

.tally-collapsible[open] summary::after {
  content: "⌃";
}

.tally-collapsible-content {
  padding: 18px 26px 26px;
}

.tally-service-intro {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--pc-muted);
  line-height: 1.65;
}

.tally-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tally-service-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: var(--pc-soft);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
}

.tally-service-card > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--pc-white);
  background: var(--pc-red);
  border-radius: 50%;
  font-weight: 900;
}

.tally-service-card h3 {
  margin: 0 0 8px;
  color: var(--pc-ink);
}

.tally-service-card img {
  display: block;
  width: 100%;
  max-height: 120px;
  margin: 0 0 18px;
  object-fit: contain;
}

.tally-service-card p,
.tally-collapsible-content p,
.tally-collapsible-content li {
  color: var(--pc-muted);
  line-height: 1.6;
}

.tally-service-card p {
  margin: 0 0 32px;
}

.tally-service-card .button {
  margin-top: auto;
}

.tally-highlights {
  width: 100vw;
  margin: 0 0 32px calc(50% - 50vw);
  padding: clamp(28px, 4vw, 46px) max(20px, calc((100vw - 1180px) / 2));
  background: var(--pc-soft);
}

.tally-highlights > p,
.tally-highlights > h2,
.tally-highlight-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.tally-highlights > p,
.tally-highlights > h2 {
  text-align: center;
}

.tally-highlights > h2 {
  margin-bottom: 28px;
}

.tally-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tally-highlight-grid article {
  padding: 22px;
  background: var(--pc-white);
}

.tally-highlight-grid span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 12px;
  color: var(--pc-white);
  background: var(--pc-green);
  border-radius: 50%;
  font-weight: 900;
}

.tally-highlight-grid h3 {
  margin: 0 0 8px;
  color: var(--pc-ink);
  font-size: 1.04rem;
}

.tally-highlight-grid p {
  margin: 0;
  color: var(--pc-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.tally-collapsible-content p {
  margin: 0;
}

.tally-collapsible-content ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.tally-video-section {
  margin-bottom: 20px;
}

.tally-video-heading {
  text-align: center;
  margin-bottom: 30px;
}

.tally-video-heading p {
  margin: 0 0 8px;
  color: var(--pc-green);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tally-video-heading h2 {
  margin-bottom: 0;
}

.tally-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tally-video-card {
  display: block;
  overflow: hidden;
  color: var(--pc-ink);
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  border-radius: 14px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tally-video-card:hover {
  color: var(--pc-ink);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(16, 42, 47, .12);
}

.tally-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tally-video-card span {
  display: block;
  padding: 15px 16px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .tally-product-grid,
  .tally-product-grid-two,
  .tally-video-grid {
    grid-template-columns: 1fr;
  }

  .tally-product-card {
    grid-template-columns: 1fr;
  }

  .tally-product-card img {
    max-width: 280px;
    margin: 0 auto;
  }

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

  .tally-highlight-grid {
    grid-template-columns: 1fr;
  }

  .tally-collapsible summary {
    padding: 11px 18px;
  }

  .tally-collapsible-content {
    padding: 16px 18px 18px;
  }
}

/* ============================================
   2026 HOME REDESIGN
   Full-width Hostinger-friendly static layout
   ============================================ */

:root {
  --pc-ink: #004aad;
  --pc-muted: #53677e;
  --pc-line: #d8e4f0;
  --pc-soft: #f2f7fc;
  --pc-green: #0071a8;
  --pc-green-dark: #004aad;
  --pc-gold: #e42f2f;
  --pc-red: #e42f2f;
  --pc-black: #061b3a;
  --pc-white: #ffffff;
  --pc-shadow: 0 24px 70px rgba(0, 74, 173, 0.14);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--pc-ink);
  background: var(--pc-white);
}

body.page-index main {
  width: 100%;
}

body.page-index .container,
body.page-index .content-section {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.site-header {
  width: 100% !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(18px);
  position: sticky !important;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(16, 42, 47, 0.08) !important;
}

.site-header .header-container {
  width: 100%;
  max-width: none;
  min-height: 82px;
  padding: 0 clamp(18px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--pc-ink) !important;
  text-decoration: none;
}

.site-logo-image {
  display: block;
  height: 75px;
  width: auto;
  max-width: min(320px, 50vw);
  object-fit: contain;
}

.site-logo-mark {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--pc-ink);
  color: var(--pc-white);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.site-logo-text {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  gap: 10px !important;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: #000000;
  border-radius: 0 !important;
  padding: 20px 25px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  background: transparent !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pc-red) !important;
  background: var(--pc-soft) !important;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pc-line);
  background: var(--pc-white);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-kicker {
  color: var(--pc-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.about-copy h2,
.why-copy h2,
.parallax-content h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1.04;
  margin: 0;
  color: var(--pc-ink);
  letter-spacing: 0;
}

.announcement-strip {
  width: 100%;
  height: 34px;
  overflow: hidden;
  background: var(--pc-black);
  color: var(--pc-white);
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker-track span {
  position: relative;
}

.ticker-track span:after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--pc-red);
  transform: translateY(-50%);
}

@keyframes ticker-scroll {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

.hero-modern {
  position: relative;
  min-height: clamp(620px, 78vh, 850px);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.82), rgba(5, 6, 6, 0.42) 48%, rgba(5, 6, 6, 0.12)),
    linear-gradient(0deg, rgba(5, 6, 6, 0.46), rgba(5, 6, 6, 0.05));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--pc-white);
  padding-bottom: 72px;
}

.hero-content h1 {
  width: min(820px, 100%);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
  color: var(--pc-white);
  margin: 0 0 28px;
  letter-spacing: 0;
}

.hero-content p:not(.section-kicker) {
  width: min(640px, 100%);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-primary {
  color: var(--pc-white);
  background: var(--pc-green);
  box-shadow: 0 12px 28px rgba(0, 113, 168, 0.28);
}

.button-light {
  color: var(--pc-ink);
  background: var(--pc-white);
}

.button-outline {
  color: var(--pc-white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

/* Consistent rounded-rectangle controls across the site. */
button,
input[type="button"],
input[type="submit"],
.button,
.btn,
.btn-banner-primary,
.btn-banner-secondary {
  border-radius: 10px;
}

.client-logo-band {
  position: relative;
  z-index: 3;
  margin-top: -74px;
  margin-bottom: 50px;
  pointer-events: none;
}

.client-logo-panel {
  width: min(76%, 1180px);
  margin: 0 auto;
  background: var(--pc-white);
  box-shadow: var(--pc-shadow);
  border: 1px solid rgba(16, 42, 47, 0.08);
  padding: clamp(18px, 2.8vw, 34px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  pointer-events: auto;
}

.client-logo-copy span,
.client-logo-copy strong {
  display: block;
}

.client-logo-copy span {
  color: var(--pc-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.client-logo-copy strong {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 7px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.client-logo-card {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 12px 14px;
  background: var(--pc-white);
  color: var(--pc-green-dark);
  font-weight: 900;
  text-align: center;
}

.what-we-do-section,
.about-modern,
.why-modern {
  padding: clamp(72px, 8vw, 130px) 0;
  background: var(--pc-white);
}

.client-logo-card img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  min-height: 520px;
  background: var(--pc-white);
  border: 1px solid var(--pc-line);
  box-shadow: 0 18px 54px rgba(16, 42, 47, 0.08);
  padding: 0 24px 34px;
  text-align: center;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pc-shadow);
}

.service-card img {
  width: calc(100% + 2px);
  height: 255px;
  margin: -1px 0 0 -1px;
  object-fit: cover;
  display: block;
}

.service-icon {
  width: 96px;
  height: 96px;
  margin: -48px auto 26px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  border-radius: 50%;
  background: var(--pc-green);
  color: var(--pc-white);
  border: 8px solid var(--pc-white);
  font-weight: 900;
}

.service-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0 0 14px;
}

.service-card p {
  color: var(--pc-muted);
  margin: 0 0 22px;
}

.service-card a {
  color: var(--pc-green);
  font-weight: 800;
  text-decoration: none;
}

.parallax-cta {
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--pc-white);
  overflow: hidden;
  isolation: isolate;
}

.parallax-image {
  position: absolute;
  inset: -15% 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.78), rgba(5, 6, 6, 0.2)),
    url("../images/cta-banner.jpg") center/cover fixed;
  z-index: -1;
}

.parallax-content h2 {
  width: min(760px, 100%);
  color: var(--pc-white);
  margin-bottom: 30px;
}

.about-copy {
  width: min(850px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.about-copy p:not(.section-kicker) {
  color: var(--pc-muted);
  font-size: 1.1rem;
  margin: 22px auto 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-pillar,
.why-item,
.metric-card,
.feedback-card {
  border: 1px solid var(--pc-line);
  background: var(--pc-white);
}

.about-pillar {
  padding: 30px;
}

.about-pillar span,
.why-item span {
  color: var(--pc-green);
  font-weight: 900;
}

.about-pillar h3,
.why-item h3 {
  margin: 16px 0 10px;
  font-size: 1.25rem;
}

.about-pillar p,
.why-item p,
.why-copy p {
  margin: 0;
  color: var(--pc-muted);
}

.numbers-section {
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--pc-ink);
  color: var(--pc-white);
  overflow: hidden;
}

.numbers-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.experience-number {
  font-size: clamp(10rem, 23vw, 21rem);
  line-height: 0.78;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.86);
  background: linear-gradient(110deg, #ffffff 0%, var(--pc-green) 28%, var(--pc-gold) 50%, #ffffff 72%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: number-shine 5s ease-in-out infinite;
}

@keyframes number-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.experience-label {
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 900;
  margin-top: 18px;
}

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

.metric-card {
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  color: var(--pc-white);
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.95;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
  font-weight: 700;
}

.why-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
}

.why-copy {
  position: sticky;
  top: 116px;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-item {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 18px;
}

.why-item span {
  grid-row: span 2;
  font-size: 1.3rem;
}

.why-item h3 {
  margin-top: 0;
}

.wide-image-strip {
  width: 100%;
  height: clamp(220px, 28vw, 390px);
  overflow: hidden;
}

.wide-image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonials-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  background: var(--pc-soft);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  display: block;
}

.testimonial-content {
  min-width: 0;
  padding: clamp(46px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-window {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 10px);
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 18px;
  animation: feedback-scroll 24s linear infinite;
  width: max-content;
}

.testimonial-window:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes feedback-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 18px)); }
}

.feedback-card {
  width: 280px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(16, 42, 47, 0.08);
}

.feedback-card p {
  color: var(--pc-muted);
  margin: 0 0 18px;
}

.feedback-card strong,
.feedback-card span {
  display: block;
}

.feedback-card strong {
  color: var(--pc-ink);
}

.feedback-card span {
  color: var(--pc-green);
  font-size: 0.86rem;
  margin-top: 2px;
}

.contact-overlap {
  position: relative;
  z-index: 2;
  background: linear-gradient(var(--pc-white) 0 45%, var(--pc-black) 45% 100%);
  padding: clamp(60px, 8vw, 110px) 20px 0;
}

.contact-card-modern {
  width: min(1180px, 100%);
  margin: 0 auto -54px;
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  background: var(--pc-white);
  box-shadow: var(--pc-shadow);
  overflow: hidden;
}

.contact-panel {
  background: #eef5fb;
  padding: clamp(30px, 4vw, 58px);
}

.contact-panel h2,
.quote-form h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 30px;
}

.contact-method {
  background: var(--pc-white);
  padding: 18px 20px;
  margin-top: 14px;
}

.contact-method span,
.contact-method strong {
  display: block;
}

.contact-method span {
  color: var(--pc-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-method strong {
  margin-top: 6px;
  color: var(--pc-ink);
  font-size: 1.05rem;
}

.quote-form {
  padding: clamp(30px, 4vw, 58px);
}

.quote-form p {
  color: var(--pc-muted);
  margin: -12px 0 26px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--pc-ink);
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--pc-line);
  padding: 15px 16px;
  font: inherit;
  color: var(--pc-ink);
  background: var(--pc-white);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  min-height: 150px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--pc-green);
  box-shadow: 0 0 0 4px rgba(0, 113, 168, 0.12);
}

.site-footer {
  padding-top: 120px !important;
  background: var(--pc-black) !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.site-footer .container {
  max-width: 1180px;
}

.site-footer h3 {
  color: var(--pc-white) !important;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76) !important;
  text-decoration: none !important;
}

.site-footer a:hover {
  color: var(--pc-green) !important;
}

.site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header .header-container {
    align-items: flex-start;
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .mobile-menu-toggle {
    display: grid !important;
    place-items: center;
    flex-shrink: 0;
  }

  .nav {
    display: none !important;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 12px 18px 18px;
    background: var(--pc-white);
    border-bottom: 1px solid var(--pc-line);
    box-shadow: 0 18px 32px rgba(16, 42, 47, 0.12);
  }

  .nav.active {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-logo-panel,
  .why-layout,
  .numbers-layout,
  .testimonials-modern,
  .contact-card-modern {
    grid-template-columns: 1fr;
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card-grid,
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .why-copy {
    position: static;
  }

  .testimonial-image img {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .site-logo-image {
    height: 44px;
    max-width: min(200px, 54vw);
  }

  .site-logo-text {
    white-space: normal;
  line-height: 1.1;
  }

  .hero-modern {
    min-height: 640px;
  }

  .client-logo-panel {
    width: min(92%, 1180px);
  }

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

  .client-logo-card {
    min-height: 80px;
    padding: 10px 12px;
  }

  .client-logo-card img {
    height: 42px;
    max-height: 42px;
  }

  .form-row,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    grid-auto-columns: 280px;
    grid-template-rows: repeat(2, minmax(190px, 1fr));
  }

  .contact-overlap {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Footer: map, contact details, and social links */
.site-footer {
  margin-top: 0;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.35rem !important;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(245px, 0.9fr) minmax(180px, 0.65fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer .footer-section { margin: 0; }
.site-footer h3 { margin: 0 0 1.1rem; font-size: 1.1rem; line-height: 1.25; }
.site-footer p { margin: 0; line-height: 1.65; }

.site-footer .footer-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 0;
  border-radius: 12px;
  filter: saturate(0.8) contrast(0.96);
}

.site-footer .footer-business { color: var(--pc-white); font-size: 0.88rem; font-weight: 800; line-height: 1.45; }
.site-footer .footer-address { margin-top: 0.7rem; }
.site-footer .footer-contact-list { display: grid; gap: 0.38rem; margin-top: 1rem; }
.site-footer .footer-social > p { max-width: 23ch; }

.site-footer .footer-social-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 1.15rem 0 0;
  list-style: none;
}

.site-footer .footer-social-list a { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; }

.site-footer .footer-social-list span {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: var(--pc-white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer .footer-social-list a:hover span { background: var(--pc-green); }
.site-footer .footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; }

@media (max-width: 900px) {
  .site-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .footer-map { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-footer .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .site-footer .footer-map { grid-column: auto; }
  .site-footer .footer-map iframe { height: 215px; }
}

/* Footer widget layout used by generated pages */
.footerwidget {
  background: #1a1d29;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 20px;
  margin-top: 64px;
}

.footerwidget .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.footerwidget .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.95fr) minmax(180px, 0.7fr);
  gap: 32px;
  align-items: start;
}

.footerwidget .footer-card h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.footerwidget .footer-card p {
  margin: 0 0 12px;
  line-height: 1.65;
}

.footerwidget .footer-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 14px;
}

.footerwidget .footer-social ul {
  padding: 0;
  margin: 0;
}

.footerwidget .footer-social li {
  list-style: none;
  margin-bottom: 12px;
}

.footerwidget .footer-social a,
.footerwidget .footer-card a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footerwidget .social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footerwidget .social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.footerwidget .footer-social a:hover,
.footerwidget .footer-card a:hover {
  color: #f5b041;
}

.footerwidget .footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .footerwidget .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footerwidget .footer-map {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footerwidget {
    padding-top: 40px;
  }

  .footerwidget .container {
    width: min(1180px, calc(100% - 32px));
    padding: 0 16px;
  }

  .footerwidget .footer-grid {
    grid-template-columns: 1fr;
  }

  .footerwidget .footer-map {
    grid-column: auto;
  }

  .footerwidget .footer-map iframe {
    height: 220px;
  }
}

.contact-hours {
  padding: 120px 0 60px;
}

@media (max-width: 640px) {
  .contact-hours {
    padding: 80px 0 40px;
  }
}
