/* ============================================
   SOUDHA PROJECTS — Design System
   Coral  #ef7d50  |  Sky #31a8e1  |  Olive #a5ae52
   Dark   #1a202c  |  Off-white #f7f6f3
   ============================================ */

/* ---- Preloader ---- */
#preloader {
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
#preloader.preloader-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 40%, rgba(239, 125, 80, 0.16) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 80%, rgba(49, 168, 225, 0.08) 0%, transparent 65%);
  animation: preloaderGlowPulse 4s ease-in-out infinite;
}
@keyframes preloaderGlowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.preloader-logo-wrap {
  animation: preloaderLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes preloaderLogoIn {
  0% { opacity: 0; transform: translateY(14px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.preloader-tagline {
  animation: preloaderFadeIn 0.8s ease 0.3s both;
}
@keyframes preloaderFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.preloader-progress-track {
  width: 220px;
  max-width: 60vw;
  height: 2px;
  background: rgba(26, 32, 44, 0.1);
  overflow: hidden;
  position: relative;
}
.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ef7d50, #ffb088);
  transition: width 0.3s ease-out;
  box-shadow: 0 0 12px rgba(239, 125, 80, 0.6);
}

/* ---- Global ---- */
::selection { background-color: #ef7d50; color: #fff; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f7f6f3; }
::-webkit-scrollbar-thumb { background: #1a202c; }

/* ---- Keyframes ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.45; }
}
@keyframes whatsappPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 13px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes shimmer {
  0%   { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}

.animate-float { animation: float 4.5s ease-in-out infinite; }

/* Shimmer text — sweeping light band across a headline */
.shimmer-text {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 40%,
    #ffd9c2 50%,
    #fff 60%,
    #fff 100%
  );
  background-size: 1000px 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 3.5s linear infinite;
}

/* ---- Utility ---- */
.bg-off-white { background-color: #f7f6f3; }
.bg-cream     { background-color: #faf9f7; }

.text-gradient {
  background: linear-gradient(135deg, #ef7d50 0%, #31a8e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SECTION EYEBROW — standard pattern
   ============================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ef7d50;
  margin-bottom: 1.25rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: #ef7d50;
  flex-shrink: 0;
}

/* Centered editorial section header (DUOS-style) */
.section-header-center { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header-center .section-eyebrow { justify-content: center; }
.section-header-center .section-eyebrow::before { display: none; }
.section-header-center p.section-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: #9a9a97;
  margin-top: 1.1rem;
  line-height: 1.6;
}

/* DUOS-style italic text link with arrow */
.discover-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #1a202c;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,32,44,0.25);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}
.discover-link em, .discover-link i.discover-italic { font-style: italic; color: #ef7d50; }
.discover-link:hover {
  color: #ef7d50;
  border-color: #ef7d50;
  gap: 16px;
}
.discover-link i.fa-arrow-right { font-size: 0.68rem; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07);
  border-bottom-color: transparent;
}

.nav-desktop-link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.nav-desktop-link:hover {
  color: #ef7d50;
  border-color: #ef7d50;
}
#navbar.scrolled .nav-desktop-link {
  color: rgba(26, 32, 44, 0.6);
}
#navbar.scrolled .nav-desktop-link:hover {
  color: #ef7d50;
}

.navbar-inquire-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar-inquire-btn:hover {
  background: #ef7d50;
  border-color: #ef7d50;
}
#navbar.scrolled .navbar-inquire-btn {
  background: #1a202c;
  border-color: #1a202c;
}
#navbar.scrolled .navbar-inquire-btn:hover {
  background: #ef7d50;
  border-color: #ef7d50;
}

/* Mobile menu */
.menu-item-link {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 1.1rem;
  display: block;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.menu-item-link:hover {
  color: #ef7d50;
  padding-left: 8px;
}
.menu-social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #9ca3af;
  transition: all 0.25s ease;
}
.menu-social-icon:hover {
  background: #ef7d50;
  border-color: #ef7d50;
  color: white;
}

/* ============================================
   HERO
   ============================================ */
.scroll-indicator { animation: scrollBounce 1.8s ease-in-out infinite; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}
.hero-cta::after {
  content: '\2192';
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}
.hero-cta:hover {
  color: #ef7d50;
  border-color: #ef7d50;
  gap: 16px;
}
.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
}
.hero-cta-outline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Swiper — arrows bottom-right pair on desktop, hidden on mobile */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  top: 50%;
  margin-top: -24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
}
.hero-swiper .swiper-button-prev {
  left: 24px;
}
.hero-swiper .swiper-button-next {
  right: 24px;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: #ef7d50;
  border-color: #ef7d50;
  color: #fff;
  transform: scale(1.08);
}
/* Disable Swiper's default arrow glyph — using Font Awesome icons inside instead */
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  content: none;
}
.hero-swiper .swiper-button-next .swiper-navigation-icon,
.hero-swiper .swiper-button-prev .swiper-navigation-icon {
  display: none;
}
.hero-swiper .swiper-button-next i,
.hero-swiper .swiper-button-prev i {
  font-size: 14px;
}
.hero-swiper .swiper-button-next i { margin-left: 1px; }
.hero-swiper .swiper-button-prev i { margin-right: 1px; }

@media (min-width: 1280px) {
  .hero-swiper .swiper-button-prev { left: 48px; }
  .hero-swiper .swiper-button-next { right: 48px; }
}

/* Pagination dots */
.hero-swiper .swiper-pagination { bottom: 18px; }
.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  width: 6px;
  height: 6px;
  transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background-color: #ef7d50;
  width: 22px;
  border-radius: 3px;
}

/* ============================================
   RESPONSIVE — Mobile & Tablet Fixes
   ============================================ */

/* ---- Mobile: hide hero arrows, rely on swipe ---- */
@media (max-width: 767px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    display: none;
  }
  .hero-swiper .swiper-pagination {
    bottom: 12px;
  }

  /* Hero scroll indicator: bottom-left, tighter */
  .scroll-indicator {
    bottom: 16px;
    left: 1.25rem;
  }

  /* Hero CTAs: centered on mobile */
  .hero-cta,
  .hero-cta-outline {
    justify-content: center;
    font-size: 0.68rem;
  }

  /* Section eyebrow: slightly smaller */
  .section-eyebrow {
    font-size: 0.6rem;
  }

  /* About visual: shorter on mobile */
  .about-visual {
    min-height: 260px;
  }
  .about-visual img {
    max-width: 180px;
  }
  .about-visual-label {
    padding: 0.75rem 1.25rem;
  }

  /* About highlights: tighter */
  .about-highlight {
    padding: 0.75rem 0;
  }

  /* Stats: remove side borders when stacked */
  .stat-rule { margin-bottom: 0.75rem; }

  /* Testimonial card: tighter padding */
  .testimonial-card { padding: 1.75rem 1.25rem; }

  /* Project card info: tighter on mobile */
  .card-info { padding: 1.25rem; }

  /* Footer social icons: slightly smaller */
  .footer-social-icon { width: 30px; height: 30px; }

  /* Menu item links: smaller on small screens */
  .menu-item-link { font-size: 1.25rem; padding-bottom: 0.9rem; }
}

/* ---- Tablet: minor tweaks ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-visual { min-height: 320px; }
  .about-visual img { max-width: 200px; }
}

/* Hero quick-stats glass bar */
.hero-stats-bar {
  background: rgba(20, 24, 32, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================
   ABOUT — Dark Visual Panel
   ============================================ */
.about-visual {
  position: relative;
  background: #1a202c;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(49,168,225,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(239,125,80,0.09) 0%, transparent 55%);
}
.about-visual img {
  position: relative;
  z-index: 1;
  max-width: 240px;
  width: 75%;
}
.about-visual-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ef7d50;
  padding: 0.9rem 1.5rem;
  z-index: 2;
}

/* Highlights pill row */
.about-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.about-highlight-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(239,125,80,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef7d50;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.about-highlight:hover .about-highlight-icon {
  background: #ef7d50;
  border-color: #ef7d50;
  color: white;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stat-rule {
  width: 28px;
  height: 2px;
  background: rgba(239,125,80,0.5);
  margin-bottom: 1rem;
}

/* Project filter tabs */
.project-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
}
.project-filter-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9a97;
  background: transparent;
  border: 1px solid rgba(26, 32, 44, 0.15);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.project-filter-btn:hover {
  color: #1a202c;
  border-color: rgba(26, 32, 44, 0.35);
}
.project-filter-btn.active {
  background: #1a202c;
  border-color: #1a202c;
  color: #fff;
}

/* Project card fade-in on filter change */
.project-card-overlay[data-hidden="true"] { display: none; }

/* ============================================
   PROJECT CARDS — always-visible info, no hover-only content
   ============================================ */
.project-card-overlay {
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(26, 32, 44, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card-overlay:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(26, 32, 44, 0.1);
  border-color: rgba(26, 32, 44, 0.08);
}

.project-card-overlay .card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.project-card-overlay .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.project-card-overlay:hover .card-image-wrap img {
  transform: scale(1.05);
}

/* Status badge — overlaid on image, top-left */
.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  color: #1a202c;
}
.badge-ongoing { background: rgba(26, 32, 44, 0.85); color: #fff; }
.badge-upcoming { background: rgba(49, 168, 225, 0.92); color: #fff; }
.badge-completed { background: rgba(165, 174, 82, 0.92); color: #fff; }

/* Price tag — overlaid on image, bottom-right */
.card-price-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 6px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  background: #ef7d50;
  color: #fff;
}

/* Info block below image */
.card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta row: size / facing */
.card-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  margin-bottom: 1.25rem;
}
.card-meta-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a8a8a5;
  margin-bottom: 3px;
}
.card-meta-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a202c;
}

/* Action row: primary link + icon buttons */
.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.card-btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: #1a202c;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease;
  position: relative;
  z-index: 20;
}
.card-btn-primary:hover { background: #ef7d50; }
.card-btn-primary i { font-size: 0.65rem; }

.card-icon-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 32, 44, 0.15);
  color: #1a202c;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.25s ease;
  position: relative;
  z-index: 20;
}
.card-icon-btn:hover {
  background: #ef7d50;
  border-color: #ef7d50;
  color: #fff;
}

/* Empty-state placeholder card */
.empty-state-card {
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: transparent;
  padding: 4rem 2rem;
  text-align: center;
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(239, 125, 80, 0.35);
  color: #ef7d50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-card {
  background: #fff;
  border: 1px solid #f0f0ef;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}
.testimonial-card .quote-bg {
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: #ef7d50;
  opacity: 0.08;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  user-select: none;
  pointer-events: none;
}
.testimonial-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f3f4f6;
  flex-shrink: 0;
}
.stars { color: #ef7d50; letter-spacing: 1px; font-size: 0.85rem; }

/* Testimonials swiper */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: #ef7d50;
}
.testimonials-swiper .swiper-pagination-bullet-active { background: #ef7d50; }
.testimonials-swiper .swiper-wrapper { padding-bottom: 52px; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #1a202c;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.contact-input:focus { border-bottom-color: #ef7d50; }
.contact-input::placeholder { color: #c4c4c4; font-size: 0.88rem; }
.contact-input option { color: #1a202c; background: white; }

/* ============================================
   FOOTER
   ============================================ */
.footer-social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.25s ease;
}
.footer-social-icon:hover {
  background: #ef7d50;
  border-color: #ef7d50;
  color: white;
}

/* ============================================
   INSTAGRAM EMBED
   ============================================ */
.instagram-embed-wrap {
  width: 100%;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float { animation: whatsappPulse 2.4s ease-out infinite; }

#back-to-top {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#back-to-top.show {
  opacity: 1 !important;
  pointer-events: all !important;
}
