/* 
========================================
   SEVOL Theme - Main Styles
========================================
*/

/* ===== Variables ===== */
:root {
  --color-primary: #8bc34a;
  --color-primary-dark: #689f38;
  --color-secondary: #000000;
  --color-light-green: #c8e6c9;
  --color-bg-light: #f5f5f5;
  --color-text: #333333;
  --color-white: #ffffff;
  --color-coral: #ff6b6b;
  --transition: all 0.3s ease;
  --font-primary:
    "TT Firs Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* ===== Mobile Horizontal Overflow Fixes ===== */

/* 1. Lock overflow on html AND body — iOS ignores body-only */
html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  line-height: 1.3 !important;
}

/* 2. background-attachment: fixed is broken on iOS/mobile —
      causes background to render wider than viewport */
@media (max-width: 991.98px) {
  .hero-section,
  .parallax-section,
  .blog-hero-section,
  .single-blog-hero {
    background-attachment: scroll;
  }
}

/* 3. Red decorative lines bleed outside viewport on mobile
      due to rotation transform — hide them below lg */
@media (max-width: 991.98px) {
  .red-line {
    display: none;
  }
  /* Clip the column so nothing escapes */
  .col-lg-6.position-relative {
    overflow: hidden;
  }
}

/* 4. Bootstrap rows use negative margins that can cause bleed
      when there is no wrapping container with overflow:hidden */
@media (max-width: 575.98px) {
  .row {
    margin-right: 0;
    margin-left: 0;
  }
  .row > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
  }
}

/* 5. Prevent horizontal scroll on all pages via shared main wrapper */
#main-content {
  overflow-x: hidden;
  max-width: 100%;
}

/* 6. Global mobile side padding across all pages and templates */
@media (max-width: 767px) {
  .container,
  .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
  }
}

/* ===== Global Styles ===== */
body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  transition: var(--transition);
}

.bg-light-green {
  background-color: var(--color-light-green) !important;
}

/* ===== Header & Navigation ===== */
.site-header {
  position: relative;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img,
.navbar-brand .custom-logo {
  height: 50px;
  width: auto;
}

.offcanvas {
  width: 100% !important;
  max-width: 400px;
}

.offcanvas-body .nav {
  gap: 1.5rem;
}

.offcanvas-body .nav-link {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link.active {
  color: var(--color-primary);
}

/* ===== Buttons ===== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
  transition: var(--transition);
}

.btn-dark {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-dark:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.rounded-pill {
  border-radius: 50rem !important;
}

.rounded-pill-start {
  border-radius: 50rem 0 0 50rem !important;
}

.rounded-pill-end {
  border-radius: 0 50rem 50rem 0 !important;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 100px;
  box-sizing: border-box;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
  display: flex;
  max-width: 750px;
  backdrop-filter: blur(16px) saturate(180%);
  margin: 0 auto;
  background: #b4b4b49e;
  border-radius: 20px;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.hero-content h2 {
  font-size: 2rem !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 600px;
  color: #000000;
}

@media (max-width: 767px) {
  .hero-content h2 {
    font-size: 1.5rem !important;
  }
  .hero-content {
    margin: 0 1.5rem !important;
  }
  .hero-content p {
    font-size: 0.9rem !important;
  }
  .hero-content a {
    font-size: 0.8rem;
  }
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #000000;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ===== Mobile Hero ===== */
.hero-mobile {
  position: relative;
  min-height: 95svh;
  flex-direction: column;
  overflow: hidden;
}

.hero-mobile-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-mobile-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.82) 75%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.hero-mobile-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 1.5rem 2.75rem;
  color: #fff;
}

.hero-mobile-title {
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-mobile-description {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.hero-mobile-btn {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #ffffff;
}

/* ===== Sections ===== */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

p {
  font-weight: 500;
}

.section-title p {
  color: #000000;
  font-size: 1.1rem;
}
.section-title-white {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title-white h2 {
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title-white p {
  color: #ffffff;
  font-size: 1.1rem;
}

/* ===== Project Carousel ===== */
.project-carousel .carousel-control-prev,
.project-carousel .carousel-control-next {
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.project-carousel .carousel-control-prev-icon,
.project-carousel .carousel-control-next-icon {
  filter: invert(1) grayscale(100);
  width: 1.5rem;
  height: 1.5rem;
}

.project-carousel .carousel-control-prev:hover,
.project-carousel .carousel-control-next:hover {
  background-color: #f0f0f0;
}

@media (min-width: 992px) {
  .project-carousel {
    padding: 0 60px;
  }

  .project-carousel .carousel-control-prev {
    left: 0;
  }

  .project-carousel .carousel-control-next {
    right: 0;
  }
}

/* Project Carousel Image */
.project-slide-image {
  position: relative;
  height: 85vh;
  min-height: 420px;
  max-height: 750px;
  border-radius: 0.375rem;
  overflow: hidden;
}

.project-carousel-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
  border-radius: 0.375rem;
}

@media (max-width: 767px) {
  .project-slide-image {
    height: 55vw;
    min-height: 220px;
  }
}

.project-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.375rem;
}

.project-slide-overlay i {
  color: var(--color-white);
  font-size: 2.5rem;
}

/* ===== Single Project: Featured + Gallery layout ===== */
.single-project-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.375rem;
  display: block;
}

.project-gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 0.375rem;
  transition: transform 0.3s ease;
}

.project-gallery-item:hover .project-gallery-thumb {
  transform: scale(1.04);
}

.project-gallery-item::after {
  content: "\F52A";
  font-family: "Bootstrap Icons";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0.375rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-gallery-item:hover::after {
  opacity: 1;
}

.project-slide-image:hover .project-slide-overlay {
  opacity: 1;
}

/* ===== Project Cards ===== */
.project-card-link {
  text-decoration: none;
  color: var(--color-text);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 0;
  transition: var(--transition);
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.project-card-image {
  position: relative;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-type-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.project-card-info {
  padding: 1.25rem;
}

.project-card-info h3 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.project-meta {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.85rem;
}

.project-meta i {
  margin-right: 0.25rem;
  color: var(--color-primary);
}

/* ===== Single Project ===== */
.project-header h2 {
  font-size: 2rem;
  font-weight: 600 !important;
  text-transform: uppercase;
}

.project-details-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.project-detail-item {
  font-size: 0.95rem;
  color: #666;
}

.project-detail-item i {
  color: var(--color-primary);
  margin-right: 0.3rem;
}

.project-featured-image img {
  max-height: 500px;
  object-fit: cover;
}

.project-description {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Gallery */
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

#galleryModal .modal-content {
  background: transparent;
}

/* Before/After */
.beforeafter-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.beforeafter-item {
  position: relative;
}

.beforeafter-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.beforeafter-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Project Navigation */
.project-nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.project-nav-link:hover {
  color: var(--color-primary);
}

/* ===== Section Image Wrapper ===== */
.section-image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  aspect-ratio: 4 / 3;
}

.section-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .section-image-wrapper {
    aspect-ratio: unset;
    flex: 1;
    min-height: 0;
    position: relative;
  }

  .section-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
}

/* ===== Promise Cards ===== */
.promise-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  border: 2px solid #e0e0e0;
}

.promise-card.active {
  border-color: var(--color-primary);
  background-color: rgba(139, 195, 74, 0.1);
}

.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.promise-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* ===== CTA Cloud Section ===== */
.cta-cloud-section {
  padding: 5rem 0;
  background-color: #e8e8e8;
}

.cta-cloud-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cta-cloud-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.cta-cloud-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.cta-cloud-content h2 {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .cta-cloud-wrapper {
    min-height: auto;
  }

  .cta-cloud-bg {
    display: none;
  }

  .cta-cloud-content h2 {
    font-size: 1.2rem;
  }
}

/* ===== Team Section ===== */

/* Featured cards (first 2) */
.team-featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

.team-featured-img {
    width: 100%;
    object-position: 80% -5%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.team-featured-card:hover .team-featured-img {
  transform: scale(1.05);
}

.team-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-featured-card:hover .team-featured-overlay {
  opacity: 1;
}

.team-featured-overlay h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-featured-overlay p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0;
  opacity: 0.9;
}

.team-featured-overlay-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.team-linkedin-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a66c2;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.team-linkedin-btn:hover {
  background: #004182;
  color: #fff;
  transform: scale(1.1);
}

/* Small grid (remaining members) */
.team-grid-small {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.team-small-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
}

.team-small-card .team-small-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.team-small-card:hover .team-small-overlay {
  opacity: 1;
}

.team-small-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-small-card:hover .team-small-img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .team-featured-img {
    height: 400px;
  }

  .team-grid-small {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .team-featured-img {
    height: 350px;
  }

  .team-featured-overlay {
    opacity: 1;
  }

  .team-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-small-img {
    height: 220px;
  }
}

/* ===== Before/After Slider ===== */
.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  line-height: 0;
}

.ba-slider > .ba-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.ba-before .ba-image {
  display: block;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ba-handle-circle i {
  font-size: 1.2rem;
  color: #333;
}

@media (max-width: 767px) {
  .ba-slider > .ba-image {
    height: 280px;
  }
}

/* ===== Service Icons ===== */
.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-icon-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--color-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-icon-visual {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-icon-visual i {
  font-size: 3rem;
  color: var(--color-primary);
}

.service-icon-item p {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
}

@media (max-width: 991px) {
  .service-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .service-icon-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Renovation CTA Banner ===== */
.renovation-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #6b6b6b;
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.renovation-cta-banner:hover {
  background-color: var(--color-primary);
}

.renovation-cta-text {
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.renovation-cta-icon {
  flex-shrink: 0;
  margin-left: 2rem;
}

.renovation-cta-arrows {
  transition: transform 0.5s ease;
  transform-origin: 68px 76px;
}

.renovation-cta-banner:hover .renovation-cta-arrows {
  transform: rotate(360deg);
}

@media (max-width: 576px) {
  .renovation-cta-text {
    font-size: 1.2rem;
  }

  .renovation-cta-banner {
    padding: 1.5rem;
  }

  .renovation-cta-icon svg {
    width: 50px;
    height: 50px;
  }
}

/* ===== Forms ===== */
.form-control {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.25);
}

/* ===== Newsletter ===== */
.newsletter-section {
  padding: 3rem 0;
}

.newsletter-form .input-group .form-control {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
  border: none;
  padding: 1rem 2rem;
}

.newsletter-form .btn {
  padding: 1rem 2rem;
}

/* ===== Footer ===== */
.site-footer {
 margin-top: 1rem;
  position: relative;
}

/* Footer Decorative Red Line */
.footer-red-line {
  position: absolute;
  top: -40px;
  width: 15px;
  height: 100px;
  background: var(--color-coral);
  pointer-events: none;
  z-index: 10;
}

.footer-red-line-right {
  right: 5%;
  transform: rotate(-35deg);
}

.footer-red-line-left {
  left: 5%;
  transform: rotate(35deg);
}

.site-footer hr {
  border: 0;
  border-top: 1px solid #000000;
  height: 0;
  background: none;
  opacity: 1;
}

.footer-brand h4 {
  font-size: 2rem;
}

.footer-contact a:hover,
.footer-info a:hover {
  color: var(--color-primary) !important;
}

/* ===== Mobile Menu Overlay ===== */
.menu-overlay {
  position: fixed;
  top: 0;
  padding-right: 5rem !important;
  right: -100%;
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background-color: rgba(245, 245, 245, 0.98);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 2rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.menu-overlay.active {
  right: 0;
}

.menu-close {
  position: absolute;
  top: 6rem;
  right: 4.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  width: 40px;
  height: 40px;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 3px;
  border-radius: 2px;
}

.menu-close::before {
  background-color: #000;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  background-color: var(--color-primary);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close:hover {
  transform: rotate(90deg);
}

.menu-overlay nav {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  list-style-type: none;
  align-content: flex-end;
  align-items: flex-end;
}

.menu-overlay nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
  transform-origin: right center;
}

.menu-overlay nav a:hover {
  color: var(--color-primary);
  transform: scale(1.08);
}

.menu-overlay nav a.active,
.menu-overlay nav .current-menu-item > a,
.menu-overlay nav .current_page_item > a {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.menu-overlay nav .menu-item a {
  display: block;
}

/* Menu Toggle Button */
.menu-toggle {
  cursor: pointer;
  transition: var(--transition);
  background: none !important;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
}

.menu-toggle:hover {
  color: var(--color-primary);
}

/* Menu Backdrop */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ===== Decorative Elements ===== */
.decorative-pencil {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Contact Page ===== */
.page-template-page-contact .container-menu,
.post-type-archive-project .container-menu,
.single-project .container-menu {
  position: relative !important;
}

.page-template-page-contact .menu-container,
.post-type-archive-project .menu-container,
.single-project .menu-container {
  position: relative !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-section {
  position: relative;
  padding-top: 2rem;
}

.contact-decorative-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  width: 50px;
  height: 4px;
  background: var(--color-coral);
  border-radius: 2px;
}

.contact-link {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-description p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-input {
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
  padding: 0.75rem 0.5rem;
  background: transparent;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-input:focus {
  box-shadow: none;
  border-bottom-color: var(--color-primary);
  background: transparent;
}

.contact-input::placeholder {
  color: #aaa;
}

textarea.contact-input {
  background: var(--color-bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  resize: vertical;
}

textarea.contact-input:focus {
  border-color: var(--color-primary);
}

.contact-recaptcha-notice {
  font-size: 0.7rem;
  color: #999;
  margin-bottom: 1rem;
}

.contact-recaptcha-notice a {
  color: #999;
}

.contact-terms-label {
  font-size: 0.8rem;
  color: #666;
}

.contact-faq-text {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.contact-divider {
  max-width: 400px;
  border-color: #000;
  opacity: 1;
}

@media (max-width: 767px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-faq-text {
    font-size: 1.15rem;
  }
}

/* Bilingual Services Section */
.bilingual-section {
  background: #f8f9fa;
}

.bilingual-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.bilingual-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a1a;
}

.bilingual-title-accent {
  color: var(--color-primary);
}

.bilingual-card {
background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 2rem 2.25rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    height: 100%;
    position: relative;
    border-left: 6px solid #A8D5A2;
    overflow: hidden;
}


.bilingual-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.bilingual-card-header h3 {
font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
}

.bilingual-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(139, 195, 74, 0.13);
    color: #8bc34a;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.bilingual-card p {
  color: #4a4a4a;
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
}

.bilingual-footer-text {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
  .bilingual-title {
    font-size: 1.8rem;
  }

  .bilingual-card {
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  }
}

/* Partners & Qualifications Section */
.partners-section {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.partners-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #000;
}

.partners-title-accent {
  color: var(--color-primary);
}

.partners-logos {
  gap: 5rem;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  max-height: 160px;
  max-width: 230px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .partners-title {
    font-size: 1.6rem;
  }

  .partners-logos {
    gap: 2.5rem;
  }
}

/* ===== Blog Cards ===== */
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  border: 1px solid #eee;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ccc;
}

.blog-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content {
  padding: 1.25rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.blog-card-meta i {
  margin-right: 0.25rem;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}

.blog-card:hover .blog-read-more {
  color: var(--color-primary-dark);
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more i {
  transform: translateX(4px);
}

/* Blog Carousel Controls */
.blog-carousel-controls .btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== Blog Archive Hero ===== */
.blog-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 10rem 0 5rem;
  text-align: center;
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.blog-hero-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.blog-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Single Blog Post ===== */
.single-blog-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 10rem 0 5rem;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
}

.single-blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.single-blog-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.single-blog-meta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.9;
}

.single-blog-meta i {
  margin-right: 0.25rem;
}

.single-blog-content {
  font-size: 1.05rem;
  line-height: 1.9;
}

.single-blog-content p {
  margin-bottom: 1.5rem;
}

.single-blog-content h2,
.single-blog-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.single-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.single-blog-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-bg-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* Blog Tags */
.blog-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-bg-light);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text);
  text-decoration: none;
  margin: 0.25rem;
  transition: var(--transition);
}

.blog-tag:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Blog Post Navigation */
.blog-post-nav-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg-light);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: var(--transition);
  height: 100%;
}

.blog-post-nav-card:hover {
  background: var(--color-white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: var(--color-text);
}

.blog-post-nav-next {
  flex-direction: row-reverse;
}

.blog-post-nav-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-post-nav-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-nav-label {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.blog-post-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .single-blog-title {
    font-size: 1.75rem;
  }

  .single-blog-hero {
    min-height: 300px;
    padding: 6rem 0 3rem;
    background-attachment: scroll;
  }

  .single-blog-meta {
    gap: 0.75rem;
    font-size: 0.8rem;
  }

  .blog-hero-section {
    padding: 8rem 0 3rem;
    background-attachment: scroll;
  }

  .blog-hero-title {
    font-size: 2rem;
  }

  .blog-post-nav-image {
    width: 60px;
    height: 60px;
  }
}

/* ===== FAQ Page ===== */
.faq-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.faq-category-title {
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-accordion {
  margin-bottom: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid #ccc;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .faq-main-title {
    font-size: 2rem;
  }
}

/* ===== Parallax Section ===== */
.parallax-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding: 8rem 0;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.parallax-title {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.parallax-text {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.parallax-section .btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.75rem 2.5rem;
  transition: var(--transition);
}

.parallax-section .btn-outline-light:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
}

@media (max-width: 767px) {
  .parallax-section {
    padding: 5rem 0;
    background-attachment: scroll;
  }

  .parallax-title {
    font-size: 2rem;
  }

  .parallax-text {
    font-size: 1rem;
  }
}

/* ===== Floating Action Buttons ===== */
.fab-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
  transition: bottom 0.3s ease;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Toggle button */
.fab-toggle {
  background-color: var(--color-secondary);
  color: var(--color-white);
  position: relative;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.fab-toggle:hover {
  background-color: var(--color-primary);
}

.fab-toggle .fab-icon-open,
.fab-toggle .fab-icon-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.fab-toggle .fab-icon-open {
  opacity: 1;
  transform: rotate(0deg);
}

.fab-toggle .fab-icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.fab-wrapper.open .fab-toggle .fab-icon-open {
  opacity: 0;
  transform: rotate(90deg);
}

.fab-wrapper.open .fab-toggle .fab-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Expandable items */
.fab-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-wrapper.open .fab-items {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-whatsapp {
  background-color: #25d366;
  color: var(--color-white);
}

.fab-whatsapp:hover {
  background-color: #1da851;
  color: var(--color-white);
  transform: scale(1.1);
}

.fab-calculator {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.fab-calculator:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.1);
}

/* Scroll to top */
.scroll-to-top {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  max-height: 50px;
  margin-top: 0.75rem;
}

.scroll-to-top:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

/* ===== Utility Classes ===== */
.text-primary {
  color: var(--color-primary) !important;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

.mt-6 {
  margin-top: 4rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.custom-logo-sevol {
  width: 190px !important;
  padding: 25px 20px 25px 0px;
}

#menuToggle,
#menuToggle:hover,
#menuToggle:focus,
#menuToggle:active {
  background: none !important;
  border: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
}

button {
  color: inherit; /* or some blue */
}

@media (max-width: 767px) {
  .container-menu {
    position: relative !important;
  }
  .menu-container {
    border-radius: 0 !important;
  }

  .custom-logo-sevol {
    padding: 15px 30px 15px 0px !important;
  }
}

.menu-container {
  backdrop-filter: blur(16px) saturate(180%) !important;
  background: #ffffff73 !important;
}

.menu-header-button {
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
}

.red-line-left {
  left: 2%;
  transform: rotate(315deg);
}

.red-line-right {
  right: 2%;
  transform: rotate(45deg);
}

.red-line {
  position: absolute;
  top: 30px;
  width: 15px;
  height: 100px;
  background: var(--color-coral);
  pointer-events: none;
  z-index: 10;
  transition: background 0.3s ease;
}

.col-lg-6.position-relative:hover .red-line {
  background: #73BE43;
}

/* About page - introduction card */
.about-intro-card {
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
  overflow: hidden;
}

.about-intro-img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  border-radius: 0 50px 50px 0;
}

@media (max-width: 991.98px) {
  .about-intro-img {
    min-height: 250px;
    border-radius: 50px 50px 0 0;
  }
}

/* About page - consistent section images */
.about-section-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.375rem;
}

@media (max-width: 991.98px) {
  .about-section-img {
    height: 300px;
  }
}

/* ===== PEMD Diagnostic Page ===== */

/* Intro card - mirrors .about-intro-card */
.pemd-intro-card {
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  background: #fff;
  overflow: hidden;
}

/* Intro image - fills card right column, mirrors .about-intro-img */
.pemd-intro-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 0 50px 50px 0;
}

@media (max-width: 991.98px) {
  .pemd-intro-img {
    min-height: 260px;
    border-radius: 0 0 50px 50px;
  }
}

/* Section images (Why it matters, What you get, Why SEVOL) */
.pemd-section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0.375rem;
}

@media (max-width: 991.98px) {
  .pemd-section-img {
    height: 280px;
  }
}

/* Tagline */
.pemd-intro-tagline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Serving areas text */
.pemd-serving-areas {
  font-size: 0.9rem;
  color: #666;
}

/* Benefit / why-point items */
.pemd-benefit-item,
.pemd-why-point {
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
}

/* How we work steps */
.pemd-step-card {
  background: var(--color-bg-light);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  font-size: 20px !important;
  height: 100%;
  position: relative;
}

.pemd-step-number {
  display: inline-block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* CTA title */
.pemd-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

/* ===== Promotional Popup ===== */
.sevol-popup-content {
  border: none;
  position: relative;
}

.sevol-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0.5rem;
  opacity: 0.8;
  transition: var(--transition);
}

.sevol-popup-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.sevol-popup-image-col {
  background-color: var(--color-bg-light);
}

.sevol-popup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sevol-popup-title {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text);
}

.sevol-popup-description {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

.sevol-popup-description p:last-child {
  margin-bottom: 0;
}

.sevol-popup-cta {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
}

@media (max-width: 767.98px) {
  .sevol-popup-image {
    max-height: 200px;
  }

  .sevol-popup-body {
    text-align: center;
  }

  #sevolPopupModal .modal-dialog {
    margin: 1rem;
  }
}

/* ===== Infinite Scroll Spinner ===== */
.infinite-scroll-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.infinite-scroll-spinner span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #8bc34a;
  animation: infinite-bounce 0.8s ease-in-out infinite;
}

.infinite-scroll-spinner span:nth-child(2) {
  animation-delay: 0.15s;
}
.infinite-scroll-spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes infinite-bounce {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== Glow Button ===== */
a.btn-glow,
.btn-glow {
  display: inline-block !important;
  padding: 0.85rem 2.5rem !important;
  background-color: #8bc34a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  position: relative;
  border: none !important;
  cursor: pointer;
  box-shadow:
    0 0 12px rgba(139, 195, 74, 0.6),
    0 0 30px rgba(139, 195, 74, 0.4),
    0 0 60px rgba(139, 195, 74, 0.2);
  transition:
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

a.btn-glow:hover,
.btn-glow:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  transform: scale(1.03);
  box-shadow:
    0 0 18px rgba(139, 195, 74, 0.85),
    0 0 45px rgba(139, 195, 74, 0.6),
    0 0 90px rgba(139, 195, 74, 0.3);
}

a.btn-glow:focus,
.btn-glow:focus {
  outline: none;
  color: #ffffff !important;
  text-decoration: none !important;
}

.section-title h2 {
  font-weight: 600 !important;
}

/* Short desktop screens: tighten hero content so it stays below the navbar */
@media (max-height: 800px) and (min-width: 768px) {
  .hero-content {
    padding: 1.5rem !important;
    margin-top: 0 !important;
  }
  .hero-content p {
    font-size: 0.9rem !important;
    margin-bottom: 0.75rem;
  }
}

@media (max-height: 650px) and (min-width: 768px) {
  .hero-content p {
    margin-bottom: 0.5rem;
  }
}

.description-ss {
  font-weight: 500;
  line-height: 1.3 !important;
}

.title-ss {
  font-weight: 600;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1200px !important;
  }
}

.cta-red-home {
  color: var(--color-white);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  width: 800px !important;
}
.cta-red-home-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ff6b6b;
  border-radius: 16px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.cta-red-home-banner:hover {
  background: #ff6b6b;
  max-width: 800px !important;
}

@media (max-width: 768px) {
 .cta-red-home {
  width: 400px !important;
  font-size: 1.8rem;
 }
}

.parallax-text-new {
  font-size: 1.15rem;
  line-height: 1.3;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.description-services {
    font-size: 1.3rem !important;
    margin-bottom: 2rem;
    font-weight: 500 !important;
    line-height: 1.4;
    color: #000000;
}

.modal-lg {
  max-width: 830px !important;
}

/* ===== Video Testimonials Section ===== */
.video-testimonials-section {
  background: #f9f9f9;
}

.video-testimonial-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* 16:9 embed wrapper */
.vtc-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.vtc-embed.vtc-no-video {
  cursor: default;
}

.vtc-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.vtc-embed:hover .vtc-thumb {
  transform: scale(1.04);
}

.vtc-thumb-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0 0%, #c8c8c8 100%);
}

/* Play button */
.vtc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none; /* click handled on wrapper */
}

.vtc-embed:hover .vtc-play-btn {
  background: var(--color-primary-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

.vtc-play-disabled {
  background: #bbb;
  cursor: default;
}

/* Info area */
.vtc-info {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.vtc-quote {
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 0.6rem;
}

.vtc-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #222;
  margin: 0;
}

.vtc-role {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

/* Video testimonial modal */
.vtc-modal-dialog {
  max-width: 900px;
}

.vtc-modal-content {
  background: #000;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.vtc-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.vtc-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.vtc-modal-body {
  line-height: 0;
}

.vtc-modal-body iframe,
.vtc-modal-body video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}