/* =====================
   GLOBAL RESET & BASE
===================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  background-color: #f4f6fb;
  color: #1f2933;
  line-height: 1.6;
}

/* =====================
   HEADER / NAVBAR
===================== */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 42px;
  background: linear-gradient(90deg, #0b1c2d, #102a43);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + Brand */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 46px;
}

/* Professional Brand Name */
.brand-name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
}

/* Navigation */
.header-nav nav a {
  color: #ffffff;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.header-nav nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #25d366;
  left: 0;
  bottom: -6px;
  transition: width 0.3s ease;
}

.header-nav nav a:hover::after {
  width: 100%;
}

/* =====================
   HERO SECTION
===================== */
.hero {
  background: linear-gradient(
      rgba(11, 28, 45, 0.78),
      rgba(11, 28, 45, 0.78)
    ),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  padding: 80px 20px;
  color: #ffffff;
}

.hero-content {
  max-width: 720px;
  margin: auto;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: 19px;
  opacity: 0.92;
  margin-bottom: 32px;
}

.hero .btn {
  background: #25d366;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
}

/* =====================
   SECTIONS
===================== */
.section {
  padding: 45px 24px;
  max-width: 1080px;   /* reduced from 1200px */
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 48px;
  color: #102a43;
}

/* =====================
   CARDS
===================== */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.service-card,
.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(16, 42, 67, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 55px rgba(16, 42, 67, 0.18);
}

.service-card img,
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}

.service-card h3,
.product-card h3 {
  color: #0b1c2d;
  margin-bottom: 10px;
}

/* =====================
   BUTTONS & LINKS
===================== */
.link-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid #102a43;
  color: #102a43;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.link-btn:hover {
  background: #102a43;
  color: #ffffff;
}

/* =====================
   ABOUT
===================== */
.about {
  text-align: center;
  max-width: 780px;
  margin: auto;
}

.about p {
  font-size: 18px;
  color: #334e68;
}

/* =====================
   CONTACT / FORM
===================== */
.contact form {
  max-width: 650px;
  margin: auto;
  background: #ffffff;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 42, 67, 0.15);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #d9e2ec;
  font-size: 15px;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #25d366;
}

.contact button {
  width: 100%;
  padding: 14px;
  background: #102a43;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact button:hover {
  background: #0b1c2d;
  transform: translateY(-1px);
}

/* =====================
   PRODUCT DETAIL
===================== */
.product-detail {
  text-align: center;
}

.product-img {
  max-width: 420px;
  width: 100%;
  border-radius: 18px;
  margin: 28px 0;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.18);
}

/* =====================
   FOOTER
===================== */
.footer {
  background: #0b1c2d;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .brand-name {
    font-size: 18px;
    letter-spacing: 0.8px;
  }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  text-align: center;
}

