/* ====== Reset & Base ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --yellow: #f5c518;
  --yellow-dark: #d4a813;
  --yellow-light: #fff3c4;
  --blue: #1e4cc4;
  --blue-dark: #15389a;
  --blue-light: #e6edfa;
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --gray: #555;
  --light-gray: #f7f7f7;
  --border: #e5e5e5;
  --primary: var(--yellow);
  --primary-dark: var(--yellow-dark);
  --shadow: 0 4px 20px rgba(10,10,10,0.08);
  --shadow-lg: 0 10px 40px rgba(10,10,10,0.12);
}

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

/* ====== Header ====== */
.header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; width: auto; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s ease;
  position: relative;
}
.nav-menu a:hover { color: var(--yellow); }
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

/* ====== Hero ====== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1e4cc4 50%, #0a0a0a 100%);
  overflow: hidden;
  padding: 60px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(245,197,24,0.25) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(245,197,24,0.18) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  color: #fff;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  color: var(--yellow);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  opacity: 0.95;
}
.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}
.hero-tag {
  background: rgba(245,197,24,0.2);
  border: 1px solid rgba(245,197,24,0.5);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.hero-tag:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }
.hero-image {
  max-width: 280px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 30px rgba(245,197,24,0.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ====== Section common ====== */
section { padding: 80px 0; }
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--blue);
  position: relative;
  padding-bottom: 18px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 50px;
}
.text-center { text-align: center; }

/* ====== Features ====== */
.features { background: var(--light-gray); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 40px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,197,24,0.15);
  border: 2px solid rgba(245,197,24,0.3);
  border-radius: 50%;
}
.feature-icon img { max-width: 50px; }
.feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--blue);
}
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* ====== Applications ====== */
.applications { background: #fff; }
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}
.app-item {
  padding: 20px;
  border-left: 4px solid var(--yellow);
  background: var(--light-gray);
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}
.app-item:hover { background: rgba(245,197,24,0.08); transform: translateX(5px); }
.app-item strong { color: var(--blue); display: block; margin-bottom: 8px; font-size: 1.05rem; }
.app-item p { color: var(--gray); font-size: 0.92rem; }

/* ====== Process ====== */
.process { background: var(--light-gray); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.process-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.process-card:hover { transform: translateY(-8px); }
.process-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-icon img { width: 100%; height: 100%; object-fit: contain; }
.process-card h4 { font-size: 1.25rem; margin-bottom: 12px; color: var(--blue); }
.process-card p { color: var(--gray); font-size: 0.95rem; }

/* ====== Gallery ====== */
.gallery { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--light-gray);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,76,196,0);
  transition: background 0.3s ease;
}
.gallery-item:hover::after { background: rgba(30,76,196,0.25); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== Clients ====== */
.clients { background: var(--light-gray); padding: 60px 0; }
.clients-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}
.clients-title img { height: 50px; }
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.clients-grid img {
  max-height: 140px;
  max-width: 320px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.clients-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ====== Contact CTA ====== */
.contact-cta {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--black);
  text-align: center;
}
.contact-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.contact-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.contact-cta-icon {
  width: 220px;
  margin: 0 auto 30px;
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--black);
  color: var(--yellow);
}
.btn-primary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--yellow); }

/* ====== Footer ====== */
.footer {
  background: var(--black);
  color: #ccc;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer h5 {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer p, .footer a { color: #aaa; font-size: 0.95rem; line-height: 2; }
.footer a:hover { color: var(--yellow); }
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); transform: translateY(-3px); }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* ====== Scroll animations ====== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .nav-menu.active { right: 0; }
  section { padding: 60px 0; }
  .hero { min-height: 80vh; }
  .footer-grid { text-align: center; }
  .footer-social { justify-content: center; }
}
