/* 万嘉科技 SingaCNC - 全局样式 */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.top-bar {
  background-color: #dc2626;
  color: white;
  padding: 0.5rem 0;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-right a {
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.top-bar-right a:hover {
  opacity: 0.8;
}

.separator {
  opacity: 0.5;
}

/* Main Header */
.main-header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dc2626;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 0.25rem;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.15s;
  border-radius: 0.25rem;
}

.nav-link:hover {
  color: #dc2626;
}

.nav-link.active {
  color: #dc2626;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: white;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background-color: #fef2f2;
  color: #dc2626;
}

.nav-dropdown-arrow {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  padding: 0.5rem;
  color: #374151;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
}

.icon-btn:hover {
  color: #dc2626;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: #111827;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), transparent);
}

.hero-content {
  position: relative;
  max-width: 640px;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #dc2626;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #dc2626;
  color: white;
}

.btn-primary:hover {
  background-color: #b91c1c;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: #111827;
}

.btn-outline-red {
  background-color: transparent;
  color: #dc2626;
  border: 1px solid #dc2626;
}

.btn-outline-red:hover {
  background-color: #fee2e2;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-gray {
  background-color: #f9fafb;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #6b7280;
  margin-bottom: 3rem;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: #fee2e2;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: #dc2626;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: #6b7280;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.content-text {
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.content-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.product-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.product-image-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.product-card:hover .product-title {
  color: #dc2626;
}

.product-desc {
  color: #6b7280;
}

/* Case Cards */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.case-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.case-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.case-image-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.case-content {
  padding: 1.25rem;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.case-material {
  color: #6b7280;
}

.case-roughness {
  color: #dc2626;
  font-weight: 500;
}

/* News Cards */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.news-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.news-image {
  height: 12rem;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1.25rem;
}

.news-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-card:hover .news-title {
  color: #dc2626;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-white {
  background-color: white;
  color: #dc2626;
}

.btn-white:hover {
  background-color: #f3f4f6;
}

/* Footer */
.footer {
  background-color: #111827;
  color: white;
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-title span {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
  display: block;
}

.footer-text {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #dc2626;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.section-header-left h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.section-header-left p {
  color: #6b7280;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.breadcrumb-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-content a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  transition: color 0.15s;
}

.breadcrumb-content a:hover {
  color: #dc2626;
}

.breadcrumb-content svg {
  width: 1rem;
  height: 1rem;
}

.breadcrumb-separator {
  color: #d1d5db;
}

.breadcrumb-current {
  color: #111827;
  font-weight: 500;
}

/* Page Hero */
.page-hero {
  position: relative;
  background-color: #111827;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-hero-content {
  position: relative;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .page-hero-content {
    padding: 6rem 0;
  }
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-hero-title {
    font-size: 3.75rem;
  }
}

.page-hero-desc {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 42rem;
}

/* Product Detail Page */
.product-tabs {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 4rem;
  z-index: 30;
}

.product-tabs-content {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
}

.product-tab {
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.product-tab:hover {
  color: #dc2626;
}

.product-tab.active {
  color: #dc2626;
  border-bottom-color: #dc2626;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.product-detail-image img {
  width: 100%;
  height: auto;
}

.product-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fee2e2;
  color: #dc2626;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.product-detail-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.product-detail-desc {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.product-specs {
  background-color: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.product-specs-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product-spec-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.product-spec-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.product-features-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.product-features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-features-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Case Detail Cards */
.case-detail-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

.case-detail-image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.case-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-detail-card:hover .case-detail-image img {
  transform: scale(1.05);
}

.case-detail-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.case-detail-image-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
}

.case-detail-content {
  padding: 1.25rem;
}

.case-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.case-detail-label {
  color: #6b7280;
}

.case-detail-value {
  color: #111827;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

.case-detail-value.highlight {
  color: #dc2626;
}

/* News Filter */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.news-filter-btn:hover {
  background-color: #e5e7eb;
}

.news-filter-btn.active {
  background-color: #dc2626;
  color: white;
}

/* Featured News */
.featured-news {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .featured-news {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-news-image {
  position: relative;
  height: 16rem;
}

@media (min-width: 1024px) {
  .featured-news-image {
    height: auto;
  }
}

.featured-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.featured-news-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.featured-news-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-news-meta svg {
  width: 1rem;
  height: 1rem;
}

.featured-news-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.featured-news-desc {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #fee2e2;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #dc2626;
}

.contact-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  color: #dc2626;
  font-weight: 500;
}

.contact-card-sub {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Contact Form */
.contact-form-section {
  background-color: #f9fafb;
  padding: 4rem 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

/* About Page */
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mission-card {
  border-radius: 1rem;
  padding: 2rem;
}

.mission-card.red {
  background-color: #fee2e2;
}

.mission-card.dark {
  background-color: #111827;
}

.mission-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.mission-card.red .mission-icon {
  background-color: #dc2626;
}

.mission-card.dark .mission-icon {
  background-color: white;
}

.mission-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.mission-card.red .mission-icon svg {
  color: white;
}

.mission-card.dark .mission-icon svg {
  color: #dc2626;
}

.mission-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission-card.red .mission-title {
  color: #111827;
}

.mission-card.dark .mission-title {
  color: white;
}

.mission-desc {
  line-height: 1.75;
}

.mission-card.red .mission-desc {
  color: #374151;
}

.mission-card.dark .mission-desc {
  color: #d1d5db;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6b7280;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 4rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #e5e7eb;
  display: none;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
  }
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    gap: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.timeline-content {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
  }
}

.timeline-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  display: inline-block;
  text-align: left;
}

.timeline-dot {
  width: 1rem;
  height: 1rem;
  background-color: #dc2626;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px #e5e7eb;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 768px) {
  .timeline-dot {
    display: block;
  }
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  color: #6b7280;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background-color: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #dc2626;
}

.value-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.value-desc {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cert-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cert-icon {
  width: 3rem;
  height: 3rem;
  background-color: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #dc2626;
}

.cert-title {
  font-weight: 500;
  color: #111827;
}

/* Application Areas */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .app-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-card {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.app-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.app-desc {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SVG Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* News List Style */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-list-item {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.news-list-item:hover {
  border-left-color: #dc2626;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateX(4px);
}

.news-list-date {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.875rem;
  color: #6b7280;
}

.news-list-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.5;
}

.news-list-arrow {
  flex-shrink: 0;
  color: #dc2626;
  opacity: 0;
  transition: opacity 0.3s;
}

.news-list-item:hover .news-list-arrow {
  opacity: 1;
}
