/* LifeCare CMS - Premium Design System */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --danger: #ef4444;
  --success: #22c55e;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; background: var(--white); }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Utilities */
.text-center { text-align: center; }
.text-highlight { color: var(--accent); }
.mt-1{margin-top:0.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:0.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.py-5{padding-top:3rem;padding-bottom:3rem}
.bg-light{background-color:var(--bg-light)}

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: none; text-align: center; text-decoration: none; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-secondary:hover { background: #0284c7; color: var(--white); }
.btn-whatsapp { background: #25d366; color: var(--white); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); transform: translateY(-2px); }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; color: var(--white); }
.btn-cta-phone { background: var(--accent); color: #1e293b; font-weight: 700; border: 2px solid var(--accent); }
.btn-cta-phone:hover { background: #d97706; border-color: #d97706; color: #1e293b; transform: translateY(-2px); }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); }
.header-top { background: var(--primary-dark); color: var(--white); padding: 0.4rem 0; font-size: 0.8rem; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; }
.header-contact-info a, .header-social a { color: var(--white); margin-right: 1.25rem; opacity: 0.9; font-size: 0.8rem; }
.header-contact-info a:hover, .header-social a:hover { opacity: 1; color: var(--white); }
.main-nav { background: var(--white); box-shadow: var(--shadow-sm); }
.main-nav .nav-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-icon { font-size: 1.75rem; color: var(--primary); margin-right: 0.5rem; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.35rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.logo-tagline { font-size: 0.65rem; color: var(--primary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a { color: var(--text-dark); font-weight: 500; padding: 0.5rem 0.75rem; border-radius: var(--radius); font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text-dark); border-radius: 3px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { padding: 4rem 0 3rem; background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-title { font-size: 2.75rem; font-weight: 800; color: var(--text-dark); line-height: 1.15; margin-bottom: 1.25rem; }
.hero-desc { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.hero-link { color: var(--primary); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-link:hover { gap: 0.75rem; }
.hero-image { position: relative; }
.hero-image img { border-radius: 1rem; box-shadow: var(--shadow-lg); width: 100%; height: auto; object-fit: cover; }

/* ===== SECTION HEADERS ===== */
.section { padding: 4rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.section-header p { color: var(--text-light); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.service-card { background: var(--white); padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid #e2e8f0; transition: var(--transition); text-align: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.service-icon i { font-size: 1.25rem; color: var(--primary); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-dark); }
.service-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }
.service-link { color: var(--primary); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.service-link:hover { gap: 0.6rem; }

/* ===== STATS ===== */
.stats-section { background: var(--primary-dark); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.35rem; }
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 500; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.testimonial-card { background: var(--white); padding: 2rem; border-radius: var(--radius); border: 1px solid #e2e8f0; transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-stars i { margin-right: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.author-info strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.author-info span { font-size: 0.8rem; color: var(--text-light); }

/* ===== BLOG ===== */
.blog-section { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.blog-card { background: var(--white); border-radius: var(--radius); border: 1px solid #e2e8f0; overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-image { height: 200px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.75rem; display: flex; gap: 1rem; }
.blog-meta i { margin-right: 0.25rem; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-body h3 a { color: var(--text-dark); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }
.blog-read-more { color: var(--primary); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.blog-read-more:hover { gap: 0.6rem; }

/* ===== CTA ===== */
.cta-section { background: var(--text-dark); padding: 4rem 0; }
.cta-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 0.75rem; }
.cta-section p { color: #94a3b8; max-width: 600px; margin: 0 auto 2rem; font-size: 1rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--text-dark); color: #cbd5e1; padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { display: flex; align-items: center; margin-bottom: 1rem; }
.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-icon { color: var(--primary); }
.footer-social { margin-top: 1.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; margin-right: 0.5rem; color: #cbd5e1; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-col a { color: #94a3b8; font-size: 0.9rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-contact-list li { display: flex; margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer-contact-list i { margin-top: 4px; margin-right: 10px; color: var(--primary); font-size: 0.85rem; }
.footer-newsletter { margin-top: 1.5rem; }
.footer-newsletter h4 { color: var(--white); font-size: 0.95rem; }
.newsletter-input-group { display: flex; margin-top: 0.75rem; }
.newsletter-input-group input { flex: 1; padding: 0.65rem 0.75rem; border: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 0.85rem; }
.newsletter-input-group button { border-radius: 0 var(--radius) var(--radius) 0; padding: 0.65rem 1rem; }
.footer-bottom { border-top: 1px solid #334155; padding: 1.25rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }


/* ===== SHARE FLOAT ===== */
.share-float {
  position: fixed;
  bottom: calc(2rem + 56px + 1rem);
  right: 2.15rem; /* Slightly offset for visual balance */
  background: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  z-index: 1000;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.share-float:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; background: #25d366; color: white; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 4px 12px rgba(37,211,102,0.4); z-index: 1000; transition: var(--transition); animation: pulse-wa 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); color: white; }
@keyframes pulse-wa { 0%,100%{box-shadow:0 4px 12px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 20px rgba(37,211,102,0.6)} }
.wa-tooltip { display: none; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 2rem; right: 5rem; width: 40px; height: 40px; background: var(--primary); color: var(--white); border: none; border-radius: 50%; cursor: pointer; font-size: 1rem; display: none; align-items: center; justify-content: center; z-index: 999; transition: var(--transition); box-shadow: var(--shadow-md); }
.back-to-top:hover { background: var(--primary-dark); }

/* ===== ADMIN TABLE ===== */
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; }
table th { background: var(--bg-light); font-weight: 600; color: var(--text-dark); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
table tr:hover { background: #f8fafc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-title { font-size: 2.25rem; }
  .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 1rem; box-shadow: var(--shadow-md); z-index: 999; }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .header-top, .nav-cta { display: none; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero-title { font-size: 1.85rem; }
  .section { padding: 3rem 0; }
  .services-grid, .testimonials-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 60%);
  padding: 4rem 0;
}
.about-hero h1 { font-size: 2.5rem; margin-bottom: 0.75rem; }
.about-hero p { color: var(--text-light); font-size: 1.1rem; max-width: 700px; }

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-content h2 { color: var(--primary-dark); margin-bottom: 1.5rem; }
.story-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.25rem; }

.mission-box {
  background: var(--primary-light);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(13, 148, 136, 0.1);
}
.mission-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.mission-box h3 { color: var(--primary-dark); margin-bottom: 1rem; }
.mission-box p { color: var(--text-light); line-height: 1.7; font-size: 1.05rem; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.why-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid #e2e8f0;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.team-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; border: 4px solid var(--primary-light); }
.team-avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.team-card p { color: var(--primary); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 992px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .about-hero { padding: 3rem 0; text-align: center; }
  .about-hero h1 { font-size: 2rem; }
  .why-grid { grid-template-columns: 1fr; }
  .mission-box { padding: 2rem 1.5rem; }
}
