/* Unified Radiology Solutions — Pacslink-inspired Enterprise Theme */

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

:root {
  --primary: #0066cc;
  --primary-dark: #004d99;
  --primary-light: #e8f2fc;
  --accent: #00b4d8;
  --accent-dark: #0096c7;
  --dark: #1a2b3c;
  --text: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0, 50, 100, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 50, 100, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ===== TOP BAR ===== */
.topbar { background: var(--primary-dark); color: var(--white); font-size: 0.85rem; }
.topbarInner { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1.25rem; }
.topbarWhatsApp { display: flex; align-items: center; gap: 0.5rem; color: var(--white); font-weight: 500; }
.topbarWhatsApp:hover { color: #25D366; }
.topbarQuote {
  background: var(--accent); color: var(--white); padding: 0.4rem 1.25rem;
  border-radius: 4px; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.topbarQuote:hover { background: var(--accent-dark); }

/* ===== HEADER ===== */
.header {
  background: var(--white); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000; transition: box-shadow var(--transition);
}
.header .container { max-width: 1360px; }
.header.scrolled { box-shadow: var(--shadow); }
.headerInner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; gap: 1.25rem;
}

.logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; max-width: 320px; }
.logoIcon { flex-shrink: 0; }
.logoIcon svg { width: 34px; height: 34px; }
.logoText { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.logoText strong {
  font-family: var(--font-display); font-size: 0.92rem; color: var(--primary);
  font-weight: 800; line-height: 1.2;
}
.logoText small {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mainNav {
  display: flex; align-items: center; justify-content: flex-end;
  flex: 1 1 auto; flex-wrap: nowrap; gap: 0.15rem; min-width: 0;
}
.navLink {
  padding: 0.5rem 0.7rem; font-size: 0.9rem; font-weight: 600; color: var(--text);
  border-radius: 6px; transition: all var(--transition);
  white-space: nowrap; flex-shrink: 0; line-height: 1.2;
}
.navLink:hover, .navLink.active { color: var(--primary); background: var(--primary-light); }

.navToggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; flex-shrink: 0; }
.navToggle span { width: 24px; height: 2px; background: var(--dark); transition: all var(--transition); border-radius: 2px; }
.navToggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navToggle.open span:nth-child(2) { opacity: 0; }
.navToggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem;
  transition: all var(--transition); border: 2px solid transparent; cursor: pointer;
}
.btnPrimary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btnPrimary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3); }
.btnOutline { background: transparent; color: var(--white); border-color: var(--white); }
.btnOutline:hover { background: var(--white); color: var(--primary); }
.btnOutlineDark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btnOutlineDark:hover { background: var(--primary); color: var(--white); }
.btnBlock { width: 100%; }

/* ===== HERO SLIDER ===== */
.heroSlider { position: relative; height: 85vh; min-height: 520px; max-height: 700px; overflow: hidden; }
.heroSlides { height: 100%; position: relative; }
.heroSlide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s;
  display: flex; align-items: center;
}
.heroSlide.active { opacity: 1; visibility: visible; z-index: 1; }
.heroOverlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 40, 80, 0.85) 0%, rgba(0, 102, 204, 0.6) 100%); }
.heroContent { position: relative; z-index: 2; max-width: 700px; color: var(--white); padding: 2rem 0; }
.heroTitle { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; }
.heroSubtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 2rem; line-height: 1.8; }
.heroActions { display: flex; gap: 1rem; flex-wrap: wrap; }

.heroNav {
  position: absolute; bottom: 6rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; align-items: center; gap: 2.25rem;
  padding: 0 0.75rem;
}
.heroArrow {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2);
  color: var(--white); font-size: 1.25rem; backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3); transition: all var(--transition);
  flex-shrink: 0;
}
.heroArrow:hover { background: var(--white); color: var(--primary); }
.heroDots { display: flex; align-items: center; gap: 0.75rem; margin: 0 0.25rem; }
.heroDot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4);
  border: none; transition: all var(--transition);
}
.heroDot.active { background: var(--white); width: 32px; border-radius: 6px; }

/* ===== TOP PRODUCTS ROW ===== */
.pillars { margin-top: -1.5rem; position: relative; z-index: 5; padding-top: 1rem; padding-bottom: 2rem; }
.pillars .container { max-width: 1360px; }
.pillarsGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}
.pillarCard {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 0.9rem 1.35rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  color: inherit;
  min-width: 0;
}
.pillarCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15);
  border-color: var(--primary);
}
.pillarIconWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}
.pillarCard h3 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin-top: 0.15rem;
}
.pillarCard:hover h3 { color: var(--primary); }
.pillarCard .productIconAnim {
  width: 56px;
  height: 56px;
}
.pillarCard:hover .productIconAnim {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 12px 28px rgba(0, 102, 204, 0.2);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.bgLight { background: var(--bg); }
.sectionLabel { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 0.75rem; }
.sectionLabel.center { text-align: center; }
.sectionLabel.light { color: var(--accent); }
.sectionTitle { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 1rem; }
.sectionTitle.center { text-align: center; }
.sectionTitle.light { color: var(--white); }
.center { text-align: center; }
.center-text { text-align: center; color: var(--text-muted); }

/* ===== ABOUT PREVIEW ===== */
.aboutGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.aboutImage { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.aboutImage img { width: 100%; height: 420px; object-fit: cover; }
.aboutBadge {
  position: absolute; bottom: 1.5rem; right: 1.5rem; background: var(--primary);
  color: var(--white); padding: 1rem 1.5rem; border-radius: var(--radius); text-align: center;
  z-index: 2;
}
.aboutBadge strong { display: block; font-size: 1.75rem; font-family: var(--font-display); }
.aboutBadge span { font-size: 0.8rem; opacity: 0.9; }
.aboutText p { color: var(--text-muted); margin-bottom: 1.25rem; }
.aboutText .btn { margin-top: 0.5rem; }

/* ===== STATS ===== */
.statsSection { background: var(--bg); padding: 5rem 0; }
.statsGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.statCard { text-align: center; }
.statCircle { position: relative; width: 140px; height: 140px; margin: 0 auto 1.25rem; }
.statRing { width: 100%; height: 100%; transform: rotate(-90deg); }
.statProgress { transition: stroke-dashoffset 2s ease; stroke-linecap: round; }
.statDisplay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0.15rem; line-height: 1;
}
.statValue { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.statPercent { font-size: 1rem; font-weight: 700; color: var(--primary); transform: translateY(-0.35em); }
.statLabel { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; max-width: 180px; margin: 0 auto; }

/* ===== CALLBACK ===== */
.callbackSection { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 5rem 0; }
.callbackGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.callbackList { margin-top: 2rem; }
.callbackList li {
  padding: 0.75rem 0 0.75rem 2rem; position: relative; color: rgba(255,255,255,0.85);
  font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.callbackList li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.callbackForm { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.callbackForm h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); margin-bottom: 1.5rem; }

/* ===== FORMS ===== */
.form input, .form select, .form textarea {
  width: 100%; padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; color: var(--text); background: var(--bg);
  margin-bottom: 1rem; transition: all var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.formRow input { margin-bottom: 0; }
.formRow + input, .formRow + select { margin-top: 1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.formMsg { padding: 0.75rem; border-radius: 8px; margin-top: 1rem; font-size: 0.9rem; font-weight: 500; }
.formMsg.success { background: #dcfce7; color: #166534; }
.formMsg.error { background: #fee2e2; color: #991b1b; }

/* ===== SOLUTIONS ===== */
.solutionsSection { padding: 4rem 0; background: var(--bg-alt); }
.solutionsGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.solutionCard {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  border: 1px solid var(--border); transition: all var(--transition); text-align: center;
}
.solutionCard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.solutionIcon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--primary); }
.solutionIcon svg { width: 100%; height: 100%; }
.solutionCard h3 { font-size: 1rem; color: var(--dark); margin-bottom: 0.75rem; }
.solutionCard p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.solutionLink { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.solutionLink:hover { color: var(--primary-dark); }

/* ===== PRODUCTS ===== */
.productsSection { background: var(--white); }
.productsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.productCard {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all var(--transition); position: relative; display: block;
}
.productCard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.productIcon {
  width: 72px; height: 72px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.productCard h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--dark); margin-bottom: 0.75rem; }
.productCard p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.productArrow { position: absolute; top: 2rem; right: 2rem; color: var(--primary); font-size: 1.25rem; opacity: 0; transition: all var(--transition); }
.productCard:hover .productArrow { opacity: 1; transform: translateX(4px); }

/* ===== PRODUCT DETAIL ===== */
.productDetail { padding: 5rem 0; }
.productDetail.alt { background: var(--bg); }
.detailGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.detailGrid.reverse { direction: rtl; }
.detailGrid.reverse > * { direction: ltr; }
.detailImage { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.detailImage--screenshot { background: #0a1628; }
.detailImage--screenshot img { object-fit: contain; padding: 0.5rem; }
.detailContent p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.75; }
.center-block { max-width: 700px; margin: 0 auto 3rem; }

.checkList { margin-bottom: 2rem; }
.checkList li { padding: 0.5rem 0 0.5rem 1.75rem; position: relative; color: var(--text-muted); font-size: 0.95rem; }
.checkList li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.windowsTag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: #e8f4fd; border: 1px solid #90caf9;
  border-radius: 2rem; color: #1565c0; font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem;
}

.productBadges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.productBadge {
  display: inline-block; padding: 0.35rem 0.85rem;
  background: var(--primary-light); border: 1px solid rgba(0, 102, 204, 0.25);
  border-radius: 2rem; color: var(--primary-dark);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
}
.productTagline {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--primary); margin: -0.25rem 0 1.25rem;
}

.plansGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.planCard {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; text-align: center; transition: all var(--transition); position: relative;
}
.planCard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.planCard.featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(0, 102, 204, 0.15); }
.planBadge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 0.25rem 1rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 700; }
.planCard h3 { font-family: var(--font-display); color: var(--dark); margin-bottom: 1rem; }
.planPrice { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); margin-bottom: 1.5rem; }
.planPrice small { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }

/* ===== WHY US ===== */
.whySection { background: var(--white); }
.whyGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.whyImage { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.whyImage img { width: 100%; height: 400px; object-fit: cover; }
.whyOverlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 40, 80, 0.9));
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.whyContent p { color: var(--text-muted); margin-bottom: 1.5rem; }
.whyList { margin-bottom: 2rem; }
.whyItem { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.whyCheck {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.whyItem strong { display: block; color: var(--dark); margin-bottom: 0.25rem; }
.whyItem p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ===== CLIENTS ===== */
.clientsGrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.clientsGrid.large { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.clientCard {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1rem; text-align: center; transition: all var(--transition);
}
.clientCard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.clientAvatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); font-size: 1.5rem; font-weight: 800; font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.clientCard h4 { font-size: 0.9rem; color: var(--dark); margin-bottom: 0.25rem; }
.clientCard span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== BLOG ===== */
.blogSection { background: var(--bg); }
.blogGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.blogCard { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all var(--transition); }
.blogCard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blogImg { height: 200px; overflow: hidden; }
.blogBody { padding: 1.5rem; }
.blogDate { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.blogBody h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--dark); margin: 0.5rem 0; line-height: 1.4; }
.blogBody p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.blogLink { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonialsGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonialCard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.stars { color: #f59e0b; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonialCard p { font-style: italic; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.testimonialAuthor strong { display: block; color: var(--dark); }
.testimonialAuthor span { font-size: 0.85rem; color: var(--text-muted); }

/* ===== PAGE HERO ===== */
.pageHero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 4rem 0; color: var(--white); }
.pageHero h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.breadcrumb { font-size: 0.9rem; opacity: 0.8; }
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== ABOUT PAGE ===== */
.aboutPageGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.aboutPageImage { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.aboutPageImage img { width: 100%; height: 450px; object-fit: cover; }
.valuesGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.valueCard { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; text-align: center; transition: all var(--transition); }
.valueCard:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.valueCard h3 { font-family: var(--font-display); color: var(--primary); margin-bottom: 0.75rem; }
.valueCard p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== TEAM ===== */
.teamGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.teamCard { display: flex; gap: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all var(--transition); }
.teamCard:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.teamPhoto { width: 120px; height: 120px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.teamPhoto img { width: 100%; height: 100%; object-fit: cover; }
.teamInfo h3 { font-family: var(--font-display); color: var(--dark); margin-bottom: 0.25rem; }
.teamRole { display: block; color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.teamInfo p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== CHAIRMAN ===== */
.chairmanGrid { display: grid; grid-template-columns: 350px 1fr; gap: 4rem; align-items: start; }
.chairmanPhoto { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: 120px; }
.chairmanPhoto img { width: 100%; height: 400px; object-fit: cover; }
.chairmanName { padding: 1.25rem; background: var(--primary); color: var(--white); text-align: center; }
.chairmanName strong { display: block; font-size: 1.15rem; }
.chairmanName span { font-size: 0.85rem; opacity: 0.9; }
.chairmanMessage blockquote {
  font-size: 1.25rem; font-style: italic; color: var(--primary); border-left: 4px solid var(--primary);
  padding-left: 1.5rem; margin: 1.5rem 0; line-height: 1.6;
}
.chairmanMessage p { color: var(--text-muted); margin-bottom: 1.25rem; }
.signature { margin: 2rem 0 !important; color: var(--dark) !important; font-weight: 500; }

/* ===== CONTACT PAGE ===== */
.contactPageGrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contactInfo p { color: var(--text-muted); margin-bottom: 2rem; }
.contactInfoCards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.infoCard { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.infoIcon { font-size: 1.5rem; }
.infoCard strong { display: block; color: var(--dark); margin-bottom: 0.25rem; }
.infoCard a { color: var(--primary); font-weight: 500; }
.infoCard a:hover { text-decoration: underline; }
.infoCard span { color: var(--text-muted); font-size: 0.9rem; }
.contactFormBox { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; }
.contactFormBox h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); margin-bottom: 0.5rem; }
.contactFormBox > p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.mapPlaceholder { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ===== PORTFOLIO (Fiverr-style grid) ===== */
.portfolioPage { background: #fafafa; padding: 2.5rem 0 4rem; min-height: 60vh; }
.portfolioPageInner { max-width: 1100px; }
.portfolioPageHeader { margin-bottom: 2rem; }
.portfolioPageHeader h1 {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: #404145; margin-bottom: 0.35rem;
}
.portfolioPageHeader p { font-size: 0.95rem; color: #74767e; max-width: 640px; }

.videoPage .portfolioPageHeader p { max-width: 760px; }
.videoEmbedWrap { margin-top: 1.25rem; }
.videoEmbed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4e5e7;
}
.videoEmbed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.videoHint { margin-top: 0.85rem; font-size: 0.9rem; color: #74767e; }

/* YouTube-style playlist layout */
.ytPlaylistLayout {
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: start;
}
.ytPlaylistSidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ytPlaylistPlayer { border-radius: 12px; }
.ytPlaylistPlayer #ytPlayer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ytPlaylistMeta {
  background: #fff;
  border: 1px solid #e4e5e7;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.ytPlaylistTitle {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #0f0f0f;
}
.ytPlaylistChannel {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #606060;
}
.ytPlaylistChannel a {
  color: #606060;
  text-decoration: none;
}
.ytPlaylistChannel a:hover { color: #1dbf73; text-decoration: underline; }
.ytPlaylistCount {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: #909090;
}
.ytPlaylistActions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ytPlayAllIcon { margin-right: 0.2rem; font-size: 0.85em; }
.ytOpenYoutube { font-size: 0.88rem; padding: 0.55rem 0.9rem; }

.ytPlaylistVideos {
  background: #fff;
  border: 1px solid #e4e5e7;
  border-radius: 12px;
  max-height: min(78vh, 720px);
  overflow: auto;
}
.ytVideoList {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ytVideoItem {
  display: grid;
  grid-template-columns: 2rem 168px 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ytVideoItem:last-child { border-bottom: 0; }
.ytVideoItem:hover { background: #f8f9fa; }
.ytVideoItem.active {
  background: #eef9f3;
  box-shadow: inset 3px 0 0 #1dbf73;
}
.ytVideoIndex {
  font-size: 0.85rem;
  color: #909090;
  text-align: center;
}
.ytVideoThumb {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.ytVideoThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ytVideoInfo {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.ytVideoTitle {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #0f0f0f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ytVideoDate {
  font-size: 0.8rem;
  color: #909090;
}
.ytVideoLoading {
  padding: 2rem 1rem;
  text-align: center;
  color: #74767e;
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .ytPlaylistLayout {
    grid-template-columns: 1fr;
  }
  .ytPlaylistSidebar {
    position: static;
  }
  .ytPlaylistVideos {
    max-height: none;
  }
  .ytVideoItem {
    grid-template-columns: 1.5rem 120px 1fr;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
  }
}

.portfolioGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.portfolioCard {
  background: #fff;
  border: 1px solid #e4e5e7;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.portfolioCard:hover { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
.portfolioCardBtn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.portfolioThumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}
.portfolioThumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.portfolioCount {
  position: absolute; right: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.55rem; border-radius: 4px;
  background: rgba(0, 0, 0, 0.65); color: #fff;
  font-size: 0.75rem; font-weight: 600; line-height: 1;
}
.portfolioCount svg { opacity: 0.9; }
.portfolioCardText { padding: 1rem 1rem 1.15rem; }
.portfolioCardText h2 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: #222325; line-height: 1.35; margin-bottom: 0.5rem;
}
.portfolioCardText p {
  font-size: 0.875rem; color: #74767e; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolioModal {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center;
  justify-content: center; padding: 1.25rem;
}
.portfolioModal[hidden] { display: none !important; }
.portfolioModalBackdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.portfolioModalDialog {
  position: relative; z-index: 1; width: min(900px, 100%); max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  animation: portfolioModalIn 0.3s ease;
}
@keyframes portfolioModalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.portfolioModalClose {
  position: absolute; top: 0.65rem; right: 0.65rem; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: #404145;
  font-size: 1.4rem; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.portfolioModalClose:hover { background: #404145; color: #fff; }
.portfolioModalGallery {
  position: relative; background: #f5f5f5; padding: 1rem 2.75rem 1rem;
  border-radius: 12px 12px 0 0;
}
.portfolioGalleryMain {
  border-radius: 8px; overflow: hidden; background: #0a1628;
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
}
.portfolioGalleryMain img { width: 100%; height: 100%; object-fit: contain; }
.portfolioGalleryNav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #404145; font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12); z-index: 2;
}
.portfolioGalleryNav:hover { background: #222325; color: #fff; }
.portfolioGalleryNav.prev { left: 0.5rem; }
.portfolioGalleryNav.next { right: 0.5rem; }
.portfolioGalleryNav.is-hidden { display: none; }
.portfolioGalleryThumbs {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto;
}
.portfolioGalleryThumbs:empty { display: none; }
.portfolioGalleryThumb {
  flex: 0 0 68px; height: 44px; border-radius: 4px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; opacity: 0.6; padding: 0; background: none;
}
.portfolioGalleryThumb.active, .portfolioGalleryThumb:hover { opacity: 1; border-color: #1dbf73; }
.portfolioGalleryThumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolioModalContent { padding: 1.5rem 1.75rem 1.75rem; }
.portfolioModalContent h2 {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  color: #222325; margin-bottom: 1rem; padding-right: 2rem; line-height: 1.3;
}
.portfolioModalDesc {
  color: #62646a; font-size: 0.95rem; line-height: 1.7;
  white-space: pre-line; margin-bottom: 1.5rem;
}

/* ===== STANDARDS BANNER ===== */
.standardsBanner { background: var(--dark); color: rgba(255,255,255,0.85); padding: 3rem 0; }
.standardsBanner p { text-align: center; max-width: 900px; margin: 0 auto; line-height: 1.8; font-size: 0.95rem; }
.standardsBanner strong { color: var(--accent); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footerGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-bottom: 3rem; }
.footerCol h4 { color: var(--white); font-family: var(--font-display); margin-bottom: 1.25rem; font-size: 1.1rem; }
.footerCol ul li { margin-bottom: 0.6rem; }
.footerCol a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footerCol a:hover { color: var(--accent); }
.contactList li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.contactList svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.footerBottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; text-align: center; font-size: 0.85rem; }

/* ===== WHATSAPP & SCROLL ===== */
.whatsappFab {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 999;
  background: #25D366; color: var(--white); padding: 0.75rem 1.25rem;
  border-radius: 50px; display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.9rem; box-shadow: 0 4px 20px rgba(0,0,0,0.2); transition: all var(--transition);
}
.whatsappFab:hover { background: #1da851; transform: scale(1.05); }

.scrollTop {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all var(--transition); box-shadow: var(--shadow);
}
.scrollTop.show { opacity: 1; visibility: visible; }
.scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== AOS ===== */
/* Base AOS + image variants live in animations.css */

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .solutionsGrid, .plansGrid { grid-template-columns: repeat(2, 1fr); }
  .productsGrid, .blogGrid, .testimonialsGrid { grid-template-columns: repeat(2, 1fr); }
  .portfolioGrid { grid-template-columns: repeat(2, 1fr); }
  .clientsGrid { grid-template-columns: repeat(3, 1fr); }
  .statsGrid, .valuesGrid { grid-template-columns: repeat(2, 1fr); }
  .aboutGrid, .callbackGrid, .whyGrid, .detailGrid, .aboutPageGrid, .chairmanGrid, .contactPageGrid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detailGrid.reverse { direction: ltr; }
  .chairmanPhoto { position: static; }
}

@media (max-width: 1180px) {
  .navToggle { display: flex; z-index: 1001; }
  .mainNav {
    position: fixed; top: 0; right: -100%; width: 300px; max-width: 88vw; height: 100vh;
    background: var(--white); flex-direction: column; align-items: stretch;
    justify-content: flex-start; flex-wrap: nowrap;
    padding: 5rem 1.25rem 2rem; box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right var(--transition); z-index: 999; gap: 0.25rem;
    overflow-y: auto;
  }
  .mainNav.open { right: 0; }
  .navLink {
    padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.95rem;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .topbarInner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .pillars .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .pillarsGrid { gap: 1rem; min-width: 720px; }
  .solutionsGrid, .productsGrid, .blogGrid, .testimonialsGrid, .plansGrid { grid-template-columns: repeat(2, 1fr); }
  .clientsGrid, .clientsGrid.large, .productsGrid, .blogGrid, .testimonialsGrid, .plansGrid, .teamGrid, .footerGrid { grid-template-columns: 1fr; }
  .portfolioGrid { grid-template-columns: 1fr; }
  .statsGrid, .valuesGrid { grid-template-columns: 1fr 1fr; }
  .heroSlider { height: 70vh; min-height: 450px; }
  .heroNav { bottom: 4.5rem; gap: 1.75rem; }
  .formRow { grid-template-columns: 1fr; }
  .pillars { margin-top: 0; padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, [data-aos] { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
