/* ===================================================
   UMBERTO GLOBAL SERVICES — Custom Stylesheet
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #2563EB;
  --secondary: #6366F1;
  --gradient: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  --gradient-rev: linear-gradient(135deg, #6366F1 0%, #2563EB 100%);
  --dark: #0F172A;
  --text: #475569;
  --light-bg: #F8FAFC;
  --alt-bg: #EEF2FF;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 6px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ---- Base Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.83rem;
  padding: 9px 0;
}
.top-bar a { color: rgba(255,255,255,0.75); }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 5px; }
.top-bar .divider { margin: 0 14px; opacity: 0.3; }
.top-bar .social-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-left: 12px;
  transition: var(--transition);
}
.top-bar .social-links a:hover { color: #fff; }

/* ---- Navbar ---- */
.navbar-main {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  padding: 14px 0;
  transition: var(--transition);
  position: sticky;
  top: 0;
  z-index: 1050;
}
.navbar-main.scrolled {
  box-shadow: 0 4px 28px rgba(37,99,235,0.13);
  padding: 10px 0;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  letter-spacing: -1px;
}
.logo-text { line-height: 1.2; }
.logo-text .brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  display: block;
}
.logo-text .tagline {
  font-size: 0.67rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
}
.navbar-main .nav-link {
  color: var(--dark) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 13px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active-link {
  color: var(--primary) !important;
  background: rgba(37,99,235,0.07);
}
/* Dropdown */
.navbar-main .dropdown-menu {
  border: none;
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 300px;
  animation: dropFade 0.2s ease;
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.navbar-main .dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}
.navbar-main .dropdown-item:hover {
  background: var(--alt-bg);
  color: var(--primary);
}
.navbar-main .dropdown-item i {
  width: 22px;
  text-align: center;
  color: var(--primary);
  font-size: 0.95rem;
}
.btn-nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  border: none;
}
.btn-nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  background: var(--gradient) !important;
}

/* ---- Buttons ---- */
.btn-primary-custom {
  background: var(--gradient);
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.4);
  color: #fff;
}
.btn-outline-custom {
  background: transparent;
  color: #fff;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  padding: 13px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}
.btn-sm-link i { transition: var(--transition); }
.btn-sm-link:hover i { transform: translateX(4px); }
.btn-sm-link:hover { color: var(--secondary); }

/* ---- Section Spacing ---- */
.section-padding { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--alt-bg); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.7); }

/* Section Label */
.section-label {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  color: var(--secondary);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label.light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.8;
}
.section-subtitle.left { margin-left: 0; }
.title-divider {
  width: 56px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 14px auto 18px;
}
.title-divider.left { margin-left: 0; }

/* ---- Hero ---- */
.hero-section {
  min-height: 100vh;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: floatShape 7s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 420px; height: 420px; top: -120px; right: -100px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 260px; height: 260px; bottom: 40px; left: -60px; animation-delay: 2.5s; }
.hero-shape:nth-child(3) { width: 190px; height: 190px; top: 55%; right: 22%; animation-delay: 4.5s; }
.hero-shape:nth-child(4) { width: 130px; height: 130px; top: 18%; left: 18%; animation-delay: 1.2s; }
@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 26px;
  color: #fff;
}
.hero-title .underline-word {
  position: relative;
  display: inline-block;
}
.hero-title .underline-word::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
}
.hero-text {
  font-size: 1.13rem;
  color: rgba(255,255,255,0.87);
  margin-bottom: 38px;
  max-width: 520px;
  line-height: 1.85;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-image-wrap { position: relative; z-index: 2; }
.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  width: 100%;
  object-fit: cover;
  max-height: 500px;
}
.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  min-width: 155px;
  z-index: 3;
}
.hero-float-card.card-1 { bottom: -24px; left: -32px; }
.hero-float-card.card-2 { top: -24px; right: -20px; }
.float-icon {
  width: 44px; height: 44px;
  background: var(--alt-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.float-num { font-size: 1.3rem; font-weight: 800; color: var(--dark); line-height: 1; }
.float-lbl { font-size: 0.73rem; color: var(--text); line-height: 1.4; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--dark);
  padding: 48px 0;
}
.stat-item { text-align: center; padding: 12px 8px; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stat-lbl { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  height: 60px;
  margin: auto;
}

/* ---- Service Cards ---- */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 66px; height: 66px;
  background: var(--alt-bg);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.05);
}
.service-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { font-size: 0.9rem; color: var(--text); margin-bottom: 20px; line-height: 1.75; }

/* ---- Why Choose Us ---- */
.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); border-color: rgba(99,102,241,0.25); }
.why-icon {
  width: 58px; height: 58px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.why-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.why-card p { font-size: 0.9rem; color: var(--text); line-height: 1.8; margin: 0; }

/* ---- Process Steps ---- */
.process-wrap { position: relative; }
.process-step { text-align: center; padding: 10px 20px; position: relative; }
.process-num {
  width: 74px; height: 74px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.process-line {
  position: absolute;
  top: 47px; left: calc(50% + 46px);
  right: calc(-50% + 46px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.25;
}
.process-step h5 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.process-step p { font-size: 0.88rem; color: var(--text); line-height: 1.75; }

/* ---- Industries Grid ---- */
.industry-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: #fff;
  transition: var(--transition);
}
.industry-card:hover {
  border-color: rgba(99,102,241,0.4);
  background: var(--alt-bg);
  transform: translateY(-3px);
}
.industry-card i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; display: block; }
.industry-card span { font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--dark); }

/* ---- Testimonials ---- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  border: 1.5px solid var(--border);
}
.quote-mark {
  font-size: 5rem;
  color: rgba(99,102,241,0.12);
  position: absolute;
  top: 12px; right: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}
.stars { color: #F59E0B; font-size: 0.88rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}
.author-row { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.author-role { font-size: 0.8rem; color: var(--text); }

/* ---- Partners / Clients ---- */
.partner-strip { background: var(--light-bg); padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-item {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 28px;
  opacity: 0.45;
  filter: grayscale(1);
  transition: var(--transition);
}
.partner-item:hover { opacity: 0.8; filter: grayscale(0); }
.partner-item .partner-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Blog Cards ---- */
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { overflow: hidden; }
.blog-card-img img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 26px; }
.blog-cat {
  display: inline-block;
  background: var(--alt-bg);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.blog-card h5 { font-size: 1.03rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); line-height: 1.5; }
.blog-card h5 a { color: inherit; }
.blog-card h5 a:hover { color: var(--primary); }
.blog-meta { font-size: 0.8rem; color: var(--text); display: flex; gap: 16px; flex-wrap: wrap; }
.blog-meta i { color: var(--primary); margin-right: 4px; }
.blog-excerpt { font-size: 0.88rem; color: var(--text); line-height: 1.75; margin: 12px 0 18px; }

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--gradient);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner .cta-shape:nth-child(1) { width: 350px; height: 350px; top: -100px; left: -80px; }
.cta-banner .cta-shape:nth-child(2) { width: 450px; height: 450px; bottom: -120px; right: -80px; }
.cta-banner h2 { color: #fff; font-size: 2.4rem; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; position: relative; z-index: 1; max-width: 560px; margin: 14px auto 36px; }
.cta-banner .btn-wrap { position: relative; z-index: 1; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: var(--gradient);
  padding: 110px 0 88px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 5%;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-hero-title { color: #fff; font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; position: relative; z-index: 1; }
.page-hero-subtitle { color: rgba(255,255,255,0.85); font-size: 1.08rem; max-width: 560px; line-height: 1.8; position: relative; z-index: 1; }
nav.breadcrumb-nav { position: relative; z-index: 1; margin-bottom: 18px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Benefit Cards (service pages) ---- */
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.benefit-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.benefit-icon { font-size: 1.9rem; color: var(--primary); margin-bottom: 16px; }
.benefit-card h5 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.benefit-card p { font-size: 0.88rem; color: var(--text); line-height: 1.75; margin: 0; }

/* ---- Sub-service Feature Cards ---- */
.feature-card {
  background: var(--alt-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.feature-card:hover { background: #fff; box-shadow: var(--shadow-md); }
.feature-card h5 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.feature-card h5 i { color: var(--primary); }
.feature-card p { font-size: 0.88rem; color: var(--text); line-height: 1.75; margin: 0; }

/* ---- FAQ Accordion ---- */
.faq-section .accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-section .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--dark);
  background: #fff;
  padding: 20px 24px;
  box-shadow: none;
}
.faq-section .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--alt-bg);
  box-shadow: none;
}
.faq-section .accordion-body {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.85;
  padding: 16px 24px 26px;
  background: #fff;
}

/* ---- Contact Page ---- */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 50px 44px;
  box-shadow: var(--shadow-lg);
}
.form-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--dark);
  margin-bottom: 8px;
  display: block;
}
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--light-bg);
  width: 100%;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: #fff;
  outline: none;
}
.mb-4 { margin-bottom: 1.5rem; }
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
  margin-bottom: 20px;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.2); }
.contact-icon {
  width: 54px; height: 54px;
  background: var(--alt-bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-card h6 { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 0.95rem; }
.contact-info-card p, .contact-info-card a { color: var(--text); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.contact-info-card a { display: block; }
.contact-info-card a:hover { color: var(--primary); }
/* Success Alert */
.form-success {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1.5px solid #6EE7B7;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.form-success i { font-size: 1.5rem; color: #10B981; }
.form-success-title { font-family: 'Poppins', sans-serif; font-weight: 700; color: #065F46; font-size: 1rem; }
.form-success-text { font-size: 0.88rem; color: #047857; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ---- About Page ---- */
.timeline { position: relative; padding-left: 38px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 14px; top: 6px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute;
  left: -31px; top: 4px;
  width: 16px; height: 16px;
  background: var(--gradient);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.timeline-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.timeline-text { font-size: 0.9rem; color: var(--text); line-height: 1.75; }
/* MVV Cards */
.mvv-card {
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mvv-card.mission { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.mvv-card.vision  { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.mvv-card.values  { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }
.mvv-icon { font-size: 2.6rem; margin-bottom: 20px; }
.mvv-card h4 { font-size: 1.25rem; margin-bottom: 16px; color: var(--dark); }
.mvv-card p { font-size: 0.92rem; color: var(--text); line-height: 1.85; margin: 0; }
/* Team */
.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0 auto 22px;
}
.team-card h5 { font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: 1.05rem; }
.team-role { color: var(--secondary); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; display: block; }
.team-card p { font-size: 0.88rem; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.team-social a {
  width: 34px; height: 34px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 0.8rem;
  margin: 0 3px;
  transition: var(--transition);
}
.team-social a:hover { background: var(--gradient); border-color: transparent; color: #fff; }
/* Award Cards */
.award-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.award-icon { font-size: 2.5rem; margin-bottom: 14px; }
.award-card h6 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.award-card small { font-size: 0.82rem; color: var(--text); }

/* ---- Blog Detail ---- */
.blog-detail-content { max-width: 780px; margin: 0 auto; }
.blog-detail-content h2 { font-size: 1.8rem; margin: 44px 0 18px; }
.blog-detail-content h3 { font-size: 1.35rem; margin: 34px 0 14px; }
.blog-detail-content p { margin-bottom: 22px; line-height: 1.9; color: var(--text); }
.blog-detail-content ul, .blog-detail-content ol { margin-bottom: 22px; padding-left: 24px; }
.blog-detail-content li { margin-bottom: 9px; line-height: 1.8; color: var(--text); }
.blog-detail-content img { border-radius: var(--radius); margin: 32px 0; }
.blog-detail-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 18px 26px;
  margin: 30px 0;
  background: var(--alt-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--dark);
  font-size: 1.05rem;
}
/* Author bio */
.author-bio {
  background: var(--alt-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 64px;
  border: 1.5px solid rgba(99,102,241,0.2);
}
.bio-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.author-bio h5 { font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.author-bio .role { font-size: 0.85rem; color: var(--secondary); font-weight: 600; margin-bottom: 10px; display: block; }
.author-bio p { font-size: 0.9rem; color: var(--text); margin: 0; line-height: 1.8; }
/* Blog listing sidebar */
.blog-sidebar .sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  margin-bottom: 28px;
}
.blog-sidebar .widget-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--alt-bg);
}
.cat-list li { margin-bottom: 10px; }
.cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text); font-size: 0.9rem; padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.cat-list a:hover { color: var(--primary); }
.cat-list .count {
  background: var(--alt-bg); color: var(--secondary);
  font-size: 0.75rem; font-weight: 700; padding: 2px 9px; border-radius: 50px;
}
.recent-post { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.recent-post img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.recent-post h6 { font-size: 0.87rem; font-weight: 600; color: var(--dark); line-height: 1.5; margin-bottom: 5px; }
.recent-post h6 a { color: inherit; }
.recent-post h6 a:hover { color: var(--primary); }
.recent-post small { font-size: 0.78rem; color: var(--text); }
/* Filter tabs */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

/* ---- Legal Pages ---- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.55rem; margin: 42px 0 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 26px 0 12px; color: var(--dark); }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--text); line-height: 1.9; }
.legal-content ul { padding-left: 22px; margin-bottom: 22px; list-style: disc; }
.legal-content li { margin-bottom: 9px; }
.legal-date {
  display: inline-block;
  background: var(--alt-bg);
  color: var(--secondary);
  font-size: 0.87rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  margin-bottom: 44px;
}

/* ---- 404 Page ---- */
.error-page {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
}
.error-num {
  font-family: 'Poppins', sans-serif;
  font-size: 9rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ---- Footer ---- */
footer {
  background: var(--dark);
  padding: 88px 0 0;
}
.footer-about .logo-text .brand { color: #fff; }
.footer-about .logo-text .tagline { color: rgba(255,255,255,0.45); }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.85; margin: 16px 0 24px; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  margin-right: 8px;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.footer-col-title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: rgba(255,255,255,0.58);
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 7px;
  transition: var(--transition);
}
.footer-links a i { font-size: 0.65rem; color: var(--secondary); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 13px;
  margin-bottom: 18px; font-size: 0.9rem;
}
.footer-contact-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; font-size: 0.95rem; }
.footer-contact-item span, .footer-contact-item a { color: rgba(255,255,255,0.58); line-height: 1.7; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 64px;
}
.footer-copy { color: rgba(255,255,255,0.38); font-size: 0.85rem; }
.footer-legal a { color: rgba(255,255,255,0.45); font-size: 0.82rem; margin-left: 20px; transition: var(--transition); }
.footer-legal a:hover { color: #fff; }

/* ---- Animations ---- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 1.9rem; }
  .hero-image-wrap { margin-top: 52px; }
  .hero-float-card { display: none; }
  .contact-form-wrap { padding: 36px 28px; }
  .author-bio { flex-direction: column; }
}
@media (max-width: 767px) {
  .section-padding { padding: 72px 0; }
  .hero-section { padding: 100px 0 64px; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-text { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stat-num { font-size: 2.1rem; }
  .top-bar .top-bar-right { display: none !important; }
  .process-line { display: none; }
  .cta-banner h2 { font-size: 1.85rem; }
  .page-hero-title { font-size: 2.1rem; }
  .error-num { font-size: 6rem; }
  .contact-form-wrap { padding: 28px 20px; }
  .blog-card-img img { height: 200px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 1.75rem; }
  .section-title { font-size: 1.6rem; }
}
