/* ========== Hero Slider ========== */
.hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
}

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

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
}

.hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.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: var(--white);
  width: 32px;
  border-radius: 6px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== About Section ========== */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-text .subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  padding-left: 48px;
}

.about-text .subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.about-text h2 {
  font-size: 32px;
  color: var(--dark);
  margin: 12px 0 16px;
  font-weight: 700;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  text-align: center;
}

.stat-item h3 {
  font-size: 32px;
  color: var(--primary);
  font-weight: 700;
}

.stat-item p {
  font-size: 13px;
  color: var(--gray);
  margin-top: 4px;
}

/* ========== Products Section ========== */
.products-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.product-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.product-card-body {
  padding: 20px;
}

.product-card-cat {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

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

.product-card-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-card-body .more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* ========== Cases Section ========== */
.cases-section {
  padding: 80px 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.case-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.case-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,29,58,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
}

.case-item:hover .case-item-overlay {
  opacity: 1;
}

.case-item-overlay h4 {
  font-size: 18px;
  font-weight: 600;
}

.case-item-overlay p {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.8;
}

.cases-section .btn-wrapper {
  text-align: center;
  margin-top: 36px;
}

/* ========== News Section ========== */
.news-section {
  padding: 80px 0;
  background: var(--gray-light);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.news-main-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.news-main-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-main-img {
  height: 280px;
  overflow: hidden;
}

.news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-main-card:hover .news-main-img img {
  transform: scale(1.05);
}

.news-main-body {
  padding: 24px;
}

.news-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-main-body h4 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 8px;
}

.news-main-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-side-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  transition: all var(--transition);
  cursor: pointer;
}

.news-side-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.news-side-date {
  text-align: center;
  min-width: 48px;
}

.news-side-date .day {
  font-size: 26px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.news-side-date .month {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}

.news-side-info h5 {
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.news-side-info p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

.news-section .btn-wrapper {
  text-align: center;
}

/* ========== Partners Section ========== */
.partners-section {
  padding: 50px 0;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logos img {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.partner-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}
