* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0b6a47;
  --secondary-color: #1a8a5c;
  --accent-color: #7ad98d;
  --ai-color: #7ecb75;
  --light-bg: #f2f9f2;
  --text-color: #123f32;
  --white: #ffffff;
  --soft-green: #e6f9eb;
  --deep-green: #0d4f39;
  --line-green: rgba(25, 126, 88, 0.16);
  --glow-green: rgba(122, 217, 141, 0.42);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 74px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.lang-switcher {
  position: relative;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 12px 20px rgba(12, 50, 38, 0.12);
}

.lang-caret {
  display: inline-block;
  transform: rotate(180deg);
  font-size: 0.7rem;
  opacity: 0.9;
}

.lang-switcher.open .lang-caret {
  transform: rotate(0deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-width: 190px;
  padding: 0.52rem;
  border-radius: 18px;
  background: rgba(237, 245, 255, 0.95);
  border: 1px solid rgba(111, 156, 255, 0.8);
  box-shadow: 0 18px 32px rgba(15, 44, 85, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s ease;
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  height: 36px;
  border: 1px solid rgba(16, 94, 124, 0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  color: #123f32;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  padding: 0 0.8rem;
}

.lang-btn span {
  font-weight: 500;
  opacity: 0.8;
  font-size: 0.72rem;
}

.lang-btn:hover {
  background: rgba(20, 103, 82, 0.05);
}

.lang-btn.active {
  background: rgba(20, 103, 82, 0.08);
  border-color: rgba(19, 112, 86, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #0d5d45 0%, #16825d 30%, #0f6f50 58%, #0a4d3b 100%);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(7, 57, 42, 0.12);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
  overflow: visible;
}

.header.header-scrolled {
  background: linear-gradient(135deg, rgba(13, 93, 69, 0.72) 0%, rgba(22, 130, 93, 0.64) 30%, rgba(15, 111, 80, 0.68) 58%, rgba(10, 77, 59, 0.76) 100%);
  box-shadow: 0 8px 24px rgba(7, 57, 42, 0.12);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 32%, rgba(255,255,255,0.07) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-120%); }
  30% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.header-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  min-height: 42px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-width: 0;
  justify-self: start;
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo h1 {
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1.3vw, 2rem);
  position: relative;
  z-index: 20;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link i {
  display: none;
}

.nav-link:hover {
  color: #dbf5eb;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, rgba(10, 63, 45, 0.86), rgba(22, 130, 93, 0.72)), url('./images/ph-7.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.3), transparent 35%);
  animation: glowPulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0% { opacity: 0.35; transform: scale(0.96); }
  100% { opacity: 0.7; transform: scale(1.08); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1050px;
  animation: heroReveal 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-content h2,
.hero-content p,
.hero-content .btn-primary {
  animation: heroTextReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h2 {
  animation-delay: 0.18s;
}

.hero-content p {
  animation-delay: 0.34s;
}

.hero-content .btn-primary {
  animation-delay: 0.5s;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-actions .btn {
  min-width: 220px;
  padding: 17px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 10px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes heroTextReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-content h2 {
  font-size: 4.5rem;
  margin-bottom: 1.4rem;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  font-weight: 900;
}

.hero-content p {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
}

.hero-content .btn-primary {
  padding: 17px 42px;
  font-size: 1.25rem;
  font-weight: 700;
}

/* BUTTONS */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #8fe7a4 0%, #2aa673 40%, #126d50 100%);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(29, 136, 96, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9ff0af 0%, #32b47d 40%, #0d5d45 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 98, 71, 0.3);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: var(--white);
}

.btn-small:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

/* SECTIONS */
.reveal {
  opacity: 0.15;
  transform: translateY(38px);
  filter: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: 80px 20px;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

section h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  margin: 1rem auto 0;
  border-radius: 10px;
}

/* ABOUT SECTION */
.about {
  background: var(--light-bg);
  padding: 80px 0;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;

}

.about-images {
  position: relative;
  width: 100%;
  min-height: 0;
}

.image-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 15px;
  background: #0d4f39;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  position: static;
}

.about-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.logo-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 170px;
  height: 150px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  padding: 16px;
}

.logo-mark-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-image: url("./images/ph%20logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-content-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.about-content-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.about-content-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
  color: #555;
}

.about-content-text h4 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-weight: 700;
}

.features {
  list-style: none;
}

.features li {
  padding: 0.7rem 0;
  font-size: 1rem;
  color: #555;
}

.features i {
  color: var(--secondary-color);
  margin-right: 0.7rem;
  font-size: 1.1rem;
}

.about-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 3rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.stat {
  text-align: center;
  padding: 2rem;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-weight: 900;
}

.stat {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-color);
}

/* PRODUCTS SECTION */
.campaign {
  background: linear-gradient(180deg, #f4f7fb 0%, #e8eef5 100%);
  padding: 84px 20px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.campaign-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(8, 46, 35, 0.1);
  border: 1px solid var(--line-green);
  border-top: 4px solid var(--accent-color);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.campaign-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 18px 34px rgba(44, 62, 80, 0.18);
}

.campaign-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #dfe7ee, #f8fafc);
}

.campaign-card h3 {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  line-height: 1.35;
  text-align: center;
}

.products {
  background: var(--white);
}

.product-card-image {
  width: 100%;
  height: 190px;
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 7px;
  object-fit: cover;
}

.product-card-image-wide {
  height: 270px;
  object-fit: contain;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  align-items: start;
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.product-card {
  background: linear-gradient(180deg, #f7fbf8 0%, #edf6f1 100%);
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.08);
  border: 1px solid rgba(10, 100, 79, 0.08);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.product-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg);
  box-shadow: 0 18px 30px rgba(11, 61, 46, 0.12);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: var(--primary-color);
}

.product-card p {
  margin-bottom: 1.5rem;
  color: #555;
}

/* MODAL STYLES */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f7faff 100%);
  margin: 5% auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 820px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: bold;
  padding: 0.4rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}

.close:hover {
  color: var(--accent-color);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.2rem clamp(1.5rem, 6vw, 4rem) 2.5rem;
}

.modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 10px;
  min-height: 400px;
}

.product-image {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.modal-details h2 {
  color: var(--primary-color);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  margin-top: 0;
  padding-bottom: 0;
  text-align: center;
  line-height: 1.2;
}

.modal-details h2::after {
  display: none;
}

.product-specs {
  margin-bottom: 2rem;
  text-align: center;
}

.product-specs h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.specs-list {
  list-style: none;
  padding: 0;
  width: min(100%, 680px);
  margin: 0 auto;
  text-align: left;
}

.specs-list li {
  padding: 0.7rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-color);
  line-height: 1.6;
}

.specs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-description h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  margin-top: 0;
  text-align: center;
}

.modal-description p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  white-space: pre-line;
  font-size: 0.95rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.modal-details .btn-primary {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 15px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }
  
  .modal-image {
    min-height: 250px;
  }
  
  .product-image {
    max-height: 250px;
  }
  
  .modal-details h2 {
    font-size: 1.5rem;
  }
}

/* TECHNOLOGY SECTION */
.technology {
  background: linear-gradient(135deg, #0d5d45 0%, #16825d 52%, #0b6a47 100%);
  color: var(--white);
}

.technology h2 {
  color: var(--white);
}

.technology h2:after {
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-item {
  background: rgba(230, 249, 235, 0.14);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tech-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

/* GALLERY SECTION */
.gallery {
  background: var(--light-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d5d45 0%, #16825d 52%, #0b6a47 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTACT SECTION */
.contact {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
}

.form-label {
  display: block;
  margin: 0 0 0.35rem;
  color: #526071;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-label span {
  color: #c84747;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  max-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-upload {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  color: #536173;
  text-align: center;
  border: 1px dashed #aebbd0;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.file-upload i,
.telegram-note i {
  color: var(--secondary-color);
}

.file-upload small {
  flex-basis: 100%;
  font-size: 0.75rem;
}

.telegram-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  color: #647084;
  font-size: 0.76rem;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.3rem;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.info-item p {
  color: #555;
}

/* PORTFOLIO */
.portfolio {
  background: var(--white);
  overflow: hidden;
}

.portfolio-intro {
  margin: -1rem auto 2.5rem;
  color: #666;
  text-align: center;
  font-size: 1.15rem;
}

.portfolio-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.portfolio-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.portfolio-viewport::before,
.portfolio-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.portfolio-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.portfolio-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.portfolio-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  min-width: max-content;
  animation: portfolio-marquee 26s linear infinite;
  will-change: transform;
}

@keyframes portfolio-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.portfolio-item {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--light-bg);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.12);
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(2deg);
  box-shadow: 0 18px 32px rgba(44, 62, 80, 0.16);
}

.portfolio-item:hover img {
  transform: scale(1.04);
}

.portfolio-arrow {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--secondary-color);
  box-shadow: 0 5px 18px rgba(44, 62, 80, 0.16);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  z-index: 2;
}

.portfolio-arrow:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: scale(1.08);
}

.portfolio-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2rem;
}

.portfolio-dot {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #d7dce5;
  cursor: pointer;
}

.portfolio-dot.active {
  background: var(--secondary-color);
}

/* LOCATION MAP */
.location-map {
  padding: 72px 20px 0;
  background: var(--light-bg);
}

.map-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 620px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(44, 62, 80, 0.16);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-card {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: min(360px, calc(100% - 48px));
  padding: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), #456fae);
  border-radius: 10px;
  box-shadow: 0 18px 35px rgba(44, 62, 80, 0.3);
  z-index: 2;
}

.map-card h3 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.45rem;
}

.map-card a,
.map-card p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-card > a:not(.map-link) {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.map-card p {
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.map-card .map-link {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 5px;
  font-size: 0.95rem;
  text-decoration: none;
}

.map-card .map-link:hover {
  background: #fff;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #4f7fc9;
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.2rem;
}

/* FOOTER */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  margin: 0.5rem 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 0.75rem 0;
  }

  body {
    padding-top: 66px;
  }

  .header-actions {
    margin-left: 0;
  }

  .lang-switcher {
    position: relative;
    padding: 0;
  }

  .lang-current {
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.75rem;
  }

  .lang-menu {
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    padding: 0.4rem;
    border-radius: 12px;
  }

  .lang-btn {
    width: 100%;
    height: 32px;
    font-size: 0.72rem;
    border-radius: 8px;
    padding: 0 0.6rem;
  }

  .header-content {
    position: relative;
  }

  .logo {
    min-width: 0;
  }

  .logo h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(13, 93, 69, 0.1);
    border-radius: 14px;
    padding: 0.7rem;
    box-shadow: 0 16px 32px rgba(7, 57, 42, 0.24);
    backdrop-filter: blur(12px);
    z-index: 40;
    pointer-events: auto;
  }

  .nav.open {
    display: grid;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0.6rem;
    color: #173b30;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    border: 0;
    border-radius: 8px;
  }

  .nav-link i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: var(--secondary-color);
    background: #edf6f1;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  .nav-link.active,
  .nav-link:hover {
    color: var(--primary-color);
    background: #e6f4ec;
  }

  .nav-link.active i {
    color: #fff;
    background: var(--secondary-color);
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-content h2 {
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 1.15rem;
  }

  .hero-content .btn-primary {
    padding: 14px 32px;
    font-size: 1.1rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-images {
    height: auto;
    width: 100%;
  }

  .image-container {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 16 / 10;
  }

  .main-image {
    border-radius: 14px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .campaign-video {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .logo-badge {
    width: 180px;
    height: 180px;
    bottom: -20px;
    right: 0;
  }

  .logo-mark-large {
    width: 165px;
    height: 165px;
    font-size: 3rem;
  }

  .about-content-text h2 {
    font-size: 2rem;
  }

  .about-stats {
    flex-direction: column;
    gap: 2rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .products-grid,
  .gallery-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item {
    flex-basis: 260px;
    width: 260px;
    min-width: 260px;
    height: 300px;
  }

  .portfolio-track {
    display: flex;
  }

  .hero {
    padding: 60px 20px;
    min-height: 300px;
  }

  section {
    padding: 50px 20px;
  }

  .map-frame {
    height: 560px;
  }

  .map-card {
    top: 24px;
    left: 24px;
    transform: none;
    width: calc(100% - 48px);
    padding: 1.5rem;
  }

  .map-card h3 {
    font-size: 1.5rem;
  }

  .map-card > a:not(.map-link) {
    margin-bottom: 1rem;
  }

  .contact-content {
    gap: 2rem;
  }

  .modal-content {
    width: calc(100% - 24px);
    margin: 12px auto;
    max-height: calc(100vh - 24px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  section,
  .campaign,
  .about {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header {
    padding: 0.7rem 0;
  }

  body {
    padding-top: 64px;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-mark {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .logo h1 {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 58vh;
    padding: 54px 12px 42px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.08;
    margin-bottom: 0.8rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 1.6rem;
  }

  .hero-actions {
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 20px;
    font-size: 1rem;
  }

  .portfolio-track {
    display: flex;
  }

  .portfolio-item {
    flex-basis: 220px;
    width: 220px;
    min-width: 220px;
    height: min(260px, 72vw);
  }

  .portfolio-slider {
    gap: 0.5rem;
  }

  .portfolio-arrow {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .stat {
    padding: 1.5rem;
  }

  .stat h3 {
    font-size: 2rem;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .info-item {
    gap: 0.75rem;
  }

  .info-item p {
    overflow-wrap: anywhere;
  }

  .map-frame {
    height: 520px;
  }

  .map-card {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 1.2rem;
  }

  .map-card h3 {
    font-size: 1.25rem;
  }

  .map-card p,
  .map-card a {
    font-size: 0.88rem;
  }

  .product-card {
    padding: 1.2rem;
  }

  .product-card-image-wide {
    height: 220px;
  }

  .btn,
  .btn-primary,
  .btn-small {
    width: 100%;
    text-align: center;
  }
}

/* NOTIFICATION ANIMATION */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  font-size: 1.1rem;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
}

.notification.show {
  opacity: 1;
  animation: slideDown 0.5s ease-out forwards;
}

/* AI ASSISTANT */
.ai-toggle {
  position: fixed !important;
  right: 22px;
  bottom: 22px;
  z-index: 20000;
  isolation: isolate;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 61, 46, 0.28);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ai-chat {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 20000;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 30px));
  height: min(560px, calc(100vh - 90px));
  overflow: hidden;
  border: 1px solid #e3e9f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(44, 62, 80, 0.22);
}

.ai-chat[hidden] {
  display: none;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
}

.ai-chat-header div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ai-chat-header span {
  font-size: 0.78rem;
  opacity: 0.85;
}

.ai-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  background: #fbfcff;
}

.ai-message {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  white-space: pre-line;
  animation: aiMessageIn 0.25s ease-out both;
}

@keyframes aiMessageIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-message-bot {
  background: #fff;
  color: var(--text-color);
  border: 1px solid #edf0f5;
  box-shadow: 0 3px 12px rgba(44, 62, 80, 0.04);
}

.ai-message-user {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  border-radius: 16px 16px 5px 16px;
}

.ai-quick-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0.8rem 0.2rem;
  overflow-x: auto;
  background: #fbfcff;
  scrollbar-width: none;
}

.ai-quick-actions::-webkit-scrollbar {
  display: none;
}

.ai-quick-actions button {
  flex: 0 0 auto;
  padding: 0.6rem 0.9rem;
  border: 1px solid #c9d7f6;
  border-radius: 20px;
  background: #fff;
  color: #273754;
  cursor: pointer;
  font-size: 0.82rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ai-quick-actions button:hover {
  border-color: var(--secondary-color);
  background: #f2f6ff;
}

.ai-form {
  display: flex;
  gap: 0;
  margin: 0.8rem 1rem 1rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border: 1.5px solid #9ebcff;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(101, 148, 222, 0.08);
}

.ai-form input {
  min-width: 0;
  flex: 1;
  padding: 0.65rem 0;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--text-color);
}

.ai-form input::placeholder {
  color: #9aa8bc;
}

.ai-form button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ai-form button:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .ai-toggle {
    right: 12px;
    bottom: 12px;
  }

  .ai-chat {
    right: 12px;
    bottom: 70px;
    width: calc(100vw - 24px);
    height: min(540px, calc(100vh - 85px));
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
