/* ============================================
   威海文隆电池有限公司 - 静态官网样式
   www.wenlong.cc
   ============================================ */

/* === CSS Variables === */
:root {
  --primary: #003d7a;
  --primary-dark: #002a55;
  --primary-light: #0058a8;
  --accent: #e8a723;
  --accent-light: #f5c962;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --bg-gray: #eef1f5;
  --border-color: #e0e4e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 4px;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: all 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === Top Bar === */
.top-bar {
  background: rgba(0,20,50,0.4);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  height: 36px;
  line-height: 36px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: background 0.3s ease;
}

.top-bar.scrolled {
  position: fixed;
  background: var(--primary-dark);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar .welcome {
  font-size: 13px;
}

.top-bar .top-links a {
  color: rgba(255,255,255,0.8);
  margin-left: 16px;
  font-size: 13px;
}

.top-bar .top-links a:hover {
  color: #fff;
}

/* === Header === */
.site-header {
  background: transparent;
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  position: fixed;
  top: 36px;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .logo-text h1 {
  color: var(--primary);
}

.site-header.scrolled .logo-text p {
  color: var(--text-light);
}

.site-header.scrolled .main-nav > ul > li > a {
  color: var(--text-dark);
}

.site-header.scrolled .main-nav > ul > li:hover > a,
.site-header.scrolled .main-nav > ul > li.active > a {
  color: var(--primary);
}

/* Hero状态下的 logo 和导航文字为白色 */
.logo-text h1 {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.logo-text p {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* === Main Navigation === */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav > ul {
  display: flex;
  height: 100%;
}

.main-nav > ul > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #fff;
  transition: width 0.3s ease;
}

.site-header.scrolled .main-nav > ul > li > a::after {
  background: var(--primary);
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
  width: 60%;
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
  color: #fff;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-top: 2px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 999;
}

.main-nav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--bg-light);
  transition: var(--transition);
}

.dropdown li a:hover {
  color: var(--primary);
  background: var(--bg-light);
  padding-left: 24px;
}

/* === Mobile Menu Toggle === */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

.site-header.scrolled .menu-toggle span {
  background: var(--text-dark);
}

/* === Hero / Banner === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots span.active {
  background: #fff;
  transform: scale(1.2);
}

/* === Sub Page Banner === */
.page-banner {
  height: 260px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-white), transparent);
}

.page-banner h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-banner .en-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.6;
}

/* === Hero Banner Variant (shared for all sub pages) === */
.page-banner-hero {
  height: 555px;
  overflow: hidden;
}

.page-banner-hero::after {
  display: none;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(160deg, #001530 0%, #003d7a 40%, #0058a8 70%, #004090 100%);
  z-index: 0;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 700px;
}

.page-banner-hero h2 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 6px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.page-banner-subtitle {
  font-size: 18px;
  letter-spacing: 4px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.page-banner-desc {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.75;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb-in-banner {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  color: rgba(255,255,255,0.6);
  border-bottom: none;
  padding: 0;
  font-size: 13px;
}

.breadcrumb-in-banner a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb-in-banner a:hover {
  color: #fff;
}

.breadcrumb-in-banner span {
  color: rgba(255,255,255,0.6);
  margin: 0 6px;
}



/* === Section === */
.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h3 {
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title .en {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

/* === Product Grid === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card .card-img {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .card-img svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.product-card .card-body {
  padding: 16px;
  text-align: center;
}

.product-card .card-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-card .card-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}







/* === Two Column Layout (for About pages) === */
.two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 40px 0;
}

/* Sidebar */
.sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.sidebar-title {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
}

.sidebar-menu li a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-medium);
  border-bottom: 1px solid var(--bg-light);
  transition: var(--transition);
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
  color: var(--primary);
  background: var(--bg-light);
  padding-left: 24px;
}

.sidebar-contact {
  padding: 20px;
}

.sidebar-contact h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.sidebar-contact p {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 2;
}

/* Content Area */
.content-area {
  min-height: 400px;
}

.content-area h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.content-area p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-medium);
  margin-bottom: 16px;
  text-indent: 2em;
}

.content-area .content-img {
  margin: 24px 0;
  text-align: center;
}

.content-area .content-img img {
  max-width: 100%;
  border-radius: var(--radius);
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}





/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-info {
  padding: 20px 0;
}

.contact-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.contact-item .info h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-item .info p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

.contact-map {
  background: var(--bg-light);
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map svg {
  width: 80px;
  height: 80px;
  opacity: 0.2;
}















/* === Stats / Counter === */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 40px 0;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-item .stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* === About Intro on Homepage === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-intro .about-img {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  position: relative;
}

.about-intro .about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.about-intro .about-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,40,80,0.25), transparent);
  pointer-events: none;
}

.about-intro .about-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-intro .about-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-medium);
  margin-bottom: 12px;
}

.about-intro .about-text .btn-more {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 12px;
  transition: var(--transition);
}

.about-intro .about-text .btn-more:hover {
  background: var(--primary);
  color: #fff;
}

/* === Footer === */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col p {
  font-size: 13px;
  line-height: 2;
}

.footer-col ul li a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* === Product Detail === */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 30px 0;
}

.product-detail .product-img {
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.product-detail .product-img svg {
  width: 100px;
  height: 100px;
  opacity: 0.2;
}

.product-detail .product-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.product-detail .product-info .product-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 2;
  margin-bottom: 20px;
}

.product-specs {
  width: 100%;
  border-collapse: collapse;
}

.product-specs th,
.product-specs td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  text-align: left;
}

.product-specs th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
  width: 30%;
}

.product-specs td {
  color: var(--text-medium);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .top-bar {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
  }

  .main-nav > ul > li {
    height: auto;
    flex-direction: column;
  }

  .main-nav > ul > li > a {
    padding: 14px 20px;
    height: auto;
    border-bottom: 1px solid var(--bg-light);
  }

  .main-nav > ul > li > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    background: var(--bg-light);
    display: none;
  }

  .main-nav > ul > li.open .dropdown {
    display: block;
  }

  .dropdown li a {
    padding-left: 40px;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .page-banner {
    height: 180px;
  }

  .page-banner h2 {
    font-size: 26px;
  }

  .page-banner-hero {
    height: 370px;
  }

  .page-banner-hero h2 {
    font-size: 32px;
  }

  .page-banner-subtitle {
    font-size: 14px;
  }

  .page-banner-desc {
    font-size: 13px;
    max-width: 90%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }



  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }



  .section {
    padding: 40px 0;
  }

  .section-title h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }



  .stat-item .stat-num {
    font-size: 32px;
  }
}

/* === Certifications Section === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.cert-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,60,120,0.1);
  border-color: var(--primary-light);
}

.cert-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #e8f4fd, #d0e8f9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
}

.cert-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 13px;
  color: #6b7b8d;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
