/* PAGE BACKGROUND (WHITE TEXTURE STYLE) */
.services-page {
  background-image: url("images/servicesbg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* SERVICES HERO */
.services-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.services-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.7) 45%, rgba(2, 6, 23, 0.58) 100%),
    rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, transparent 92%, rgba(255,255,255,0.08) 92%, rgba(255,255,255,0.08) 93%, transparent 93%),
    linear-gradient(90deg, transparent 94%, rgba(255,255,255,0.08) 94%, rgba(255,255,255,0.08) 95%, transparent 95%);
  background-size: 42px 42px;
  opacity: 0.18;
  z-index: 2;
  pointer-events: none;
}
/* SERVICES SECTION - CONTAINS HEADER AND GRID */
.services-section {
  position: relative;
  padding: 0;
}

/* SERVICES HEADER - APPEARS BEFORE GRID */
.services-header {
  text-align: center;
  padding: 60px 2rem 20px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.services-header .faq-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #f59e0b;
  margin-bottom: 1rem;
}
.services-hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, 90%);
  padding: 0 20px;
  text-align: center;
  animation: servicesHeroIn 800ms ease both;
}

.services-hero-label {
  margin: 0 0 18px;
  color: #f59e0b;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
}

.services-hero h1 {
  margin: 0 0 22px;
  font-family: 'Marcellus', serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.services-hero-content > p:not(.services-hero-label) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  justify-content: center;
}

.services-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.services-hero-btn.primary {
  background: #f59e0b;
  border: 1px solid #f59e0b;
  color: #111827;
}

.services-hero-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.services-hero-btn:hover {
  transform: translateY(-3px);
}

.services-hero-btn.primary:hover {
  background: #ffffff;
  border-color: #ffffff;
}

.services-hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

@keyframes servicesHeroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* SECTION */
.what-we-offer {
  position: relative;
  padding: 50px 10% 80px;
  padding-top: 120px;
  /* background: url("images/servicesbg.jpg"); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  overflow: hidden;
}

/* 🔥 TEXTURE OVERLAY (THIS IS THE MAGIC) */
.what-we-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 6px 6px;

  opacity: 0.4;
  pointer-events: none;
}

.nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: transparent;
  transition: 0.3s ease;
  z-index: 1000;
}

.nav.scrolled {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* DEFAULT (ON IMAGE) */
.nav .link,
.logo-text,
.nav-user i,
.nav-socials .social-icon i {
  color: white;
}

.nav,
.nav .link,
.logo-text,
.nav-user i,
.nav-socials .social-icon i {
  transition: all 0.3s ease;
}

/* WHEN SCROLLED */
.nav.scrolled .link,
.nav.scrolled .logo-text,
.nav.scrolled .nav-user i,
.nav.scrolled .nav-socials .social-icon i {
  color: #111827;
}

/* SOCIAL MEDIA ICONS */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-socials .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  transition: 0.3s ease;
}

.nav-socials .social-icon i {
  font-size: 22px;
  color: white;
  transition: 0.3s ease;
}

.nav-socials .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-socials .social-icon[href*="facebook"]:hover i {
  color: #1877F2;
}

.nav-socials .social-icon[href*="linkedin"]:hover i {
  color: #0A66C2;
}

.nav-socials .social-icon[href*="tiktok"]:hover i {
  color: #fe2c55;
}

/* Social icons inside nav menu */
.nav-menu ul li .nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.nav-menu ul li .nav-socials .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  transition: 0.3s ease;
  text-decoration: none;
}

.nav-menu ul li .nav-socials .social-icon i {
  font-size: 18px;
  color: white;
  transition: 0.3s ease;
}

.nav-menu ul li .nav-socials .social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-menu ul li .nav-socials .social-icon[href*="facebook"]:hover i {
  color: #1877F2;
}

.nav-menu ul li .nav-socials .social-icon[href*="linkedin"]:hover i {
  color: #0A66C2;
}

.nav-menu ul li .nav-socials .social-icon[href*="tiktok"]:hover i {
  color: #fe2c55;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

/* HEADER */
.section-header {
  min-height: 60vh; /* makes it stand alone */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 150px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 2px;
  color: #f59e0b;
  ;
}

.section-title {
  font-size: 40px;
  margin: 15px 0;
}

.title-gold {
  color: #f59e0b;
}

.section-subtitle {
  color: #d5dae6;
}

.title-white {
  color: #ffffff;
}

/* CARDS GRID */
.offer-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 60px;
}

/* CARD */
.offer-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "content media";
  align-items: stretch;
  background: transparent;
  padding: 0;
  border-radius: 18px;
  min-height: 420px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
  gap: 20px;
  
}

.offer-card:nth-child(even) {
  grid-template-areas: "media content";
}

.service-media {
  grid-area: media;
  min-height: 420px;
  border-radius: 18px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.58)),
    linear-gradient(180deg, transparent 88%, rgba(255,255,255,0.16) 88%, rgba(255,255,255,0.16) 89%, transparent 89%),
    linear-gradient(90deg, transparent 90%, rgba(255,255,255,0.16) 90%, rgba(255,255,255,0.16) 91%, transparent 91%);
  pointer-events: none;
  z-index: 1;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
}

.service-copy {
  grid-area: content;
  background: rgba(17,24,39,0.95);
  padding: 35px 30px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  font-weight: bold;
  color: white;
}

.offer-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #f59e0b;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ICON */
.card-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;

  margin: 0 auto 20px;
}

.card-icon i {
  font-size: 30px;
  color: #f59e0b;
}

/* TITLE */
.offer-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

/* TEXT */
.offer-card p {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* LIST */
.offer-card ul {
  padding: 0;
  list-style: none;
  color: #f59e0b;
}

.offer-card li {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
}

.offer-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* BUTTON */
.learn-more {
  bottom: 25px;
  padding: 10px 20px;
  font-size: 13px;
  border: 1px solid #f59e0b;
  background: transparent;
  color: white;
  border-radius: 30px;
  transition: 0.3s;
  margin-top: 50px;
}

.learn-more:hover {
  background: #f59e0b;
  color: #111827;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .services-hero {
    min-height: 78vh;
    padding: 120px 6% 70px;
  }

  .services-hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.72)),
      rgba(0, 0, 0, 0.52);
  }

  .services-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .services-hero-btn {
    width: 100%;
  }

  .offer-cards {
    grid-template-columns: 1fr;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-card:nth-child(even) {
    grid-template-areas: "content" "media";
  }

  .card-number {
    top: 15px;
    right: 25px;
  }
}

/* =========================================
   SEARCH SERVICES GRID
========================================= */

.search-services {
    padding: 80px 2rem;
    background: transparent;
    position: relative;
}

.services-page .footer {
    margin-top: 0;
}

.services-page .faq-cta {
    margin-top: 1.25rem;
}

.services-page .faq-container {
    align-items: start;
    min-height: auto;
}

.services-page .faq-answers {
    min-height: auto;
}

.services-page .faq-answer {
    position: relative;
    display: none;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    animation: none;
}

.services-page .faq-answer.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    animation: none;
}

.services-page .faq-item,
.services-page .faq-answer,
.services-page .cta-button {
    transform: none;
}

.services-page .fade-in {
    animation: none;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* CARD */
.search-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeUpScroll 0.8s ease-out backwards;
}

.search-card:nth-child(1) { animation-delay: 0.1s; }
.search-card:nth-child(2) { animation-delay: 0.2s; }
.search-card:nth-child(3) { animation-delay: 0.3s; }
.search-card:nth-child(4) { animation-delay: 0.4s; }
.search-card:nth-child(5) { animation-delay: 0.5s; }
.search-card:nth-child(6) { animation-delay: 0.6s; }

/* IMAGE */
.search-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* DARK OVERLAY GRADIENT */
.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.72) 100%);
    transition: all 0.5s ease;
    z-index: 2;
}

/* TITLE - POSITIONED AT BOTTOM */
.search-card h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.5rem;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    z-index: 3;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

/* OVERLAY */
.search-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
    z-index: 4;
}

/* OVERLAY TITLE */
.search-overlay h3 {
    color: #f4a261;
    font-size: 22px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* OVERLAY TEXT */
.search-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

/* HOVER EFFECT */
.search-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.search-card:hover img {
    transform: scale(1.1);
}

.search-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.86) 100%);
}

.search-card:hover h4 {
    opacity: 0;
    transform: translateY(20px);
}

.search-card:hover .search-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATION - FADE UP ON SCROLL */
@keyframes fadeUpScroll {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .search-card img {
        height: 260px;
    }

    .search-card h4 {
        font-size: 17px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .search-services {
        padding: 60px 1rem;
    }

    .search-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .search-card img {
        height: 240px;
    }

    .search-card h4 {
        font-size: 16px;
        padding: 1rem;
    }

    .search-overlay h3 {
        font-size: 20px;
    }

    .search-overlay p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-services {
        padding: 50px 1rem;
    }

    .search-grid {
        gap: 1rem;
        padding: 0;
    }

    .search-card img {
        height: 200px;
    }

    .search-card h4 {
        font-size: 14px;
        padding: 0.75rem;
    }

    .search-overlay {
        padding: 1.5rem;
    }

    .search-overlay h3 {
        font-size: 18px;
        margin-bottom: 0.75rem;
    }

    .search-overlay p {
        font-size: 12px;
    }
}

/* FADE IN UP ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
