/* ===== 1. RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.cases-carousel-wrapper{width:100%;}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== 2. CUSTOM PROPERTIES ===== */
:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2540;
  --color-primary-light: #2a5a8c;
  --color-accent-green: #4CAF50;
  --color-accent-green-light: #e8f5e9;
  --color-cta-yellow: #f5a623;
  --color-cta-hover: #e6951a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-bg-white: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;
  --font-main: 'Noto Sans SC', sans-serif;
  --container-max: 1200px;
  --header-height: 70px;
  --section-padding: 80px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
}

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 12px;
  color: var(--color-text-light);
}

/* ===== 4. UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
  background: var(--color-bg-white);
}

.section.bg-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  color: var(--color-primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-cta-yellow);
  margin: 14px auto 0;
  border-radius: 2px;
}

.sub-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-primary);
}

/* ===== 5. FADE-IN ANIMATION ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 8. ABOUT ===== */
.about-top {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.honors {
  flex-shrink: 0;
}

.honors h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.cert-row {
  display: flex;
  gap: 16px;
}

.cert-frame {
  border: 3px solid #c5a04e;
  border-radius: 4px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cert-frame img {
  width: 130px;
  height: 182px;
  object-fit: cover;
  border-radius: 2px;
}

.about-text {
  flex: 1;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

/* Highlights */
.highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 0 0;
  border-top: 1px solid var(--color-border-light);
}

.highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--color-bg-alt);
  border-radius: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.highlight-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

/* ===== 9. TEAM CAROUSEL ===== */
.carousel-wrapper {
  position: relative;
  padding: 0 56px;
  margin-top: 40px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.team-card {
  flex: 0 0 calc(100% / 3);
  padding: 0 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, flex-basis 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  text-align: center;
}
.team-info p{text-align: left;}
.team-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.name-en {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-left: 6px;
}

.team-title {
  display: inline-block;
  font-size: 0.85rem;
  color: #fff;
  background: var(--color-accent-green);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
  background: var(--color-primary-light);
  transform: translateY(-50%) scale(1.1);
}

.arrow-left {
  left: 0;
}

.arrow-right {
  right: 0;
}

.carousel-arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transition: transform 0.2s ease;
}

.arrow-left span {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.arrow-right span {
  transform: rotate(45deg);
  margin-right: 3px;
}

/* ===== 10. SERVICES ===== */
.sub-section {
  margin-bottom: 64px;
}

.sub-section:last-child {
  margin-bottom: 0;
}

/* Flags */
.flags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  min-width: 100px;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.flag-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.flag-emoji {
  font-size: 2.5rem;
  line-height: 1;
}

.flag-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 2px solid var(--color-accent-green);
  border-radius: var(--radius);
  background: var(--color-bg-white);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-box:hover {
  background: var(--color-accent-green-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(76,175,80,0.2);
}

.service-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ===== 11. CASES ===== */
.cases-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 40px;
}

/* .cases-image removed — carousel now fills full width */

/* Cases Carousel — Horizontal 2-col */
.cases-carousel-wrapper {
  flex: 1;
  position: relative;
  padding: 0 56px;
  min-width: 0;
}

.cases-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.cases-carousel-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  transition: transform 0.5s ease;
}

.cases-carousel-track .case-card {
  flex: 0 0 calc(50% - 10px);   /* 2 per row with 20px gap */
  box-sizing: border-box;
}

/* Horizontal Carousel Arrows — left/right sides */
.cases-carousel-wrapper .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}

.cases-carousel-wrapper .arrow-left {
  left: 0;
}

.cases-carousel-wrapper .arrow-right {
  right: 0;
}

.case-card {
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.case-student h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.case-year {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.case-cardimg{
	
    float: left;
    width: 120px;
    margin-right: 10px;

	
}
.hiddentop{ display: block;}
.hiddentop_no{ display: none;}
.nav.nav--scrolled .hiddentop{ display: none;}
.nav.nav--scrolled .hiddentop_no{ display: block;}
.partner-logo{ position: relative;padding:16px 16px 36px 16px !important;}
.partner-logo span{    width: 100%;
    display: block;
    position: absolute;
    bottom: 16px;
    text-align: center;}
.case-body {
  margin-bottom: 18px;
}

.case-result {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.case-detail {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.case-scholarship {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0;
}

.case-scholarship strong {
  color: #d4380d;
  font-size: 1.1rem;
  font-weight: 700;
}

.cta-btn {
  display: inline-block;
  background: var(--color-cta-yellow);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 25px;
  letter-spacing: 1px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.cta-btn:hover {
  background: var(--color-cta-hover);
  transform: scale(1.03);
  color: #fff;
}

/* ===== 12. PARTNERS ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.partner-logo {
  aspect-ratio: 5 / 3;
  background: #f8f8f8;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.partner-logo img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.75;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.partner-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ===== 13. FOOTER ===== */
#footer {
  background: var(--color-primary-dark);
  color: #fff;
}

.footer-phone-bar {
  background: var(--color-primary);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-phone-bar .container {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
}

.footer-phone-number {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.footer-phone-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.footer-main {
  padding: 48px 0 40px;
}

.footer-columns {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.footer-col {
  flex: 1;
}

.footer-contact {
  flex: 1.2;
}

.footer-contact .logo {
  margin-bottom: 20px;
}

.footer-contact .logo-en {
  font-size: 1.2rem;
}

.footer-contact .logo-zh {
  font-size: 0.8rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* QR Codes */
.footer-qrcode {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex: 0.8;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-placeholder {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-item span:last-child {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

/* Map */
.footer-map {
  flex: 1;
}

.map-placeholder {
  width: 100%;
  min-height: 200px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
}

.map-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

/* ===== 14. MEDIA QUERIES ===== */

/* Tablet: 768–1024px */
@media (max-width: 1024px) {
  :root {
    --section-padding: 64px;
  }

  .about-top {
    flex-direction: column;
    gap: 36px;
  }

  .honors {
    width: 100%;
  }

  .cert-row {
    justify-content: flex-start;
  }

  .team-card {
    flex-basis: 50% !important;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cases-layout {
    flex-direction: column;
  }

  .cases-carousel-track .case-card {
    flex: 0 0 calc(50% - 10px);
  }

  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-columns {
    flex-wrap: wrap;
    gap: 36px;
  }

  .footer-contact,
  .footer-qrcode,
  .footer-map {
    flex: 1 1 45%;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --header-height: 60px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section-title {
    font-size: 1.6rem;
  }

  .sub-title {
    font-size: 1.2rem;
  }
/* Certs */
  .cert-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cert-frame img {
    width: 110px;
    height: 154px;
  }

  /* Team carousel: 1 card */
  .team-card {
    flex-basis: 100% !important;
  }

  .carousel-wrapper {
    padding: 0 48px;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Cases */
  .cases-layout {
    flex-direction: column;
  }

  .cases-carousel-track .case-card {
    flex: 0 0 100%;               /* 1 card full width */
  }
	
  /* Partners */
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-phone-bar .container {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-phone-number {
    font-size: 1.8rem;
  }

  .footer-columns {
    flex-direction: column;
    gap: 32px;
  }

  .footer-contact,
  .footer-qrcode,
  .footer-map {
    flex: none;
    width: 100%;
  }

  .footer-qrcode {
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Small mobile: < 480px */
@media (max-width: 480px) {
  :root {
    --section-padding: 44px;
  }
	.case-cardimg{width:80px;}
  .container {
    padding: 0 16px;
  }
.highlight-row {
    gap: 10px;
    justify-content: center;
  }

  .highlight-item {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .cert-frame img {
    width: 90px;
    height: 126px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-item {
    padding: 20px 12px;
  }

  .carousel-wrapper {
    padding: 0 42px;
  }

  .cases-carousel-track .case-card {
    flex: 0 0 100%;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .flag-item {
    min-width: 80px;
    padding: 12px 14px;
  }

  .flag-emoji {
    font-size: 2rem;
  }

  .partner-grid {
    gap: 12px;
  }

  .case-card {
    padding: 18px;
  }

  .cta-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}

/* Small mobile: < 425px */
@media (max-width: 425px) {
  .cases-carousel-wrapper {
    padding: 0 48px;
  }
}

/* ===== MIGRATED NAVIGATION & HERO ===== */
:root {
  --nav-height: 72px;
  --color-white: #ffffff;
  --color-accent: #d4a843;
  --color-accent-hover: #c49633;
  --font-en: 'Inter', 'Open Sans', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-3xl: 1.875rem;
  --font-size-5xl: 3rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --radius-md: 8px;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --z-sticky: 200;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
  min-height: 48px;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.4);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  min-height: 40px;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  min-height: 56px;
}

.btn--full {
  width: 100%;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  z-index: calc(var(--z-sticky) + 1);
}

.nav__brand img {
  width: 120px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  position: relative;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-base);
  padding: var(--space-2) 0;
}

.nav--scrolled .nav__link {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav--scrolled .nav__link:hover,
.nav--scrolled .nav__link--active {
  color: var(--color-primary);
}

.nav__cta {
  display: inline-flex;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  z-index: calc(var(--z-sticky) + 1);
}

.nav__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

.nav--scrolled .nav__toggle-line,
.nav--open .nav__toggle-line {
  background-color: var(--color-text);
}

.nav--open .nav__toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav--open .nav__toggle-line:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav__drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: var(--shadow-xl);
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-6) var(--space-8);
  transition: right var(--transition-base);
  z-index: var(--z-sticky);
  overflow-y: auto;
}

.nav--open .nav__drawer {
  right: 0;
}

.nav__drawer-link {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.nav__drawer-link:hover,
.nav__drawer-link--active {
  color: var(--color-primary);
}

.nav__drawer-cta {
  margin-top: var(--space-8);
}

.nav__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav--open .nav__overlay {
  opacity: 1;
  pointer-events: auto;
}

.hero#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 1.4s ease;
}

.hero__slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 72, 0.7) 0%, rgba(15, 37, 72, 0.5) 50%, rgba(15, 37, 72, 0.8) 100%);
  z-index: 1;
}

.hero__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  background-color: rgba(15, 37, 72, 0.36);
  color: var(--color-white);
  font-size: var(--font-size-xl);
  transform: translateY(-50%);
  transition: background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
  backdrop-filter: blur(8px);
}

.hero__control:hover {
  background-color: rgba(212, 168, 67, 0.88);
  border-color: rgba(212, 168, 67, 0.88);
  transform: translateY(-50%) scale(1.04);
}

.hero__control--prev {
  left: 32px;
}

.hero__control--next {
  right: 32px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-4);
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.hero__content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero__title {
  font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(var(--font-size-base), 2.5vw, var(--font-size-xl));
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-10);
  font-weight: 300;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  backdrop-filter: blur(8px);
}

.badge i {
  color: var(--color-accent);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-xs);
  animation: heroBounce 2s infinite;
}

.hero__scroll i {
  font-size: var(--font-size-xl);
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 1200px) {

}
@media (max-width: 1024px) {
	
  .nav__links {
    gap: var(--space-4);
  }

  .nav__cta {
    display: none;
  }
}

@media (max-width: 768px) {
	.cases-carousel-wrapper .carousel-arrow{display:none;}
	#cases .container{overflow: hidden;}
	.cases-carousel-wrapper{padding:0 !important; width: 100% !important;}
	.cases-carousel-track{ gap:0 !important;}
	
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero#hero {
    min-height: 88vh;
  }

  .hero__control {
    width: 42px;
    height: 42px;
    font-size: var(--font-size-lg);
  }

  .hero__control--prev {
    left: 16px;
  }

  .hero__control--next {
    right: 16px;
  }

  .hero__cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
	.case-cardmain a.cta-btn{ display: none !important;}
  .nav__container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__control {
    top: auto;
    bottom: 92px;
    transform: none;
  }

  .hero__control:hover {
    transform: scale(1.04);
  }

  .hero__badges {
    gap: 10px;
  }
}
