:root {
  --color-primary: #0052D9;
  --color-primary-dark: #003BB3;
  --color-primary-light: #E6F0FF;
  --color-tech-blue: #0066FF;
  --color-tech-cyan: #00C8B4;
  --color-orange: #FF6B35;
  --color-green: #00B578;
  --color-heading: #1A1A2E;
  --color-body: #4A4A68;
  --color-muted: #8C8CA1;
  --color-border: #E5E7EB;
  --color-bg: #E4ECF5;
  --color-white: #FFFFFF;
  --gradient-hero: linear-gradient(135deg, #0052D9 0%, #0066FF 50%, #00C8B4 100%);
  --gradient-btn: linear-gradient(90deg, #0052D9 0%, #0066FF 100%);
  --gradient-card: linear-gradient(135deg, #0052D9 0%, #0066FF 100%);
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-body);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  padding: 0 120px;
}

@media (max-width: 1199px) {
  .container { padding: 0 60px; }
}

@media (max-width: 767px) {
  .container { padding: 0 32px; }
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  backdrop-filter: none;
  z-index: 1000;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  width: 100%;
  padding: 0 120px;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
}

@media (max-width: 1199px) {
  .header-inner { padding: 0 60px; }
}

@media (max-width: 767px) {
  .header-inner { padding: 0 32px; }
}

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

.logo img {
  height: 40px;
  width: auto;
}

.logo .logo-white {
  display: none;
}

.logo .logo-color {
  display: block;
}



.nav {
  display: flex !important;
  align-items: center;
  gap: 36px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto !important;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-heading);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-normal);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-normal), background var(--transition-normal);
}

.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link:hover::after {
  width: 100%;
}




.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 82, 217, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 8px;
  min-width: 200px;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 82, 217, 0.08);
  backdrop-filter: blur(10px);
}



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

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 450;
  color: var(--color-body);
  transition: all 0.2s ease;
  border-radius: 8px;
  position: relative;
}

.nav-dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 12px;
  width: 4px;
  height: 0;
  background: var(--gradient-btn);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: linear-gradient(90deg, var(--color-primary-light) 0%, rgba(230, 240, 255, 0.5) 100%);
  color: var(--color-primary);
  padding-left: 24px;
}

.nav-dropdown-menu a:hover::before {
  height: 60%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  transition: all var(--transition-normal);
}




  50% { opacity: 1; }
}


/* ========== Full Page Tech Background ========== */


  100% { background-position: 50px 50px; }
}

/* Floating circles on the page */

  33% { transform: translate(25px, -20px); }
  66% { transform: translate(-15px, 20px); }
}

/* Ensure all content sits above the background */
.hero, .section, .product-applications, .footer, .sample-modal,
.stat-card, .app-item, .news-wrapper, .product-card {
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    overflow-y: auto;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-heading) !important;
    opacity: 1 !important;
  }

  .nav-link::after { display: none; }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    padding-left: 16px;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .hamburger { display: flex; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-family);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-btn);
  color: var(--color-white);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 4px 15px rgba(0, 82, 217, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-primary);
  padding: 4px 0;
}

.btn-text:hover {
  opacity: 0.8;
}

/* ========== Section ========== */
.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 200, 180, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-light {
  background: var(--color-bg);
}



.section .container {
  position: relative;
  z-index: 1;
}

.section-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-decor-dots {
  top: 20%;
  left: 5%;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(0, 82, 217, 0.08) 1px, transparent 1px);
  background-size: 12px 12px;
}

.section-decor-circle {
  bottom: 15%;
  right: 8%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(0, 200, 180, 0.08);
  border-radius: 50%;
}

.section-decor-line {
  top: 40%;
  right: 3%;
  width: 1px;
  height: 150px;
  background: linear-gradient(to bottom, transparent, rgba(0, 82, 217, 0.1), transparent);
}

.section-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-heading);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 56px;
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 15px; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 82, 217, 0.85) 0%, rgba(0, 102, 255, 0.75) 50%, rgba(0, 200, 180, 0.65) 100%);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 120px;
  padding-top: var(--header-height);
}

@media (max-width: 1199px) {
  .hero-content { padding: 0 60px; padding-top: var(--header-height); }
}

@media (max-width: 767px) {
  .hero-content { padding: 0 32px; padding-top: var(--header-height); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
}

.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 180, 0.2) 0%, transparent 70%);
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-decoration { display: none; }
}

/* ========== About Section ========== */
.section-about {
  background: var(--color-bg);
  overflow: hidden;
}



.section-about .container {
  position: relative;
  z-index: 1;
}

.about-description {
  font-size: 16px;
  color: var(--color-body);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 200px;
}

.stat-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-plus {
  font-size: 32px;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  font-size: 16px;
  color: var(--color-muted);
  font-weight: 500;
}

@media (max-width: 767px) {
  .about-stats {
    gap: 40px;
  }
  
  .stat-number {
    font-size: 48px;
  }
  
  .stat-plus {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .about-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .stat-item {
    min-width: auto;
  }
}

/* About Gallery */
.section-title-green {
  color: #1A1A2E;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.4;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* About Stats Cards */
.about-stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--color-primary);
}

.stat-card-icon svg {
  width: 100%;
  height: 100%;
}

.stat-card-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card-number .stat-plus {
  font-size: 22px;
  vertical-align: super;
  margin-left: 2px;
}

.stat-card-label {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 991px) {
  .about-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title-green {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  .about-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-stats-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-title-green {
    font-size: 22px;
  }
  .stat-card-number {
    font-size: 36px;
  }
}

/* ========== Product Applications ========== */
.product-applications {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: var(--color-bg);
}



@media (max-width: 767px) {
  .product-applications { height: auto; }
}

.applications-container {
  display: flex;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

.app-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  transition: flex 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 3;
  pointer-events: none;
}

.app-item:last-child::after {
  display: none;
}

.app-item-active {
  flex: 2;
}

.app-item:hover {
  flex: 2.5;
}

.applications-container:hover .app-item:not(:hover) {
  flex: 0.8;
}

.applications-container:hover .app-item-active:not(:hover) {
  flex: 1.5;
}

.app-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-item:hover .app-bg {
  transform: scale(1.08);
}

.app-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
  transition: background 0.6s ease;
}

.app-item:hover .app-overlay {
  background: linear-gradient(180deg, rgba(0, 82, 217, 0.2) 0%, rgba(0, 82, 217, 0.65) 100%);
}

.app-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
  color: var(--color-white);
  z-index: 2;
}

.app-text-default {
  transition: all 0.4s ease;
}

.app-text-hover {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

.app-item:hover .app-text-default {
  opacity: 0;
  transform: translateY(-15px);
}

.app-item:hover .app-text-hover {
  opacity: 1;
  transform: translateY(0);
}

.app-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.app-item-active .app-title {
  font-size: 58px;
}

.app-desc {
  font-size: 16px;
  opacity: 0.85;
  line-height: 1.6;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-white);
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  transition: all var(--transition-fast);
  margin-top: 28px;
  width: fit-content;
}

.app-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

@media (max-width: 1199px) {
  .app-content { padding: 40px; }
  .app-text-hover { bottom: 40px; left: 40px; right: 40px; }
  .app-title { font-size: 38px; }
  .app-item-active .app-title { font-size: 46px; }
}

@media (max-width: 991px) {
  .product-applications { height: auto; }
  .applications-container { flex-direction: column; }
  .app-item { min-height: 280px; }
  .app-item-active { min-height: 380px; }
  .app-item::after {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
  }
  .app-content { padding: 36px; justify-content: center; }
  .app-text-hover { bottom: 36px; left: 36px; right: 36px; }
  .app-title { font-size: 36px; }
  .app-item-active .app-title { font-size: 42px; }
  .app-item:hover { flex: 1.5; }
  .applications-container:hover .app-item:not(:hover) { flex: 0.8; }
}

@media (max-width: 767px) {
  .app-item { min-height: 220px; }
  .app-item-active { min-height: 300px; }
  .app-content { padding: 28px; }
  .app-text-hover { bottom: 28px; left: 28px; right: 28px; }
  .app-title { font-size: 28px; }
  .app-item-active .app-title { font-size: 34px; }
  .app-desc { font-size: 14px; }
  .app-link { padding: 10px 22px; font-size: 13px; }
}

@media (max-width: 575px) {
  .app-item { min-height: 180px; }
  .app-item-active { min-height: 260px; }
  .app-content { padding: 24px; }
  .app-text-hover { bottom: 24px; left: 24px; right: 24px; }
  .app-title { font-size: 24px; }
  .app-item-active .app-title { font-size: 28px; }
}

/* ========== Products ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 1199px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

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

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

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

.product-card-placeholder {
  color: var(--color-muted);
  font-size: 14px;
}

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

.product-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.products-cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== Partners ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 991px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.partner-logo {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

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

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-normal);
}

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

/* ========== News ========== */
.news-wrapper {
  display: flex;
  gap: 0;
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.news-hero {
  position: relative;
  width: 40%;
  min-height: 500px;
  overflow: hidden;
}

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

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 82, 217, 0.4) 0%, rgba(0, 102, 255, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.news-hero-content {
  color: #fff;
}

.news-list-container {
  flex: 1;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.news-item:hover {
  background: var(--color-primary-light);
  transform: translateX(6px);
}

.news-item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 10px;
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  color: var(--color-white);
}

.news-day {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.news-month {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
}

.news-item-content {
  flex: 1;
  display: flex;
  align-items: center;
}

.news-item-body {
  flex: 1;
}

.news-item-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item-body p {
  font-size: 13px;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-cta {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 991px) {
  .news-wrapper {
    flex-direction: column;
  }
  
  .news-hero {
    width: 100%;
    min-height: 280px;
  }
  
  .news-hero-overlay {
    padding: 30px;
  }
  
  .news-list-container {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .news-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .news-item-date {
    flex-direction: row;
    gap: 8px;
    min-width: auto;
    padding: 8px 14px;
  }
  
  .news-day {
    font-size: 22px;
  }
  
  .news-month {
    font-size: 12px;
  }
}

/* ========== CTA Section ========== */
.cta-section {
  background: var(--gradient-hero);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  .cta-section h2 { font-size: 28px; }
  .cta-section p { font-size: 15px; }
}

/* ========== Footer ========== */
.footer {
  background: #0D1B2A;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

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

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 400px;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 82, 217, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 82, 217, 0.4);
}

/* Sample Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px 44px;
  max-width: 560px;
  width: 92%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #8C8CA1;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1;
}

.modal-close:hover {
  color: #1A1A2E;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header-icon {
  width: 56px;
  height: 56px;
  background: #E6F0FF;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052D9;
  margin: 0 auto 16px;
}

.modal-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: #8C8CA1;
}

.required {
  color: #E53935;
}

.sample-form-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.sample-form-row-full {
  align-items: flex-start;
}

.sample-form-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A2E;
  text-align: right;
  padding-top: 12px;
}

.sample-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: #F8F9FC;
  transition: all 0.2s ease;
  color: #1A1A2E;
}

.sample-input:focus {
  outline: none;
  border-color: #0052D9;
  box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
  background: #fff;
}

.sample-input::placeholder {
  color: #B0B0C0;
}

.sample-select {
  appearance: auto;
  cursor: pointer;
}

.sample-textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 12px;
}

.sample-submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #0052D9 0%, #0066FF 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.sample-submit-btn:hover {
  opacity: 0.9;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .modal-content {
    padding: 28px 20px;
  }
  .sample-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .sample-form-label {
    width: auto;
    text-align: left;
    padding-top: 0;
  }
  .sample-input {
    width: 100%;
  }
}
