:root {
  --primary-color: #673ab7;
  --primary-light: #9d66ff;
  --primary-dark: #522e92;
  --primary-rgb: 103, 58, 183;
  --dark-bg: #242424;
  --darker-bg: #191919;
  --text-dark: #242424;
  --text-gray: #999;
  --text-light: #797979;
  --white: #fff;
  --black: #000;
  --border-color: #333;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --transition-speed: 0.5s;
  --nav-height: 89px;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  --spacing-xs: 0.5em;
  --spacing-sm: 1em;
  --spacing-md: 1.5em;
  --spacing-lg: 2em;
  --spacing-xl: 3em;
  --spacing-xxl: 5em;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--text-gray);
  line-height: 1.6;
}

a {
  transition: var(--transition-speed) all;
  text-decoration: none;
  outline: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: 'Yanone Kaffeesatz', sans-serif;
  line-height: 1.2;
}

p {
  margin: 0;
  font-size: 1em;
  color: var(--text-gray);
  line-height: 1.8em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ========================================
   Banner Section
======================================== */
.banner {
  background: url(../images/1.jpg) no-repeat center 0px;
  background-size: cover;
  padding-top: var(--nav-height);
}

.banner-info {
  background: rgba(0, 0, 0, 0.44);
}

.banner-text {
  padding: 16em 0;
  text-align: center;
}

.banner-w3lstext h5 {
  font-size: 2.5em;
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.banner-w3lstext h3,
.banner-w3lstext h1 {
  font-size: 7em;
  color: var(--white);
  font-weight: 100;
  text-transform: uppercase;
  border: 1px solid var(--white);
  display: inline-block;
  padding: 0.1em 0.5em;
  margin: 0.3em 0;
}

.banner-w3lstext p {
  font-size: 1em;
  color: var(--white);
  line-height: 2em;
  width: 55%;
  margin: 0 auto;
  font-weight: 300;
}

/* ========================================
   Navigation
======================================== */
.w3top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 10px var(--shadow-color);
  display: flex;
  align-items: center;
  background: var(--dark-bg);
}

.agile-logo {
  background: var(--primary-color);
  width: 35%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agile-logo h2 {
  font-size: 0.7em;
  margin: 0;
  padding: 0 10px;
  width: 100%;
  text-align: center;
}

.agile-logo h2 a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-speed) all;
  display: block;
  line-height: 1.3;
}

.agile-logo h2 a:hover {
  letter-spacing: 2px;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 0 1.5em;
  font-size: 1.5em;
  color: var(--white);
  height: var(--nav-height);
  line-height: var(--nav-height);
  transition: all 0.3s;
}

.mobile-menu-toggle:hover {
  color: var(--primary-light);
}

.w3lsnav-right {
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.nav-menu li {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.nav-menu li:last-child {
  border-right: none;
}

.nav-menu li a {
  display: block;
  padding: 0 0.5em;
  height: var(--nav-height);
  line-height: var(--nav-height);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1em;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--white);
  background: var(--darker-bg);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .w3top-nav {
    flex-wrap: wrap;
    height: auto;
  }
  
  .agile-logo {
    width: 100%;
    height: 60px;
  }
  
  .agile-logo h2 {
    font-size: 0.85em;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    height: 60px;
    width: 60px;
    padding: 0;
  }
  
  .w3lsnav-right {
    width: 100%;
    display: none;
    background: var(--dark-bg);
  }
  
  .w3lsnav-right.mobile-open {
    display: block;
  }
  
  .nav-menu {
    flex-direction: column;
  }
  
  .nav-menu li {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-menu li:last-child {
    border-bottom: none;
  }
  
  .nav-menu li a {
    height: 50px;
    line-height: 50px;
    text-align: left;
    padding: 0 1.5em;
  }
  
  .nav-menu li a.active {
    background: var(--primary-color);
    color: var(--white);
  }
}

@media (max-width: 480px) {
  .agile-logo h2 {
    font-size: 0.75em;
  }
}

/* ========================================
   Common Section Styles
======================================== */
.welcome-agileits,
.w3about,
.news,
.subscribe,
.about,
.team,
.gallery,
.codes,
.contact,
.single,
.blog {
  padding: var(--spacing-xxl) 0;
}

h3.w3ls-title,
h2.w3ls-title {
  font-size: 4em;
  color: var(--primary-color);
  font-weight: 200;
  margin-bottom: 0.8em;
  text-align: center;
}

.w3ls-title-white {
  font-size: 4em;
  color: var(--white);
  font-weight: 200;
  margin-bottom: 0.8em;
  text-align: center;
}

/* ========================================
   Welcome/Intro Section
======================================== */
.welcome-agile-row {
  display: grid;
  gap: var(--spacing-lg);
}

.welcome-wthreegrid {
  text-align: center;
}

.welcome-wthreegrid h4 {
  font-size: 1.8em;
  color: var(--text-dark);
}

.welcome-wthreegrid img.img-responsive {
  border-radius: var(--radius-full);
  margin: 1em auto;
  transition: var(--transition-speed) all;
}

.welcome-wthreegrid img.img-responsive:hover {
  transform: rotate(20deg);
}

.intro-content p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1em;
  line-height: 2em;
  color: var(--text-gray);
}

.intro-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Services Section
======================================== */
.services-section {
  background: url(../images/slid.jpg) no-repeat 0px fixed;
  background-size: cover;
  text-align: right;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-item {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
  transition: var(--transition-speed) all;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-item i.fa {
  font-size: 3em;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.service-item h4 {
  font-size: 1.5em;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.service-item p {
  font-size: 0.95em;
  line-height: 1.8em;
}

/* ========================================
   Process Section
======================================== */
.process-section {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.process-step {
  text-align: center;
  padding: var(--spacing-lg);
  position: relative;
}

.step-number {
  font-size: 4em;
  font-weight: bold;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 0.5em;
}

.process-step h4 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.process-step p {
  font-size: 0.95em;
  line-height: 1.8em;
}

/* ========================================
   Advantage Section
======================================== */
.advantage-section {
  background: #f9f9f9;
}

.advantage-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.advantage-item {
  text-align: center;
  padding: 2.5em 2em;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition-speed) all;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin: 0 auto 1.5em;
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

.advantage-icon i.fa {
  font-size: 2.5em;
  color: var(--white);
}

.advantage-item h4 {
  font-size: 1.6em;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.advantage-item p {
  font-size: 0.95em;
  line-height: 1.8em;
}

/* ========================================
   Statistics Section
======================================== */
.statistics-section {
  background: var(--primary-color);
  padding: 4em 0;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  transition: var(--transition-speed) all;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.stat-number {
  font-size: 3.5em;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.5em;
}

.stat-item h4 {
  font-size: 1.5em;
  color: var(--white);
  margin-bottom: 0.8em;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  line-height: 1.6em;
}

/* ========================================
   Cases Section
======================================== */
.cases-section {
  background: #f9f9f9;
}

.cases-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.case-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition-speed) all;
}

.case-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-header {
  background: var(--primary-color);
  padding: 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-header h4 {
  font-size: 1.3em;
  color: var(--white);
}

.case-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.85em;
  color: var(--white);
}

.case-body {
  padding: var(--spacing-lg);
}

.case-body p {
  font-size: 0.95em;
  line-height: 1.8em;
  margin-bottom: 1.5em;
}

.case-footer {
  display: flex;
  justify-content: space-between;
  padding-top: var(--spacing-sm);
  border-top: 1px solid #eee;
  font-size: 0.9em;
  color: var(--text-gray);
}

.case-footer span i.fa {
  margin-right: 0.3em;
  color: var(--primary-color);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
  background: var(--white);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.testimonial-item {
  padding: 2.5em;
  background: #f9f9f9;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-speed) all;
}

.testimonial-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5em;
}

.testimonial-content p {
  font-size: 1em;
  line-height: 1.8em;
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  text-align: center;
  margin-right: var(--spacing-sm);
}

.author-avatar i.fa {
  font-size: 2em;
  color: var(--white);
}

.author-info h5 {
  font-size: 1.2em;
  color: var(--text-dark);
  margin-bottom: 0.3em;
}

.author-info span {
  font-size: 0.9em;
  color: var(--text-gray);
}

/* ========================================
   Privacy Section
======================================== */
.privacy-section {
  text-align: center;
  background: var(--dark-bg);
}

.privacy-section h2 {
  font-size: 2.8em;
  color: var(--white);
  font-weight: 300;
  margin-bottom: 1.5em;
}

.privacy-content p {
  width: 70%;
  margin: 0 auto 1em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
  line-height: 1.8em;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
  background: #f9f9f9;
}

.faq-container {
  max-width: 900px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: var(--white);
  padding: var(--spacing-lg);
  margin-bottom: 1.5em;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-speed) all;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  padding-bottom: 0.8em;
  border-bottom: 2px solid #f0f0f0;
}

.faq-item p {
  font-size: 0.95em;
  line-height: 1.8em;
}

/* ========================================
   Contact CTA
======================================== */
.contact-cta {
  background: var(--primary-color);
  padding: 4em 0;
  text-align: center;
}

.contact-cta h2 {
  font-size: 2.5em;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn img {
  max-width: 300px;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

/* ========================================
   Footer
======================================== */
.copy-w3right {
  background: var(--darker-bg);
  padding: 1.5em 0;
  text-align: center;
}

.copy-w3right p {
  color: var(--white);
  text-align: center;
  font-size: 0.95em;
}

.copy-w3right p a {
  color: var(--primary-color);
  transition: var(--transition-speed) all;
}

.copy-w3right p a:hover {
  color: var(--white);
}

/* ========================================
   Back to Top Button
======================================== */
#toTop {
  display: none;
  text-decoration: none;
  position: fixed;
  bottom: 3%;
  right: 3%;
  overflow: hidden;
  width: 40px;
  height: 40px;
  border: none;
  text-indent: 100%;
  background: url(../images/move-up.png) var(--primary-color) no-repeat center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-speed) all;
}

#toTop:hover {
  transform: scale(1.1);
}

/* ========================================
   Subpage Components
======================================== */

/* Subpage Banner */
.about-w3bnr-text {
  padding: 4em 0;
}

.about-w3bnr-text .banner-w3lstext h1 {
  font-size: 3.5em;
}

/* Grid Layouts */
.criteria-grid,
.preparation-grid,
.health-requirements,
.management-grid,
.audience-grid,
.indicators-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.criteria-item,
.preparation-item,
.health-item,
.management-item,
.audience-item,
.indicator-card {
  text-align: center;
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-speed) all;
}

.criteria-item:hover,
.preparation-item:hover,
.health-item:hover,
.management-item:hover,
.audience-item:hover,
.indicator-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.criteria-icon,
.prep-icon,
.health-icon,
.mgmt-icon,
.audience-icon,
.indicator-header {
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto var(--spacing-sm);
  background: var(--primary-color);
  border-radius: var(--radius-full);
}

.criteria-icon i.fa,
.prep-icon i.fa,
.health-icon i.fa,
.mgmt-icon i.fa,
.audience-icon i.fa {
  font-size: 2em;
  color: var(--white);
}

.criteria-item h4,
.preparation-item h4,
.health-item h4,
.management-item h4,
.audience-item h4,
.indicator-header h4 {
  font-size: 1.4em;
  color: var(--text-dark);
  margin: var(--spacing-sm) 0 0.8em;
}

.criteria-item p,
.preparation-item p,
.health-item p,
.management-item p,
.audience-item p {
  font-size: 0.95em;
  line-height: 1.8em;
}

/* Screening Process */
.screening-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.screening-step {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition-speed) all;
}

.screening-step:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-header {
  background: var(--primary-color);
  padding: 1.5em;
  display: flex;
  align-items: center;
}

.step-number-badge {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: var(--white);
  margin-right: var(--spacing-sm);
}

.step-header h4 {
  font-size: 1.3em;
  color: var(--white);
}

.step-body {
  padding: var(--spacing-lg);
}

.step-body p {
  font-size: 0.95em;
  line-height: 1.8em;
  margin-bottom: var(--spacing-sm);
}

.step-details {
  padding-left: 1.5em;
}

.step-details li {
  font-size: 0.9em;
  color: var(--text-gray);
  margin-bottom: 0.5em;
  list-style: disc;
}

/* Communication Section */
.communication-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.communication-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.comm-header {
  background: var(--primary-color);
  padding: 1.5em;
  display: flex;
  align-items: center;
}

.comm-header i.fa {
  font-size: 2em;
  color: var(--white);
  margin-right: var(--spacing-sm);
}

.comm-header h4 {
  font-size: 1.4em;
  color: var(--white);
}

.comm-body {
  padding: var(--spacing-lg);
}

.comm-body p {
  font-size: 0.95em;
  line-height: 1.8em;
  margin-bottom: var(--spacing-sm);
}

.comm-body ul {
  padding-left: 1.5em;
}

.comm-body ul li {
  font-size: 0.9em;
  color: var(--text-gray);
  margin-bottom: 0.5em;
  list-style: disc;
}

.communication-note {
  grid-column: 1 / -1;
  background: rgba(var(--primary-rgb), 0.1);
  padding: 1.5em;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.communication-note p {
  font-size: 0.95em;
  color: var(--text-dark);
}

.communication-note i.fa {
  color: var(--primary-color);
  margin-right: 0.5em;
}

/* Standards Table */
.standards-table-container {
  overflow-x: auto;
  margin-top: var(--spacing-lg);
}

.standards-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.standards-table thead {
  background: var(--primary-color);
}

.standards-table th {
  padding: 1.2em 1em;
  color: var(--white);
  font-size: 1.1em;
  text-align: left;
}

.standards-table td {
  padding: 1em;
  font-size: 0.95em;
  color: var(--text-gray);
  border-bottom: 1px solid #eee;
}

.standards-table tbody tr:hover {
  background: #f9f9f9;
}

/* Indicator Cards */
.indicator-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--spacing-lg);
}

.indicator-header i.fa {
  font-size: 2.5em;
  color: var(--white);
  margin-bottom: 0.5em;
}

.indicator-header h4 {
  font-size: 1.3em;
  color: var(--white);
  margin: 0;
}

.indicator-body {
  padding: var(--spacing-lg);
}

.indicator-body ul {
  padding-left: 1.5em;
}

.indicator-body ul li {
  font-size: 0.95em;
  color: var(--text-gray);
  margin-bottom: 0.8em;
  list-style: disc;
}

.indicators-note {
  grid-column: 1 / -1;
  background: rgba(var(--primary-rgb), 0.1);
  padding: 1.5em;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.indicators-note p {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* ========================================
   Page-Specific Unique Styles
   Each page has its own visual identity
======================================== */

/* ========================================
   代妈页面 - 暖色调卡片式 (Warm Orange/Pink Cards)
======================================== */
.daima-page .banner {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
}

.daima-page .banner-info {
  background: rgba(255, 107, 107, 0.3);
}

.daima-page .banner-w3lstext h1 {
  border-color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.daima-page h2.w3ls-title {
  color: #ff6b6b;
  position: relative;
  padding-bottom: 0.5em;
}

.daima-page h2.w3ls-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #ffa07a);
  border-radius: 2px;
}

.daima-page .warm-card {
  background: linear-gradient(145deg, #fff5f5 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
  border-left: 4px solid #ff6b6b;
  transition: all 0.3s ease;
}

.daima-page .warm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.2);
}

.daima-page .warm-card h4 {
  color: #ff6b6b;
  font-size: 1.4em;
  margin-bottom: 0.8em;
}

.daima-page .warm-card p {
  color: #666;
  line-height: 1.8;
}

.daima-page .warm-highlight {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
  color: #fff;
  padding: 2em;
  border-radius: 16px;
  margin: 2em 0;
}

.daima-page .warm-highlight h4 {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 1em;
}

.daima-page .warm-highlight p {
  color: rgba(255,255,255,0.95);
}

.daima-page .warm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.daima-page .warm-feature {
  background: #fff;
  padding: 1.5em;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.daima-page .warm-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.15);
}

.daima-page .warm-feature i.fa {
  font-size: 2.5em;
  color: #ff6b6b;
  margin-bottom: 0.8em;
}

.daima-page .warm-feature h4 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.daima-page .warm-feature p {
  color: #666;
  font-size: 0.9em;
}

.daima-page .warm-list {
  list-style: none;
  padding: 0;
}

.daima-page .warm-list li {
  padding: 0.8em 0;
  border-bottom: 1px dashed #ffe0e0;
  color: #666;
  position: relative;
  padding-left: 1.5em;
}

.daima-page .warm-list li:last-child {
  border-bottom: none;
}

.daima-page .warm-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ff6b6b;
  font-weight: bold;
}

.daima-page .warm-section-alt {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
  padding: 4em 0;
}

/* ========================================
   代怀页面 - 清新蓝绿色调时间线式 (Fresh Teal Timeline)
======================================== */
.daihuai-page .banner {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.daihuai-page .banner-info {
  background: rgba(79, 172, 254, 0.3);
}

.daihuai-page h2.w3ls-title {
  color: #4facfe;
  position: relative;
  padding-bottom: 0.5em;
}

.daihuai-page h2.w3ls-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234facfe'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.2;
}

.daihuai-page .timeline-container {
  position: relative;
  padding: 2em 0;
}

.daihuai-page .timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4facfe, #00f2fe);
  transform: translateX(-50%);
}

.daihuai-page .timeline-item {
  display: flex;
  margin-bottom: 2em;
  position: relative;
}

.daihuai-page .timeline-item:nth-child(odd) {
  flex-direction: row;
}

.daihuai-page .timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.daihuai-page .timeline-content {
  width: 45%;
  background: #fff;
  padding: 1.5em;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.daihuai-page .timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.daihuai-page .timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #4facfe;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #4facfe;
  z-index: 1;
}

.daihuai-page .timeline-content h4 {
  color: #4facfe;
  font-size: 1.3em;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
}

.daihuai-page .timeline-content h4 i.fa {
  margin-right: 0.5em;
  color: #00f2fe;
}

.daihuai-page .timeline-content p {
  color: #666;
  line-height: 1.8;
}

.daihuai-page .fresh-card {
  background: linear-gradient(145deg, #f0f9ff 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.1);
  border-top: 4px solid #4facfe;
  transition: all 0.3s ease;
}

.daihuai-page .fresh-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.2);
}

.daihuai-page .fresh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.daihuai-page .fresh-item {
  background: #fff;
  padding: 1.5em;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.daihuai-page .fresh-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.15);
}

.daihuai-page .fresh-item i.fa {
  font-size: 2.5em;
  color: #4facfe;
  margin-bottom: 0.8em;
}

.daihuai-page .fresh-item h4 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.daihuai-page .fresh-item p {
  color: #666;
  font-size: 0.9em;
}

.daihuai-page .fresh-section-alt {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  padding: 4em 0;
}

.daihuai-page .fresh-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  padding: 0.3em 1em;
  border-radius: 20px;
  font-size: 0.85em;
  margin-bottom: 0.8em;
}

/* ========================================
   代生页面 - 专业紫色调分阶段式 (Professional Purple Steps)
======================================== */
.daisheng-page .banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.daisheng-page .banner-info {
  background: rgba(102, 126, 234, 0.3);
}

.daisheng-page h2.w3ls-title {
  color: #667eea;
  position: relative;
  padding-bottom: 0.5em;
}

.daisheng-page h2.w3ls-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.daisheng-page .phase-container {
  position: relative;
  padding: 2em 0;
}

.daisheng-page .phase-card {
  background: #fff;
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.daisheng-page .phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #667eea, #764ba2);
}

.daisheng-page .phase-card:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.daisheng-page .phase-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5em;
}

.daisheng-page .phase-number {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 1em;
  flex-shrink: 0;
}

.daisheng-page .phase-title h4 {
  color: #667eea;
  font-size: 1.4em;
  margin-bottom: 0.3em;
}

.daisheng-page .phase-title span {
  color: #999;
  font-size: 0.9em;
}

.daisheng-page .phase-body p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1em;
}

.daisheng-page .phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.daisheng-page .phase-tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.3em 0.8em;
  border-radius: 15px;
  font-size: 0.85em;
}

.daisheng-page .pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.daisheng-page .pro-card {
  background: linear-gradient(145deg, #f5f3ff 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.daisheng-page .pro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.daisheng-page .pro-card i.fa {
  font-size: 2em;
  color: #667eea;
  margin-bottom: 0.8em;
}

.daisheng-page .pro-card h4 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.daisheng-page .pro-card p {
  color: #666;
  font-size: 0.9em;
  line-height: 1.6;
}

.daisheng-page .pro-section-alt {
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
  padding: 4em 0;
}

.daisheng-page .comparison-box {
  background: #fff;
  border-radius: 16px;
  padding: 2em;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
  margin-bottom: 1.5em;
}

.daisheng-page .comparison-box h4 {
  color: #667eea;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #f0f0f0;
}

/* ========================================
   代母页面 - 温馨粉橙色调混合式 (Warm Pink-Orange Mixed)
======================================== */
.daimu-page .banner {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.daimu-page .banner-info {
  background: rgba(240, 147, 251, 0.3);
}

.daimu-page h2.w3ls-title {
  color: #f093fb;
  position: relative;
  padding-bottom: 0.5em;
}

.daimu-page h2.w3ls-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #f093fb, #f5576c);
  border-radius: 2px;
}

.daimu-page .cozy-card {
  background: linear-gradient(145deg, #fff5f9 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2em;
  margin-bottom: 1.5em;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.1);
  border-radius: 16px 16px 16px 0;
  transition: all 0.3s ease;
}

.daimu-page .cozy-card:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.2);
}

.daimu-page .cozy-card h4 {
  color: #f093fb;
  font-size: 1.4em;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
}

.daimu-page .cozy-card h4 i.fa {
  margin-right: 0.5em;
  color: #f5576c;
}

.daimu-page .cozy-card p {
  color: #666;
  line-height: 1.8;
}

.daimu-page .cozy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.daimu-page .cozy-item {
  background: #fff;
  padding: 1.5em;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.daimu-page .cozy-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f093fb, #f5576c);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.daimu-page .cozy-item:hover::after {
  transform: scaleX(1);
}

.daimu-page .cozy-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.15);
}

.daimu-page .cozy-item i.fa {
  font-size: 2.5em;
  color: #f093fb;
  margin-bottom: 0.8em;
}

.daimu-page .cozy-item h4 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.daimu-page .cozy-item p {
  color: #666;
  font-size: 0.9em;
}

.daimu-page .cozy-section-alt {
  background: linear-gradient(180deg, #fff5f9 0%, #ffffff 100%);
  padding: 4em 0;
}

.daimu-page .cozy-list {
  list-style: none;
  padding: 0;
}

.daimu-page .cozy-list li {
  padding: 1em 0;
  border-bottom: 1px dashed #ffe0f0;
  color: #666;
  display: flex;
  align-items: center;
}

.daimu-page .cozy-list li:last-child {
  border-bottom: none;
}

.daimu-page .cozy-list li i.fa {
  color: #f093fb;
  margin-right: 0.8em;
  font-size: 1.2em;
}

.daimu-page .cozy-highlight {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  padding: 2em;
  border-radius: 16px;
  margin: 2em 0;
  text-align: center;
}

.daimu-page .cozy-highlight h4 {
  color: #fff;
  font-size: 1.5em;
  margin-bottom: 1em;
}

.daimu-page .cozy-highlight p {
  color: rgba(255,255,255,0.95);
}

/* ========================================
   Responsive for Page-Specific Styles
======================================== */
@media (max-width: 992px) {
  .daima-page .warm-grid,
  .daisheng-page .pro-grid {
    grid-template-columns: 1fr;
  }
  
  .daihuai-page .fresh-grid,
  .daimu-page .cozy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .daihuai-page .timeline-container::before {
    left: 20px;
  }
  
  .daihuai-page .timeline-item,
  .daihuai-page .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }
  
  .daihuai-page .timeline-content {
    width: 100%;
  }
  
  .daihuai-page .timeline-dot {
    left: 20px;
  }
}

@media (max-width: 768px) {
  .daihuai-page .fresh-grid,
  .daimu-page .cozy-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Animations & Transitions
======================================== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animation Classes */
.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInDown {
  animation: fadeInDown 0.8s ease-out;
}

.animate-slideInUp {
  animation: slideInUp 0.6s ease-out;
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Enhanced Hover Effects */
.service-item,
.advantage-item,
.case-item,
.testimonial-item,
.criteria-item,
.preparation-item,
.health-item,
.management-item,
.audience-item,
.indicator-card {
  will-change: transform;
}

.service-item:hover i.fa,
.advantage-item:hover i.fa,
.case-item:hover i.fa {
  animation: pulse 1s ease-in-out;
}

/* Smooth Scroll Indicator */
@keyframes scrollIndicator {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* Loading Shimmer Effect */
.shimmer {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ========================================
   Responsive Design
======================================== */

/* Large Desktop */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape */
@media (max-width: 992px) {
  .banner-w3lstext h3,
  .banner-w3lstext h1 {
    font-size: 5em;
  }
  
  .banner-w3lstext p {
    width: 70%;
  }
  
  h3.w3ls-title,
  h2.w3ls-title,
  .w3ls-title-white {
    font-size: 3em;
  }
  
  .advantage-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .criteria-grid,
  .preparation-grid,
  .health-requirements,
  .management-grid,
  .audience-grid,
  .indicators-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .banner-text {
    padding: 8em 0;
  }
  
  .banner-w3lstext h5 {
    font-size: 1.8em;
  }
  
  .banner-w3lstext h3,
  .banner-w3lstext h1 {
    font-size: 3.5em;
  }
  
  .banner-w3lstext p {
    width: 90%;
    font-size: 0.9em;
  }
  
  h3.w3ls-title,
  h2.w3ls-title,
  .w3ls-title-white {
    font-size: 2.5em;
  }
  
  .welcome-agileits,
  .w3about,
  .news,
  .subscribe,
  .about,
  .team,
  .gallery,
  .codes,
  .contact,
  .single,
  .blog {
    padding: 3em 0;
  }
  
  .services-grid,
  .process-steps,
  .advantage-container,
  .statistics-grid,
  .cases-container,
  .testimonials-container,
  .screening-process,
  .communication-container,
  .criteria-grid,
  .preparation-grid,
  .health-requirements,
  .management-grid,
  .audience-grid,
  .indicators-container {
    grid-template-columns: 1fr;
  }
  
  .privacy-content p {
    width: 90%;
  }
  
  .privacy-section h2 {
    font-size: 2em;
  }
  
  .contact-cta h2 {
    font-size: 2em;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .banner-w3lstext h5 {
    font-size: 1.4em;
  }
  
  .banner-w3lstext h3,
  .banner-w3lstext h1 {
    font-size: 2.5em;
  }
  
  h3.w3ls-title,
  h2.w3ls-title,
  .w3ls-title-white {
    font-size: 2em;
  }
  
  .service-item,
  .process-step,
  .advantage-item,
  .stat-item,
  .case-item,
  .testimonial-item,
  .faq-item {
    padding: 1.5em;
  }
  
  .stat-number {
    font-size: 2.5em;
  }
  
  .contact-btn img {
    max-width: 250px;
  }
  
  .agile-logo h2 a {
    font-size: 0.75em;
    letter-spacing: 0;
  }
  
  .mobile-menu-toggle {
    padding: 0 0.8em;
    font-size: 1.3em;
  }
}

/* ========================================
   Mobile Touch & Interaction Optimizations
======================================== */

/* Larger Touch Targets for Mobile */
@media (max-width: 768px) {
  .nav-menu li a {
    min-height: 48px;
    padding: 0.5em 1.5em;
  }
  
  .mobile-menu-toggle {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-item,
  .advantage-item,
  .case-item,
  .testimonial-item,
  .criteria-item,
  .preparation-item,
  .management-item,
  .audience-item,
  .indicator-card,
  .screening-step,
  .communication-card,
  .notice-card,
  .stage-card,
  .faq-item,
  .timeline-phase,
  .stage-detail-card {
    -webkit-tap-highlight-color: rgba(var(--primary-rgb), 0.1);
    tap-highlight-color: rgba(var(--primary-rgb), 0.1);
  }
  
  .service-item:active,
  .advantage-item:active,
  .case-item:active {
    transform: scale(0.98);
  }
}

/* Smooth Scrolling Enhancement */
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Prevent Text Selection on Interactive Elements */
.mobile-menu-toggle,
.nav-menu li a,
.contact-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Better Form Input Styling for Mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 44px;
    padding: 0.8em;
  }
  
  button,
  .btn,
  [role="button"] {
    min-height: 44px;
    padding: 0.8em 1.5em;
  }
}

/* Mobile Menu Animation */
.w3lsnav-right {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  overflow: hidden;
}

/* Improved Mobile Typography */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
  }
  
  p,
  li,
  td {
    line-height: 1.7;
  }
  
  h1 { font-size: 2em; }
  h2 { font-size: 1.8em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.3em; }
}

/* Mobile-Friendly Cards */
@media (max-width: 768px) {
  .case-item,
  .testimonial-item,
  .screening-step,
  .communication-card {
    margin-bottom: 1em;
  }
  
  .case-header,
  .comm-header,
  .step-header {
    padding: 1em;
  }
  
  .case-body,
  .comm-body,
  .step-body {
    padding: 1em;
  }
}

/* Mobile Navigation Active State */
@media (max-width: 768px) {
  .w3lsnav-right nav ul li a:active {
    background: var(--primary-dark);
    color: var(--white);
  }
  
  .w3lsnav-right nav ul li a.active {
    background: var(--primary-color);
    color: var(--white);
  }
}

/* Mobile Scroll Hint Animation */
@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

.scroll-hint {
  animation: scrollDown 1.5s infinite;
}

/* Mobile Image Optimization */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .banner {
    background-attachment: scroll !important;
  }
  
  .services-section {
    background-attachment: scroll !important;
  }
}

/* Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
  .service-item:hover,
  .advantage-item:hover,
  .case-item:hover,
  .testimonial-item:hover {
    transform: none;
  }
  
  .service-item:active,
  .advantage-item:active,
  .case-item:active,
  .testimonial-item:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Safe Area Support for Modern Mobile Devices */
@supports (padding: max(0px)) {
  .w3top-nav {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  
  .copy-w3right {
    padding-bottom: max(1.5em, calc(1.5em + env(safe-area-inset-bottom)));
  }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  .service-item,
  .advantage-item,
  .case-item,
  .testimonial-item,
  .criteria-item,
  .preparation-item {
    will-change: auto;
  }
  
  * {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}
