/* =============================================

   ANFAS MEDICAL CARE — DESIGN SYSTEM v3

   Colors: Brand Gold #FEC34D, Brand Taupe #84764C
   Corporate Blue #003DA5, Corporate Gray #75787B

   Premium Healthcare / Medical Brand Palette

   ============================================= */

@font-face {
  font-family: 'Roboto';
  src: url('/static/fonts/roboto.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GG SS';
  src: url('/static/fonts/ge_ss_unique_light.otf') format('opentype');
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GG SS';
  src: url('/static/fonts/ge_ss_unique_bold.otf') format('opentype');
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}



:root {

  /* Brand Palette */

  --anfas-white: #FFFFFF;

  --anfas-cream: #FAF8F2;

  --anfas-taupe: #84764C;

  --anfas-taupe-dark: #6a5e3d;

  --anfas-taupe-light: #f1eee6;

  --anfas-gold: #FEC34D;

  --anfas-gold-dark: #e5ad39;

  --anfas-gold-light: #fff5dc;

  --anfas-blue: #003DA5;

  --anfas-blue-dark: #002a7a;

  --anfas-blue-light: #e6effc;

  --anfas-gray: #75787B;

  --anfas-gray-dark: #5e6163;

  --anfas-gray-light: #eef0f1;

  --anfas-dark: #1f1c16;

  --anfas-charcoal: #2e2a22;

  --anfas-gray-900: #3a352b;

  --anfas-gray-800: #4f493d;

  --anfas-gray-700: #6b6352;

  --anfas-gray-600: #857c6a;

  --anfas-gray-500: #a59d8d;

  --anfas-gray-400: #c4bfb3;

  --anfas-gray-300: #e0dbd1;

  --anfas-gray-200: #f0ece3;

  --anfas-gray-100: #f7f4ed;

  --anfas-bg: #fbf9f4;

  --anfas-success: #4caf50;

  --anfas-success-light: #e8f5e9;

  --anfas-warning: #ff9800;

  --anfas-warning-light: #fff3e0;

  --anfas-error: #f44336;

  --anfas-error-light: #ffebee;



  /* Typography */

  --anfas-font-en: 'Roboto', sans-serif;

  --anfas-font-ar: 'GG SS', sans-serif;

  --anfas-font-heading: 'Roboto', 'GG SS', sans-serif;



  /* Spacing */

  --anfas-section-py: clamp(3.5rem, 7vw, 6rem);

  --anfas-gap: clamp(1rem, 2vw, 2rem);



  /* Radius */

  --anfas-radius-sm: 8px;

  --anfas-radius: 14px;

  --anfas-radius-lg: 22px;

  --anfas-radius-xl: 32px;

  --anfas-radius-pill: 999px;



  /* Shadows */

  --anfas-shadow-xs: 0 1px 2px rgba(31,28,22,.04);

  --anfas-shadow-sm: 0 2px 8px rgba(31,28,22,.06);

  --anfas-shadow: 0 4px 24px rgba(31,28,22,.08);

  --anfas-shadow-lg: 0 12px 40px rgba(31,28,22,.12);

  --anfas-shadow-xl: 0 24px 60px rgba(31,28,22,.16);

  --anfas-shadow-taupe: 0 8px 30px rgba(132,118,76,.25);

  --anfas-shadow-gold: 0 8px 30px rgba(254,195,77,.25);

  --anfas-shadow-blue: 0 8px 30px rgba(0,61,165,.15);



  /* Transitions */

  --anfas-t-fast: .2s cubic-bezier(.4,0,.2,1);

  --anfas-t: .35s cubic-bezier(.4,0,.2,1);

  --anfas-t-slow: .6s cubic-bezier(.4,0,.2,1);



  /* Layout */

  --anfas-max-width: 1400px;

  --anfas-header-h: 72px;

}



*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {

  font-family: var(--anfas-font-en);

  background: var(--anfas-bg);

  color: var(--anfas-gray-800);

  line-height: 1.65;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

}

[dir="rtl"] body { font-family: var(--anfas-font-ar); }



h1,h2,h3,h4,h5,h6 {

  font-family: var(--anfas-font-heading);

  color: var(--anfas-taupe);

  font-weight: 800;

  line-height: 1.25;

  letter-spacing: -.02em;

}

[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,[dir="rtl"] h4,[dir="rtl"] h5,[dir="rtl"] h6 { font-family: var(--anfas-font-ar); letter-spacing: 0; }



a { color: var(--anfas-taupe); text-decoration: none; transition: color var(--anfas-t-fast); }

a:hover { color: var(--anfas-taupe-dark); }

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

::selection { background: var(--anfas-taupe); color: #fff; }

:focus-visible { outline: 3px solid var(--anfas-gold); outline-offset: 2px; border-radius: 4px; }



.anfas-container { max-width: var(--anfas-max-width); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

.section { padding-block: var(--anfas-section-py); }

.section-sm { padding-block: clamp(2rem, 4vw, 3.5rem); }

.section-lg { padding-block: clamp(5rem, 10vw, 8rem); }



.bg-anfas-primary { background: var(--anfas-taupe) !important; }

.bg-anfas-gold { background: var(--anfas-gold) !important; }

.bg-anfas-blue { background: var(--anfas-blue) !important; }

.bg-anfas-light { background: var(--anfas-gray-100) !important; }

.bg-anfas-cream { background: var(--anfas-cream) !important; }

.bg-anfas-dark { background: var(--anfas-dark) !important; }

.bg-gradient-primary { background: linear-gradient(135deg, var(--anfas-taupe) 0%, var(--anfas-taupe-dark) 100%) !important; }

.bg-gradient-gold { background: linear-gradient(135deg, var(--anfas-gold) 0%, var(--anfas-gold-dark) 100%) !important; }

.bg-gradient-blue { background: linear-gradient(135deg, var(--anfas-blue) 0%, var(--anfas-blue-dark) 100%) !important; }

.bg-gradient-soft { background: linear-gradient(180deg, var(--anfas-taupe-light) 0%, var(--anfas-white) 100%) !important; }



.text-anfas-primary { color: var(--anfas-taupe) !important; }

.text-anfas-gold { color: var(--anfas-gold) !important; }

.text-anfas-blue { color: var(--anfas-blue) !important; }

.text-anfas-light { color: var(--anfas-gray-600) !important; }



.section-eyebrow {

  display: inline-flex; align-items: center; gap: .5rem;

  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;

  color: var(--anfas-taupe);

  padding: .4rem 1rem;

  border-radius: var(--anfas-radius-pill);

  background: var(--anfas-taupe-light);

  margin-bottom: 1rem;

}

.section-eyebrow.gold { background: var(--anfas-gold-light); color: var(--anfas-gold-dark); }

.section-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }

.section-subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--anfas-gray-600); max-width: 640px; margin-inline: auto; }

.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-header.text-start .section-subtitle { margin-inline: 0; }



/* Buttons */

.btn {

  font-weight: 600; border-radius: var(--anfas-radius);

  padding: .7rem 1.6rem; transition: all var(--anfas-t);

  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;

  border: 2px solid transparent; font-size: .95rem;

}

.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; border-radius: var(--anfas-radius-lg); }

.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }



.btn-anfas-primary {

  background: var(--anfas-taupe); color: #fff; border-color: var(--anfas-taupe);

  box-shadow: var(--anfas-shadow-taupe);

}

.btn-anfas-primary:hover {

  background: var(--anfas-taupe-dark); color: #fff; border-color: var(--anfas-taupe-dark);

  transform: translateY(-2px); box-shadow: 0 12px 36px rgba(131,118,77,.35);

}

.btn-anfas-gold {

  background: var(--anfas-gold); color: var(--anfas-dark); border-color: var(--anfas-gold);

  box-shadow: var(--anfas-shadow-gold);

}

.btn-anfas-gold:hover {

  background: var(--anfas-gold-dark); color: var(--anfas-dark); border-color: var(--anfas-gold-dark);

  transform: translateY(-2px);

}

.btn-anfas-outline {

  background: #fff; color: var(--anfas-taupe); border-color: var(--anfas-gray-300);

}

.btn-anfas-outline:hover {

  background: var(--anfas-taupe); color: #fff; border-color: var(--anfas-taupe);

  transform: translateY(-2px);

}

.btn-anfas-ghost { background: transparent; color: var(--anfas-gray-700); border-color: transparent; }

.btn-anfas-ghost:hover { background: var(--anfas-taupe-light); color: var(--anfas-taupe); }

.btn-anfas-white {

  background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3);

  backdrop-filter: blur(10px);

}

.btn-anfas-white:hover { background: #fff; color: var(--anfas-taupe); border-color: #fff; transform: translateY(-2px); }



/* Cards */

.anfas-card {

  background: var(--anfas-white); border-radius: var(--anfas-radius-lg);

  box-shadow: var(--anfas-shadow-sm); transition: all var(--anfas-t);

  border: 1px solid var(--anfas-gray-200); overflow: hidden;

}

.anfas-card:hover { box-shadow: var(--anfas-shadow-lg); transform: translateY(-6px); }



.service-card {

  background: var(--anfas-white); border-radius: var(--anfas-radius-lg);

  padding: 2rem 1.5rem; text-align: center;

  border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t);

  height: 100%; position: relative; overflow: hidden;

}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--anfas-shadow-lg); border-color: var(--anfas-gold); }

.service-card > * { position: relative; z-index: 1; }

.service-icon-wrap {

  width: 72px; height: 72px; border-radius: var(--anfas-radius);

  background: var(--anfas-taupe-light); display: flex; align-items: center; justify-content: center;

  margin: 0 auto 1.25rem;

}

.service-icon-wrap svg { width: 32px; height: 32px; fill: var(--anfas-taupe); }

.service-card h4 { font-size: 1.15rem; margin-bottom: .5rem; }

.service-card p { font-size: .9rem; color: var(--anfas-gray-600); margin-bottom: 1rem; }

.service-card .service-price { display: flex; align-items: baseline; gap: .25rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--anfas-gray-200); }

.service-card .service-price .price-amount { font-size: 1.1rem; font-weight: 700; color: var(--anfas-taupe); }

.service-card .service-price .price-unit { font-size: .85rem; color: var(--anfas-gray-600); }

.service-link { font-size: .85rem; font-weight: 700; color: var(--anfas-taupe); display: inline-flex; align-items: center; gap: .3rem; }



.dept-card {

  border-radius: var(--anfas-radius-lg); overflow: hidden; background: var(--anfas-white);

  border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); height: 100%;

}

.dept-card:hover { transform: translateY(-6px); box-shadow: var(--anfas-shadow-lg); }

.dept-card .dept-img { width: 100%; height: 240px; object-fit: cover; transition: transform var(--anfas-t-slow); }

.dept-card:hover .dept-img { transform: scale(1.08); }

.dept-card .dept-body { padding: 1.5rem; }

.dept-card .dept-body h4 { font-size: 1.2rem; margin-bottom: .5rem; }

.dept-card .dept-body p { font-size: .9rem; color: var(--anfas-gray-600); margin-bottom: 1rem; }



.team-card {

  background: var(--anfas-white); border-radius: var(--anfas-radius-lg); overflow: hidden;

  border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); height: 100%;

}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--anfas-shadow-lg); }

.team-card .team-img { width: 100%; height: 500px; object-fit: cover; object-position: top center; }

.team-card .team-body { padding: 1.5rem; text-align: center; }

.team-card .team-body h4 { font-size: 1.15rem; margin-bottom: .25rem; }

.team-card .team-specialty { font-size: .9rem; color: var(--anfas-taupe); font-weight: 600; margin-bottom: .75rem; }

.team-card .team-meta { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }

.team-card .team-badge { font-size: .75rem; padding: .25rem .7rem; border-radius: var(--anfas-radius-pill); background: var(--anfas-taupe-light); color: var(--anfas-taupe); }

.team-card .team-actions { display: flex; gap: .5rem; justify-content: center; }



.feature-card {

  background: var(--anfas-white); border-radius: var(--anfas-radius-lg); padding: 2rem;

  border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); height: 100%;

}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--anfas-shadow-lg); }

.feature-card .feature-icon {

  width: 56px; height: 56px; border-radius: var(--anfas-radius);

  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;

  background: var(--anfas-gold-light);

}

.feature-card .feature-icon svg { width: 28px; height: 28px; fill: var(--anfas-taupe); }

.feature-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }

.feature-card p { font-size: .9rem; color: var(--anfas-gray-600); margin: 0; }



/* Header */

.anfas-header {

  position: sticky; top: 0; z-index: 1030;

  background: rgba(255,255,255,.95); backdrop-filter: blur(20px);

  border-bottom: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t);

}

.anfas-header.scrolled { box-shadow: var(--anfas-shadow); }

.anfas-header.scrolled .anfas-nav-btn { color: var(--anfas-taupe); }

.anfas-header.transparent {

  position: fixed; top: 0; left: 0; right: 0;

  background: transparent; border-bottom: 1px solid rgba(255,255,255,.1);

}

.anfas-header.transparent .nav-link { color: #fff; }

.anfas-header.transparent .nav-link:hover { color: var(--anfas-gold); }

.anfas-header.transparent .anfas-nav-btn { color: var(--anfas-taupe); }

.anfas-header.transparent.scrolled { top: 0; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--anfas-gray-200); }

.anfas-header.transparent.scrolled .nav-link { color: var(--anfas-gray-800); }

.anfas-header.transparent.scrolled .anfas-nav-btn { color: var(--anfas-taupe); }



.navbar-brand img { height: 48px; width: auto; transition: height var(--anfas-t); }

.anfas-header.scrolled .navbar-brand img { height: 42px; }



.anfas-nav { display: flex; align-items: center; gap: .5rem; margin-left: 2rem; }

.nav-link {

  color: var(--anfas-gray-800); font-weight: 600; font-size: .92rem;

  padding: .5rem 1rem !important; border-radius: var(--anfas-radius);

  transition: all var(--anfas-t-fast); position: relative;

  display: inline-flex; align-items: center; gap: .25rem; min-height: 42px;

}

.nav-link:hover, .nav-link.active { color: var(--anfas-taupe); background: var(--anfas-taupe-light); }

.anfas-header.transparent .nav-link:hover,

.anfas-header.transparent .nav-link.active { background: rgba(255,255,255,.15); color: var(--anfas-gold); }

.anfas-header.transparent.scrolled .nav-link:hover,

.anfas-header.transparent.scrolled .nav-link.active { background: var(--anfas-taupe-light); color: var(--anfas-taupe); }



.mega-menu {

  position: fixed; top: 100%; left: 0; right: 0; background: var(--anfas-white);

  border-top: 3px solid var(--anfas-gold); box-shadow: var(--anfas-shadow-xl);

  padding: 2.5rem 0; opacity: 0; visibility: hidden; transform: translateY(10px);

  transition: all var(--anfas-t); z-index: 1020;

}

.nav-item.mega:hover .mega-menu, .nav-item.mega .mega-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-menu .mega-item { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem; border-radius: var(--anfas-radius); transition: background var(--anfas-t-fast); }

.mega-menu .mega-item:hover { background: var(--anfas-taupe-light); }

.mega-menu .mega-item .mega-icon { width: 40px; height: 40px; border-radius: var(--anfas-radius-sm); background: var(--anfas-gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.mega-menu .mega-item .mega-icon svg { width: 20px; height: 20px; fill: var(--anfas-taupe); }

.mega-menu .mega-item h5 { font-size: .95rem; margin: 0 0 .15rem; color: var(--anfas-gray-900); }

.mega-menu .mega-item p { font-size: .8rem; color: var(--anfas-gray-600); margin: 0; }



.anfas-nav-btn {

  width: 42px; height: 42px; border-radius: var(--anfas-radius); border: 1px solid var(--anfas-gray-200);

  background: transparent; color: var(--anfas-taupe); display: inline-flex; align-items: center; justify-content: center;

  cursor: pointer; transition: all var(--anfas-t-fast);

}

.anfas-nav-btn:hover { background: var(--anfas-taupe-light); color: var(--anfas-taupe); border-color: var(--anfas-taupe-light); }

.anfas-nav-btn svg { width: 20px; height: 20px; fill: var(--anfas-taupe) !important; }



.lang-switch { position: relative; }

.lang-switch .dropdown-menu { min-width: 8rem; border-radius: var(--anfas-radius); border: 1px solid var(--anfas-gray-200); box-shadow: var(--anfas-shadow); padding: .5rem; }

.lang-switch .dropdown-item { border-radius: var(--anfas-radius-sm); font-size: .88rem; padding: .5rem .75rem; }



.anfas-mobile-nav {

  position: fixed; top: 0; inset-inline-start: -100%; width: min(360px, 85vw); height: 100vh;

  background: var(--anfas-white); box-shadow: var(--anfas-shadow-xl); z-index: 1040;

  transition: inset-inline-start var(--anfas-t); overflow-y: auto; display: flex; flex-direction: column;

}

.anfas-mobile-nav.open { inset-inline-start: 0; }

.anfas-mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; border-bottom: 1px solid var(--anfas-gray-200); }

.anfas-mobile-nav-body { padding: 1rem; flex: 1; }

.anfas-mobile-nav .mobile-link { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: var(--anfas-radius); color: var(--anfas-gray-800); font-weight: 600; font-size: .95rem; transition: background var(--anfas-t-fast); }

.anfas-mobile-nav .mobile-link:hover { background: var(--anfas-taupe-light); color: var(--anfas-taupe); }

.anfas-mobile-nav .mobile-sub { list-style: none; padding: 0; margin: 0; max-height: 0; overflow: hidden; transition: max-height var(--anfas-t); }

.anfas-mobile-nav .mobile-sub.open { max-height: 500px; }

.anfas-mobile-nav .mobile-sub a { display: block; padding: .6rem 1rem .6rem 2.5rem; font-size: .9rem; color: var(--anfas-gray-600); border-radius: var(--anfas-radius-sm); transition: all var(--anfas-t-fast); }

.anfas-mobile-nav .mobile-sub a:hover { color: var(--anfas-taupe); background: var(--anfas-taupe-light); }

[dir="rtl"] .anfas-mobile-nav .mobile-sub a { padding-inline-start: 1rem; padding-inline-end: 2.5rem; }



.anfas-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1035; opacity: 0; visibility: hidden; transition: all var(--anfas-t); }

.anfas-overlay.show { opacity: 1; visibility: visible; }



/* Hero */

.anfas-hero { position: relative; min-height: 60vh; display: flex; align-items: center; overflow: hidden; padding-top: 80px; }

.anfas-hero-bg { position: absolute; inset: 0; z-index: 0; }

.anfas-hero-bg img, .anfas-hero-bg video { width: 100%; height: 100%; object-fit: cover; }

.anfas-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,28,22,.82) 0%, rgba(131,118,77,.65) 50%, rgba(252,195,79,.3) 100%); z-index: 1; }

.anfas-hero-content { position: relative; z-index: 2; padding-block: 4rem; }

.anfas-hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); padding: .5rem 1.2rem; border-radius: var(--anfas-radius-pill); margin-bottom: 1.5rem; }

.anfas-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.25rem; text-shadow: 0 2px 20px rgba(0,0,0,.2); }

.anfas-hero h1 span { color: var(--anfas-gold); }

.anfas-hero p { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 600px; margin-bottom: 2rem; line-height: 1.7; }

.anfas-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }



.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 800px; }

.hero-stat { text-align: center; padding: 1.5rem 1.25rem; background: rgba(255,255,255,.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--anfas-radius-lg); }

.hero-stat .stat-number { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; color: #fff; line-height: 1; margin-bottom: .5rem; }

.hero-stat .stat-label { font-size: .85rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .05em; }



.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.7); font-size: .8rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; animation: bounce 2s infinite; }

.hero-scroll svg { width: 24px; height: 24px; fill: currentColor; }

@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }



/* Quick Actions */

.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }

.quick-action { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--anfas-white); border-radius: var(--anfas-radius-lg); border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); text-decoration: none; }

.quick-action:hover { transform: translateY(-4px); box-shadow: var(--anfas-shadow-lg); border-color: var(--anfas-gold); }

.quick-action .qa-icon { width: 48px; height: 48px; border-radius: var(--anfas-radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Achievements */

.achievements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; }
.achievements-grid.achievements-grid-ltr { direction: ltr; }

.achievement-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; background: var(--anfas-white); border-radius: var(--anfas-radius-lg); border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); }

.achievement-item:hover { transform: translateY(-4px); box-shadow: var(--anfas-shadow-lg); border-color: var(--anfas-gold); }

.achievement-logo { width: 120px; height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

.achievement-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; margin: 0 auto; }

.achievement-item h5 { font-size: 1.1rem; font-weight: 700; color: var(--anfas-gray-900); margin: 0 0 0.5rem 0; text-align: center; }

.achievement-item p { font-size: 0.85rem; color: var(--anfas-gray-600); margin: 0; line-height: 1.5; text-align: center; }

/* Use English/Latin font for certification card text so digits stay Latin on /ar */
.achievements-grid .achievement-item h5,
.achievements-grid .achievement-item p { font-family: var(--anfas-font-en); }

.quick-action .qa-icon svg { width: 24px; height: 24px; fill: currentColor; }

.quick-action .qa-text h5 { font-size: .95rem; margin: 0 0 .1rem; color: var(--anfas-gray-900); }

.quick-action .qa-text p { font-size: .8rem; margin: 0; color: var(--anfas-gray-600); }



/* Timeline */

.timeline { position: relative; padding-block: 1rem; }

.timeline::before { content: ''; position: absolute; inset-inline-start: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--anfas-taupe), var(--anfas-gold)); transform: translateX(-50%); }

[dir="rtl"] .timeline::before { transform: translateX(50%); }

.timeline-item { position: relative; width: 50%; padding: 1.5rem 2rem; }

.timeline-item:nth-child(odd) { margin-inline-start: 0; text-align: end; }

.timeline-item:nth-child(even) { margin-inline-start: 50%; text-align: start; }

.timeline-item .timeline-dot { position: absolute; top: 1.8rem; width: 20px; height: 20px; border-radius: 50%; background: var(--anfas-white); border: 4px solid var(--anfas-gold); z-index: 1; }

.timeline-item:nth-child(odd) .timeline-dot { inset-inline-end: -10px; }

.timeline-item:nth-child(even) .timeline-dot { inset-inline-start: -10px; }

.timeline-item .timeline-content { background: var(--anfas-white); border-radius: var(--anfas-radius-lg); padding: 1.5rem; border: 1px solid var(--anfas-gray-200); box-shadow: var(--anfas-shadow-sm); transition: all var(--anfas-t); }

.timeline-item .timeline-content:hover { box-shadow: var(--anfas-shadow-lg); transform: translateY(-3px); }

.timeline-item .timeline-step { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--anfas-taupe); margin-bottom: .5rem; }

.timeline-item h4 { font-size: 1.1rem; margin-bottom: .5rem; }

.timeline-item p { font-size: .88rem; color: var(--anfas-gray-600); margin: 0; }

@media (max-width: 768px) {

  .timeline::before { inset-inline-start: 20px; }

  .timeline-item { width: 100%; padding-inline-start: 3.5rem; text-align: start !important; margin-inline-start: 0 !important; }

  .timeline-item .timeline-dot { inset-inline-start: 10px !important; inset-inline-end: auto !important; }

  [dir="rtl"] .timeline::before { inset-inline-start: 20px; }

  [dir="rtl"] .timeline-item { padding-inline-start: 3.5rem; padding-inline-end: 0; }

}



/* Testimonials */

.testimonial-card { background: var(--anfas-white); border-radius: var(--anfas-radius-lg); padding: 2rem; border: 1px solid var(--anfas-gray-200); box-shadow: var(--anfas-shadow-sm); height: 100%; display: flex; flex-direction: column; }

.testimonial-card .testimonial-stars { color: var(--anfas-gold); margin-bottom: 1rem; font-size: 1.1rem; }

.testimonial-card .testimonial-text { font-size: 1rem; color: var(--anfas-gray-700); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; flex-grow: 1; }

.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }

.testimonial-card .testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

.testimonial-card .testimonial-author h5 { font-size: .95rem; margin: 0; }

.testimonial-card .testimonial-author .verified { font-size: .78rem; color: var(--anfas-taupe); display: inline-flex; align-items: center; gap: .25rem; }

.testimonial-card .testimonial-author .verified svg { width: 14px; height: 14px; fill: currentColor; }

.testimonial-dot.active { background: var(--anfas-primary) !important; }
.testimonial-dot { background: #cbd5e1 !important; }



/* Stats */

.stats-section { background: linear-gradient(135deg, var(--anfas-taupe) 0%, var(--anfas-taupe-dark) 100%); color: #fff; position: relative; overflow: hidden; }

.stats-section::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,.08)"/></svg>'); }

.stat-counter { text-align: center; padding: 1.5rem; }

.stat-counter .counter-number { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: #fff; line-height: 1; margin-bottom: .5rem; }

.stat-counter .counter-suffix { color: var(--anfas-gold); }

.stat-counter .counter-label { font-size: .95rem; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .08em; }



/* Articles */

.article-card { background: var(--anfas-white); border-radius: var(--anfas-radius-lg); overflow: hidden; border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); height: 100%; }

.article-card:hover { transform: translateY(-6px); box-shadow: var(--anfas-shadow-lg); }

.article-card .article-img { width: 100%; height: 220px; object-fit: cover; transition: transform var(--anfas-t-slow); }

.article-card:hover .article-img { transform: scale(1.08); }

.article-card .article-body { padding: 1.5rem; }

.article-card .article-date { font-size: .78rem; color: var(--anfas-gray-500); display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .75rem; }

.article-card .article-category { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--anfas-taupe); background: var(--anfas-taupe-light); padding: .25rem .7rem; border-radius: var(--anfas-radius-pill); margin-bottom: .75rem; }

.article-card h4 { font-size: 1.1rem; margin-bottom: .5rem; line-height: 1.4; }

.article-card p { font-size: .88rem; color: var(--anfas-gray-600); margin-bottom: 1rem; }



/* CTA */

.cta-section { background: linear-gradient(135deg, var(--anfas-taupe) 0%, var(--anfas-taupe-dark) 100%); border-radius: var(--anfas-radius-xl); padding: clamp(2.5rem, 5vw, 4rem); color: #fff; position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; border-radius: 50%; background: rgba(252,195,79,.08); }

.cta-section::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(252,195,79,.08); }

.cta-section > * { position: relative; z-index: 1; }

.cta-section h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }

.cta-section p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 0; }



/* Service Categories */

.service-categories-wrapper { margin-top: 2rem; }

.category-tabs {

  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;

  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--anfas-gray-200);

}

.category-tab {

  padding: 0.6rem 1.2rem; border-radius: var(--anfas-radius-pill); border: 2px solid var(--anfas-gray-200);

  background: var(--anfas-white); color: var(--anfas-gray-700); font-weight: 600; font-size: 0.9rem;

  cursor: pointer; transition: all var(--anfas-t);

}

.category-tab:hover { background: var(--anfas-taupe-light); color: var(--anfas-taupe); border-color: var(--anfas-taupe-light); }

.category-tab.active { background: var(--anfas-taupe); color: #fff; border-color: var(--anfas-taupe); }



.service-category-section { animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }



.category-header {

  display: flex; align-items: center; justify-content: space-between;

  padding: 1rem 1.5rem; background: var(--anfas-taupe-light); border-radius: var(--anfas-radius-lg);

  margin-bottom: 1.5rem; border-left: 4px solid var(--anfas-taupe);

}

.category-title { font-size: 1.3rem; font-weight: 700; color: var(--anfas-taupe); margin: 0; }

.service-count { font-size: 0.85rem; color: var(--anfas-gray-600); font-weight: 500; background: var(--anfas-white); padding: 0.3rem 0.8rem; border-radius: var(--anfas-radius-pill); }



.services-list { display: grid; gap: 0.75rem; }

.service-item {

  display: flex; align-items: center; justify-content: space-between;

  padding: 1rem 1.5rem; background: var(--anfas-white); border-radius: var(--anfas-radius);

  border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t);

}

.service-item:hover {

  border-color: var(--anfas-taupe); box-shadow: var(--anfas-shadow-md);

  transform: translateX(5px);

}

.service-info { flex: 1; padding-right: 1rem; }

.service-name { font-size: 1rem; font-weight: 600; color: var(--anfas-gray-900); margin: 0; line-height: 1.4; }

.service-price { flex-shrink: 0; }

.price-badge {

  display: inline-block; padding: 0.5rem 1rem; background: var(--anfas-gold-light);

  color: var(--anfas-gold-dark); font-weight: 700; font-size: 0.95rem;

  border-radius: var(--anfas-radius-pill); border: 1px solid var(--anfas-gold);

}



@media (max-width: 768px) {

  .category-tabs { flex-direction: column; align-items: stretch; }

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

  .service-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .service-info { padding-right: 0; }

  .service-price { width: 100%; }

  .price-badge { display: block; text-align: center; }

}



/* Footer */

.anfas-footer { background: var(--anfas-dark); color: rgba(255,255,255,.7); padding-top: 4rem; }

.anfas-footer h5 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: .05em; }

.anfas-footer .footer-links { list-style: none; padding: 0; margin: 0; }

.anfas-footer .footer-links li { margin-bottom: .6rem; }

.anfas-footer .footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; transition: all var(--anfas-t-fast); display: inline-flex; align-items: center; gap: .4rem; }

.anfas-footer .footer-links a:hover { color: var(--anfas-gold); padding-inline-start: .3rem; }

.anfas-footer .footer-social a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--anfas-radius-sm); background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); transition: all var(--anfas-t-fast); }

.anfas-footer .footer-social a:hover { background: var(--anfas-gold); color: var(--anfas-dark); transform: translateY(-2px); }

.anfas-footer .footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.anfas-footer .footer-newsletter input { border-radius: var(--anfas-radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; }

.anfas-footer .footer-newsletter input::placeholder { color: rgba(255,255,255,.4); }

.anfas-footer .footer-newsletter input:focus { background: rgba(255,255,255,.08); border-color: var(--anfas-gold); box-shadow: none; }

.anfas-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; margin-top: 3rem; font-size: .85rem; }

.anfas-footer .footer-bottom a { color: rgba(255,255,255,.6); }

.anfas-footer .footer-bottom a:hover { color: var(--anfas-gold); }

.anfas-footer .footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; font-size: .9rem; }

.anfas-footer .footer-contact-item svg { width: 18px; height: 18px; fill: var(--anfas-gold); flex-shrink: 0; margin-top: 2px; }



/* Page Banner */

.page-banner { position: relative; min-height: 320px; display: flex; align-items: center; padding-top: 100px; overflow: hidden; }

.page-banner-bg { position: absolute; inset: 0; z-index: 0; }

.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(31,28,22,.88) 0%, rgba(131,118,77,.75) 100%); z-index: 1; }

.page-banner-content { position: relative; z-index: 2; padding: 2rem 0; }

.page-banner h1 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: .5rem; }

.page-banner .breadcrumb { background: transparent; padding: 0; margin: 0; }

.page-banner .breadcrumb-item a { color: rgba(255,255,255,.8); }

.page-banner .breadcrumb-item.active { color: #fff; }

.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }



/* Badges */

.anfas-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: var(--anfas-radius-pill); }

.anfas-badge-primary { background: var(--anfas-taupe-light); color: var(--anfas-taupe); }

.anfas-badge-gold { background: var(--anfas-gold-light); color: var(--anfas-taupe-dark); }

.anfas-badge-success { background: var(--anfas-success-light); color: var(--anfas-success); }

.anfas-badge-warning { background: var(--anfas-warning-light); color: var(--anfas-warning); }



/* Accordion */

.anfas-accordion .accordion-item { border: 1px solid var(--anfas-gray-200); border-radius: var(--anfas-radius) !important; overflow: hidden; margin-bottom: .75rem; background: var(--anfas-white); }

.anfas-accordion .accordion-button { font-weight: 600; font-size: .95rem; padding: 1rem 1.25rem; background: var(--anfas-white); color: var(--anfas-gray-900); }

.anfas-accordion .accordion-button:not(.collapsed) { background: var(--anfas-taupe-light); color: var(--anfas-taupe); box-shadow: none; }

.anfas-accordion .accordion-button:focus { border-color: var(--anfas-taupe-light); box-shadow: none; }

.anfas-accordion .accordion-body { padding: 1.25rem; font-size: .9rem; color: var(--anfas-gray-600); }



/* Forms */

.anfas-form .form-control, .anfas-form .form-select { border-radius: var(--anfas-radius); border: 1px solid var(--anfas-gray-300); padding: .75rem 1rem; font-size: .92rem; background: var(--anfas-white); color: var(--anfas-gray-900); transition: all var(--anfas-t-fast); }

.anfas-form .form-control:focus, .anfas-form .form-select:focus { border-color: var(--anfas-taupe); box-shadow: 0 0 0 4px rgba(131,118,77,.1); }

.anfas-form .form-label { font-weight: 600; font-size: .88rem; color: var(--anfas-gray-700); margin-bottom: .4rem; }



/* Partners */

.partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; align-items: center; }

.partner-logo { display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--anfas-white); border-radius: var(--anfas-radius); border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t); min-height: 100px; }

.partner-logo:hover { box-shadow: var(--anfas-shadow); transform: translateY(-2px); }

.partner-logo img { max-height: 50px; width: auto; filter: grayscale(100%); opacity: .6; transition: all var(--anfas-t); }

.partner-logo:hover img { filter: grayscale(0); opacity: 1; }



/* Floating Actions */

.floating-actions { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000; display: none; flex-direction: column; gap: .75rem; }

[dir="rtl"] .floating-actions { right: auto; left: 1.5rem; }

.floating-action-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--anfas-shadow-lg); transition: all var(--anfas-t); position: relative; }

.floating-action-btn:hover { transform: scale(1.1); color: #fff; }

.floating-action-btn svg { width: 24px; height: 24px; fill: currentColor; }

.fa-call { background: var(--anfas-taupe); }

.fa-whatsapp { background: var(--anfas-gold); color: var(--anfas-dark); }

.fa-appointment { background: var(--anfas-taupe-dark); }

.floating-action-btn .fa-label { position: absolute; inset-inline-end: 100%; margin-inline-end: .5rem; background: var(--anfas-dark); color: #fff; padding: .3rem .7rem; border-radius: var(--anfas-radius-sm); font-size: .78rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--anfas-t-fast); }

.floating-action-btn:hover .fa-label { opacity: 1; }

@media (max-width: 992px) { .floating-actions { display: flex; } }



/* Animations */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes scaleIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }

@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }



.anfas-animate { opacity: 0; }

.anfas-animate.a-fade-up { animation: fadeInUp .7s cubic-bezier(.4,0,.2,1) forwards; }

.anfas-animate.a-fade { animation: fadeIn .7s ease forwards; }

.anfas-animate.a-scale { animation: scaleIn .6s cubic-bezier(.4,0,.2,1) forwards; }

.anfas-animate.a-slide-left { animation: slideInLeft .7s cubic-bezier(.4,0,.2,1) forwards; }

.anfas-animate.a-slide-right { animation: slideInRight .7s cubic-bezier(.4,0,.2,1) forwards; }

.anfas-animate[data-delay="1"] { animation-delay: .1s; }

.anfas-animate[data-delay="2"] { animation-delay: .2s; }

.anfas-animate[data-delay="3"] { animation-delay: .3s; }

.anfas-animate[data-delay="4"] { animation-delay: .4s; }

.anfas-animate[data-delay="5"] { animation-delay: .5s; }

.anfas-animate[data-delay="6"] { animation-delay: .6s; }



/* Misc */

.glass-card { background: rgba(255,255,255,.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--anfas-radius-lg); padding: 2rem; }

.emergency-banner { background: linear-gradient(135deg, var(--anfas-error) 0%, #d32f2f 100%); color: #fff; border-radius: var(--anfas-radius-lg); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.emergency-banner .emergency-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.emergency-banner .emergency-icon svg { width: 24px; height: 24px; fill: #fff; }

.emergency-banner h4 { color: #fff; margin: 0; font-size: 1.1rem; }

.emergency-banner p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.9); }

.emergency-banner .emergency-number { font-size: 1.5rem; font-weight: 900; color: #fff; text-decoration: none; }



.anfas-tabs .nav-tabs { border: none; gap: .5rem; flex-wrap: wrap; }

.anfas-tabs .nav-link { border: none; border-radius: var(--anfas-radius-pill); padding: .6rem 1.5rem; font-weight: 600; font-size: .9rem; color: var(--anfas-gray-600); background: var(--anfas-gray-100); transition: all var(--anfas-t-fast); }

.anfas-tabs .nav-link:hover { color: var(--anfas-taupe); }

.anfas-tabs .nav-link.active { background: var(--anfas-taupe); color: #fff; }



.achievement-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--anfas-radius); background: var(--anfas-white); border: 1px solid var(--anfas-gray-200); transition: all var(--anfas-t-fast); }

.achievement-item:hover { box-shadow: var(--anfas-shadow); }

.achievement-item .achievement-icon { width: 48px; height: 48px; border-radius: var(--anfas-radius-sm); background: var(--anfas-gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.achievement-item .achievement-icon svg { width: 24px; height: 24px; fill: var(--anfas-taupe); }

.achievement-item h5 { font-size: .9rem; margin: 0; }

.achievement-item p { font-size: .8rem; margin: 0; color: var(--anfas-gray-600); }



.skeleton { background: linear-gradient(90deg, var(--anfas-gray-100) 25%, var(--anfas-gray-200) 50%, var(--anfas-gray-100) 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: var(--anfas-radius-sm); }

@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@keyframes patternMove { 0% { background-position: 0 0; } 100% { background-position: 80px 80px; } }



.search-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); z-index: 1050; display: none; align-items: flex-start; justify-content: center; padding-top: 15vh; }

.search-modal-overlay.show { display: flex; animation: fadeIn .3s; }

.search-modal-box { width: min(700px, 90vw); background: var(--anfas-white); border-radius: var(--anfas-radius-lg); box-shadow: var(--anfas-shadow-xl); padding: 2rem; }

.search-modal-box input { width: 100%; border: none; border-bottom: 2px solid var(--anfas-gray-300); font-size: 1.5rem; padding: .75rem 0; background: transparent; color: var(--anfas-gray-900); outline: none; }

.search-modal-box input:focus { border-bottom-color: var(--anfas-taupe); }



/* RTL */

[dir="rtl"] .ms-auto { margin-inline-start: auto !important; margin-inline-end: 0 !important; }

[dir="rtl"] .me-auto { margin-inline-end: auto !important; margin-inline-start: 0 !important; }

[dir="rtl"] .text-start { text-align: right !important; }

[dir="rtl"] .text-end { text-align: left !important; }

[dir="rtl"] .text-lg-end { text-align: left !important; }

[dir="rtl"] .float-start { float: right !important; }

[dir="rtl"] .float-end { float: left !important; }
[dir="rtl"] .bi-arrow-right { transform: scaleX(-1); }
[dir="rtl"] .bi-box-arrow-in-right { transform: scaleX(-1); }
[dir="rtl"] .bi-chevron-right { transform: scaleX(-1); }
[dir="rtl"] .btn-anfas-outline .bi-arrow-left { transform: scaleX(-1); }



/* Responsive */

@media (max-width: 991.98px) { .anfas-nav { display: none; } .mega-menu { display: none; } }



/* Homecare Service Items */

.homecare-service-item {

  background: var(--anfas-white);

  border-color: var(--anfas-gray-200) !important;

  transition: all 0.3s ease;

  text-decoration: none;

  color: inherit;

}



.homecare-service-item:hover {

  border-color: var(--anfas-taupe) !important;

  box-shadow: 0 4px 12px rgba(131, 118, 77, 0.15);

  transform: translateY(-2px);

}



.homecare-service-item h6 {

  font-weight: 600;

  color: var(--anfas-gray-900);

  margin-bottom: 4px;

}



.homecare-service-item .small.text-muted {

  font-size: 1.1rem !important;

  font-weight: 700;

  color: var(--anfas-taupe) !important;

  background: var(--anfas-gold-light);

  padding: 4px 12px;

  border-radius: 20px;

  display: inline-block;

  margin-top: 4px;

}



.homecare-service-item img {

  object-fit: cover;

  border-radius: 8px;

}



/* Homecare Price Cards */

.homecare-price-card {

  border: 1px solid var(--anfas-gray-200);

  border-radius: 12px;

  overflow: hidden;

  transition: all 0.3s ease;

  background: var(--anfas-white);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

}

.homecare-price-card:hover {

  transform: translateY(-8px);

  box-shadow: 0 12px 24px rgba(131, 118, 77, 0.2);

  border-color: var(--anfas-gold);

}

.homecare-price-card .card-img-top {

  position: relative;

}

.homecare-price-card .card-body {

  padding: 1.5rem;

}

.homecare-price-card .card-title {

  font-size: 1.25rem;

  font-weight: 600;

  color: var(--anfas-taupe);

  margin-bottom: 0.75rem;

}

.homecare-price-card .card-text {

  font-size: 0.95rem;

  margin-bottom: 1rem;

  line-height: 1.5;

}

.homecare-price-card .price-tag {

  display: inline-flex;

  align-items: baseline;

  gap: 0.25rem;

  padding: 0.5rem 1rem;

  background: linear-gradient(135deg, var(--anfas-gold) 0%, #f5b942 100%);

  border-radius: 50px;

  font-weight: 700;

}

.homecare-price-card .price-amount {

  font-size: 1.5rem;

  color: var(--anfas-taupe);

}

.homecare-price-card .price-unit {

  font-size: 0.875rem;

  color: var(--anfas-taupe);

  opacity: 0.8;

}



#servicesTabs .nav-link {

  color: var(--anfas-gray-700);

  padding: 12px 16px;

  margin-bottom: 4px;

  border-radius: 8px;

  text-align: left;

  font-weight: 500;

  background: var(--anfas-white);

  border: 1px solid var(--anfas-gray-200);

}



#servicesTabs .nav-link:hover {

  background: var(--anfas-gray-100);

  color: var(--anfas-taupe);

}



#servicesTabs .nav-link.active {

  background: var(--anfas-taupe);

  color: var(--anfas-white);

  border-color: var(--anfas-taupe);

}

@media (max-width: 768px) { .anfas-hero { min-height: 50vh; } .hero-stats { grid-template-columns: repeat(2, 1fr); } .quick-actions { grid-template-columns: repeat(2, 1fr); } .cta-section { text-align: center; } .timeline-item { padding: 1rem; } }

@media (max-width: 480px) { .hero-stats { grid-template-columns: 1fr; } .quick-actions { grid-template-columns: 1fr; } .anfas-hero-actions { flex-direction: column; } .anfas-hero-actions .btn { width: 100%; } }



@media print { .anfas-header, .anfas-footer, .floating-actions { display: none; } body { background: #fff; color: #000; } }
