/* =========================
   BRIGHT PREMIUM TECH THEME
   ATN SOLUTION SDN BHD
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: #f7faf9;
  color: #1f2d2a;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e6f2ec;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  color: #1aa36f;
  font-weight: 700;
  letter-spacing: 1px;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #2f3d38;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1aa36f;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #eafff3, #ffffff);
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 44px;
  color: #1f2d2a;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  color: #4b5a55;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 26px;
  background: #1aa36f;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(26,163,111,0.15);
}

.btn:hover {
  transform: translateY(-2px);
  background: #148a5d;
}

/* ===== SECTIONS ===== */
section {
  padding: 60px 0;
}

h2 {
  color: #1aa36f;
  margin-bottom: 15px;
}

/* ===== CARDS ===== */
.services-grid,
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e6f2ec;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #bfe8d4;
}

/* ===== CTA ===== */
.cta {
  background: #eafff3;
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid #d8f3e6;
  border-bottom: 1px solid #d8f3e6;
}

/* ===== CONTACT ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form form {
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e6f2ec;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #dcebe3;
  border-radius: 10px;
  background: #fbfdfc;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #1aa36f;
}

/* ===== BUTTON ===== */
button {
  background: #1aa36f;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

button:hover {
  background: #148a5d;
}

/* ===== FOOTER ===== */
footer {
  background: #ffffff;
  text-align: center;
  padding: 20px;
  color: #6b7c75;
  border-top: 1px solid #e6f2ec;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}