@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700;800;900&display=swap');

:root {
  --primary-orange: #FF9F1C;
  --primary-orange-hover: #E58E15;
  --primary-teal: #32C7A8;
  --primary-teal-hover: #2BB598;
  --text-dark: #2A2F3D;
  --text-muted: #6B7280;
  --bg-color: #FAFAFA;
  --bg-alt: #FFFFFF;
  --card-bg: #FFFFFF;
  --nav-bg: rgba(250, 250, 250, 0.95);
  
  --radius: 24px;
  --btn-radius: 50px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-orange: 0 12px 24px rgba(255, 159, 28, 0.25);
  --shadow-teal: 0 12px 24px rgba(50, 199, 168, 0.25);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background: #FFF8EE;
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 2px solid rgba(255,159,28,0.2);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary-orange);
}

.nav-auth {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}

.nav-auth .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: white;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 159, 28, 0.35);
  color: white;
}

.btn-teal {
  background-color: var(--primary-teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(50, 199, 168, 0.35);
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-outline:hover {
  background-color: var(--primary-orange);
  color: white;
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: white;
  color: var(--text-dark);
  border-color: #E5E7EB;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Layout Utilities */
main {
  flex: 1;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 4rem;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--bg-color);
  overflow: hidden;
  padding: 4rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 159, 28, 0.08) 0%, rgba(250, 250, 250, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.highlight-teal {
  color: var(--primary-teal);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.organic-mask {
  width: 550px;
  height: 550px;
  background-color: #F3ECE1;
  border-radius: 65% 35% 70% 30% / 45% 60% 40% 55%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  /* Organic animation */
  animation: organic-float 15s ease-in-out infinite alternate;
}

@keyframes organic-float {
  0% { border-radius: 65% 35% 70% 30% / 45% 60% 40% 55%; }
  50% { border-radius: 40% 60% 55% 45% / 55% 45% 65% 35%; }
  100% { border-radius: 55% 45% 35% 65% / 40% 70% 30% 60%; }
}

.organic-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* To avoid edges showing during morph */
}

/* Floating UI Cards */
.floating-ui {
  position: absolute;
  background: white;
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.trusted-care {
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.loved-owners {
  bottom: 15%;
  left: -5%;
  animation-delay: 2s;
  padding: 12px 24px 12px 12px;
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teal-bg {
  background-color: var(--primary-teal);
}

.avatars {
  display: flex;
}

.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid white;
  margin-left: -12px;
  object-fit: cover;
}
.avatars img:first-child {
  margin-left: 0;
}

/* Cards (Services/Store) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
  position: relative;
  border: 1px solid #F3F4F6;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card-icon {
  width: 90px;
  height: 90px;
  line-height: 90px;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.step-card {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}
.step-card:hover {
  transform: translateY(-5px);
}
.step-number {
  font-size: 4rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #FFF3E0;
  color: var(--text-dark);
  padding: 5rem 2rem 2rem;
  margin-top: auto;
  border-top: 2px solid rgba(255,159,28,0.2);
}

.footer-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col a {
  color: var(--text-muted);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,159,28,0.15);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forms & Auth */
.form-container, .auth-card {
  background: white;
  padding: 3.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid #F3F4F6;
  max-width: 650px;
  margin: 0 auto;
}

.auth-container { 
  margin: 4rem auto; 
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #F9FAFB;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-image-wrapper {
    min-height: 400px;
    width: 100%;
    margin-top: 2rem;
  }
  .organic-mask {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-auth {
    display: none;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .organic-mask {
    width: 300px;
    height: 300px;
  }
  .trusted-care {
    right: 0;
  }
  .loved-owners {
    left: 0;
  }
}

/* ── Hero Badge ── */
.hero-badge {
  display: inline-block;
  background: rgba(50, 199, 168, 0.12);
  color: var(--primary-teal);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid rgba(50, 199, 168, 0.3);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

/* ── Card Link ── */
.card-link {
  display: inline-block;
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
  transition: var(--transition);
}
.card-link:hover {
  color: var(--primary-orange-hover);
  letter-spacing: 0.3px;
}

/* ── Advantages Section ── */
.advantages-section {
  background-color: var(--bg-alt);
  padding: 1px 0;
}
.advantages-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.advantage-card {
  background: var(--bg-color);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid #F3F4F6;
  transition: var(--transition);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.advantage-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}
.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.advantage-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-category {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid #F3F4F6;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.service-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-category--featured {
  border: 2px solid var(--primary-teal);
  box-shadow: var(--shadow-teal);
  position: relative;
}
.service-category--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-teal);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.service-category-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-category h3 {
  font-size: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  flex: 1;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.97rem;
  font-weight: 500;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(255, 159, 28, 0.12);
  color: var(--primary-orange);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
.check-icon--teal {
  background: rgba(50, 199, 168, 0.12);
  color: var(--primary-teal);
}

/* ── Steps Section ── */
.steps-section {
  background-color: var(--bg-alt);
  padding: 1px 0;
}
.steps-section .container {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── Testimonials ── */
.testimonials-section {
  background-color: var(--bg-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid #F3F4F6;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1rem;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F3F4F6;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-teal);
}
.testimonial-author strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FF6B35 50%, var(--primary-teal) 100%);
  padding: 6rem 2rem;
  text-align: center;
}
.cta-banner-content {
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.75;
}

/* ── Social Links ── */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F3F4F6;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--primary-orange);
  color: white;
  transform: translateY(-3px);
}

/* ── Footer 4-column ── */
.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .service-category--featured::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner h2 {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Shop Page ── */
.shop-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 1250px;
  margin: 0 auto;
}
.shop-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  background: white;
  border: 1.5px solid #E5E7EB;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
}
.shop-cat-pill:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.shop-section {
  padding: 5rem 0;
}
.shop-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding-bottom: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #F3F4F6;
}
.shop-section-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 20px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.shop-section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid #F3F4F6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.product-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.product-body h3 {
  font-size: 1.2rem;
  margin: 0;
}
.product-body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-section-header {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ── Service Section (services page) ── */
.service-section {
  padding: 5rem 0;
}
.service-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding-bottom: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #F3F4F6;
}
.service-section-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 20px;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.service-section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.subservice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.subservice-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid #F3F4F6;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}
.subservice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.subservice-icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.subservice-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}
.subservice-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .service-section-header {
    flex-direction: column;
    gap: 1rem;
  }
  .subservice-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.05) 0%, rgba(50, 199, 168, 0.06) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,159,28,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 3.5rem;
  margin: 1rem 0;
  letter-spacing: -1px;
}
.page-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 1rem;
}

/* ── About / Story page ── */
.story-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.story-block {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.story-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 18px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-block h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.story-block p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.contact-detail {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-detail-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-family: 'Poppins', sans-serif;
}
.contact-detail p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Legal pages ── */
.legal-container {
  max-width: 800px;
}
.legal-container h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.legal-date {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}
.legal-body {
  line-height: 1.85;
}
.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}
.legal-body p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.legal-contact {
  margin-top: 3.5rem;
  text-align: center;
  color: var(--text-muted);
}
.legal-contact a {
  color: var(--primary-orange);
  font-weight: 600;
}
.legal-contact a:hover {
  text-decoration: underline;
}

/* ── Auth pages ── */
.auth-container {
  max-width: 520px;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ── Product images (shop page) ── */
.product-image {
  height: 210px;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.product-card:hover .product-image img {
  transform: scale(1.06);
}

/* ── Service section visual (services page) ── */
.service-section-visual {
  border-radius: var(--radius);
  overflow: hidden;
  height: 290px;
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
}
.service-section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.service-section:hover .service-section-visual img {
  transform: scale(1.04);
}

/* ── Story banner image (about page) ── */
.story-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  margin: 4rem 0;
}
.story-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.15) 100%);
  display: flex;
  align-items: center;
  padding: 3.5rem;
}
.story-banner-overlay blockquote {
  max-width: 540px;
  color: white;
  font-size: 1.65rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.5;
  font-style: italic;
}
.story-banner-overlay blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-style: normal;
  color: rgba(255,255,255,0.75);
}

/* ── Role card images (work with us page) ── */
.role-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.role-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.card:hover .role-card-image img {
  transform: scale(1.06);
}

/* ── Auth split layout (sign-in / join-us) ── */
.auth-split-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 76px);
}
.auth-image-col {
  position: relative;
  overflow: hidden;
}
.auth-image-col > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,159,28,0.72) 0%, rgba(50,199,168,0.68) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
}
.auth-image-overlay h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.auth-image-overlay p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  line-height: 1.6;
}
.auth-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  background: var(--bg-color);
  overflow-y: auto;
}
.auth-form-col .auth-card {
  width: 100%;
  max-width: 480px;
  box-shadow: none;
  border: none;
  padding: 0;
  background: transparent;
}

/* ── Card top image ── */
.card-top-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}
.card-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.card:hover .card-top-image img {
  transform: scale(1.06);
}

/* ── Contact page image ── */
.contact-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 320px;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
}
.contact-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Responsive additions for new components ── */
@media (max-width: 768px) {
  .auth-split-main {
    grid-template-columns: 1fr;
  }
  .auth-image-col {
    height: 240px;
    min-height: unset;
  }
  .story-banner {
    height: 260px;
  }
  .story-banner-overlay {
    padding: 2rem;
  }
  .story-banner-overlay blockquote {
    font-size: 1.2rem;
  }
  .page-hero h1 {
    font-size: 2.4rem;
  }
  .story-block {
    flex-direction: column;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ═══════════════════════════════ ANIMATIONS ═══════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: var(--shadow-orange); }
  50%       { box-shadow: 0 0 30px rgba(255,159,28,0.55), 0 12px 24px rgba(255,159,28,0.3); }
}

/* Page-load: header */
header { animation: fadeInDown 0.55s ease both; }

/* Page-load: hero */
.hero-badge         { animation: fadeInUp 0.6s ease 0.15s both; }
.hero-content h1    { animation: fadeInUp 0.7s ease 0.28s both; }
.hero-content p     { animation: fadeInUp 0.7s ease 0.42s both; }
.hero-btns          { animation: fadeInUp 0.7s ease 0.56s both; }
.hero-image-wrapper { animation: fadeInRight 0.9s ease 0.35s both; }

/* CTA button pulse glow */
.btn-primary { animation: pulseGlow 3s ease-in-out infinite; }
.btn-primary:hover { animation: none; }

/* Nav link animated underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Logo scale on hover */
.logo-img { transition: transform 0.3s ease; }
.logo:hover .logo-img { transform: scale(1.06); }
.footer-logo-img { transition: transform 0.3s ease; }
.footer-logo-img:hover { transform: scale(1.05); }

/* Social icon bounce on hover */
.social-icon:hover { transform: translateY(-5px) rotate(8deg); }

/* Enhanced card hover lifts */
.card          { transition: var(--transition), transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover    { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.advantage-card:hover    { transform: translateY(-7px); }
.testimonial-card:hover  { transform: translateY(-6px); }
.service-category:hover  { transform: translateY(-7px); }
.product-card:hover      { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.subservice-card:hover   { transform: translateY(-5px); }

/* Scroll-reveal states */
.anim-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.anim-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── AI nav link ── */
.nav-ai { font-weight: 700 !important; }
