/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/

/* Mobile: stack image on top, center it, and scale nicely */
@media (max-width: 767px) {
  .proc-media {
    display: flex;
    flex-direction: column;       /* stack image and text vertically */
    align-items: center;          /* center horizontally */
    text-align: center;           /* center text under image */
  }

  .proc-media__photo {
    order: -1;                    /* make sure image always comes first */
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;          /* spacing under image */
  }

  .proc-media__photo img {
    max-width: 90%;               /* responsive size */
    height: auto;                 /* keep aspect ratio */
    object-fit: contain;          /* no cropping */
  }

  .proc-media__body {
    width: 100%;                  /* take full width under image */
  }
}

/* Fonts */
:root {
  --default-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Floating + glowing text */
:root {
  --glow-color: #7aa7ff;          /* glow tint */
  --glow-strong: rgba(122,167,255,.8);
  --glow-soft: rgba(122,167,255,.35);
}

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }  /* up-down amount */
}

@keyframes glowPulse {
  0%,100% {
    text-shadow:
      0 3px 18px rgba(0,0,0,.65),
      0 1px 2px rgba(0,0,0,.85),
      0 0 0 var(--glow-soft),
      0 0 0 var(--glow-soft);
  }
  50% {
    text-shadow:
      0 3px 18px rgba(0,0,0,.65),
      0 1px 2px rgba(0,0,0,.85),
      0 2px 14px var(--glow-soft),
      0 0 28px var(--glow-strong);
  }
}

/* Apply to headings / text you want animated */
.float-glow {
  animation: floatY 6s ease-in-out infinite, glowPulse 4.5s ease-in-out infinite;
  will-change: transform, text-shadow;
}

/* A gentler version for paragraphs / subhead */
.float-glow--soft {
  animation: floatY 8s ease-in-out infinite, glowPulse 6s ease-in-out infinite;
  opacity: .98;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .float-glow, .float-glow--soft { animation: none; text-shadow: none; }
}

/* Global Colors - Dark Wine Background Test */
:root { 
  --background-color: #4c0e1a;   /* Dark wine as main background */
  --default-color: #f8f1ea;      /* Cream text on wine */
  --heading-color: #e6cdb9;      /* Champagne nude headings */
  --accent-color: #e6cdb9;       /* Champagne nude for links/buttons */
  --surface-color: #ffffff;      /* White for cards / inner boxes */
  --contrast-color: #ffffff;     /* White text on champagne accents */
  --welcome:#e9967a; /* for hero welcome bg */
}

/* Nav Menu Colors */
:root {
  --nav-color: #e6cdb9;             /* Champagne nude for nav links */
  --nav-hover-color: #ffffff;       /* Hover to white for stronger pop */
  --nav-mobile-background-color: #4c0e1a; /* Wine on mobile menu */
  --nav-dropdown-background-color: #4c0e1a;
  --nav-dropdown-color: #e6cdb9;
  --nav-dropdown-hover-color: #ffffff;
}

/* Light background preset override */
.light-background {
  --background-color: #f8f1ea;  /* cream untuk section */
  --surface-color: #f8f1ea;     /* tukar kad/box dalam section kepada cream juga */
}


.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--brand-wine) !important;   /* wine */
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
/*==============================================================
  Floating Buttons (WhatsApp + Scroll-Top)
  - WhatsApp: sentiasa nampak
  - Scroll-top: muncul bila .active (dikawal main.js)
==============================================================*/
.floating-buttons{
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: flex;
  gap: 10px;
  z-index: 100000;
}

/* Shared look for round buttons */
.floating-buttons .btn-float{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: .95;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.floating-buttons .btn-float:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  opacity: 1;
}

/* WhatsApp: always visible */
.floating-buttons .btn-float.whatsapp{
  background:#25D366;
}

/* Scroll-top inside the group:
   - ikut .active (visible bila user scroll, JS akan tambah .active)
   - tiada positioning fixed (ikut container) */
.floating-buttons .scroll-top{
  position: static;
  background: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all .4s;
}
.floating-buttons .scroll-top i{
  font-size: 22px;
  color: var(--contrast-color);
}

/* hidden by default (no .active) */
.floating-buttons .scroll-top:not(.active){
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* visible when active (main.js akan toggle .active) */
.floating-buttons .scroll-top.active{
  visibility: visible;
  opacity: 1;
}

/* (Optional) Fallback jika ada elemen scroll-top lain di luar group */
.scroll-top{
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.scroll-top i{
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}
.scroll-top:hover{
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}
.scroll-top.active{
  visibility: visible;
  opacity: 1;
}

/* Responsive tweak */
@media (max-width: 575.98px){
  .floating-buttons{ right:14px; bottom:14px; gap:8px; }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  --welcome:#fff; 
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Particles layer (sits above bg image, below content) */
#particles-hero {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none; /* clicks pass through */
}

/* Ensure hero content stays on top */
.hero .welcome,
.hero .container { position: relative; z-index: 3; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  #particles-hero { display: none; }
}
/* --- Pretty Gallery --- */
.axis-gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.axis-gallery-card{
  display:block;
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  background:#1a1a1a10;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  aspect-ratio: 4/3; /* consistent tiles; remove if you prefer natural heights */
}

.axis-gallery-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.axis-gallery-figure{ margin:0; height:100%; width:100%; position:relative; }
.axis-gallery-img{
  height:100%; width:100%; object-fit:cover; display:block;
  transform: scale(1.0); transition: transform .35s ease;
  filter: saturate(1.05) contrast(1.02);
}
.axis-gallery-card:hover .axis-gallery-img{ transform: scale(1.05); }

.axis-gallery-caption{
  position:absolute; inset:auto 0 0 0; height:62px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 70%);
  display:flex; align-items:flex-end; padding:10px 12px;
}

.axis-gallery-label{
  color:#fff; font-size:.95rem; line-height:1.2; font-weight:600;
  display:inline-block; padding:6px 10px; border-radius:999px;
  background:linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  backdrop-filter: blur(4px);
}










/* Section doctors tetap dark wine bg */
section#doctors {
  background-color: var(--brand-wine); /* sama macam About us */
}

/* Kad doktor ikut gaya .about-timeline .tl-card */
#doctors .team-member {
  background: var(--axis-card) !important;
  border: 1px solid rgba(230,205,185,.22) !important;
  border-left: 3px solid var(--axis-champ) !important;
  color: #f1e6df !important;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25) !important;
  transition: transform .3s ease;
}

#doctors .team-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.3) !important;
}

/* Teks + line bawah span */
#doctors .team-member h4,
#doctors .team-member span,
#doctors .team-member p { color: #f1e6df !important; }

#doctors .team-member span::after {
  background: rgba(230,205,185,.35) !important;
}

/* Social icons ikut style about card */
#doctors .team-member .social a {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(230,205,185,.22) !important;
}
#doctors .team-member .social a i { color: rgba(255,255,255,.9) !important; }
#doctors .team-member .social a:hover {
  background: var(--axis-champ) !important;
}
#doctors .team-member .social a:hover i {
  color: var(--axis-wine) !important;
}



/*--------------------------------------------------------------
# Nama X pada Hero Section
--------------------------------------------------------------*/

.sitename {
  font-weight: 700;
  font-size: 28px;
  color: #e6cdb9; 
  letter-spacing: 1px;
}

.sitename .big-x {
  font-size: 46px;
  font-weight: 900;
  display: inline-block;

  /* Gradient text */
  background: linear-gradient(45deg, #f8d210, #ff4e50, #e6cdb9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Neon disco glow animation */
  animation: neonDisco 1s infinite alternate;
}

@keyframes neonDisco {
  0% {
    text-shadow: 
      0 0 5px #fff,
      0 0 15px #f8d210,
      0 0 25px #ff4e50,
      0 0 45px #ff4e50,
      0 0 60px #f8d210;
  }
  50% {
    text-shadow: 
      0 0 5px #fff,
      0 0 20px #ff4e50,
      0 0 35px #f8d210,
      0 0 50px #e6cdb9,
      0 0 80px #ff4e50;
  }
  100% {
    text-shadow: 
      0 0 2px #fff,
      0 0 10px #e6cdb9,
      0 0 20px #f8d210,
      0 0 30px #ff4e50,
      0 0 50px #e6cdb9;
  }
}



#hero .welcome h2,
#hero .welcome h2 .static,
#hero .welcome #typed-hero{
  text-shadow:
    0 1px 0 rgba(0,0,0,.70),
    0 4px 14px rgba(0,0,0,.75),
    0 12px 34px rgba(0,0,0,.55),
    0 0 3px rgba(0,0,0,.95);
  -webkit-text-stroke: 1.3px rgba(0,0,0,.40);
}


.hero .welcome h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero .welcome p {
  font-size: 24px;
  margin: 0;
  text-shadow:
    0 2px 10px rgba(0,0,0,.70),
    0 0 2px rgba(0,0,0,.90);  color: rgba(255,255,255,.92);
}

.hero .content {
  margin-top: 40px;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 30px;
  border-radius: 4px;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.hero .content .why-box p {
  margin-bottom: 30px;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .icon-box {
  text-align: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}



/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a+a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

/* ===========================
   Testimonial: Full-Bleed BG
   =========================== */

/* brand fallbacks */
:root{
  --brand-wine: #4c0e1a;
  --brand-champagne: #e6cdb9;
}

/* SECTION: full-bleed wrapper  */
.testimonials-bleed{
  position: relative;
  padding: 84px 0;
  overflow: hidden; /* elak overflow tepi */
}

/* Light gradient (wine -> beige). Guna class ni kalau nak versi cerah */
.testimonials-bleed--light{
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(1200px 420px at 90% 110%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, var(--brand-wine) 0%, var(--brand-wine) 8%, #f6eee6 40%, #f6eee6 100%);
}

/* Full dark wine (elegant). Guna class ni untuk dark */
.testimonials-bleed--dark{
  background:
    radial-gradient(1000px 360px at 12% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1000px 360px at 88% 110%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--brand-wine) 0%, #3a0e16 100%);
}
.testimonials-bleed--dark .section-title h2,
.testimonials-bleed--dark .section-title p{ color:#fff; }

/* optional overlay pattern (letak asset kalau ada) */
/*
.testimonials-bleed::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: url("../img/patterns/mesh-dots.svg") center/cover no-repeat;
  opacity:.14;
}
*/

.testimonials-bleed .container{ position: relative; z-index: 2; }

/* ============== Spotlight Card ============== */
.testimonial-spotlight{
  display:flex; gap:24px; align-items:flex-start;
  padding:28px; border-radius:18px;
  background:#fff; /* tukar ke glass wine di bawah kalau nak */
  transition: opacity .35s ease, transform .35s ease;
}
.testimonial-spotlight .ts-avatar img{
  width:100px;height:100px;object-fit:cover;border-radius:50%;
  border:4px solid var(--brand-champagne);
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.testimonial-spotlight .ts-head{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.testimonial-spotlight .ts-head h4{ margin:0; font-weight:800; color:#2b0a11; }
.testimonial-spotlight .ts-head span{ font-size:.9rem; color:#7a6e6a; }
.testimonial-spotlight .ts-stars{ margin-left:auto; color:#ffc107; }
.testimonial-spotlight .ts-text{ margin-top:10px; color:#3b2e2b; line-height:1.65; }

/* Fade transition states (for click-to-replace) */
.testimonial-spotlight.is-fading-out{ opacity:0; transform: translateY(4px); }
.testimonial-spotlight.is-fading-in{  opacity:1; transform: none; }

/* ============== Mini Slider (Swiper) ============== */
/* transparent bg, remove any default white box */
.testimonial-mini-swiper,
.testimonial-mini-swiper .swiper{ background: transparent !important; box-shadow:none !important; }

/* hide arrows if present (autoplay + swipe + bullets only) */
.testimonial-mini-swiper .swiper-button-next,
.testimonial-mini-swiper .swiper-button-prev{ display:none !important; }

/* Mini card */
.testimonial-mini{
  display:flex; gap:14px; padding:18px; border-radius:14px;
  background:#fff; border:1px solid rgba(230,205,185,.55);
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  height:100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-mini:hover{ transform: translateY(-4px); box-shadow:0 18px 36px rgba(0,0,0,.18); }

.testimonial-mini .mini-avatar img{
  width:64px;height:64px;border-radius:50%;object-fit:cover;
  border:3px solid var(--brand-champagne);
}
.testimonial-mini .mini-body h5{ margin:0; font-weight:700; color:#2b0a11; }
.testimonial-mini .mini-body span{ font-size:.85rem; color:#7a6e6a; }
.testimonial-mini .mini-body p{ margin:6px 0 0; color:#3b2e2b; }

/* Bullets: champagne nude glow */
.testimonial-mini-swiper .swiper-pagination-bullet{
  width:10px;height:10px;border-radius:50%;
  background: rgba(230,205,185,.35); opacity:1; margin:0 6px !important;
  box-shadow: 0 0 6px rgba(230,205,185,.3);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.testimonial-mini-swiper .swiper-pagination-bullet-active{
  background: var(--brand-champagne);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(230,205,185,.8), 0 0 20px rgba(230,205,185,.6);
}

*
.testimonials-bleed--dark .testimonial-spotlight,
.testimonials-bleed--dark .testimonial-mini{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(230,205,185,.28);
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
  color:#f6eee6;
}
.testimonials-bleed--dark .testimonial-spotlight .ts-head h4,
.testimonials-bleed--dark .testimonial-mini .mini-body h5{ color:#fff; }
.testimonials-bleed--dark .testimonial-spotlight .ts-head span,
.testimonials-bleed--dark .testimonial-mini .mini-body span{ color:rgba(255,255,255,.78); }
.testimonials-bleed--dark .testimonial-spotlight .ts-text,
.testimonials-bleed--dark .testimonial-mini .mini-body p{ color:rgba(255,255,255,.92); }



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}






/* ===== Procedures: MEDIA CARDS (image + content) ===== */
.proc-media-grid{
  display: grid;
  gap: 28px;
}

/* Each wide card */
.proc-media{
  --curve: 64px;                      /* diagonal/curve depth */
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: var(--brand-wine);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 28px 48px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.proc-media:hover{ transform: translateY(-6px); box-shadow: 0 36px 66px rgba(0,0,0,.36); border-color: rgba(230,205,185,.22); }

/* Image column with curved split */
.proc-media__photo{
  position: relative; overflow: hidden;
  isolation: isolate; /* for mask */
}
.proc-media__photo img{
  width:100%; height:100%; object-fit: cover;
  transform: scale(1.03); transition: transform .6s ease;
}
.proc-media:hover .proc-media__photo img{ transform: scale(1.07); }

/* Soft vignette + diagonal mask into content */
.proc-media__photo::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:
    radial-gradient(1000px 400px at 10% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(to right, rgba(0,0,0,.45), transparent 35%);
}
/* diagonal cut edge */
.proc-media__photo::before{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background: linear-gradient( to right, transparent calc(100% - var(--curve)), var(--brand-wine) );
  mix-blend-mode: normal; opacity: 1;
}

/* Reverse layout (image on right, curve flipped) */
.proc-media.is-reverse{ grid-template-columns: 1fr 42%; }
.proc-media.is-reverse .proc-media__photo{ order: 2; }
.proc-media.is-reverse .proc-media__photo::before{
  background: linear-gradient( to left, transparent calc(100% - var(--curve)), var(--brand-wine) );
}
.proc-media.is-reverse .proc-media__photo::after{
  background:
    radial-gradient(1000px 400px at 90% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(to left, rgba(0,0,0,.45), transparent 35%);
}

/* Content side */
.proc-media__body{
  position: relative;
  padding: 28px 26px;
  display: grid; align-content: start; gap: 14px;
}
@media (min-width: 992px){ .proc-media__body{ padding: 34px 32px; gap: 16px; } }

.proc-media__head{ display:flex; align-items:center; gap:12px; }
.proc-media__head h4{ margin:0; font-weight:800; letter-spacing:.2px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }

/* Icon badge */
.proc-media__icon{
  width:56px; height:56px; border-radius:50%; display:grid; place-items:center;
  background: radial-gradient(circle at 30% 30%, #ffd7be, #e6cdb9 65%, #c79b80);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.38), 0 10px 20px rgba(0,0,0,.25);
  color:#4c0e1a;
}
.proc-media__icon i{ font-size:22px; }

/* Feature chips */
.proc-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:2px; }
.proc-tags .chip{
  font-size:.78rem; letter-spacing:.2px;
  padding:.25rem .6rem; border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(230,205,185,.28);
  color:#fff;
}

/* Two-column bullet list */
.proc-media .proc-list{
  list-style:none; padding:0; margin: 2px 0 10px;
  display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px;
}
@media (max-width: 767px){ .proc-media{ grid-template-columns: 1fr; } .proc-media .proc-list{ grid-template-columns: 1fr; } }

.proc-media .proc-list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px; border-radius:12px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.06);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.proc-media .proc-list li:hover{ background: rgba(255,255,255,.07); border-color: rgba(230,205,185,.35); transform: translateX(2px); }
.proc-media .proc-list i{ color: var(--brand-champagne); margin-top:2px; }

/* CTA */
.proc-media .btn-outline-primary{
  color: var(--brand-champagne) !important;
  border-color: var(--brand-champagne) !important;
  border-width:2px; border-radius:999px; padding:.55rem 1rem;
  background: transparent !important;
  box-shadow: inset 0 0 0 1px rgba(230,205,185,.28), 0 8px 18px rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.proc-media .btn-outline-primary:hover{
  background: var(--brand-champagne) !important;
  color: var(--brand-wine) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,.3), 0 0 0 4px rgba(230,205,185,.25);
}



/* ---------- Procedures Fancy Styles ---------- */
:root{
  /* uses your brand; tweak if needed */
  --axis-bg: #f4e8dd;               /* section bg (your light beige) */
  --axis-card: #ffffffcc;           /* glass card */
  --axis-border: #ffffff40;
  --axis-shadow: 0 10px 30px rgba(0,0,0,.08);
  --axis-grad: linear-gradient(135deg,#8b2030, #e0a58f 60%, #ffd7be);
  --axis-text: #7a5151;             /* headings inside cards */
}

/* soft pattern background */
.procedures-section {
  background:
    radial-gradient(20px 20px at 20% 10%, rgba(0,0,0,.03) 1px, transparent 1px) repeat,
    var(--axis-bg);
  background-size: 36px 36px, auto;
}

/* card */
.proc-card{
  position: relative;
  border-radius: 18px;
  padding: 24px 22px;
  background: var(--axis-card);
  border: 1px solid var(--axis-border);
  box-shadow: var(--axis-shadow);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}

/* subtle gradient border on hover */
.proc-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,0));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  transition: background .25s ease;
}
.proc-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.12); }
.proc-card:hover::before{ background: var(--axis-grad); }
.proc-card--flat{ background: #fff; }

/* header */
.proc-head{
  display:flex; align-items:center; gap:12px;
  margin-bottom:12px;
}
.proc-head h4{
  margin:0; font-weight:700; color: var(--axis-text);
  letter-spacing:.2px;
}

/* Mobile: put hamburger + logo on the LEFT */
@media (max-width: 1199px) {
  .header .branding .container { position: relative; justify-content: flex-start; }

  /* move the burger to the left edge */
  .mobile-nav-toggle {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;            /* kill right margin */
  }

  /* give the logo some left space so it doesn't sit under the burger */
  .header .logo {
    margin-left: 52px;    /* ~44px button + 8px gap */
  }
}

/* circular gradient icon */
.proc-icon{
  display:inline-grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  background: var(--axis-grad);
  color:#fff; box-shadow: inset 0 0 0 2px #ffffff50;
}
.proc-icon i{ font-size:20px; line-height:1; }

/* list */
.proc-list{
  list-style:none; padding-left:0; margin: 6px 0 16px;
  column-gap: 32px;
}
@media (min-width: 768px){ .proc-list{ columns: 2; } }  /* 2-column bullets on md+ */

.proc-list li{
  break-inside: avoid;
  display:flex; align-items:flex-start; gap:8px;
  padding:8px 10px;
  border-radius:10px;
  transition: background .2s ease, transform .2s ease;
}
.proc-list li i{
  margin-top:2px; opacity:.9;
}
.proc-list li:hover{
  background: rgba(139,32,48,.06);
  transform: translateX(2px);
}

/* CTA */
.proc-cta .btn{
  border-radius: 999px;
  padding: .45rem .9rem;
  border-width:2px;
}


/* Brand variables (optional tidy-up) */
:root{
  --brand-wine: #4c0e1a;          /* same as your --background-color */
  --brand-champagne: #e6cdb9;     /* same as your --accent-color */
  --card-bg: var(--brand-wine);   /* use wine for all cards */
}

/* === Make ALL cards wine-colored === */
.hero .content .icon-box,         /* 3 feature cards in hero */
.hero .content .why-box,
.services .service-item,
.proc-card,
.stats .stats-item,
.faq .faq-container .faq-item,
.departments .tab-pane,
.departments .details,            /* inner panel text/bg */
.testimonials .testimonial-item,
.contact .info-item,
.pricing .box,
.card {
  background: var(--card-bg) !important;
  color: var(--contrast-color) !important;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Text, icons, links inside those cards */
.hero .content .icon-box h4,
.hero .content .icon-box p,
.hero .content .icon-box i,
.hero .content .why-box h3,
.hero .content .why-box p,
.services .service-item h3,
.services .service-item p,
.services .service-item i,
.proc-card h3, .proc-card h4, .proc-card h5, .proc-card p, .proc-card i,
.stats .stats-item span, .stats .stats-item p,
.faq .faq-container .faq-item h3,
.faq .faq-container .faq-item .faq-toggle,
.doctors .team-member h4, .doctors .team-member span, .doctors .team-member p,
.doctors .team-member .social a i,
.departments .details h3, .departments .details p,
.testimonials .testimonial-item h3, .testimonials .testimonial-item h4, .testimonials .testimonial-item p,
.contact .info-item h3, .contact .info-item p,
.pricing .box h3, .pricing .box p,
.card h3, .card h4, .card h5, .card p, .card i {
  color: rgba(255,255,255,.9) !important;
}

/* Icons/buttons that should invert on dark cards */
.services .service-item .icon { background: var(--brand-champagne) !important; }
.services .service-item .icon i { color: var(--brand-wine) !important; }
.why-box .more-btn,
.contact .php-email-form button[type=submit],
.appointment .php-email-form button[type=submit]{
  background: var(--brand-champagne) !important;
  color: var(--brand-wine) !important;
}

/* Optional: subtler hover on wine cards */
.hero .content .icon-box:hover,
.services .service-item:hover,
.proc-card:hover,
.stats .stats-item:hover,
.faq .faq-container .faq-item:hover,
.doctors .team-member:hover,
.departments .tab-pane:hover,
.testimonials .testimonial-item:hover,
.contact .info-item:hover,
.pricing .box:hover,
.card:hover{
  background: color-mix(in srgb, var(--card-bg), black 15%) !important;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}











/* Let shadows render naturally in this section      ni buat jd web goyang
.section.testimonials,
.testimonials.section { overflow: visible; }
*/

/* Ribbon: clean shadow so it doesn't read like a big pill */
.testimonials .ribbon {
  box-shadow: 0 2px 6px rgba(0,0,0,.18); /* lighter */
  /* if you still see a box, kill the shadow completely: */
  /* box-shadow: none; */
}



/* ===========================
   Testimonials – Upgraded
   =========================== */
:root{
  --review-glass: rgba(255,255,255,.06);
  --review-border: rgba(255,255,255,.12);
  --review-shadow: 0 18px 38px rgba(0,0,0,.25);
}

#testimonials .swiper { overflow: hidden; }

#testimonials .swiper-slide { width: 100% !important; }

#testimonials .testimonial-item{
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  justify-content: center;
}

#testimonials .testimonial-img{
  width: 100%;
  max-width: 820px;     /* adjust ikut sedap */
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}


.testimonials .info h3 {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: .2px;
}

.testimonials .swiper {
  background: transparent;
  padding: 10px 6px 40px;
}

.testimonial-card{
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 16px;
  background: var(--review-glass);
  border: 1px solid var(--review-border);
  box-shadow: var(--review-shadow);
  backdrop-filter: blur(6px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.testimonial-card::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius:18px;
  padding:1px;
  background: linear-gradient(135deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none; opacity:.6;
}
.testimonial-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 46px rgba(0,0,0,.35); }

.testimonial-avatar{
  width: 88px; height: 88px; border-radius: 50%;
  overflow: hidden; border: 3px solid var(--brand-champagne);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.testimonial-avatar img{ width:100%; height:100%; object-fit: cover; }

.testimonial-body{ display:flex; flex-direction: column; gap: 6px; }

.testimonial-head{
  display:flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.testimonial-name{ font-weight: 700; font-size: 18px; color: #fff; margin:0; }
.testimonial-role{ font-size: 13px; color: rgba(255,255,255,.75); }

.stars{ display:flex; gap:3px; }
.stars i{ color:#ffc107; font-size: 16px; }

.testimonial-text{
  position: relative;
  margin-top: 2px;
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
.testimonial-text .quote-start,
.testimonial-text .quote-end{
  font-size: 26px;
  color: color-mix(in srgb, var(--brand-champagne), transparent 40%);
}
.testimonial-text .quote-end{ transform: scale(-1,-1); display:inline-block; }

.testimonials .swiper-pagination { position: relative; margin-top: 8px; }
.testimonials .swiper-pagination-bullet{
  width: 10px; height: 10px; opacity: 1;
  background: rgba(255,255,255,.35);
}
.testimonials .swiper-pagination-bullet-active{
  background: var(--brand-champagne);
  transform: scale(1.15);
}

/* optional tiny quote breathing */
@keyframes quotePulse { 0%,100%{opacity:.55; transform: translateY(0);} 50%{opacity:1; transform: translateY(-2px);} }
.testimonial-text .quote-start,
.testimonial-text .quote-end { animation: quotePulse 3.2s ease-in-out infinite; }
.testimonials {
  position: relative;
}

.testimonials .ribbon {
  position: absolute;
  top: 0;                       /* ikut atas section */
  left: 50%;
  transform: translate(-50%, -50%);  /* center align horizontal + naik sikit */
  background: var(--brand-wine);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
  z-index: 10;
}



:root{
  --axis-wine:#4c0e1a;
  --axis-champ:#e6cdb9;
  --axis-card:rgba(230,205,185,.08);
}

/* Title & intro */
.about-title{ color:var(--axis-champ); margin-bottom:.45rem; }
.about-lead{ color:#f7eee7; opacity:.95; font-size:1.05rem; }

/* Image card */
.about-photo-card{ position:relative; border-radius:18px; overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.35); }
.about-photo-card img{ width:100%; display:block; }
.about-photo-badge{
  position:absolute; left:16px; bottom:16px;
  background:rgba(230,205,185,.95); color:var(--axis-wine);
  padding:8px 12px; border-radius:12px; font-weight:600; font-size:.9rem;
  display:flex; gap:8px; align-items:center;
}

/* Timeline */
.about-timeline{
  position:relative; list-style:none; margin:16px 0 0;
  padding-left:48px;                      /* space for line + badge */
  border-left:1px solid rgba(230,205,185,.22);
}
.about-timeline .tl-item{
  position:relative; margin:18px 0 26px;
  opacity:0; transform:translateY(10px);
}
.about-timeline .tl-badge{
  position:absolute; left:-30px; top:6px; width:22px; height:22px; border-radius:50%;
  border:1px solid rgba(230,205,185,.5);
  display:grid; place-items:center; box-shadow:0 0 0 4px rgba(230,205,185,.12); z-index:2;
}
.about-timeline .tl-badge i{ font-size:11px; color:var(--axis-champ); line-height:1; }
.about-timeline .tl-line{
  position:absolute; left:-.5px; top:28px; width:1px; height:0;
  background:linear-gradient(180deg, rgba(230,205,185,.75), rgba(230,205,185,.15));
  transform-origin:top;
}
.about-timeline .tl-card{
  background:var(--axis-card);
  border:1px solid rgba(230,205,185,.22);
  border-left:3px solid var(--axis-champ);
  padding:14px 16px; border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}

/* Reveal animation */
.about-timeline .tl-item.in-view{
  opacity:1; transform:translateY(0);
  transition:opacity .45s ease, transform .45s ease;
}
.about-timeline .tl-item.in-view .tl-line{
  height:calc(100% + 18px); transition:height .6s ease .08s;
}
.about-timeline .tl-item:last-child .tl-line{ display:none; }

/* Responsive */
@media (max-width:576px){
  .about-timeline{ padding-left:40px; }
  .about-timeline .tl-badge{ left:-26px; width:20px; height:20px; }
  .about-timeline .tl-card{ font-size:.95rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  .about-timeline .tl-item, .about-timeline .tl-line{ transition:none !important; }
}





/* ===== Blog cards – Premium look (override) ===== */
#blog .swiper { padding-bottom: 36px; }

#blog .post-card{
  background:#fff;
  border:1px solid rgba(230,205,185,.45);
  border-radius:18px;
  box-shadow:0 14px 30px rgba(76,14,26,.14);
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#blog .post-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 46px rgba(76,14,26,.22);
  border-color:rgba(230,205,185,.65);
}

/* Thumbnail (16:9) + gradient bawah */
#blog .post-thumb{
  position:relative;
  aspect-ratio:16/9;        /* <-- kekalkan 16:9 untuk Option A */
  overflow:hidden;
}
#blog .post-thumb::after{
  content:"";
  position:absolute; inset:auto 0 0 0; height:70px;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.55));
}
#blog .post-thumb img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s ease;
}
#blog .post-card:hover .post-thumb img{ transform:scale(1.06); }

/* Badge kategori */
#blog .post-badge{
  background:linear-gradient(135deg, #8b2030, #e6cdb9);
  color:#fff; border:1px solid rgba(255,255,255,.55);
  box-shadow:0 6px 14px rgba(0,0,0,.22);
  font-weight:600;
  position:absolute; z-index:2;   /* pastikan atas gambar */
  left:12px; top:12px; padding:.25rem .5rem; border-radius:999px;
}

/* Body + divider halus */
#blog .post-body{ padding:1.05rem 1.05rem 1.2rem; position:relative; }
#blog .post-body::before{
  content:""; position:absolute; left:0; right:0; top:-12px; height:12px;
  background:linear-gradient(180deg, rgba(230,205,185,0), rgba(230,205,185,.18));
}

/* Meta */
#blog .post-meta{ gap:.9rem; font-size:.85rem; color:#886a63; opacity:.9; display:flex; flex-wrap:wrap; }
#blog .post-meta i{ opacity:.8; }

/* Tajuk & excerpt */
#blog .post-title a{
  color:#2b0a11; font-weight:800;
  font-size:clamp(1.05rem, .9rem + .6vw, 1.35rem);
  line-height:1.25; text-decoration:none;
}
#blog .post-title a:hover{ color:#4c0e1a; }

#blog .post-excerpt{ color:#463a36; opacity:.9; }

/* Read more button */
#blog .read-more{
  display:inline-flex; align-items:center; gap:.4rem;
  color:#4c0e1a; font-weight:700;
  padding:.4rem .75rem; border-radius:999px;
  border:2px solid rgba(76,14,26,.12);
  transition:transform .15s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
#blog .read-more:hover{
  background:#4c0e1a; color:#fff; border-color:#4c0e1a;
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(76,14,26,.25);
}

/* View All Articles button */
#blog .btn.btn-outline-primary{
  border-color:#e6cdb9; color:#e6cdb9;
  border-width:2px; border-radius:999px; padding:.5rem 1rem;
  transition:background .2s ease, color .2s ease, transform .15s ease;
}
#blog .btn.btn-outline-primary:hover{
  background:#e6cdb9; color:#4c0e1a; transform:translateY(-1px);
}





/* ===== Tulisan Welcome to orthopaedic ke bawah sikit bila mobile view ===== */
/* Hero mobile: turunkan sedikit */
@media (max-width: 575.98px){
  #hero{ --lift: 160px; }                 /* dulu 200px */
  #hero .welcome{ position: relative; top: calc(-1 * var(--lift)); }
  #hero > img{ object-position: 50% 40%; }
}

/* Skrin kecil lagi: masih rendah berbanding sebelum ni */
@media (max-width: 400px){ #hero{ --lift: 170px; } }
@media (max-width: 360px){ #hero{ --lift: 180px; } }













/* =========================================================
   GREEN + WHITE THEME OVERRIDE
   Color only - no margin/padding/layout changes
   Paste this at the VERY BOTTOM of main.css
========================================================= */

/* ===== Global theme vars ===== */
:root{
  --background-color: #f5fbfc;
  --default-color: #46616a;
  --heading-color: #124e63;
  --accent-color: #2da39a;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --welcome: #124e63;

  --nav-color: #124e63;
  --nav-hover-color: #2da39a;
  --nav-mobile-background-color: #eef8f8;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #124e63;
  --nav-dropdown-hover-color: #2da39a;

  /* brand vars lama -> tukar hijau putih */
  --brand-wine: #2da39a;
  --brand-champagne: #ffffff;
  --card-bg: #ffffff;

  /* custom vars untuk sections custom */
  --axis-bg: #f5fbfc;
  --axis-card: #ffffff;
  --axis-border: rgba(45, 163, 154, 0.18);
  --axis-shadow: 0 10px 30px rgba(0,0,0,.08);
  --axis-grad: linear-gradient(135deg, #124e63, #2da39a 60%, #ffffff);
  --axis-text: #124e63;

  /* extra vars used by custom code */
  --axis-champ: #2da39a;
  --axis-wine: #124e63;
}

/* section preset lama cream -> putih */
.light-background{
  --background-color: #ffffff;
  --surface-color: #ffffff;
}

/* optional dark preset -> green-dark */
.dark-background{
  --background-color: #124e63;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1b637e;
  --contrast-color: #ffffff;
}

/* body + standard text */
body{
  background-color: var(--background-color);
  color: var(--default-color);
}

h1, h2, h3, h4, h5, h6{
  color: var(--heading-color);
}

a{
  color: var(--accent-color);
}

/* ===== Header / nav ===== */
.header{
  background-color: #ffffff;
}

.header .topbar{
  background-color: var(--accent-color);
}

.header .logo h1{
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus{
  background: var(--accent-color);
  color: #ffffff;
}

.navmenu a,
.navmenu a:focus{
  color: var(--nav-color);
}

.navmenu li:hover > a,
.navmenu .active,
.navmenu .active:focus{
  color: var(--nav-hover-color);
}

.navmenu > ul > li > a:before{
  background-color: var(--nav-hover-color);
}

.navmenu .dropdown ul{
  background: var(--nav-dropdown-background-color);
}

.navmenu .dropdown ul a{
  color: var(--nav-dropdown-color);
}

.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover > a{
  color: var(--nav-dropdown-hover-color);
}

.mobile-nav-toggle{
  color: var(--nav-color);
}

.mobile-nav-active .navmenu{
  background: rgba(18, 78, 99, 0.8);
}

/* ===== Footer ===== */
.footer{
  background-color: #124e63 !important;
  color: #ffffff;
  border-top-color: rgba(255,255,255,.18);
}

.footer .footer-about .logo span,
.footer h4,
.footer p,
.footer .copyright p,
.footer .credits{
  color: #ffffff;
}

.footer .footer-links ul a{
  color: rgba(255,255,255,.85);
}

.footer .footer-links ul a:hover{
  color: #ffffff;
}

.footer .social-links a{
  color: #ffffff;
  border-color: rgba(255,255,255,.28);
}

.footer .social-links a:hover{
  color: #124e63;
  border-color: #ffffff;
  background: #ffffff;
}

/* ===== Page title / sections ===== */
.page-title,
section,
.section{
  background-color: var(--background-color);
  color: var(--default-color);
}

.page-title nav{
  background-color: rgba(45,163,154,.08);
}

.section-title h2::after{
  background: var(--accent-color);
}

/* ===== Hero ===== */
.hero{
  --welcome: #ffffff;
}

.hero .welcome p{
  color: rgba(255,255,255,.92);
}

.hero .content .why-box{
  background: var(--accent-color);
  color: #ffffff;
}

.hero .content .why-box h3,
.hero .content .why-box p{
  color: #ffffff;
}

.hero .content .why-box .more-btn{
  background: rgba(255,255,255,.18);
  color: #ffffff;
}

.hero .content .why-box .more-btn:hover{
  background: #ffffff;
  color: var(--accent-color);
}

.hero .content .icon-box{
  background: #ffffff !important;
}

.hero .content .icon-box i{
  color: var(--accent-color);
}

.hero .content .icon-box h4{
  color: var(--heading-color) !important;
}

.hero .content .icon-box p{
  color: var(--default-color) !important;
}

/* ===== Sitename / glowing X ===== */
.sitename{
  color: #124e63;
}

.sitename .big-x{
  background: linear-gradient(45deg, #124e63, #2da39a, #7de3dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes neonDisco {
  0% {
    text-shadow:
      0 0 5px #fff,
      0 0 15px #2da39a,
      0 0 25px #124e63,
      0 0 45px #2da39a,
      0 0 60px #7de3dc;
  }
  50% {
    text-shadow:
      0 0 5px #fff,
      0 0 20px #124e63,
      0 0 35px #2da39a,
      0 0 50px #7de3dc,
      0 0 80px #2da39a;
  }
  100% {
    text-shadow:
      0 0 2px #fff,
      0 0 10px #7de3dc,
      0 0 20px #2da39a,
      0 0 30px #124e63,
      0 0 50px #7de3dc;
  }
}

/* ===== About ===== */
.about .content ul i{
  color: var(--accent-color);
}

/* ===== Stats ===== */
.stats i{
  background-color: var(--accent-color);
  color: #ffffff;
}

.stats .stats-item{
  background-color: #ffffff !important;
}

.stats .stats-item span{
  color: var(--heading-color) !important;
}

.stats .stats-item p{
  color: var(--default-color) !important;
}

/* ===== Services ===== */
.services .service-item{
  background-color: #ffffff !important;
  border-color: rgba(45,163,154,.18);
}

.services .service-item .icon{
  background: var(--accent-color) !important;
}

.services .service-item .icon i{
  color: #ffffff !important;
}

.services .service-item .icon::before{
  background: rgba(45,163,154,.15);
}

.services .service-item h3{
  color: var(--heading-color) !important;
}

.services .service-item p{
  color: var(--default-color) !important;
}

.services .service-item:hover{
  background: var(--accent-color) !important;
  border-color: var(--accent-color);
}

.services .service-item:hover .icon{
  background: #ffffff !important;
}

.services .service-item:hover .icon i{
  color: var(--accent-color) !important;
}

.services .service-item:hover h3,
.services .service-item:hover p{
  color: #ffffff !important;
}

/* ===== Appointment / forms ===== */
.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select,
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea{
  color: var(--default-color);
  border-color: rgba(70,97,106,.2);
  background-color: #ffffff;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus,
.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus{
  border-color: var(--accent-color);
}

.appointment .php-email-form button[type=submit],
.contact .php-email-form button[type=submit]{
  background: var(--accent-color) !important;
  color: #ffffff !important;
}

/* ===== Doctors ===== */
section#doctors{
  background-color: #f5fbfc;
}

#doctors .team-member,
.doctors .team-member{
  background: #ffffff !important;
  border-color: rgba(45,163,154,.18) !important;
  color: var(--default-color) !important;
}

#doctors .team-member h4,
#doctors .team-member span,
#doctors .team-member p,
.doctors .team-member h4,
.doctors .team-member span,
.doctors .team-member p{
  color: var(--default-color) !important;
}

#doctors .team-member span::after,
.doctors .team-member span::after{
  background: rgba(45,163,154,.25) !important;
}

#doctors .team-member .social a,
.doctors .team-member .social a{
  background: rgba(45,163,154,.08) !important;
  border-color: rgba(45,163,154,.18) !important;
}

#doctors .team-member .social a i,
.doctors .team-member .social a i{
  color: var(--accent-color) !important;
}

#doctors .team-member .social a:hover,
.doctors .team-member .social a:hover{
  background: var(--accent-color) !important;
}

#doctors .team-member .social a:hover i,
.doctors .team-member .social a:hover i{
  color: #ffffff !important;
}

/* ===== FAQ ===== */
.faq .faq-container .faq-item{
  background-color: #ffffff !important;
  border-color: rgba(45,163,154,.2);
}

.faq .faq-container .faq-item h3,
.faq .faq-container .faq-item .faq-toggle{
  color: var(--heading-color);
}

.faq .faq-container .faq-item h3 .num{
  color: var(--accent-color);
}

.faq .faq-container .faq-item h3:hover,
.faq .faq-container .faq-item .faq-toggle:hover{
  color: var(--accent-color);
}

.faq .faq-container .faq-active{
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover{
  color: #ffffff;
}

.faq .faq-container .faq-active .faq-toggle{
  color: #ffffff;
}

/* ===== Testimonials ===== */
.testimonials-bleed--light{
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(1200px 420px at 90% 110%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, #124e63 0%, #124e63 8%, #f5fbfc 40%, #f5fbfc 100%);
}

.testimonials-bleed--dark{
  background:
    radial-gradient(1000px 360px at 12% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1000px 360px at 88% 110%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #124e63 0%, #2da39a 100%);
}

.testimonials-bleed--dark .section-title h2,
.testimonials-bleed--dark .section-title p{
  color:#ffffff;
}

.testimonial-spotlight{
  background: #ffffff;
}

.testimonial-spotlight .ts-avatar img{
  border-color: #2da39a;
}

.testimonial-spotlight .ts-head h4{
  color: #124e63;
}

.testimonial-spotlight .ts-head span{
  color: #46616a;
}

.testimonial-spotlight .ts-text{
  color: #46616a;
}

.testimonial-mini{
  background:#ffffff;
  border-color: rgba(45,163,154,.2);
}

.testimonial-mini .mini-avatar img{
  border-color:#2da39a;
}

.testimonial-mini .mini-body h5{
  color:#124e63;
}

.testimonial-mini .mini-body span,
.testimonial-mini .mini-body p{
  color:#46616a;
}

.testimonial-mini-swiper .swiper-pagination-bullet{
  background: rgba(45,163,154,.25);
  box-shadow: 0 0 6px rgba(45,163,154,.18);
}

.testimonial-mini-swiper .swiper-pagination-bullet-active{
  background: #2da39a;
  box-shadow: 0 0 10px rgba(45,163,154,.35), 0 0 20px rgba(45,163,154,.2);
}

.testimonials-bleed--dark .testimonial-spotlight,
.testimonials-bleed--dark .testimonial-mini{
  background: rgba(255,255,255,.96);
  border-color: rgba(45,163,154,.18);
  color:#46616a;
}

.testimonials-bleed--dark .testimonial-spotlight .ts-head h4,
.testimonials-bleed--dark .testimonial-mini .mini-body h5{
  color:#124e63;
}

.testimonials-bleed--dark .testimonial-spotlight .ts-head span,
.testimonials-bleed--dark .testimonial-mini .mini-body span{
  color:#46616a;
}

.testimonials-bleed--dark .testimonial-spotlight .ts-text,
.testimonials-bleed--dark .testimonial-mini .mini-body p{
  color:#46616a;
}

/* ===== Contact ===== */
.contact .info-item i{
  background: var(--accent-color);
  color: #ffffff;
}

.contact .info-item h3{
  color: var(--heading-color) !important;
}

.contact .info-item p{
  color: var(--default-color) !important;
}

/* ===== Procedures / custom cards ===== */
.procedures-section{
  background:
    radial-gradient(20px 20px at 20% 10%, rgba(45,163,154,.08) 1px, transparent 1px) repeat,
    var(--axis-bg);
}

.proc-card{
  background: var(--axis-card) !important;
  border-color: var(--axis-border) !important;
}

.proc-card::before{
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0));
}

.proc-card:hover::before{
  background: var(--axis-grad);
}

.proc-card--flat{
  background: #ffffff;
}

.proc-head h4{
  color: var(--axis-text);
}

.proc-icon{
  background: var(--axis-grad);
  color:#ffffff;
}

.proc-list li:hover{
  background: rgba(45,163,154,.06);
}

.proc-media{
  background: #124e63;
  border-color: rgba(255,255,255,.08);
}

.proc-media__photo::before{
  background: linear-gradient(to right, transparent calc(100% - var(--curve)), #124e63);
}

.proc-media.is-reverse .proc-media__photo::before{
  background: linear-gradient(to left, transparent calc(100% - var(--curve)), #124e63);
}

.proc-media__head h4{
  color:#ffffff;
}

.proc-tags .chip{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color:#ffffff;
}

.proc-media .proc-list li{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  color:#ffffff;
}

.proc-media .proc-list li:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.proc-media .proc-list i{
  color:#7de3dc;
}

.proc-media .btn-outline-primary{
  color:#ffffff !important;
  border-color:#ffffff !important;
  background: transparent !important;
}

.proc-media .btn-outline-primary:hover{
  background:#ffffff !important;
  color:#124e63 !important;
}

/* ===== Generic cards block that was forcing wine ===== */
.hero .content .icon-box,
.hero .content .why-box,
.services .service-item,
.proc-card,
.stats .stats-item,
.faq .faq-container .faq-item,
.departments .tab-pane,
.departments .details,
.testimonials .testimonial-item,
.contact .info-item,
.pricing .box,
.card{
  background: #ffffff !important;
  color: var(--default-color) !important;
}

.hero .content .icon-box h4,
.hero .content .icon-box p,
.hero .content .icon-box i,
.services .service-item h3,
.services .service-item p,
.services .service-item i,
.proc-card h3,
.proc-card h4,
.proc-card h5,
.proc-card p,
.proc-card i,
.stats .stats-item span,
.stats .stats-item p,
.faq .faq-container .faq-item h3,
.faq .faq-container .faq-item .faq-toggle,
.doctors .team-member h4,
.doctors .team-member span,
.doctors .team-member p,
.doctors .team-member .social a i,
.departments .details h3,
.departments .details p,
.testimonials .testimonial-item h3,
.testimonials .testimonial-item h4,
.testimonials .testimonial-item p,
.contact .info-item h3,
.contact .info-item p,
.pricing .box h3,
.pricing .box p,
.card h3,
.card h4,
.card h5,
.card p,
.card i{
  color: var(--default-color) !important;
}

/* keep accent actions green */
.services .service-item .icon,
.contact .info-item i,
.stats i{
  background: var(--accent-color) !important;
  color: #ffffff !important;
}

.why-box .more-btn,
.contact .php-email-form button[type=submit],
.appointment .php-email-form button[type=submit]{
  background: var(--accent-color) !important;
  color: #ffffff !important;
}

/* ===== Floating buttons ===== */
.floating-buttons .btn-float.whatsapp{
  background:#25D366;
}

.floating-buttons .scroll-top,
.scroll-top{
  background: var(--accent-color);
}

.floating-buttons .scroll-top i,
.scroll-top i{
  color:#ffffff;
}

/* ===== Preloader ===== */
#preloader{
  background: var(--background-color);
}

#preloader:before{
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
}








/* =========================
   CONTACT SECTION - CLEANUP
   Paste at bottom of main.css
   ========================= */

#contact .row.gy-4 {
  align-items: flex-start;
}

/* Optional: bagi kolum kiri rasa lebih tersusun */
#contact .col-lg-4 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* buang gap lama */
.contact .info-item + .info-item {
  margin-top: 0 !important;
}

.contact .info-item {
  display: grid !important;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 14px;

  padding: 18px 20px !important;
  background: #ffffff !important;
  border: 1px solid rgba(18, 78, 99, 0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(18, 78, 99, 0.08) !important;

  min-height: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact .info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 78, 99, 0.12) !important;
  border-color: rgba(45, 163, 154, 0.22) !important;
}

.contact .info-item i {
  width: 48px;
  height: 48px;
  margin-right: 0 !important;
  border-radius: 50%;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2da39a !important;
  color: #ffffff !important;
  box-shadow: none !important;
  flex-shrink: 0;
}

.contact .info-item > div {
  min-width: 0;
}

.contact .info-item h3 {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #124e63 !important;
}

.contact .info-item p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px;
  line-height: 1.65;
  color: #46616a !important;
  word-break: break-word;
}

/* email dan phone nampak lagi kemas */
.contact .info-item a {
  color: inherit;
  text-decoration: none;
}

.contact .info-item a:hover {
  color: #2da39a;
}

/* form sebelah kanan bagi matching dengan cards */
.contact .php-email-form {
  background: #ffffff;
  border: 1px solid rgba(18, 78, 99, 0.10);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(18, 78, 99, 0.06);
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  border-radius: 12px !important;
  border: 1px solid rgba(18, 78, 99, 0.12) !important;
  background: #f9fcfc !important;
  color: #46616a !important;
  padding: 14px 16px !important;
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #8aa0a8 !important;
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: #2da39a !important;
  box-shadow: 0 0 0 4px rgba(45, 163, 154, 0.10) !important;
}

.contact .php-email-form button[type="submit"] {
  background: #2da39a !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 12px 32px !important;
  font-weight: 600;
  box-shadow: none !important;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #24877f !important;
}

/* tablet & mobile */
@media (max-width: 991.98px) {
  #contact .col-lg-4 {
    margin-bottom: 12px;
  }

  .contact .php-email-form {
    padding: 18px;
  }
}

@media (max-width: 575.98px) {
  .contact .info-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px 16px !important;
    border-radius: 14px !important;
  }

  .contact .info-item i {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .contact .info-item h3 {
    font-size: 18px;
  }

  .contact .info-item p {
    font-size: 14px;
    line-height: 1.55;
  }
}










