/* ===== CSS VARIABLES ===== */
:root {
  --navy: #1a3a5c;
  --navy-light: #254d7a;
  --blue: #4a9fd4;
  --blue-light: #e8f4fc;
  --gold: #c9a96e;
  --gold-light: #f5ead8;
  --bg: #f8f5f2;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --text: #1f2937;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --shadow: 0 4px 24px rgba(26,58,92,0.10);
  --shadow-lg: 0 8px 40px rgba(26,58,92,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { color: var(--gray); font-size: 1rem; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag { display: inline-block; background: var(--blue-light); color: var(--blue); font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 14px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 540px; margin: 0 auto; font-size: 1.05rem; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-navy { background: var(--navy); }
.bg-blue-light { background: var(--blue-light); }
.bg-white { background: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.hidden { display: none !important; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #b8956a; transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gold-light); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 12px rgba(26,58,92,0.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo .logo-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.navbar-logo .logo-text { line-height: 1.2; }
.navbar-logo .logo-text strong { display: block; font-size: 1rem; color: var(--navy); font-weight: 700; }
.navbar-logo .logo-text span { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.5px; }
.navbar-nav { display: flex; align-items: center; gap: 6px; }
.navbar-nav a { padding: 8px 12px; font-size: 0.9rem; font-weight: 500; color: var(--text); border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--blue); background: var(--blue-light); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 280px; padding: 8px; display: none; z-index: 100; border: 1px solid var(--border); }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; font-size: 0.88rem; border-radius: var(--radius-sm); color: var(--text); }
.dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background var(--transition); }
.footer-social a:hover { background: var(--blue); }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer ul li a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 12px; align-items: flex-start; }
.footer-contact li .icon { margin-top: 2px; color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 48px; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--gold); }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a5276 100%); position: relative; overflow: hidden; padding: 100px 0; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(74,159,212,0.2) 0%, transparent 70%); }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,169,110,0.15) 0%, transparent 70%); }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text .tag { background: rgba(201,169,110,0.2); color: var(--gold); border: 1px solid rgba(201,169,110,0.4); display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero-text h1 { color: var(--white); margin-bottom: 20px; }
.hero-text h1 span { color: var(--gold); }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card { background: rgba(255,255,255,0.07); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 32px; text-align: center; }
.hero-card .doctor-avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--blue) 0%, var(--navy-light) 100%); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 3rem; border: 3px solid var(--gold); }
.hero-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.hero-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.hero-card .qualifications { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.hero-card .qualifications span { background: rgba(201,169,110,0.2); color: var(--gold); border: 1px solid rgba(201,169,110,0.3); font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; }
.hero-badge { position: absolute; bottom: -16px; right: -16px; background: var(--white); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; }
.hero-badge .icon { width: 36px; height: 36px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 1rem; }
.hero-badge strong { display: block; font-size: 0.9rem; color: var(--navy); }
.hero-badge span { font-size: 0.75rem; color: var(--gray); }

/* ===== HOME HERO IMAGE SLIDER ===== */
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.active { opacity: 1; }
.hero-slider-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,25,43,0.88) 0%, rgba(13,32,53,0.70) 35%, rgba(16,42,66,0.42) 62%, rgba(16,42,66,0.24) 100%); }
@media (max-width: 900px) {
  .hero-slider-overlay { background: linear-gradient(180deg, rgba(10,25,43,0.82) 0%, rgba(10,25,43,0.62) 45%, rgba(10,25,43,0.75) 100%); }
}
.hero-text .hero-slide-caption { color: var(--gold); font-weight: 600; font-size: 1rem; margin-bottom: 10px; min-height: 1.4em; transition: opacity 0.35s ease; }
.hero-text .hero-slide-caption.is-fading { opacity: 0; }
.hero-slider-dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.hero-slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; padding: 0; transition: all var(--transition); }
.hero-slider-dots button.active { background: var(--gold); width: 26px; border-radius: 5px; }
.hero-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all var(--transition); }
.hero-slider-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-slider-arrow.prev { left: 20px; }
.hero-slider-arrow.next { right: 20px; }
@media (max-width: 768px) { .hero-slider-arrow { display: none; } }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: all var(--transition); border: 1px solid var(--border); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card { text-align: center; cursor: pointer; }
.service-card .icon-wrap { width: 72px; height: 72px; background: var(--blue-light); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; transition: all var(--transition); }
.service-card:hover .icon-wrap { background: var(--blue); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; margin-bottom: 16px; }
.service-card .arrow { color: var(--blue); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--navy); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-item strong { display: block; font-size: 2.5rem; font-weight: 700; color: var(--gold); }
.stat-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin-top: 4px; display: block; }

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.testimonial-card .stars { color: var(--gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial-card .quote { font-style: italic; color: var(--text); margin-bottom: 16px; line-height: 1.7; }
.testimonial-card .patient { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar { width: 44px; height: 44px; background: var(--blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.testimonial-card .name { font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.testimonial-card .procedure { font-size: 0.8rem; color: var(--gray); }

/* ===== BEFORE/AFTER ===== */
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius); cursor: ew-resize; user-select: none; }
.ba-slider .ba-before, .ba-slider .ba-after { width: 100%; height: 320px; object-fit: cover; display: block; pointer-events: none; }
.ba-slider .ba-after { position: absolute; top: 0; left: 0; clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; left: 50%; height: 100%; width: 3px; background: var(--white); cursor: ew-resize; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.ba-handle::before { content: '\276E \276F'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; background: var(--white); border-radius: 50%; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; letter-spacing: 3px; color: var(--navy); }
.ba-label { position: absolute; top: 12px; padding: 4px 10px; background: rgba(0,0,0,0.5); color: var(--white); font-size: 0.75rem; border-radius: 999px; font-weight: 600; }
.ba-label.before { left: 12px; }
.ba-label.after { right: 12px; }

/* ===== VIDEO CARD ===== */
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-thumb { position: relative; padding-bottom: 56.25%; background: var(--navy); }
.video-thumb iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-thumb .play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(26,58,92,0.4); cursor: pointer; transition: background var(--transition); }
.video-thumb .play-overlay:hover { background: rgba(26,58,92,0.2); }
.play-btn { width: 64px; height: 64px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-lg); }
.video-card .video-info { padding: 20px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: #fafcff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-group.span-2 { grid-column: span 2; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 32px; right: 32px; background: var(--white); border-radius: var(--radius); padding: 16px 24px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all var(--transition); border-left: 4px solid var(--success); max-width: 360px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-left-color: var(--error); }
.toast-icon { font-size: 1.2rem; }
.toast-msg strong { display: block; font-size: 0.95rem; color: var(--navy); }
.toast-msg span { font-size: 0.85rem; color: var(--gray); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 64px 0; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; font-size: 0.85rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--gold); }

/* ===== BLOG CARDS ===== */
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); cursor: pointer; border: 1px solid var(--border); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card .blog-img { height: 200px; overflow: hidden; position: relative; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-card .blog-type { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.blog-type.text { background: var(--blue); color: var(--white); }
.blog-type.video { background: #e74c3c; color: var(--white); }
.blog-type.poster { background: var(--gold); color: var(--white); }
.blog-card .blog-body { padding: 20px; }
.blog-card .blog-body h3 { font-size: 1rem; margin-bottom: 8px; }
.blog-card .blog-body p { font-size: 0.875rem; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--gray); }

/* ===== CAREERS ===== */
.job-card { background: var(--white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); border: 1px solid var(--border); display: flex; align-items: flex-start; gap: 20px; transition: all var(--transition); }
.job-card:hover { border-color: var(--blue); transform: translateX(4px); }
.job-icon { width: 56px; height: 56px; background: var(--blue-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.job-details { flex: 1; }
.media-link-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; text-decoration: none; }
.media-link-card:hover { border-color: var(--blue); }
.media-link-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.media-link-outlet { display: block; color: var(--navy); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.media-link-headline { color: var(--text); font-size: 0.87rem; line-height: 1.5; margin-bottom: 8px; }
.media-link-cta { color: var(--blue); font-weight: 600; font-size: 0.82rem; }
.lightbox-overlay { position: fixed; inset: 0; background: rgba(10,20,30,0.9); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 32px; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); cursor: zoom-out; }
.lightbox-close { position: absolute; top: 24px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px solid rgba(255,255,255,0.25); transition: background var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.job-details h3 { margin-bottom: 6px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.job-tag { background: var(--gray-light); color: var(--gray); font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; }
.job-tag.highlight { background: var(--blue-light); color: var(--blue); }

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder { background: var(--gray-light); border-radius: var(--radius); height: 350px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--gray); border: 2px dashed var(--border); }
.map-placeholder .icon { font-size: 3rem; }

/* ===== ADMIN ===== */
.admin-layout { min-height: 100vh; display: flex; flex-direction: column; background: #f0f4f8; }
.admin-header { background: var(--navy); padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.admin-header .logo { color: var(--white); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.admin-header .logo span { color: var(--gold); }
.admin-body { display: flex; flex: 1; }
.admin-sidebar { width: 240px; background: var(--white); border-right: 1px solid var(--border); padding: 24px 0; flex-shrink: 0; }
.admin-sidebar .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; font-size: 0.9rem; font-weight: 500; color: var(--gray); cursor: pointer; transition: all var(--transition); border-left: 3px solid transparent; }
.admin-sidebar .nav-item:hover { background: var(--blue-light); color: var(--blue); }
.admin-sidebar .nav-item.active { background: var(--blue-light); color: var(--blue); border-left-color: var(--blue); }
.admin-main { flex: 1; padding: 32px; overflow-y: auto; }
.admin-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.admin-card h3 { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.admin-stat { background: var(--white); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.admin-stat strong { font-size: 2rem; color: var(--navy); display: block; }
.admin-stat span { font-size: 0.85rem; color: var(--gray); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { background: var(--gray-light); padding: 10px 14px; text-align: left; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); border-bottom: 1px solid var(--border); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }
.status-badge { padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.status-badge.Pending { background: #fef3c7; color: #d97706; }
.status-badge.Confirmed { background: #d1fae5; color: #059669; }
.status-badge.Completed { background: var(--blue-light); color: var(--blue); }
.status-badge.Cancelled { background: #fee2e2; color: var(--error); }
.login-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.login-box { background: var(--white); border-radius: var(--radius); padding: 48px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); text-align: center; }
.login-box .logo-big { font-size: 3rem; margin-bottom: 16px; }
.login-box h2 { margin-bottom: 6px; }
.login-box .sub { font-size: 0.9rem; color: var(--gray); margin-bottom: 32px; }

/* ===== SERVICE DETAIL PAGE ===== */
.service-detail .overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-detail .overview-img { border-radius: var(--radius); overflow: hidden; height: 400px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.info-list li:last-child { border-bottom: none; }
.info-list li .check { color: var(--success); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; }
.process-step .step-num { width: 48px; height: 48px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; margin: 0 auto 12px; }
.process-step h4 { font-size: 0.95rem; margin-bottom: 6px; }
.process-step p { font-size: 0.83rem; }
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: var(--radius); padding: 56px; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; }

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tab { padding: 8px 20px; border-radius: 999px; border: 2px solid var(--border); font-size: 0.88rem; font-weight: 600; cursor: pointer; color: var(--gray); background: var(--white); transition: all var(--transition); }
.filter-tab.active, .filter-tab:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 16px 24px; }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .navbar-nav, .navbar-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: span 1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .service-detail .overview-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 64px 0; }
  .ba-slider .ba-before, .ba-slider .ba-after { height: 220px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
