/* ============================================================
   WELLSHINETECH — style.css
   ============================================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  color: #1a2233;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- CSS Variables ---------- */
:root {
  --orange: #e84c1e;
  --orange-dark: #c43c14;
  --orange-light: #fff0eb;
  --navy: #192a3d;
  --slate: #3a4f66;
  --text: #1a2233;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e8ecf0;
  --white: #ffffff;
  --bg-light: #f7f9fc;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, 0.1);
  --transition: 0.3s ease;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section spacing ---------- */
.section {
  padding: 90px 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
}
.logo-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--navy);
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 8px 12px;
  border-radius: 6px;
  transition:
    color var(--transition),
    background var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--orange);
}
.nav-link.active {
  background: var(--orange-light);
}

.chevron {
  width: 10px;
  height: 6px;
  transition: transform var(--transition);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition),
    transform var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.875rem;
  color: var(--text-mid);
  transition:
    color var(--transition),
    background var(--transition);
}
.dropdown-menu li a:hover {
  color: var(--orange);
  background: var(--orange-light);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--slate);
  transition:
    color var(--transition),
    background var(--transition);
}
.search-btn svg {
  width: 18px;
  height: 18px;
}
.search-btn:hover {
  color: var(--orange);
  background: var(--orange-light);
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background var(--transition);
}
.mobile-menu-btn:hover {
  background: var(--orange-light);
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80") center center / cover
    no-repeat;
  padding-top: 72px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(25, 42, 61, 0.72) 0%,
    rgba(58, 79, 102, 0.55) 60%,
    rgba(232, 76, 30, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-hero {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  box-shadow: 0 4px 24px rgba(232, 76, 30, 0.35);
}
.btn-hero:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  box-shadow: 0 8px 32px rgba(232, 76, 30, 0.45);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ============================================================
   SECTION HEADINGS (shared)
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.section-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-center {
  text-align: center;
  margin-bottom: 56px;
}
.section-lead {
  font-size: 0.975rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 48px;
}
.section-heading .section-tag {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 76, 30, 0.25);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: #fde0d5;
}
.service-icon svg {
  width: 42px;
  height: 42px;
}

.service-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.65;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}
.service-link:hover {
  gap: 12px;
}
.service-link svg {
  width: 18px;
  height: 10px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--bg-light);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-tag {
  display: block;
  margin-bottom: 8px;
}
.about-heading {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.about-body {
  font-size: 0.975rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 500;
}

.about-img-wrap {
  position: relative;
}
.about-img-graphic {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--orange-light);
  box-shadow: var(--shadow-md);
}
.about-img-graphic svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 76, 30, 0.2);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.why-card:hover .why-icon {
  transform: scale(1.1) rotate(-5deg);
}
.why-icon svg {
  width: 28px;
  height: 28px;
}

.why-title {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--navy);
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}
.faq-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.faq-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.faq-divider {
  width: 60px;
  border: none;
  border-top: 3px solid var(--orange);
  margin: 0 auto 20px;
}
.faq-lead {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition);
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item.open {
  border-color: rgba(232, 76, 30, 0.5);
  background: rgba(232, 76, 30, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--orange);
}
.faq-item.open .faq-question {
  color: var(--orange);
}

.faq-chevron {
  width: 16px;
  height: 10px;
  flex-shrink: 0;
  transition: transform var(--transition);
  opacity: 0.7;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.38s ease,
    padding var(--transition);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: var(--bg-light);
}

.cta-card {
  background: linear-gradient(135deg, #f97316 0%, #e84c1e 55%, #d43c10 100%);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: 0 16px 56px rgba(232, 76, 30, 0.35);
}

.cta-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
  font-weight: 400;
}

.btn-cta {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}
.btn-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 72px 24px 56px;
}

.footer-heading {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  color: var(--orange);
  flex-shrink: 0;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-list li svg {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.footer-social li a,
.footer-links li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  font-size: 0.875rem;
}
.footer-social li a:hover,
.footer-links li a:hover {
  color: var(--orange);
}
.footer-social li a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.footer-links li {
  display: block;
}
.footer-links li a {
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.footer-logo {
  margin-top: 4px;
}
.footer-logo .logo-text {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
}
.footer-bottom p {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

/* Fade + slide up */
.animate-up {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade */
.animate-fade {
  opacity: 0;
  transition: opacity 0.65s ease;
}
.animate-fade.visible {
  opacity: 1;
}

/* Zoom */
.animate-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--delay, 0ms);
}
.animate-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 120ms !important;
}
.delay-2 {
  transition-delay: 240ms !important;
}
.delay-3 {
  transition-delay: 360ms !important;
}

/* ============================================================
   RESPONSIVE — Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-inner {
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* Header */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-link {
    padding: 10px 14px;
    font-size: 0.9rem;
    width: 100%;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown.open .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: 4px 0 4px 12px;
  }
  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-title br {
    display: none;
  }
  .hero-subtitle br {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .animate-right {
    transform: translateX(0);
  }

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* FAQ */
  .faq-columns {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-card {
    padding: 44px 28px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 24px 40px;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cta-card {
    padding: 36px 20px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
}
