* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(26, 82, 118, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar .logo { display: flex; align-items: center; gap: 12px; }
.navbar .logo svg { height: 45px; width: auto; }
.navbar .nav-links { display: flex; list-style: none; gap: 8px; }
.navbar .nav-links a {
  color: #ecf0f1; font-size: 0.95rem; padding: 8px 16px;
  border-radius: 6px; transition: all 0.3s ease; font-weight: 500;
}
.navbar .nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.navbar .nav-links a.active { background: #e74c3c; color: #fff; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: #fff; border-radius: 3px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a5276 0%, #1e3a5f 50%, #2e86c1 100%);
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,134,193,0.3) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,82,118,0.4) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 650px; }
.hero-content h1 {
  font-size: 3.5rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px;
}
.hero-content h1 span { color: #e74c3c; }
.hero-content p { font-size: 1.2rem; color: rgba(236,240,241,0.85); margin-bottom: 35px; max-width: 520px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
  border: none; text-align: center;
}
.btn-primary { background: #e74c3c; color: #fff; }
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(231,76,60,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.hero-stats {
  position: relative; z-index: 2; margin-top: 50px;
  display: flex; gap: 40px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .number { font-size: 2.2rem; font-weight: 800; color: #e74c3c; }
.stat-item .label { font-size: 0.85rem; color: rgba(236,240,241,0.7); margin-top: 4px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.4rem; color: #1a5276; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: #666; max-width: 650px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: #fff; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image {
  background: linear-gradient(135deg, #1a5276, #2e86c1);
  border-radius: 16px; height: 400px; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(26,82,118,0.3);
}
.about-image .big-number { font-size: 6rem; font-weight: 800; color: rgba(255,255,255,0.2); }
.about-text h3 { font-size: 1.8rem; color: #1a5276; margin-bottom: 20px; }
.about-text p { color: #555; margin-bottom: 15px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.feature-card {
  background: #f8f9fa; padding: 25px; border-radius: 12px;
  border-left: 4px solid #e74c3c; transition: all 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-card h4 { color: #1a5276; margin-bottom: 8px; font-size: 1rem; }
.feature-card p { font-size: 0.9rem; color: #666; }

/* ===== SERVICES ===== */
.services { background: #f4f6f9; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: #fff; border-radius: 16px; padding: 40px 30px;
  text-align: center; transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { color: #1a5276; margin-bottom: 15px; font-size: 1.3rem; }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 20px; }
.service-link { color: #e74c3c; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; }
.service-link:hover { text-decoration: underline; }

/* ===== PRODUCTS ===== */
.products { background: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.product-card {
  background: #f8f9fa; border-radius: 12px; padding: 30px;
  border: 1px solid #eef1f5; transition: all 0.3s ease;
}
.product-card:hover { border-color: #2e86c1; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(46,134,193,0.15); }
.product-card h3 { color: #1a5276; margin-bottom: 10px; font-size: 1.15rem; }
.product-card p { color: #666; font-size: 0.9rem; margin-bottom: 15px; }
.product-tag {
  display: inline-block; background: #eaf2f8; color: #2e86c1;
  padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600;
}

/* ===== PORTFOLIO ===== */
.portfolio { background: #1a5276; color: #fff; }
.portfolio .section-header h2 { color: #fff; }
.portfolio .section-header p { color: rgba(236,240,241,0.7); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.portfolio-card {
  background: rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden;
  transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
}
.portfolio-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.12); }
.portfolio-card .card-image { height: 180px; background: linear-gradient(135deg, #2e86c1, #1a5276); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.portfolio-card .card-body { padding: 25px; }
.portfolio-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.portfolio-card p { color: rgba(236,240,241,0.7); font-size: 0.9rem; }
.portfolio-card .tag { display: inline-block; background: rgba(231,76,60,0.3); color: #e74c3c; padding: 3px 10px; border-radius: 4px; font-size: 0.8rem; margin-top: 12px; }

/* ===== CONTACT ===== */
.contact { background: #f4f6f9; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 1.6rem; color: #1a5276; margin-bottom: 20px; }
.contact-info p { color: #666; margin-bottom: 25px; }
.contact-detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-detail .icon { font-size: 1.5rem; min-width: 40px; text-align: center; }
.contact-detail .text h4 { color: #1a5276; margin-bottom: 3px; }
.contact-detail .text p { color: #666; font-size: 0.9rem; margin: 0; }
.contact-form { background: #fff; padding: 35px; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: #1a5276; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid #eef1f5; border-radius: 8px;
  font-size: 0.95rem; transition: border-color 0.3s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2e86c1; }
.form-group textarea { height: 120px; resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: #1a2332; color: rgba(236,240,241,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 15px; }
.footer-brand .logo svg { height: 35px; width: auto; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: #fff; margin-bottom: 15px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 0.9rem; transition: color 0.3s; }
.footer ul a:hover { color: #e74c3c; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-content { grid-template-columns: 1fr; }
  .about-image { height: 250px; }
  .services-grid, .products-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar .nav-links { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: #1a5276; flex-direction: column; padding: 20px; gap: 5px; }
  .navbar .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-stats { gap: 20px; }
  .services-grid, .products-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; }
}
