/* ============================================
   PURE REHABILITATION - Main Stylesheet
   Modern 3D Healthcare Design
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0e8388;
  --primary-dark: #065a5e;
  --primary-light: #cbe4de;
  --secondary: #1a2f4b;
  --accent: #2ec4b6;
  --dark: #0b1724;
  --light: #f0f7f4;
  --white: #ffffff;
  --gray-100: #f8fafb;
  --gray-200: #e9eef2;
  --gray-300: #d1dbe4;
  --gray-400: #a3b5c5;
  --gray-500: #6b8299;
  --gray-600: #4a6178;
  --text-dark: #1a2f4b;
  --text-body: #4a6178;
  --text-muted: #6b8299;
  --shadow-sm: 0 2px 8px rgba(14, 131, 136, 0.08);
  --shadow-md: 0 8px 30px rgba(14, 131, 136, 0.12);
  --shadow-lg: 0 20px 60px rgba(14, 131, 136, 0.15);
  --shadow-xl: 0 30px 80px rgba(14, 131, 136, 0.2);
  --shadow-3d: 0 10px 40px rgba(14, 131, 136, 0.18), 0 2px 10px rgba(0,0,0,0.06);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-body);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ---------- Utility Classes ---------- */
.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 60px 0;
}

.bg-light-custom {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--primary-light) 100%);
}

.bg-dark-custom {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
}

.text-primary-custom {
  color: var(--primary) !important;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.1));
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(14,131,136,0.15);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(14,131,136,0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14,131,136,0.4);
  color: var(--white);
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 34px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(14,131,136,0.3);
}

.btn-white-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-white-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}

/* ---------- Navbar ---------- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,131,136,0.08);
  padding: 12px 0;
  transition: var(--transition);
  z-index: 1050;
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(14,131,136,0.1);
  padding: 8px 0;
}

.navbar-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.5px;
}

.navbar-brand-text span {
  color: var(--secondary);
}

.navbar-custom .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary) !important;
  background: rgba(14,131,136,0.06);
}

.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.navbar-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(14,131,136,0.3);
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14,131,136,0.4);
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
}

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon-custom {
  width: 28px;
  height: 2px;
  background: var(--text-dark);
  display: block;
  position: relative;
  transition: var(--transition);
}

.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--text-dark);
  left: 0;
  transition: var(--transition);
}

.navbar-toggler-icon-custom::before { top: -8px; }
.navbar-toggler-icon-custom::after { top: 8px; }

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-100) 0%, #e8f5f3 50%, var(--primary-light) 100%);
  padding-top: 100px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(14,131,136,0.06) 0%, transparent 60%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(14,131,136,0.12), rgba(46,196,182,0.12));
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(14,131,136,0.2);
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--secondary);
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 100px rgba(14,131,136,0.25);
}

.hero-image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: floatCard 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  bottom: 30px;
  left: -40px;
}

.hero-float-card.card-2 {
  top: 30px;
  right: -30px;
  animation-delay: 1.5s;
}

.hero-float-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hero-float-card .card-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.hero-float-card .card-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-3d);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(14,131,136,0.06);
}

.stat-item {
  text-align: center;
  padding: 10px 0;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  background: var(--gray-200);
  align-self: stretch;
}

/* ---------- About Section ---------- */
.about-section .about-image-group {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  transform: perspective(800px) rotateY(3deg);
  transition: var(--transition);
}

.about-image-main:hover {
  transform: perspective(800px) rotateY(0deg);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}

.about-image-secondary img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.about-content .about-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-content .about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 28px;
}

.about-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-feature-item .feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.about-feature-item span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* ---------- Services Section ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-3d);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-image {
  height: 220px;
  overflow: hidden;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

.service-card .card-body {
  padding: 28px;
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.service-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(14,131,136,0.3);
}

.service-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.service-card .card-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ---------- Why Choose Us ---------- */
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
}

.why-card .why-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(14,131,136,0.08), rgba(46,196,182,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(14,131,136,0.3);
  transform: rotateY(180deg);
}

.why-card h4 {
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-card .testimonial-text {
  font-size: 1.05rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.testimonial-card .testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 12px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(46,196,182,0.15), transparent 60%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 40%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(14,131,136,0.2), transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Contact Form ---------- */
.contact-form-section {
  background: linear-gradient(135deg, var(--gray-100) 0%, #e8f5f3 100%);
}

.smsForm-premium {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(14,131,136,0.06);
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.smsForm-premium h2 {
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 35px;
  letter-spacing: -0.5px;
}

.smsForm-premium .form-control {
  height: 55px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  padding: 10px 20px;
  background-color: var(--gray-100);
  transition: var(--transition);
  font-size: 16px;
  margin-bottom: 5px;
  font-family: inherit;
}

.smsForm-premium textarea.form-control {
  height: auto;
  min-height: 120px;
}

.smsForm-premium .form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(14,131,136,0.08);
  outline: none;
}

.smsForm-premium label {
  font-weight: 600;
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.opt-in-box {
  background: var(--gray-100);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-top: 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--gray-200);
}

.opt-in-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
  min-width: 20px;
}

.opt-in-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 !important;
  display: inline !important;
}

.opt-in-label a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.opt-in-label a:hover {
  text-decoration: underline;
}

.smsForm-premium .submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  height: 55px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 25px;
  box-shadow: 0 8px 25px rgba(14,131,136,0.3);
}

.smsForm-premium .submit-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(14,131,136,0.4);
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1.15rem;
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white) !important;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand span {
  color: var(--accent);
}

.footer-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-contact-item .icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.footer-contact-item span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- Page Header / Breadcrumb ---------- */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(46,196,182,0.12), transparent 60%);
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb-custom {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb-custom a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: var(--transition);
}

.page-header .breadcrumb-custom a:hover {
  color: var(--accent);
}

.page-header .breadcrumb-custom .separator {
  color: rgba(255,255,255,0.3);
}

.page-header .breadcrumb-custom .current {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- About Page Specific ---------- */
.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  height: 100%;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
}

.mission-card .mission-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  color: var(--primary);
  font-size: 2rem;
}

.mission-card h4 {
  margin-bottom: 14px;
}

.mission-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 4px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(14,131,136,0.2);
  z-index: 2;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  max-width: 400px;
}

.timeline-content .year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Services Page Specific ---------- */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  margin-bottom: 30px;
}

.service-detail-card:hover {
  box-shadow: var(--shadow-3d);
}

.service-detail-card .card-image {
  height: 250px;
  overflow: hidden;
}

.service-detail-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-detail-card:hover .card-image img {
  transform: scale(1.05);
}

.service-detail-card .card-body {
  padding: 32px;
}

.service-detail-card h3 {
  margin-bottom: 16px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.service-detail-card ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-body);
  font-size: 0.95rem;
}

.service-detail-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Contact Page Specific ---------- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14,131,136,0.06);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
}

.contact-info-card .contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,131,136,0.1), rgba(46,196,182,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-info-card h5 {
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-info-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
  background: none;
  -webkit-text-fill-color: var(--text-dark);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-content .effective-date {
  background: var(--gray-100);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ---------- Process Section ---------- */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.process-step .step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(14,131,136,0.3);
  position: relative;
  z-index: 2;
}

.process-step h4 {
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(14,131,136,0.3);
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(14,131,136,0.4);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-content h1 { font-size: 2.8rem; }
  .hero-image-card { transform: none; }
  .hero-image-card img { height: 400px; }
  
  .hero-float-card.card-1 { left: 0; bottom: 10px; }
  .hero-float-card.card-2 { right: 0; top: 10px; }
  
  .about-image-main { transform: none; margin-bottom: 40px; }
  .about-image-secondary { 
    position: relative; 
    bottom: auto; 
    right: auto; 
    width: 100%; 
    margin-top: -40px; 
    margin-left: 60px;
    max-width: 220px;
  }
  
  .stats-bar { margin-top: -40px; }
  
  .timeline::before { left: 20px; }
  .timeline-item { padding-right: 0; padding-left: 60px; justify-content: flex-start; }
  .timeline-item:nth-child(even) { padding-left: 60px; }
  .timeline-item::after { left: 20px; }
  .timeline-content { max-width: 100%; }
  
  .cta-content h2 { font-size: 2.2rem; }

  .section-header h2 { font-size: 2rem; }
  .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 767.98px) {
  .hero-section { min-height: auto; padding-top: 120px; padding-bottom: 60px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1.05rem; }
  .hero-image-card img { height: 300px; }
  .hero-float-card { display: none; }
  
  .section-padding { padding: 60px 0; }
  .stats-bar { padding: 24px; margin-top: -30px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .stat-divider { display: none; }
  
  .about-feature-list { grid-template-columns: 1fr; }
  .about-image-secondary { display: none; }
  
  .smsForm-premium { padding: 28px 20px; }
  .smsForm-premium h2 { font-size: 1.5rem; }
  
  .footer { padding: 50px 0 0; }
  
  .cta-content h2 { font-size: 1.8rem; }
  .cta-content p { font-size: 1rem; }
  
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 1.8rem; }
}

@media (max-width: 575.98px) {
  .hero-content h1 { font-size: 1.9rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom { width: 100%; justify-content: center; }
  
  .section-header h2 { font-size: 1.6rem; }
  .stats-bar .row > div { border-bottom: 1px solid var(--gray-200); padding-bottom: 16px; margin-bottom: 16px; }
  .stats-bar .row > div:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}
