/* === GLOBAL BODY === */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #FFFBDE, #91C8E4, #749BC2, #4682A9);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite; /* bagi slow sikit supaya nampak smooth */
  min-height: 100vh;
  color: #000000;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* === HERO, SECTION & FOOTER ikut body background === */
.about-hero-section,
section.bg-white,
section.bg-light,
.footer-obf {
  background: transparent !important; /* ikut body animation */
}

/* Kalau nak ada kad putih dalam section, maintain bg putih */
.about-hero-section .position-relative,
section.bg-white .border,
section.bg-light .bg-white,
.contact-card {
  background-color: #ffffff !important;
}
a {
  color: #1fab89;
  text-decoration: none;
  transition: 0.3s ease;
}
a:hover {
  color: #54e346;
}
img {
  max-width: 100%;
  display: block;
}
section {
  padding: 80px 0;
}
h1, h2, h3, h4, h5 {
  font-weight: bold;
  color: #000000;
}

/* === NAVBAR === */
.custom-navbar {
  background-color: rgba(16,40,32,0.95);
  backdrop-filter: blur(5px);
}
.navbar-nav .nav-link {
  color: #ffffff !important;
  position: relative;
}
.navbar-nav .nav-link.nav-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 0%;
  height: 2px;
  background-color: #1fab89;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link.nav-underline:hover::after {
  width: 80%;
}

/* === HERO SECTION === */
.about-hero-section {
  background: linear-gradient(-45deg, #FFFBDE, #91C8E4, #749BC2, #4682A9);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  position: relative;
  overflow: hidden;
  min-height: 25vh;
  padding-top: 50px;
  padding-bottom: 50px;
}
.about-hero-section h1 {
  font-size: 3rem;
  color: #000000 !important;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}
.about-hero-section h1 span,
.about-hero-section h1 strong {
  color: #000000 !important;
}
.about-hero-section .lead,
.about-hero-section ul li {
  color: #000000;
  font-weight: bold !important;
  font-size: 1.1rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.about-hero-section .lead { animation-delay: 0.5s; }
.about-hero-section ul li:nth-child(1) { animation-delay: 0.7s; }
.about-hero-section ul li:nth-child(2) { animation-delay: 0.9s; }
.about-hero-section ul li:nth-child(3) { animation-delay: 1.1s; }
.about-hero-section .btn-success {
  background-color: #1fab89;
  color: #ffffff;
  font-weight: bold;
  padding: 12px 26px;
  border-radius: 30px;
  border: none;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.3s;
}
.about-hero-section .btn-success:hover {
  background-color: #54e346;
  box-shadow: 0 0 12px rgba(84, 227, 70, 0.4);
}
.about-hero-section .position-relative {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1s;
}
.about-hero-section .img-fluid {
  animation: zoomFloat 4s ease-in-out infinite;
  transform-origin: center;
}
.about-hero-section .position-absolute {
  width: 44px;
  height: 44px;
  background-color: #d2f8e0;
  color: #2f7d4f;
  opacity: 0;
  animation: floatIn 1.2s ease forwards;
}
.about-hero-section .position-absolute.top-0 { animation-delay: 1.5s; }
.about-hero-section .position-absolute.bottom-0 { animation-delay: 1.7s; }

/* === DIFFERENTIATORS SECTION === */
section.bg-white {
  background: linear-gradient(-45deg, #FFFBDE, #91C8E4, #749BC2, #4682A9) !important;
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}
section.bg-white .border {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  color: #000000;
}
section.bg-white h5 { color: #1fab89; }
section.bg-white p { color: #000000; }
section.bg-white .bi {
  font-size: 1.8rem;
  color: #1fab89;
}

/* === VISION & MISSION === */
section.bg-light {
  background: linear-gradient(-45deg, #FFFBDE, #91C8E4, #749BC2, #4682A9) !important;
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
}
section.bg-light .bg-white {
  background-color: #ffffff;
  border-left: 6px solid #1fab89;
  border-radius: 16px;
  padding: 30px;
  color: #000000;
}
section.bg-light h3 { color: #1fab89; }
section.bg-light p,
section.bg-light ul li {
  color: #000000;
  font-size: 1rem;
}
section.bg-light ul {
  padding-left: 0;
  list-style: none;
}
section.bg-light ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
section.bg-light ul li::before {
  content: '\f061';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #1fab89;
}

/* === COMPANY DETAILS & CONTACT === */
section .bg-light .bg-light {
  background-color: #ffffff !important;
  color: #000000;
  border-radius: 16px;
  padding: 24px;
}
section .bg-light .bg-light ul li,
section .bg-light .bg-light ul li strong {
  color: #000000 !important;
}

/* === CONTACT CARD === */
.contact-card {
  background-color: #ffffff;
  color: #000000;
  border-left: 5px solid #1fab89;
  border-radius: 16px;
  padding: 24px;
}
.contact-card p,
.contact-card strong,
.contact-card ul li {
  color: #000000 !important;
}

/* === MAP === */
.map-container iframe {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* === FOOTER === */
.footer-obf {
  background: linear-gradient(-45deg, #FFFBDE, #91C8E4, #749BC2, #4682A9);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;
  color: #000000;
}
.footer-obf a { color: #000000; }
.footer-obf a:hover { color: #1fab89; }
.footer-obf ul li i { color: #1fab89; }
.footer-logo-wrapper {
  display: flex;
  justify-content: flex-end;
}
.footer-logo {
  width: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 10px;
}
.footer-obf hr { opacity: 0.15; }

/* === FLOATING BUTTONS === */
.float-whatsapp {
  position: fixed;
  bottom: 90px;
  right: 15px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: white;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
}
.float-whatsapp:hover { transform: scale(1.1); }
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #000000;
  color: white;
  font-size: 20px;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 9999;
  display: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.scroll-to-top:hover { transform: scale(1.1); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .about-hero-section {
    text-align: center;
    padding: 60px 20px;
  }
  .about-hero-section h1 { font-size: 2.2rem; }
  .about-hero-section .btn { margin-top: 20px; }
  .footer-logo-wrapper { justify-content: center; }
}

/* === KEYFRAMES HERO ANIMATION === */
@keyframes zoomFloat {
  0%   { transform: scale(0.95); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(0.95); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes floatIn {
  0% { transform: translateY(-20px) scale(0.5); opacity: 0; }
  50% { transform: translateY(10px) scale(1.1); opacity: 0.7; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* === KEYFRAME BACKGROUND ANIMATION === */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
