/* 邻邦选 - 主样式文件 */

/* ==================== 基础样式 ==================== */
:root {
  --primary-color: #EC0D0D
  /* #FF6B35 */
  ;
  --primary-dark: #E55A2B;
  --accent-color: #4ECDC4;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-light: #FAFAFA;
  --bg-gray: #F5F5F5;
  --border-color: #E5E5E5;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ==================== 布局容器 ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-gray);
}

/* ==================== 头部导航 ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-top {
  background: var(--primary-color);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}

.header-top a {
  color: var(--white);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hotline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hotline-icon {
  width: 20px;
  height: 20px;
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 120px;
  height: 75px;
  /* background: var(--primary-color); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  font-size: 16px;
  color: var(--text-dark);
  padding: 10px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==================== 轮播图 ==================== */
.banner {
  margin-top: 110px;
  position: relative;
  overflow: hidden;
}

.banner-slider {
  position: relative;
  width: 100%;
  height: 500px;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-content h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.banner-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
}

.banner-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* 轮播指示器 */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dots .dot.active {
  background: var(--white);
}

/* 轮播箭头 */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(161, 161, 161, 0.3);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: var(--white);
  transition: var(--transition);
}

.banner:hover .banner-arrow {
  display: flex;
}

.banner-arrow:hover {
  background: rgba(161, 161, 161, 0.5);
}

.banner-arrow.prev {
  left: 20px;
}

.banner-arrow.next {
  right: 20px;
}
/* ==================== 合作资料提交 ==================== */
.cooperationDiv {
  margin-top: 30px;
  text-align: center;
}
.cooperationForm {
  display: flex;
  gap: 20px;
  padding: 20px;
  align-items: center;
  justify-content: center;
}
.cooperationForm .cooperation-form-group {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 30%;
  position: relative;
}
.cooperationForm label {
  width: 80px;
  font-size: 16px;
  color: var(--text-dark);
}
.cooperationForm input {
  width: 90%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  border-radius: 30px;
}
.cooperationForm .cooperation-form-submit{
  width: 30%;
}
.cooperationForm button {
  width: 100%;
  padding: 10px 30px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
}
.required {
  color: red;
}

/* 表单错误提示样式 */
.error-message {
  color: #FF4D4F;
  font-size: 14px;
  margin-left: 5px;
  display: none;
  position: absolute;
  right: 10px;
}

.cooperation-form-group input.error {
  border-color: #FF4D4F !important;
}
/* ==================== 服务分类 ==================== */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.service-icon {
  /* width: 70px;
  height: 70px; */
  margin: 0 auto 15px;
  /* background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 80px;
  height: 80px;
  fill: var(--white);
}

.service-card h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
}
/* ==================== 地图 ==================== */
.map-container {
  display: flex;
  justify-content: space-between;
}
.map {
  background: var(--white);
}
#map {
  width: 65%;
  height: 600px; 
  margin: 0 auto;
  background-color: #ffffff;
}
.city-list {
  width: 35%;
  height: 600px; 
  margin: 0 auto;
  padding: 3px;
  background-color: #ffffff;
  position: relative;
}

.city-list-content {
  margin-left: 10px;
  margin-bottom: 20px;
}

.city-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.city-item-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
}
.city-logo-text {
  font-size: 16px;
}
.city-item-info {
  flex: 1;
  font-size: 16px;
}

.city-item-title {
  font-weight: bold;
  margin-bottom: 3px;
}
.city-item-area {
  margin-bottom: 3px;
  display: flex;
  justify-content: space-between;
}
.city-item-amount span {
  color: #c0392b;
  font-weight: bold;
}

.city-list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 3px;
  position: absolute;
  bottom: 0;
}

.page-btn {
  padding: 4px 8px;
  background: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
}

.page-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.page-input {
  width: 30px;
  padding: 2px;
}
/* ==================== 服务分类 ==================== */
.services {
  background: var(--white);
}
/* ==================== 核心优势 ==================== */
.features {
  background: linear-gradient(135deg, #FFF5F0 0%, #F0FFFE 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon.blue {
  background: #E3F2FD;
  color: #2196F3;
}

.feature-icon.green {
  background: #E8F5E9;
  color: #4CAF50;
}

.feature-icon.orange {
  background: #FFF3E0;
  color: #FF9800;
}

.feature-icon.purple {
  background: #F3E5F5;
  color: #9C27B0;
}

.feature-icon.red {
  background: #FFEBEE;
  color: #F44336;
}

.feature-icon.teal {
  background: #E0F2F1;
  color: #009688;
}

.feature-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-content p {
  font-size: 14px;
  color: var(--text-gray);
}

/* ==================== 新闻中心 ==================== */
.news {
  background: var(--white);
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-color);
  font-size: 14px;
}

.news-more:hover {
  color: var(--primary-dark);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-thumb img {
  transform: scale(1.1);
}

.news-info {
  padding: 15px 15px 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 12px;
  border-radius: 20px;
  width: fit-content;
}

.news-info h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-info h3:hover {
  color: var(--primary-color);
}

.news-info p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 14px;
  color: var(--text-light);
}

/* ==================== 关于我们 ==================== */
.about-section {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
}

/* 统计数据 */
.stats {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

/* ==================== 联系我们 ==================== */
.contact-section {
  background: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.contact-text h4 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-dark);
}

/* ==================== 页脚 ==================== */
.footer {
  background: #2D2D2D;
  color: var(--white);
  padding-top: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-color);
}

.footer-links h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==================== 新闻列表页 ==================== */
.page-banner {
  margin-top: 110px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
  background: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-gray);
}

.breadcrumb-list a:hover {
  color: var(--primary-color);
}

.breadcrumb-list .separator {
  color: var(--text-light);
}

/* 新闻列表 */
.news-list-section {
  padding: 40px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-list-item {
  display: flex;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-list-item:hover {
  box-shadow: var(--shadow-hover);
}

.news-list-thumb {
  width: 280px;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-list-item:hover .news-list-thumb img {
  transform: scale(1.1);
}

.news-list-info {
  padding: 20px 5px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-info h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.news-list-info h3:hover {
  color: var(--primary-color);
}

.news-list-info p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.pagination-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.pagination-btn:disabled {
  background: var(--gray-light);
  border-color: var(--border-color);
  color: var(--text-gray-light);
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-size: 14px;
  color: var(--text-gray-light);
}

/* ==================== 新闻详情页 ==================== */
.news-detail {
  padding: 40px 0;
}

.news-detail-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.news-detail-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.news-detail-header h1 {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.news-detail-meta {
  font-size: 14px;
  color: var(--text-light);
}

.news-detail-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.news-detail-body p {
  margin-bottom: 15px;
}

.news-detail-body img {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border-radius: var(--radius);
}

.news-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.news-nav a {
  font-size: 14px;
  color: var(--text-gray);
}

.news-nav a:hover {
  color: var(--primary-color);
}

/* ==================== Tab 切换 ==================== */
.tabs {
  margin-bottom: 30px;
}

.tab-list {
  display: flex;
  gap: 5px;
  border-bottom: 2px solid var(--border-color);
}

.tab-item {
  padding: 15px 30px;
  font-size: 16px;
  color: var(--text-gray);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.tab-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

.tab-item:hover,
.tab-item.active {
  color: var(--primary-color);
}

.tab-item.active::after {
  background: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ==================== 响应式设计 ==================== */
/* 合作伙伴区域响应式 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

@media (max-width: 992px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-top {
    display: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .banner-slider {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links ul {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 40px 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .news-card {
    flex-direction: column;
  }

  .news-thumb {
    width: 100%;
    height: 200px;
  }

  .news-info {
    padding: 15px;
  }

  .news-list-item {
    flex-direction: column;
  }

  .news-list-thumb {
    width: 100%;
    height: 200px;
  }

  .news-list-info {
    padding: 15px;
  }

  .news-detail-content {
    padding: 20px;
  }

  .news-detail-header h1 {
    font-size: 22px;
  }
  .footer-links ul {
    display: flex;
    justify-content: space-between;
  }
}
