:root {
  color-scheme: light !important;
  supported-color-schemes: light !important;
  --header-h: 92px;
}

html, body, *, ::before, ::after {
  color-scheme: light !important;
}

html {
  color-scheme: light !important;
  background-color: #FAF6EE !important;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  color-scheme: light !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #23262B !important;
  background-color: #FAF6EE !important;
  overflow-x: hidden;
}

/* Force light mode even if device/browser prefers dark mode */
@media (prefers-color-scheme: dark) {
  :root, html, body, *, ::before, ::after {
    color-scheme: light !important;
    supported-color-schemes: light !important;
  }
  html, body {
    background-color: #FAF6EE !important;
    color: #23262B !important;
  }
}

 h1,
 h2,
 h3,
 h4,
 .font-display {
   font-family: 'Fraunces', serif;
 }

 /* Scroll reveal */
 [data-reveal] {
   opacity: 0;
   transform: translateY(28px);
   transition: opacity .8s cubic-bezier(.16, .8, .24, 1), transform .8s cubic-bezier(.16, .8, .24, 1);
 }

 [data-reveal].is-visible {
   opacity: 1;
   transform: translateY(0);
 }

 [data-reveal="left"] {
   transform: translateX(-36px);
 }

 [data-reveal="left"].is-visible {
   transform: translateX(0);
 }

 [data-reveal="right"] {
   transform: translateX(36px);
 }

 [data-reveal="right"].is-visible {
   transform: translateX(0);
 }

 [data-reveal="scale"] {
   transform: scale(.92);
 }

 [data-reveal="scale"].is-visible {
   transform: scale(1);
 }

 .stagger>* {
   transition-delay: calc(var(--i, 0) * 90ms);
 }

 /* Header */
 #site-header {
   transition: background-color .45s ease, box-shadow .45s ease, padding .35s ease;
 }

 #site-header.scrolled {
   box-shadow: 0 10px 30px -14px rgba(10, 18, 38, .25);
 }

 .nav-link {
   position: relative;
 }

 .nav-link::after {
   content: '';
   position: absolute;
   left: 0;
   bottom: -6px;
   width: 0;
   height: 2px;
   background: #C6A15B;
   transition: width .35s ease;
 }

 .nav-link:hover::after {
   width: 100%;
 }

 .dropdown {
   opacity: 0;
   visibility: hidden;
   transform: translateY(10px);
   transition: opacity .3s ease, transform .3s ease, visibility .3s;
 }

 .has-dropdown:hover .dropdown,
 .has-dropdown:focus-within .dropdown {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
 }

 /* Mobile off-canvas (from left) */
 #mobile-panel {
   transform: translateX(-100%);
   transition: transform .45s cubic-bezier(.16, .8, .24, 1);
 }

 #mobile-panel.open {
   transform: translateX(0);
 }

 #mobile-overlay {
   opacity: 0;
   pointer-events: none;
   transition: opacity .4s ease;
 }

 #mobile-overlay:not(.open) {
   display: none !important;
 }

 #mobile-overlay.open {
   opacity: 1;
   pointer-events: auto;
   display: block !important;
 }

 /* Hero */
 .hero-slide {
   grid-area: 1 / 1 / 2 / 2;
   opacity: 0;
   transform: scale(1.06);
   transition: opacity 1.1s ease, transform 8s ease, visibility 1.1s ease;
   pointer-events: none;
   visibility: hidden;
 }

 .hero-slide.active {
   opacity: 1;
   transform: scale(1);
   pointer-events: auto;
   z-index: 2;
   visibility: visible;
 }

 .hero-copy {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity .8s ease .25s, transform .8s ease .25s;
 }

 .hero-slide.active .hero-copy {
   opacity: 1;
   transform: translateY(0);
 }

 @keyframes float-slow {

   0%,
   100% {
     transform: translateY(0) rotate(0deg);
   }

   50% {
     transform: translateY(-18px) rotate(4deg);
   }
 }

 @keyframes float-slower {

   0%,
   100% {
     transform: translateY(0);
   }

   50% {
     transform: translateY(22px);
   }
 }

 .float-a {
   animation: float-slow 7s ease-in-out infinite;
 }

 .float-b {
   animation: float-slower 9s ease-in-out infinite;
 }

 @keyframes dash {
   to {
     stroke-dashoffset: 0;
   }
 }

 .draw-path {
   stroke-dasharray: 900;
   stroke-dashoffset: 900;
   animation: dash 3.2s ease forwards .4s;
 }

 .progress-bar {
   transition: width linear;
 }

 /* marquee */
 .marquee-track {
   display: flex;
   width: max-content;
   animation: marquee 26s linear infinite;
 }

 @keyframes marquee {
   from {
     transform: translateX(0);
   }

   to {
     transform: translateX(-50%);
   }
 }

 /* department sticky */
 .dept-sticky {
   position: sticky;
   top: calc(var(--header-h) + 24px);
 }

 /* faq */
 .faq-panel {
   max-height: 0;
   overflow: hidden;
   transition: max-height .5s cubic-bezier(.16, .8, .24, 1), padding .4s ease;
 }

 .faq-item.open .faq-panel {
   max-height: 400px;
 }

 .faq-icon {
   transition: transform .4s ease;
 }

 .faq-item.open .faq-icon {
   transform: rotate(135deg);
 }

 .faq-item.open .faq-q {
   color: #6E2338;
 }

 /* testimonial */
 .t-track {
   display: flex;
   transition: transform .7s cubic-bezier(.16, .8, .24, 1);
   will-change: transform;
 }

 .t-card {
   transition: transform .6s ease, opacity .6s ease, filter .6s ease;
 }

 .t-card>div {
   transition: transform .6s cubic-bezier(.16, 1, 0.3, 1), opacity .6s ease;
   will-change: transform;
 }

 ::-webkit-scrollbar {
   width: 10px;
 }

 ::-webkit-scrollbar-track {
   background: #FAF6EE;
 }

 ::-webkit-scrollbar-thumb {
   background: #C6A15B;
   border-radius: 8px;
 }

 .btn-shine {
   position: relative;
   overflow: hidden;
 }

 .btn-shine::before {
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
   transform: translateX(-120%);
   transition: transform .7s ease;
 }

 .btn-shine:hover::before {
   transform: translateX(120%);
 }

 @media (prefers-reduced-motion: reduce) {
   * {
     animation-duration: 0.001ms !important;
     animation-iteration-count: 1 !important;
     transition-duration: 0.001ms !important;
   }

   html {
     scroll-behavior: auto;
   }
 }

 /* Gallery and Lightbox Custom Styles */
 #gallery-lightbox:not(.active) {
   display: none !important;
 }

 #gallery-lightbox.active {
   opacity: 1;
   pointer-events: auto;
   display: flex !important;
 }

 #gallery-lightbox.active #lightbox-img {
   transform: scale(1);
   opacity: 1;
 }

 /* Floating buttons pulse animation */
 @keyframes float-pulse-wa {
   0%, 100% {
     transform: scale(1);
     box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
   }
   50% {
     transform: scale(1.08);
     box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
   }
 }

 @keyframes float-pulse-phone {
   0%, 100% {
     transform: scale(1);
     box-shadow: 0 4px 15px rgba(110, 35, 56, 0.4);
   }
   50% {
     transform: scale(1.08);
     box-shadow: 0 8px 24px rgba(110, 35, 56, 0.6);
   }
 }

 .float-btn-wa {
   animation: float-pulse-wa 3s infinite ease-in-out;
 }

 .float-btn-phone {
   animation: float-pulse-phone 3s infinite ease-in-out 1.5s;
 }

 /* Responsive & Mobile Optimizations */
 @media (max-width: 1023px) {
   .dept-sticky {
     position: static !important;
   }
 }

 @media (max-width: 640px) {
   [data-reveal="left"],
   [data-reveal="right"] {
     transform: translateY(16px) !important;
   }
 }

 @media (max-width: 767px) {
   .gallery-item .absolute.inset-0 {
     opacity: 1 !important;
     background: linear-gradient(to top, rgba(10, 18, 38, 0.85) 0%, rgba(10, 18, 38, 0.25) 60%, transparent 100%) !important;
   }
 }

/* =========================================================
   HIGHLIGHTED DEGREES FLEX COMPONENT (LEFT/RIGHT RESPONSIVE)
   ========================================================= */
.highlight-degree-flex {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 242, 0.95) 100%) !important;
  border: 1.5px solid rgba(198, 161, 91, 0.45) !important;
  border-radius: 1.25rem !important;
  padding: 1.25rem 1.4rem !important;
  box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08), 0 0 15px rgba(198, 161, 91, 0.12) !important;
  transition: all 0.3s ease;
}

.highlight-degree-flex:hover {
  border-color: rgba(198, 161, 91, 0.75) !important;
  box-shadow: 0 16px 36px rgba(20, 33, 61, 0.12), 0 0 22px rgba(198, 161, 91, 0.2) !important;
}

.highlight-degree-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 0.9rem;
  background: rgba(139, 154, 107, 0.14) !important;
  border: 1px solid rgba(139, 154, 107, 0.3) !important;
  border-radius: 0.85rem !important;
  transition: all 0.25s ease;
}

.highlight-degree-item:hover {
  background: rgba(139, 154, 107, 0.22) !important;
  border-color: rgba(139, 154, 107, 0.5) !important;
  transform: translateY(-2px);
}

.highlight-degree-check {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 9999px;
  background: #E2E9D8 !important;
  color: #2D6A4F !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.highlight-degree-check svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.8;
}

.highlight-degree-text {
  color: #14213D !important;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
}


/* =========================================================
   FORCE LIGHT MODE - iPhone / Safari / iOS
   ========================================================= */

:root {
    color-scheme: light only !important;
}

html {
    color-scheme: light only !important;
    background-color: #FAF6EE !important;
}

body {
    color-scheme: light only !important;
    background-color: #FAF6EE !important;
    color: #23262B !important;
}

/* Prevent Safari from changing colors */
* {
    color-scheme: light only !important;
}

/* Explicitly prevent dark-mode overrides */
@media (prefers-color-scheme: dark) {

    html,
    body {
        background-color: #FAF6EE !important;
        color: #23262B !important;
    }

    body {
        color-scheme: light only !important;
    }

    /* Common Tailwind background colors */
    .bg-ivory {
        background-color: #FAF6EE !important;
    }

    .bg-white {
        background-color: #ffffff !important;
    }

    /* Text */
    .text-ink {
        color: #23262B !important;
    }

    .text-white {
        color: #ffffff !important;
    }

    /* Borders */
    .border-white {
        border-color: #ffffff !important;
    }

    /* Inputs */
    input,
    textarea,
    select,
    button {
        color-scheme: light only !important;
    }

    input,
    textarea,
    select {
        background-color: #ffffff !important;
        color: #23262B !important;
    }

    input::placeholder,
    textarea::placeholder {
        color: #6b7280 !important;
        opacity: 1 !important;
    }
}

