/* ============================
   CNC JINGWEI - STYLE.CSS
   Pure HTML/CSS/JS - No Framework
   ============================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1A1A2E;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================
   TOP BAR
   ============================ */
.top-bar {
  background: #1B5E20;
  color: #fff;
  font-size: 12px;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.top-bar a:hover,
.top-bar a.active {
  color: #fff;
}

.top-bar .divider {
  color: rgba(255,255,255,0.3);
}

/* ============================
   MAIN HEADER
   ============================ */
.main-header {
  background: #2E7D32;
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo-circle {
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  color: #2E7D32;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.logo-info h1 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-info p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  margin-top: 2px;
}

/* Search Box */
.search-box {
  position: relative;
  flex: 1;
  max-width: 280px;
  display: none;
}

.search-box input {
  width: 100%;
  height: 36px;
  padding: 0 40px 0 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.6);
}

.search-box button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hotline */
.hotline {
  display: none;
  flex-direction: column;
  align-items: flex-end;
}

.hotline-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hotline-main {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hotline-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   NAVIGATION & MEGA MENU
   ============================ */
.main-nav {
  background: #2E7D32;
  border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
}

.nav-list {
  display: none;
}

.nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.nav-list li a:hover {
  background: #1B5E20;
}

.nav-list .arrow {
  transition: transform 0.2s;
}

.nav-list li.open .arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  display: none;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.mega-menu.active {
  display: block;
}

.mega-inner {
  display: flex;
  flex-direction: column;
}

.mega-sidebar {
  border-bottom: 1px solid #E8F5E9;
}

.mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  color: #1A1A2E;
  border-bottom: 1px solid #F5F9F5;
  transition: all 0.2s;
}

.mega-cat.active,
.mega-cat:hover {
  background: #2E7D32;
  color: #fff;
}

.mega-cat svg {
  flex-shrink: 0;
}

.mega-content {
  padding: 16px;
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
}

.mega-panel h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2E7D32;
  padding-bottom: 8px;
  border-bottom: 2px solid #2E7D32;
  display: inline-block;
  margin-bottom: 12px;
}

.mega-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.mega-items a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: #4A4A5A;
  border-bottom: 1px solid #F5F9F5;
  transition: color 0.2s;
}

.mega-items a:hover {
  color: #2E7D32;
}

.mega-items a span {
  width: 5px;
  height: 5px;
  background: #2E7D32;
  border-radius: 50%;
  flex-shrink: 0;
}

.mega-images {
  display: none;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #1A1A2E;
  border-bottom: 1px solid #F5F9F5;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background: #E8F5E9;
  color: #2E7D32;
  padding-left: 20px;
}

/* ============================
   HERO SLIDER
   ============================ */
.hero-slider {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,94,32,0.85) 0%, rgba(27,94,32,0.4) 60%, transparent 100%);
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  max-width: 600px;
  z-index: 3;
}

.slide-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.4);
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #fff;
}

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
  display: inline-block;
  background: #2E7D32;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 4px;
  transition: all 0.3s;
  width: fit-content;
}

.btn-primary:hover {
  background: #1B5E20;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid #2E7D32;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #2E7D32;
  color: #fff;
}

.btn-light {
  display: inline-block;
  background: #fff;
  color: #2E7D32;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-light:hover {
  background: #E8F5E9;
  transform: translateY(-2px);
}

/* ============================
   SECTION HEADER
   ============================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.header-line {
  height: 2px;
  width: 48px;
  background: #2E7D32;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1B5E20;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
}

/* ============================
   PRODUCTS SECTION
   ============================ */
.products-section {
  padding: 48px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.product-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

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

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

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product-info h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.product-arrow {
  width: 32px;
  height: 32px;
  background: #2E7D32;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s;
}

.product-card:hover .product-arrow {
  background: #1B5E20;
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
  padding: 48px 0;
  background: #F5F9F5;
}

.about-grid {
  display: grid;
  gap: 24px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

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

.about-content {
  background: #2E7D32;
  color: #fff;
  padding: 28px;
  border-radius: 8px;
}

.about-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-content p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.about-content .btn-outline {
  border-color: #fff;
  color: #fff;
  margin-top: 8px;
}

.about-content .btn-outline:hover {
  background: #fff;
  color: #2E7D32;
}

/* ============================
   CERTIFICATES
   ============================ */
.certificates-section {
  padding: 48px 0;
}

.cert-slider-wrapper {
  position: relative;
}

.cert-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cert-slider::-webkit-scrollbar {
  display: none;
}

.cert-card {
  flex-shrink: 0;
  width: 200px;
  background: #fff;
  border: 1px solid #D0E0D0;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.cert-card:hover {
  border-color: #2E7D32;
  box-shadow: 0 4px 16px rgba(46,125,50,0.15);
}

.cert-img {
  aspect-ratio: 3/4;
  background: #F5F9F5;
  overflow: hidden;
}

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

.cert-card p {
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  text-align: center;
}

.cert-arrow {
  display: none;
}

/* ============================
   MAJOR CLIENTS
   ============================ */
.clients-section {
  padding: 48px 0;
  background: #F5F9F5;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.client-item {
  background: #fff;
  border: 1px solid #D0E0D0;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.client-item:hover {
  border-color: #2E7D32;
  box-shadow: 0 4px 16px rgba(46,125,50,0.12);
}

.client-img-box {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 10px;
  background: #F5F9F5;
}

.client-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  font-size: 13px;
  font-weight: 600;
  color: #4A4A5A;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================
   NEWS SECTION
   ============================ */
.news-section {
  padding: 48px 0;
}

.news-grid {
  display: grid;
  gap: 24px;
}

.news-card {
  background: #fff;
  border: 1px solid #D0E0D0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.news-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-color: #2E7D32;
}

.news-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

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

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

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #2E7D32;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}

.news-body {
  padding: 20px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8A8A9A;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A2E;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.news-card:hover .news-body h3 {
  color: #2E7D32;
}

.news-body p {
  font-size: 13px;
  color: #4A4A5A;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #2E7D32;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
  padding: 48px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

/* ============================
   FOOTER
   ============================ */
.main-footer {
  background: #1B5E20;
  color: #fff;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 40px 16px;
}

.footer-col h3,
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col h3.footer-brand {
  color: #4CAF50;
  margin-top: -12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #4CAF50;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.social-links a:hover {
  background: #2E7D32;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.copy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Floating Phone */
.float-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2E7D32;
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(46,125,50,0.4);
  transition: all 0.3s;
}

.float-phone:hover {
  background: #1B5E20;
  transform: translateY(-2px);
}

/* ============================
   RESPONSIVE - TABLET (768px+)
   ============================ */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .search-box {
    display: block;
  }

  .hero-slider {
    height: 400px;
  }

  .slide-content {
    padding: 0 40px;
  }

  .slide-content h2 {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 24px;
  }

  .cert-arrow {
    display: flex;
  }

  .mega-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
  }

  .mm-img {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 4px;
    overflow: hidden;
  }

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

  .mm-img span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
  }

  .mega-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }
}

/* ============================
   RESPONSIVE - DESKTOP (1024px+)
   ============================ */
@media (min-width: 1024px) {
  .hotline {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
  }

  .nav-list li a {
    border-bottom: none;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .nav-list li.has-mega > a,
  .nav-list li.has-dropdown > a {
    position: relative;
  }

  /* Dropdown positioning */
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: auto;
    min-width: 200px;
    z-index: 200;
  }

  #dropdownAbout {
    left: 240px;
  }

  #dropdownNews {
    left: 620px;
  }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
  }

  .mega-inner {
    flex-direction: row;
    gap: 0;
  }

  .mega-sidebar {
    width: 230px;
    flex-shrink: 0;
    border-bottom: none;
    border-right: 1px solid #E8F5E9;
  }

  .mega-content {
    flex: 1;
    padding: 24px 28px;
  }

  .mega-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-slider {
    height: 480px;
  }

  .slide-content h2 {
    font-size: 42px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  }

  .cert-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #2E7D32;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s;
  }

  .cert-arrow:hover {
    background: #1B5E20;
  }

  .cert-prev {
    left: -18px;
  }

  .cert-next {
    right: -18px;
  }
}

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

.animate {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
