/* ============================================
   The Kyler Zheng Group — Global Styles
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --white: #FFFFFF;
  --sky-blue: #5BAFE0;
  --sky-blue-hover: #4A9FD0;
  --sky-blue-light: #EAF5FC;
  --charcoal: #1C2B3A;
  --charcoal-light: #3A4F63;
  --gray-100: #F8FAFB;
  --gray-200: #E8ECF0;
  --gray-300: #D0D7DE;
  --shadow-sm: 0 2px 8px rgba(28, 43, 58, 0.06);
  --shadow-md: 0 4px 20px rgba(28, 43, 58, 0.08);
  --shadow-lg: 0 8px 40px rgba(28, 43, 58, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  font-family: 'Lato', 'Source Sans Pro', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  max-width: 680px;
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 600px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle,
.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--sky-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sky-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 175, 224, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--sky-blue);
  border: 2px solid var(--sky-blue);
}

.btn-outline:hover {
  background: var(--sky-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 175, 224, 0.35);
}

.btn-white {
  background: var(--white);
  color: var(--sky-blue);
}

.btn-white:hover {
  background: var(--sky-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 1px 20px rgba(28, 43, 58, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 195px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-blue);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sky-blue);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--sky-blue);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.85rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--sky-blue-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 195px;
  background: linear-gradient(165deg, var(--white) 60%, var(--sky-blue-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 175, 224, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--sky-blue);
}

.hero-content .hero-sub {
  font-size: 1.2rem;
  color: var(--charcoal-light);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 0 380px;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sky-blue);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---------- Value Props ---------- */
.value-props {
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--sky-blue-light);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--sky-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  color: var(--sky-blue);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ---------- Services Overview (Home) ---------- */
.services-overview {
  background: var(--sky-blue-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky-blue);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--sky-blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--sky-blue);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--gray-100);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #F5A623;
  fill: #F5A623;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--charcoal-light);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--sky-blue) 0%, #4A9FD0 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ---------- Services Page ---------- */
.services-hero {
  padding-top: 270px;
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--white) 50%, var(--sky-blue-light) 100%);
}

.service-section {
  background: var(--white);
}

.service-section:nth-child(even) {
  background: var(--sky-blue-light);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content > p {
  margin-bottom: 2rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2.5rem;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-list-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--sky-blue);
  margin-top: 2px;
}

.service-list-item span {
  font-size: 1rem;
  color: var(--charcoal-light);
}

.service-visual {
  position: relative;
}

.service-visual-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.service-visual-card .icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.icon-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--sky-blue-light);
  transition: all var(--transition);
}

.icon-grid-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.icon-grid-item svg {
  width: 32px;
  height: 32px;
  color: var(--sky-blue);
}

.icon-grid-item span {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--charcoal);
}

/* ---------- About Page ---------- */
.about-hero {
  padding-top: 270px;
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--white) 50%, var(--sky-blue-light) 100%);
}

.about-founder {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-photo {
  position: relative;
}

.founder-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.founder-photo::before {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sky-blue);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.founder-content h2 {
  margin-bottom: 1.5rem;
}

.founder-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.founder-content p:last-of-type {
  margin-bottom: 0;
}

/* About Stats */
.about-stats {
  background: var(--sky-blue-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--sky-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal-light);
}

/* Mission */
.about-mission {
  background: var(--white);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3rem;
}

.mission-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-blue);
}

.mission-card svg {
  width: 40px;
  height: 40px;
  color: var(--sky-blue);
  margin-bottom: 1.25rem;
}

.mission-card h3 {
  margin-bottom: 0.75rem;
}

.mission-card p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ---------- How It Works ---------- */
.hiw-hero {
  padding-top: 270px;
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--white) 50%, var(--sky-blue-light) 100%);
}

.timeline-section {
  background: var(--white);
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 4rem;
  padding: 0 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--sky-blue), var(--sky-blue-light));
  z-index: 0;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.timeline-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sky-blue);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(91, 175, 224, 0.3);
  transition: all var(--transition);
}

.timeline-step:hover .timeline-number {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(91, 175, 224, 0.4);
}

.timeline-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-step p {
  font-size: 0.9rem;
  max-width: 200px;
  margin: 0 auto;
}

.hiw-reassure {
  background: var(--sky-blue-light);
}

.reassure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3rem;
}

.reassure-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.reassure-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reassure-card svg {
  width: 36px;
  height: 36px;
  color: var(--sky-blue);
  margin-bottom: 1rem;
}

.reassure-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.reassure-card p {
  margin: 0 auto;
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.faq-hero {
  padding-top: 270px;
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--white) 50%, var(--sky-blue-light) 100%);
}

.faq-section {
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--sky-blue);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--sky-blue);
  transition: transform var(--transition);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
}

.faq-answer-inner p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal-light);
}

/* ---------- Contact ---------- */
.contact-hero {
  padding-top: 270px;
  padding-bottom: 60px;
  background: linear-gradient(165deg, var(--white) 50%, var(--sky-blue-light) 100%);
}

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--gray-100);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(91, 175, 224, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.contact-info {
  padding-top: 16px;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: var(--sky-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--sky-blue);
}

.contact-detail-text .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--charcoal-light);
}

.contact-detail-text .value {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 600;
}

.calendly-placeholder {
  margin-top: 2.5rem;
  padding: 40px;
  background: var(--sky-blue-light);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 2px dashed var(--sky-blue);
}

.calendly-placeholder p {
  margin: 0.5rem auto 0;
  font-size: 0.9rem;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--sky-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    flex: none;
    width: 300px;
    margin-top: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-photo {
    max-width: 350px;
    margin: 0 auto;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 100px 40px 40px;
    gap: 24px;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .timeline::before {
    top: 40px;
    bottom: 40px;
    left: 50%;
    right: auto;
    width: 3px;
    height: calc(100% - 80px);
    transform: translateX(-50%);
  }

  .mission-grid,
  .reassure-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    width: 260px;
  }

  .hero-image::before {
    display: none;
  }

  .founder-photo::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 14px 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
