/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #333; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --primary: #1a3a5c;
  --accent: #e8a020;
  --light: #f5f7fa;
  --border: #e0e0e0;
  --text-light: #666;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #cde; }
.top-bar a:hover { color: #fff; }

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

/* ===== NAVBAR ===== */
nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo img { height: 60px; }
.logo span {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary);
  color: #fff;
}
.nav-contact {
  background: var(--accent);
  color: #fff !important;
  border-radius: 4px;
  padding: 8px 18px;
}
.nav-contact:hover { background: #c8880e !important; color: #fff !important; }

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,92,0.75) 0%, rgba(0,0,0,0.3) 100%);
  display: flex;
  align-items: center;
}
.hero-text { color: #fff; padding: 0 60px; }
.hero-text h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.hero-text p { font-size: 18px; margin-bottom: 28px; opacity: 0.9; max-width: 600px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-weight: 600; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #c8880e; transform: translateY(-2px); }
.btn-outline { border: 2px solid #fff; color: #fff; margin-left: 12px; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dots span.active { background: #fff; transform: scale(1.3); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  color: #fff;
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}
.stat-item h3 { font-size: 36px; font-weight: 700; color: var(--accent); }
.stat-item p { font-size: 14px; opacity: 0.8; margin-top: 4px; }

/* ===== SECTION ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; color: var(--primary); margin-bottom: 12px; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 16px; }
.section-header .line {
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card-body { padding: 16px; flex: 1; }
.product-card-body h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.product-card-body p { font-size: 13px; color: var(--text-light); }
.product-card-link {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  transition: background 0.2s;
}
.product-card-link:hover { background: var(--accent); }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: 8px;
  border-bottom: 3px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.why-card:hover { border-bottom-color: var(--accent); transform: translateY(-4px); }
.why-icon {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.why-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.why-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { width: 100%; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.about-text h2 { font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.about-text .accent-line { width: 50px; height: 3px; background: var(--accent); margin-bottom: 20px; }
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.about-features { margin-top: 24px; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}
.about-feature span { color: var(--accent); font-size: 20px; }

/* ===== CERTIFICATIONS ===== */
.cert-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cert-item {
  text-align: center;
  padding: 24px 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cert-item .cert-icon { font-size: 40px; margin-bottom: 10px; }
.cert-item h4 { color: var(--primary); font-size: 16px; }
.cert-item p { color: var(--text-light); font-size: 13px; margin-top: 4px; }

/* ===== CONTACT CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary), #2a5a8c);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta h2 { font-size: 36px; margin-bottom: 16px; }
.cta p { font-size: 18px; opacity: 0.85; margin-bottom: 32px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== FOOTER ===== */
footer {
  background: #0f2337;
  color: #aaa;
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 50px; margin-bottom: 14px; filter: brightness(2); }
.footer-brand p { font-size: 14px; line-height: 1.7; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #aaa; font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: var(--accent); }
.footer-contact p { font-size: 14px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.footer-bottom {
  border-top: 1px solid #1e3a55;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), #2a5a8c);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { font-size: 36px; margin-bottom: 10px; }
.page-hero p { opacity: 0.8; font-size: 16px; }
.breadcrumb { margin-top: 12px; font-size: 14px; opacity: 0.7; }
.breadcrumb a { color: #cde; }
.breadcrumb span { margin: 0 8px; }

/* ===== PRODUCTS PAGE ===== */
.products-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  color: var(--primary);
  transition: all 0.2s;
  background: #fff;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== ABOUT PAGE ===== */
.timeline { margin-top: 40px; }
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
}
.timeline-year {
  min-width: 80px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  font-weight: 700;
  height: fit-content;
}
.timeline-content h4 { color: var(--primary); margin-bottom: 6px; }
.timeline-content p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { color: var(--primary); font-size: 14px; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-light); font-size: 14px; }
.contact-item a:hover { color: var(--accent); }
.contact-form h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--primary); margin-bottom: 6px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--accent); }
.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  transition: background 0.2s;
}
.whatsapp-cta:hover { background: #1da851; }
.whatsapp-cta svg { width: 28px; height: 28px; fill: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { height: 360px; }
  .hero-text { padding: 0 24px; }
  .hero-text h1 { font-size: 26px; }
  .hero-text p { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid, .products-full-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 480px) {
  .products-grid, .products-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
