/* ============================================================
   SMILE BABY v2 — Page-Specific Styles
   ============================================================ */

/* ── Services Page ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.service-detail-hero {
  position: relative;
  padding: var(--sp-16) 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.service-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-10);
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.service-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-6);
}

.service-sidebar-card h4 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--line);
}

.service-sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  font-size: var(--fs-sm);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: var(--transition-fast);
}

.service-sidebar-link:last-child {
  border-bottom: none;
}

.service-sidebar-link:hover {
  color: var(--primary);
  padding-left: var(--sp-2);
}

.service-sidebar-link.active {
  color: var(--primary);
  font-weight: var(--fw-semibold);
}

/* Price table */
.price-table {
  width: 100%;
  margin: var(--sp-6) 0;
}

.price-table th,
.price-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.price-table th {
  background: var(--cream);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.price-table tr:hover td {
  background: var(--primary-bg);
}

.price-table .price {
  font-weight: var(--fw-semibold);
  color: var(--primary);
}

/* ── Doctors Page ─────────────────────────────────────── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.doctor-detail {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.doctor-detail-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.doctor-detail-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.doctor-detail-info h1 {
  font-size: var(--fs-3xl);
}

.doctor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.doctor-schedule {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
}

.doctor-schedule h3 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  margin-bottom: var(--sp-4);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-day {
  font-weight: var(--fw-medium);
  color: var(--ink);
}

.schedule-time {
  color: var(--primary);
  font-weight: var(--fw-medium);
}

/* ── Laboratory Page ──────────────────────────────────── */
.lab-tabs {
  display: flex;
  gap: var(--sp-1);
  background: var(--cream);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: var(--sp-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.lab-tab {
  flex: 1;
  padding: 10px 20px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-soft);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  background: none;
  border: none;
}

.lab-tab:hover {
  color: var(--ink);
}

.lab-tab.active {
  background: var(--white);
  color: var(--primary);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-sm);
}

.lab-content {
  display: none;
}

.lab-content.active {
  display: block;
  animation: fadeIn var(--duration-base) var(--ease-default);
}

.lab-test-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.lab-test-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.lab-test-item:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.lab-test-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
}

.lab-test-price {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--primary);
}

.lab-test-time {
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

/* ── About Page ───────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-10);
  padding-left: var(--sp-8);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 1;
}

.timeline-year {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--sp-2);
}

.timeline-item h3 {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.timeline-item p {
  font-size: var(--fs-sm);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--duration-base) var(--ease-default);
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.gallery-item .gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform var(--duration-base) var(--ease-bounce);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover .gallery-zoom {
  transform: translate(-50%, -50%) scale(1);
}

/* Values / Mission cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  border-top: 3px solid transparent;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-top-color: var(--primary);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 1.5rem;
  color: var(--primary);
}

.value-card h3 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

/* Team counter section */
.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  text-align: center;
}

/* ── Contact Page ─────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #FFFFFF;
  padding: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.contact-hero h1 {
  color: #FFFFFF;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
}

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: calc(-1 * var(--sp-12));
  position: relative;
  z-index: 1;
}

.contact-full-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  box-shadow: var(--shadow-lg);
}

.contact-full-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

/* ── Blog Listing ─────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-10);
}

.blog-sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--sp-6);
}

.blog-sidebar-widget h4 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--line);
}

.blog-search {
  position: relative;
}

.blog-search input {
  padding-right: 44px;
}

.blog-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.blog-search button:hover {
  background: var(--primary-dark);
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--cream);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--ink-soft);
  margin: 0 var(--sp-1) var(--sp-2) 0;
  transition: var(--transition-fast);
}

.blog-tag:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* Blog Post */
.blog-post-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: var(--sp-6);
}

.blog-post-cover {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--sp-10);
  box-shadow: var(--shadow-lg);
}

.blog-post-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.blog-post-body {
  max-width: 760px;
  margin: 0 auto;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-10);
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink);
  transition: var(--transition-fast);
}

.pagination-link:hover {
  background: var(--cream);
  color: var(--primary);
}

.pagination-link.active {
  background: var(--primary);
  color: #FFFFFF;
}

.pagination-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── FAQ Page ─────────────────────────────────────────── */
.faq-page-layout {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category-title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--primary);
  margin-bottom: var(--sp-4);
  margin-top: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.faq-category-title:first-child {
  margin-top: 0;
}

/* ── 404 Page ─────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-12);
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: var(--fw-bold);
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--sp-4);
  opacity: 0.2;
}

.error-page h1 {
  font-size: var(--fs-3xl);
}

.error-page p {
  font-size: var(--fs-lg);
  max-width: 500px;
  margin: 0 auto var(--sp-8);
}


/* ============================================================
   INDEX.PHP EXTRACTED STYLES
   ============================================================ */
.hero { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; padding: 120px 0 160px; color: white; overflow: hidden; min-height: 650px; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.4); }
.hero-inner-card { position: relative; z-index: 6; max-width: 650px; background: rgba(15, 23, 42, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12); padding: 45px 50px; border-radius: 24px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(21, 160, 74, 0.25); border: 1px solid rgba(21, 160, 74, 0.4); padding: 8px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; color: #bbf7d0; text-transform: uppercase; letter-spacing: 1px; }
.hero-title { font-family: var(--font-heading); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; color: white; }
.hero-subtitle { font-size: clamp(0.95rem, 2vw, 1.1rem); opacity: 0.92; line-height: 1.75; margin-bottom: 30px; color: #e2e8f0; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 30px; }
@media (max-width: 768px) { .hero { background-attachment: scroll; min-height: 500px; padding: 80px 0 100px; } .hero-inner-card { padding: 30px 20px; } }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.trust-item { font-size: 0.9rem; font-weight: 600; color: #cbd5e1; }
.wave-divider { position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: calc(100% + 1.3px); height: 70px; }

.stats-section { background: var(--cream); padding: 40px 0 80px; position: relative; z-index: 10; }
.stats-container { background: var(--white); border-radius: 24px; padding: 50px 40px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-block { text-align: center; position: relative; padding: 10px 15px; }
.stat-block:not(:last-child)::after { content: ''; position: absolute; right: -15px; top: 15%; height: 70%; width: 1px; background: var(--line); }
.stat-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(21, 160, 74, 0.07); color: var(--primary); margin-bottom: 20px; transition: all 0.3s ease; }
.stat-block:hover .stat-icon-wrapper { background: var(--primary); color: white; transform: translateY(-5px); }
.stat-value-group { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-plus { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-left: 2px; }
.stat-label { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.stat-desc { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 992px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } .stat-block::after { display: none; } }
@media (max-width: 600px) { .stats-grid { grid-template-columns: 1fr; } }

.about-section { padding: 50px 0; background-color: #f8fafc; }
.about-card-wrapper { background: var(--white); border-radius: 32px; padding: 60px; box-shadow: 0 20px 60px rgba(0,0,0,0.04); margin: 0 auto; max-width: 1200px; }
@media (max-width: 992px) { .about-card-wrapper { padding: 40px 30px; } }
@media (max-width: 576px) { .about-card-wrapper { padding: 30px 20px; border-radius: 24px; } }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 35px; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(21, 160, 74, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .feature-icon svg { width: 32px; height: 32px; }
.feature-item strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 3px; }
.feature-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.about-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.about-img-wrap { position: relative; }
.about-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.about-img img { width: 100%; height: 480px; object-fit: cover; display: block; filter: none !important; }
.about-img-badge { position: absolute; bottom: 30px; left: -20px; background: var(--primary); color: white; padding: 15px 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(21,160,74,0.3); text-align: center; }
.about-img-badge .img-badge-num { font-size: 2.2rem; font-weight: 800; color: white; line-height: 1; }
.about-img-badge .img-badge-text { font-size: 0.85rem; color: rgba(255,255,255,0.9); font-weight: 600; margin-top: 5px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 50px; } }
@media (max-width: 768px) { .about-img-badge { left: 10px; bottom: 10px; padding: 10px 15px; } .about-img-badge .img-badge-num { font-size: 1.5rem; } .about-img img { height: 350px; } }

.services-slider-section { padding: 50px 0; background: var(--cream); }
.service-card { width: 100%; flex-shrink: 0; background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.03); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; position: relative; }
.service-card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(21,160,74,0.15); border-color: rgba(21,160,74,0.3); }
.service-img-wrapper { flex-shrink: 0; position: relative; width: 100%; height: 220px; overflow: hidden; }
.service-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: none !important; }
.service-card:hover .service-img { transform: scale(1.08); }
.service-img-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%); }
.service-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: rgba(21, 160, 74, 0.05); }
.service-body { padding: 30px 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; background: linear-gradient(to bottom, #ffffff, #fafafa); }
.service-body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: var(--ink-dark); font-family: var(--font-heading); }
.service-body p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 25px; line-height: 1.6; flex-grow: 1; }
.service-price { display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: white; font-weight: 700; font-size: 1rem; padding: 12px 28px; border-radius: 40px; box-shadow: 0 8px 20px rgba(21,160,74,0.3); transition: 0.3s ease; margin: 0 auto; letter-spacing: 0.5px; }
.service-card:hover .service-price { transform: scale(1.05); background: var(--primary-dark); }

.doctors-slider-section { padding: 50px 0; background: var(--white); }
.doctor-card { width: 100%; flex-shrink: 0; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.06); border: 1px solid var(--line); transition: all 0.4s ease; cursor: pointer; display: flex; flex-direction: column; }
.doctor-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.doctor-photo-wrapper { flex-shrink: 0; position: relative; width: 100%; height: 320px; overflow: hidden; }
.doctor-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; filter: none !important; }
.doctor-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: var(--cream); }
.doctor-body { padding: 22px; text-align: center; }
.doctor-body h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 5px; color: var(--ink-dark); }
.doctor-spec { font-size: 0.95rem; color: var(--primary); font-weight: 600; }

.news-section { padding: 50px 0; background: var(--cream); }
.news-card { width: 100%; flex-shrink: 0; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.07); transition: all 0.4s ease; cursor: pointer; display: flex; flex-direction: column; height: 100%; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.news-img-wrapper { flex-shrink: 0; position: relative; width: 100%; height: 210px; overflow: hidden; }
.news-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: none !important; }
.news-img-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: rgba(21,160,74,0.05); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.news-date { font-size: 0.8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.news-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.news-body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 0; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }

.career-section { padding: 60px 0 100px; background: var(--white); }
.career-banner {  background-attachment: fixed; background-position: center; background-size: cover; background-repeat: no-repeat; color: white; padding: 70px 30px; border-radius: 20px; text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.15); max-width: 1000px; margin: 0 auto; position: relative; }
.career-banner::before { content: ''; position: absolute; inset: 0; background: rgba(30,41,59,0.55); border-radius: 20px; z-index: 1; }
.career-content { position: relative; z-index: 2; }
.career-banner h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 15px; }
.career-banner p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.career-btn { display: inline-block; background: var(--white); color: var(--primary); padding: 15px 35px; border-radius: 30px; font-weight: 800; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); text-decoration: none; }
.career-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); background: var(--cream); }

.faq-main-section { padding: 50px 0; background: var(--cream); }
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.04); overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.06); border-color: rgba(21,160,74,0.2); }
.faq-question { width: 100%; text-align: left; padding: 22px 25px; background: none; border: none; font-size: 1.05rem; font-weight: 700; color: var(--ink-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; transition: transform 0.3s ease; margin-left: 15px; }
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s ease; padding: 0 25px; opacity: 0; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 22px; opacity: 1; }
.faq-answer p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 15px; }

.contact-main-section { padding: 50px 0; background: var(--cream); }
.contact-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 50px; }
.contact-main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: stretch; }
.c-card { background: var(--white); padding: 35px 20px; border-radius: 20px; text-align: center; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); display: flex; flex-direction: column; align-items: center; gap: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.02); }

.c-card.highlight { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; box-shadow: 0 15px 40px rgba(21,160,74,0.25); border: none; transform: translateY(-5px); }
.c-card.highlight h4 { color: rgba(255,255,255,0.9) !important; }
.c-card.highlight p, .c-card.highlight a { color: white !important; }
.c-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.c-card.highlight:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(21,160,74,0.35); }
.c-card-icon { font-size: 2.2rem; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; background: rgba(21,160,74,0.05); border-radius: 50%; color: var(--primary); transition: 0.3s; }
.c-card.highlight .c-card-icon { background: rgba(255,255,255,0.15); color: white; }
.c-card-body h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); margin-bottom: 8px; }
.c-card-body p { font-size: 0.95rem; color: var(--ink-dark); font-weight: 700; margin: 0; line-height: 1.5; }
.contact-form-box { background: var(--white); padding: 45px; border-radius: 24px; box-shadow: 0 15px 50px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.02); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.contact-form-box h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 25px; color: var(--ink-dark); font-family: var(--font-heading); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.95rem; font-weight: 700; color: var(--ink-dark); margin-bottom: 10px; }
.form-group input, .form-group select { width: 100%; padding: 16px 20px; border: 2px solid var(--cream); border-radius: 14px; font-family: var(--font-body); font-size: 1rem; background: var(--cream); transition: all 0.3s ease; box-sizing: border-box; color: var(--ink); }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); outline: none; background: var(--white); box-shadow: 0 0 0 5px rgba(21,160,74,0.1); }
.map-wrapper { border-radius: 24px; overflow: hidden; height: 100%; min-height: 450px; box-shadow: 0 15px 45px rgba(0,0,0,0.07); border: 1px solid var(--line); }
.map-wrapper iframe { display: block; }

/* Mobil moslashuvchanlik */
@media (max-width: 900px) { 
    .contact-main-grid { grid-template-columns: 1fr; gap: 40px; } 
    .map-wrapper { min-height: 380px; } 
    .contact-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 768px) {
    .contact-cards-grid { grid-template-columns: 1fr; }
    .c-card { padding: 25px; flex-direction: row; text-align: left; gap: 20px; }
    .c-card-icon { width: 50px; height: 50px; font-size: 1.5rem; flex-shrink: 0; }
    .c-card-body h4 { margin-bottom: 5px; }
    .contact-form-box { padding: 30px 20px; }
}

/* CINEMATIC HEADER INTEGRATION */
.page-home .top-bar { position: absolute; top: 0; left: 0; width: 100%; z-index: 1001; background: transparent !important; border: none !important; }
.page-home .site-header { position: absolute; top: 40px; left: 0; width: 100%; z-index: 1000; transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) { background: transparent !important; border: none !important; backdrop-filter: none !important; box-shadow: none !important; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) .logo-name, body.page-home:not(.no-scroll) .site-header:not(.scrolled) .logo-tagline, body.page-home:not(.no-scroll) .site-header:not(.scrolled) .nav-links .nav-link { color: white !important; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) .nav-links .nav-link:hover { color: rgba(255,255,255,0.8) !important; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) .header-cta .btn-primary { background: rgba(255,255,255,0.1) !important; color: white !important; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) .hamburger-line { background-color: white !important; }
body.page-home:not(.no-scroll) .site-header:not(.scrolled) .mobile-lang .dropdown-toggle { background: rgba(255,255,255,0.2) !important; color: white !important; border: 1px solid rgba(255,255,255,0.3) !important; }
.page-home .site-header.scrolled { position: fixed !important; top: 0 !important; }

@media (max-width: 768px) {
    .page-home .site-header { top: 0 !important; padding: 5px 0 !important; }
    .page-home .site-header.scrolled { padding: 5px 0 !important; }
    .page-home .header-inner { min-height: 45px !important; }
    .page-home .site-header .logo img { height: 30px !important; }
}


/* User's Cinematic Hero CSS */
.cinematic-hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh; /* Fallback for older browsers */
    height: 100dvh; /* Dynamic Viewport Height to account for mobile URL bars */
    min-height: 600px;
    overflow: hidden;
    color: #fff;
    background: #050505;
}

/* Fon Video/Rasm */
.cinematic-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-position: center; background-size: cover;
    animation: zoomSlow 30s ease-out forwards; z-index: 1; filter: brightness(0.9) blur(4px);
}
@keyframes zoomSlow { 0% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* Qorong'i gradient parda */
.cinematic-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%); z-index: 2;
}

/* Kontent */
.cinematic-content {
    position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center; padding: 0 24px;
}

/* Premium Glass Badge */
.glass-badge {
    background: rgba(245, 158, 11, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.4); padding: 8px 24px; border-radius: 50px;
    font-size: 13px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; opacity: 0; transform: translateY(20px);
    color: #fde68a !important;
}

.cinematic-content h1 {
    font-family: 'Playfair Display', serif; font-size: 84px; font-weight: 400; line-height: 1.1; margin-bottom: 24px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4); max-width: 1000px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; opacity: 0; transform: translateY(30px);
    color: #fff !important;
}
.cinematic-content h1 i { font-style: italic; color: #fda4af; /* Juda nafis pushti-qizil */ }

.cinematic-subtitle {
    font-size: 20px; font-weight: 300; color: #e2e8f0; letter-spacing: 0.5px; margin-bottom: 48px; max-width: 600px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards; opacity: 0; transform: translateY(30px);
}

.cinematic-actions { display: flex; gap: 16px; animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards; opacity: 0; transform: translateY(30px); }

.cinematic-actions .btn { padding: 18px 40px; font-size: 15px; font-weight: 500; border-radius: 100px; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.cinematic-actions .btn-primary { background: #E11D48 !important; color: #fff !important; box-shadow: 0 0 24px rgba(225,29,72,0.4); border: none; }
.cinematic-actions .btn-primary:hover { background: #BE123C !important; transform: scale(1.05); }
.cinematic-actions .btn-outline { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.4) !important; }
.cinematic-actions .btn-outline:hover { background: #15A04A !important; border-color: #15A04A !important; color: #fff !important; }

/* Scroll animatsiyasi (sichqoncha) */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 10;
    animation: fadeIn 2s ease 2s forwards; opacity: 0;
}
.mouse { width: 24px; height: 36px; border: 2px solid rgba(255,255,255,0.6); border-radius: 12px; position: relative; }
.wheel { width: 4px; height: 6px; background: #fff; border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 1.5s infinite; }
.scroll-text { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.6); }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 18px; opacity: 0; } }

@media (max-width: 768px) {
    .cinematic-hero-wrapper { min-height: 500px; }
    .cinematic-content h1 { font-size: 40px; margin-bottom: 16px; }
    .cinematic-subtitle { font-size: 16px; margin-bottom: 32px; }
    .cinematic-content { padding-top: 80px; padding-bottom: 160px; justify-content: flex-start; }
    .glass-badge { margin-top: 40px; font-size: 11px; padding: 6px 16px; margin-bottom: 24px; }
    .cinematic-actions { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .cinematic-actions .btn { width: 100%; }
    .scroll-indicator { bottom: 75px; }
}


/* Extracted from index.php */

/* Xizmatlar Premium Card (Oq fon, silliq soya) */
#xizmatlar .swiper-slide { height: auto; align-self: stretch; }
#yangiliklar .swiper-slide { height: auto; align-self: stretch; }
#shifokorlar .swiper-slide { height: auto; align-self: stretch; }
.creative-service-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    text-decoration: none;
    height: 100%;
}
.creative-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}
.creative-service-img-wrapper {
    width: 100%;
    height: 220px; /* Rasmlar to'liq ko'rinishi uchun biroz kattalashtirildi */
    overflow: hidden;
    position: relative;
    background: #f8f9fa; /* Rasm yuklanmaguncha turadigan yumshoq fon */
}
.creative-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.creative-service-card:hover .creative-service-img {
    transform: scale(1.05);
}
.creative-service-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.creative-service-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 10px;
}
.creative-service-desc {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.creative-service-btn {
    display: inline-block;
    background: var(--primary-bg); /* Och ko'k rang */
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    align-self: flex-start;
    transition: 0.3s;
}
.creative-service-card:hover .creative-service-btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.3);
}

/* Shifokorlar (Eski holat + Silliqlik) */
.smooth-doctor-card {
    background: var(--white);
    border-radius: 30px; /* Kattaroq silliqlik */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Yumshoq soyalar */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.smooth-doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.smooth-doctor-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.smooth-doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.smooth-doctor-card:hover .smooth-doctor-img {
    transform: scale(1.08);
}
.smooth-doctor-photo-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    pointer-events: none;
}
.smooth-doctor-body {
    padding: 0 25px 25px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: -30px; /* Rasm bilan uyg'unlashish uchun */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-end;
}
.smooth-doctor-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink-dark);
    margin-bottom: 5px;
}
.smooth-doctor-spec {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

/* Custom Bullet Pagination Colors */
.swiper-pagination-bullet {
    background: #94a3b8;
    opacity: 0.35;
}
.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(21, 160, 74, 0.6) !important;
}

/* Barchasi Button under Pagination */
.barchasi-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(21, 160, 74, 0.3);
}
.barchasi-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
}

/* Mobile Responsive Tweaks for Slider Cards */
@media (max-width: 768px) {
    .mobile-hide-link { display: none !important; }
    .creative-service-img-wrapper { height: auto !important; aspect-ratio: 4 / 3; }
    .creative-service-title { font-size: 1.1rem !important; margin-bottom: 5px !important; }
    .creative-service-desc { font-size: 0.85rem !important; margin-bottom: 15px !important; }
    .creative-service-content { padding: 15px !important; }
    
    .smooth-doctor-body { margin-top: -20px !important; padding: 0 15px 15px 15px !important; }
    .smooth-doctor-body h3 { font-size: 1.1rem !important; }
    .smooth-doctor-spec { font-size: 0.85rem !important; }
    
    .news-card .news-img-wrapper { height: auto !important; aspect-ratio: 4 / 3; }
    .news-card .news-img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
    .news-card p { -webkit-line-clamp: 5 !important; font-size: 0.9rem !important; }
}


/* Extracted from index.php */

.reviews-section { position: relative; overflow: hidden; }
.review-card { background: var(--white); border-radius: 24px; padding: 40px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.02); transition: transform 0.4s ease, box-shadow 0.4s ease; min-height: 250px; }
.review-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(21,160,74,0.1); }
.review-stars { color: #F59E0B; font-size: 24px; margin-bottom: 20px; letter-spacing: 2px; }
.review-text { font-size: 1.1rem; color: var(--ink); line-height: 1.6; margin-bottom: 30px; flex-grow: 1; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 15px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background-color: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; background-size: cover; background-position: center; }
.author-info h4 { margin: 0; font-size: 1.05rem; color: var(--ink-dark); font-weight: 700; }
.author-info span { font-size: 0.85rem; color: var(--ink-soft); }
.custom-pagination { position: relative !important; margin-top: 40px !important; margin-bottom: 20px !important; }
.custom-pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: var(--primary); opacity: 0.2; transition: all 0.3s ease; }
.custom-pagination .swiper-pagination-bullet-active { opacity: 1; width: 25px; border-radius: 5px; }
@media (max-width: 768px) {
    .review-card { padding: 25px; }
    .review-text { font-size: 0.95rem; }
}


/* Extracted from about.php */

/* === TIMELINE === */
.tl-wrap { position: relative; }
.tl-wrap::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--about-primary) 10%, var(--about-primary) 90%, transparent);
    transform: translateX(-50%);
}
.tl-row {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    margin-bottom: 50px;
}
.tl-row:last-child { margin-bottom: 0; }
.tl-row.tl-right .tl-content:first-child { order: 3; }
.tl-row.tl-right .tl-center { order: 2; }
.tl-row.tl-right .tl-empty { order: 1; }
.tl-row.tl-left .tl-content:first-child { display: flex; justify-content: flex-end; padding-right: 20px; }
.tl-row.tl-right .tl-content:first-child { display: flex; justify-content: flex-start; padding-left: 20px; }
.tl-empty { display: block; }
.tl-center {
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2;
}
.tl-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--about-primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(21,160,74,0.15);
    transition: transform 0.3s;
}
.tl-dot:hover { transform: scale(1.15); }
.tl-dot-future {
    background: var(--about-primary);
    color: #fff;
    border-color: var(--about-primary);
    box-shadow: 0 4px 20px rgba(21,160,74,0.35);
}
.tl-card {
    max-width: 460px; width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--about-bg-1, #fff);
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    border: 1px solid var(--about-border, rgba(0,0,0,0.04));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    position: relative;
}
.tl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.tl-img {
    width: 100%; height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 24px 24px 0 0;
}
.tl-img-placeholder {
    background: linear-gradient(135deg, var(--about-primary-light) 0%, rgba(21,160,74,0.08) 100%);
    display: flex; align-items: center; justify-content: center;
    height: 140px;
}
.tl-img-placeholder::after {
    height: 50px;
}
.tl-img-icon { color: var(--about-primary); opacity: 0.6; margin-top: -20px; }
.tl-body { padding: 25px 35px 35px; text-align: left; position: relative; z-index: 2; }
.tl-year {
    display: inline-block;
    background: var(--about-primary-light);
    color: var(--about-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.tl-year-future {
    background: var(--about-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(21,160,74,0.2);
}
.tl-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--about-text-main);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.3;
}
.tl-desc {
    color: var(--about-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Planshet */
@media (max-width: 992px) {
    .tl-wrap::before { left: 30px; }
    .tl-row {
        grid-template-columns: 60px 1fr;
        margin-bottom: 40px;
    }
    .tl-row.tl-right .tl-content:first-child,
    .tl-row.tl-left .tl-content:first-child {
        order: 2; justify-content: flex-start; padding: 0 0 0 15px;
    }
    .tl-row.tl-right .tl-center,
    .tl-row.tl-left .tl-center { order: 1; justify-content: center; }
    .tl-empty { display: none; }
    .tl-card { max-width: 100%; }
}

/* Telefon */
@media (max-width: 576px) {
    .tl-wrap::before { left: 20px; }
    .tl-row { grid-template-columns: 40px 1fr; margin-bottom: 35px; }
    .tl-dot { width: 34px; height: 34px; border-width: 2px; }
    .tl-dot svg { width: 14px; height: 14px; }
    .tl-dot > div { width: 10px !important; height: 10px !important; }
    .tl-card { border-radius: 18px; }
    .tl-img { height: 160px; border-radius: 18px 18px 0 0; }
    .tl-img-placeholder { height: 110px; }
    .tl-row.tl-right .tl-content:first-child,
    .tl-row.tl-left .tl-content:first-child { padding: 0 0 0 10px; }
    .tl-body { padding: 20px 20px 25px; }
    .tl-year { font-size: 0.8rem; padding: 4px 12px; margin-bottom: 12px; }
    .tl-title { font-size: 1.15rem; margin-bottom: 8px; }
    .tl-desc { font-size: 0.95rem; }
}


/* Extracted from about.php */

            .gallery-mosaic {
                display: grid;
                grid-template-columns: repeat(6, 1fr);
                grid-template-rows: 200px 200px;
                gap: 14px;
                grid-auto-rows: 280px;
                gap: 20px;
                max-width: 1200px;
                margin: 0 auto;
            }
            .gallery-mosaic .g-item {
                border-radius: 20px;
                overflow: hidden;
                position: relative;
                box-shadow: 0 10px 30px rgba(0,0,0,0.08);
                transition: 0.4s;
            }
            .gallery-mosaic .g-item:hover {
                transform: scale(1.02);
                box-shadow: 0 15px 40px rgba(0,0,0,0.15);
                z-index: 2;
            }
            .gallery-mosaic .g-item img {
                width: 100%; height: 100%;
                object-fit: cover;
                transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
            }
            .gallery-mosaic .g-item:hover img {
                transform: scale(1.1);
            }

            /* Naqsh (Pattern) 10 ta rasm uchun */
            .gallery-mosaic .g1, .gallery-mosaic .g6 { grid-column: 1 / 4; }
            .gallery-mosaic .g2, .gallery-mosaic .g7 { grid-column: 4 / 7; }
            .gallery-mosaic .g3, .gallery-mosaic .g8 { grid-column: 1 / 3; }
            .gallery-mosaic .g4, .gallery-mosaic .g9 { grid-column: 3 / 5; }
            .gallery-mosaic .g5, .gallery-mosaic .g10 { grid-column: 5 / 7; }

            @media (max-width: 768px) {
                .gallery-mosaic {
                    grid-template-columns: 1fr 1fr;
                    grid-auto-rows: auto;
                    gap: 15px;
                }
                .gallery-mosaic .g-item { grid-column: span 1 !important; aspect-ratio: 4/3; border-radius: 16px; }
                .gallery-mosaic .g1, .gallery-mosaic .g6 { grid-column: 1 / 3 !important; aspect-ratio: 16/9; }
            }
        

/* Extracted from about.php */

    @media (max-width: 992px) {
        .stats-grid, .about-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
        .about-section > .wrap > .about-grid > .about-img-wrap { order: -1; }
        div[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
        .glass-box[style*="grid-template-columns: auto 1fr"] { grid-template-columns: 1fr !important; text-align: center; padding: 40px !important; }
        .glass-box[style*="grid-template-columns: auto 1fr"] > div:first-child { margin: 0 auto; }
        .glass-box[style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
        .glass-box[style*="grid-template-columns: 1fr 1fr"] > div:first-child { padding: 40px !important; }
        
        .premium-cta-section { padding: 80px 0 !important; }
        .premium-cta-box { flex-direction: column; border-radius: 25px !important; }
        .premium-cta-left { padding: 50px 30px 30px !important; align-items: center; text-align: center; }
        .premium-cta-left span { align-self: center !important; }
        .premium-cta-left h2 { font-size: 2.2rem !important; }
        .premium-cta-left p { font-size: 1.05rem !important; }
        .premium-cta-btns { justify-content: center; gap: 15px !important; }
        .premium-cta-btns a { padding: 15px 30px !important; font-size: 1.05rem !important; }
        .premium-cta-right { padding: 30px !important; }
        .premium-glass-card { padding: 15px !important; }
        .premium-glass-card > div:first-child { padding: 20px 10px 25px !important; }
        .premium-glass-card h3 { font-size: 1.5rem !important; margin-bottom: 25px !important; }
        .cta-map-wrapper { height: 180px !important; border-width: 3px !important; }
    }
    @media (max-width: 576px) {
        div[style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
        .about-hero h1 { font-size: 2rem !important; }
        
        .premium-cta-section { padding: 50px 0 !important; }
        .premium-cta-left { padding: 35px 20px 20px !important; }
        .premium-cta-left h2 { font-size: 1.7rem !important; margin-bottom: 15px !important; }
        .premium-cta-left p { font-size: 0.95rem !important; margin-bottom: 25px !important; }
        .premium-cta-btns a { width: 100%; justify-content: center; padding: 14px 20px !important; font-size: 1rem !important; }
        .premium-cta-right { padding: 15px 15px 25px !important; }
        .premium-glass-card { padding: 10px !important; border-radius: 20px !important; }
        .premium-glass-card > div:first-child { padding: 15px 10px 20px !important; }
        .premium-glass-card h3 { font-size: 1.3rem !important; margin-bottom: 20px !important; }
        .premium-glass-card [style*="width: 55px"] { width: 45px !important; height: 45px !important; border-radius: 12px !important; }
        .premium-glass-card [style*="font-size: 1.4rem"] { font-size: 1.2rem !important; }
    }

/* Timeline Custom Tweaks */
.tl-year-mobile { display: none !important; }
@media (max-width: 992px) {
    .tl-year-mobile { display: inline-block !important; margin-bottom: 12px; }
    .tl-year-desktop { display: none !important; }
    .tl-center { padding-top: 0 !important; align-items: center !important; }
}


/* Premium CTA Buttons */
.btn-premium-white:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,0.25) !important; }
.btn-premium-glass:hover { background: rgba(255,255,255,0.25) !important; }
