@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* ==========================================================================
   J-TREDY DIGITAL HUB LLC — 1:1 CLONE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- 1. CSS Variables & Design Tokens --- */
:root {
  --color-primary-navy: #071527;
  --color-secondary-navy: #0b1f3a;
  --color-accent-gold: #f3af41;
  --color-gold-hover: #e59e2f;
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-slate-bg: #8c98a4;
  --color-light-bg: #f8f9fa;
  --color-border-light: #e2e8f0;
  --color-border-dark: rgba(255, 255, 255, 0.15);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* =========================================================================
     HEADER TRANSPARENCY & HEIGHT CONFIGURATION
     👉 ADJUST TRANSPARENCY HERE:
     - --header-bg-initial : Top of page background. Use 'transparent' for 100% transparent,
                             or 'rgba(7, 21, 39, 0.5)' for 50% opacity, etc.
     - --header-bg-scrolled: Background when user scrolls down.
     - --header-blur-initial : Backdrop blur at top ('0px' or '10px', etc.)
     - --header-blur-scrolled: Backdrop blur while scrolling ('16px', etc.)
     - --header-padding-x  : Left & right side padding (moves links closer/further to edge)
     ========================================================================= */
  --header-bg-initial: transparent;
  --header-bg-scrolled: rgba(7, 21, 39, 0.94);
  --header-blur-initial: 0px;
  --header-blur-scrolled: 16px;

  --header-height-initial: 140px;
  --header-height-scrolled: 105px;
  --header-height: var(--header-height-initial);
  --header-padding-x: clamp(24px, 4.5vw, 75px);

  --container-max-width: 1240px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 9999px;
}

/* --- 2. Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

.section-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- 3. Shared Section Headers & Divider Lines --- */
.section-title-bar,
.gallery-header,
.about-header,
.contact-header {
  margin-bottom: 40px;
}

.section-title-text,
.gallery-title,
.about-title,
.contact-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.section-title-divider,
.gallery-title-divider,
.about-title-divider,
.contact-title-divider {
  width: 100%;
  height: 2px;
  background-color: #0b1f3a;
  opacity: 0.15;
}

/* Specific theme section header overrides */
.gallery-section .gallery-title {
  color: #111827;
}

.gallery-section .gallery-title-divider {
  background-color: #111827;
  opacity: 0.2;
}

.about-pillars-section .about-title {
  color: var(--color-white);
}

.about-pillars-section .about-title-divider {
  background-color: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

/* --- 4. Pill-Shaped Buttons --- */
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.hero-btn {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--color-white);
  backdrop-filter: blur(4px);
}

.hero-btn:hover {
  background-color: var(--color-white);
  color: var(--color-primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   STICKY HEADER / NAVIGATION (DYNAMIC SCROLL REDUCTION & TRANSPARENCY)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-initial);
  background-color: var(--header-bg-initial);
  backdrop-filter: blur(var(--header-blur-initial));
  -webkit-backdrop-filter: blur(var(--header-blur-initial));
  z-index: 1000;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height, background-color, box-shadow;
}

/* Scrolled state: reduces header height and applies frosted glass smoothly */
.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: var(--header-bg-scrolled);
  backdrop-filter: blur(var(--header-blur-scrolled));
  -webkit-backdrop-filter: blur(var(--header-blur-scrolled));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Solid navy header for inner pages like contact.html */
.site-header.solid-header {
  background-color: var(--color-primary-navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--color-border-dark);
}

/* Full width header container with edge-to-edge layout */
.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 var(--header-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-menu {
  flex: 1;
}

.nav-left .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.5vw, 44px);
  list-style: none;
  justify-content: flex-start;
}

.nav-right .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.5vw, 44px);
  list-style: none;
  justify-content: flex-end;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--color-white);
  position: relative;
  padding: 12px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease, padding 0.35s ease, font-size 0.35s ease;
}

.site-header.scrolled .nav-link {
  padding: 8px 4px;
  font-size: 1.02rem;
}

.nav-link:hover {
  color: var(--color-accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 2px;
}

.dropdown-chevron {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-item.dropdown {
  position: relative;
  z-index: 1100;
}

/* Dropdown Menu - Positioned on Front Layer */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background-color: #071527;
  min-width: 170px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border-dark);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-smooth);
  z-index: 1100;
}

.nav-right .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: rgba(243, 175, 65, 0.15);
  color: var(--color-accent-gold);
  padding-left: 22px;
}

/* Logo: starts large on initial header, smoothly shrinks to clear normal size on scroll */
.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.site-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s ease;
}

.site-header.scrolled .site-logo {
  height: 68px;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  padding: 0;
  z-index: 1010;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Drawer: anchored cleanly below header */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-primary-navy);
  border-top: 1px solid var(--color-border-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  max-height: 500px;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
}

.mobile-nav-link.active-mobile {
  color: var(--color-accent-gold);
}

.mobile-accordion-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  padding: 6px 0;
}

.mobile-sub-list {
  list-style: none;
  padding-left: 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-accordion.open .mobile-sub-list {
  display: flex;
}

.mobile-sub-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.mobile-sub-link:hover {
  color: var(--color-accent-gold);
}

/* ==========================================================================
   SECTION 1: HERO (VIDEO BANNER)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 92vh;
  padding-top: calc(var(--header-height-initial) + 70px);
  padding-bottom: 40px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background-color: var(--color-primary-navy);
}

.video-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.vimeo-embed-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: none;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 var(--header-padding-x) 40px;
}

.hero-text-block {
  max-width: 840px;
  border-left: 3px solid rgba(255, 255, 255, 0.75);
  padding-left: 24px;
}

.hero-headline {
  font-family: 'Cabin', var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-cta-wrapper {
  margin-top: 20px;
}

/* --- Hero Sound / Audio Controller Widget --- */
.hero-audio-controller {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 20;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  background: rgba(7, 21, 39, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.sound-toggle-btn:hover {
  background: rgba(11, 31, 58, 0.98);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(243, 175, 65, 0.3);
}

.sound-toggle-btn.unmuted {
  background: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  box-shadow: 0 8px 24px rgba(243, 175, 65, 0.4);
}

.sound-toggle-btn.unmuted:hover {
  background: #ffbe53;
  border-color: #ffbe53;
  color: var(--color-primary-navy);
  transform: scale(1.08);
}

.sound-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.sound-icon.icon-unmuted {
  display: none;
}

.sound-toggle-btn.unmuted .sound-icon.icon-muted {
  display: none;
}

.sound-toggle-btn.unmuted .sound-icon.icon-unmuted {
  display: block;
}

/* ==========================================================================
   SECTION 2: WHO WE ARE
   ========================================================================== */
.who-we-are-section {
  padding: 80px 0 90px;
  background-color: var(--color-white);
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.who-we-are-image-col .image-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.who-we-are-image-col .image-frame:hover {
  transform: translateY(-4px);
}

.responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-we-are-subheading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 20px;
  line-height: 1.3;
}

.who-we-are-paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

/* ==========================================================================
   SECTION 3: PURE MASTERY TYPOGRAPHY SLIDER
   ========================================================================== */
.mastery-section {
  background-color: var(--color-black);
  padding: 80px 0;
  width: 100%;
  min-height: 680px;
  position: relative;
  overflow: hidden;
}

.mastery-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mastery-slides-wrapper {
  width: 100%;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.mastery-slides-wrapper:active {
  cursor: grabbing;
}

.mastery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.mastery-slide.slide-enter-left {
  transform: translateX(-60px);
}

.mastery-slide.active {
  opacity: 1;
  transform: translateX(0) !important;
  pointer-events: auto;
}

.mastery-slide.slide-exit-left,
.mastery-slide.prev-slide {
  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;
}

.mastery-slide.slide-exit-right {
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
}

.mastery-text {
  font-family: var(--font-heading);
  font-size: 4.4rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  line-height: 1.15;
  letter-spacing: 0.5px;
  max-width: 1150px;
  margin: 0 auto;
  text-shadow: 0 6px 24px rgba(243, 175, 65, 0.2);
}

/* Desktop: Short 3-line slides (Slides 1, 4, 5) - large & impactful */
.mastery-slide:nth-child(1) .mastery-text,
.mastery-slide:nth-child(4) .mastery-text,
.mastery-slide:nth-child(5) .mastery-text {
  font-size: 4.7rem;
}

/* Desktop: 4-line slide (Slide 2) */
.mastery-slide:nth-child(2) .mastery-text {
  font-size: 4.2rem;
}

/* Desktop: 5-line slide (Slide 3) */
.mastery-slide:nth-child(3) .mastery-text {
  font-size: 3.8rem;
}

/* Desktop: Long 6-line slide (Slide 6) - perfectly contained without overflow */
.mastery-slide:nth-child(6) .mastery-text {
  font-size: 3.2rem;
  line-height: 1.16;
}

.mastery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  z-index: 10;
}

.mastery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.mastery-dot.active {
  background-color: var(--color-accent-gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(243, 175, 65, 0.6);
}

/* ==========================================================================
   SECTION 4: INFINITE MARQUEE TICKER
   ========================================================================== */
.marquee-section {
  background-color: var(--color-white);
  padding: 18px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-navy);
}

.marquee-spacer {
  display: inline-block;
  width: 60px;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SECTION 5: COUNTDOWN BANNER
   ========================================================================== */
.countdown-section {
  position: relative;
  padding: 70px 0 75px;
  /* Increased balanced height */
  background-image: url('assets/countdown_bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* Locked in section, scrolls naturally with page */
  color: var(--color-white);
  text-align: center;
}

.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 21, 39, 0.32);
  /* Light dark transparency over background image for legibility */
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  z-index: 1;
  display: block;
}

.countdown-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.countdown-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  /* Balanced size */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.countdown-subtitle-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-white);
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.countdown-subtitle-secondary {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.countdown-timer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.digit-pair {
  display: flex;
  gap: 4px;
}

.digit-box {
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  width: 52px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  line-height: 1;
}

.timer-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   SECTION 6: PROFIT GALLERY CAROUSEL
   ========================================================================== */
.gallery-section {
  background-color: #e2e8f0;
  /* Lightened section background requested by user */
  padding: 60px 0 70px;
}

.gallery-section .gallery-header {
  position: relative;
  z-index: 10;
  /* Header text on top layer outside shadow */
  margin-bottom: 30px;
}

.gallery-section .gallery-title {
  color: #071527;
  /* Dark crisp navy text on top layer */
  font-size: 2.0rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.gallery-section .gallery-title-divider {
  background-color: #475569;
  opacity: 0.35;
  height: 1.5px;
  margin-top: 10px;
}

.gallery-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

.carousel-stage-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* Adjacent card spacing matching Screenshot 1 */
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.carousel-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  /* Shrink-wrap container to exact photo width */
}

.carousel-card-img {
  height: 100%;
  width: auto;
  max-width: 80vw;
  object-fit: contain;
  display: block;
}

/* Active Center Card: Fits exact photo width with zero empty space */
.carousel-card.card-active {
  height: 520px;
  width: auto;
  max-width: 85vw;
  z-index: 5;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Side Cards (Previous & Next adjacent to active card) */
.carousel-card.card-prev,
.carousel-card.card-next {
  height: 450px;
  width: auto;
  max-width: 35vw;
  z-index: 2;
  opacity: 0.9;
  transform: scale(0.92);
}

.carousel-card.card-prev:hover,
.carousel-card.card-next:hover {
  opacity: 0.98;
  transform: scale(0.95);
}

/* Light transparency shadow overlay mask strictly over side cards */
.card-overlay-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  transition: background 0.3s ease;
  pointer-events: auto;
}

.carousel-card:hover .card-overlay-shadow {
  background: rgba(15, 23, 42, 0.28);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(7, 21, 39, 0.85);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.carousel-nav-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.gallery-thumbnails {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.thumb-item {
  width: 90px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  background-color: #1a202c;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fills thumbnail box completely with zero empty space */
}

.thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--color-accent-gold);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   SECTION 7: ABOUT US (3 PILLARS)
   ========================================================================== */
.about-pillars-section {
  background-color: var(--color-secondary-navy);
  color: var(--color-white);
  padding: 85px 0 95px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  border-color: rgba(243, 175, 65, 0.3);
}

.pillar-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-gold);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid rgba(243, 175, 65, 0.3);
  padding-bottom: 10px;
}

.pillar-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.pillar-text-full {
  display: none;
  margin-top: 8px;
}

.pillar-text-full.open {
  display: block;
}

.toggle-more-btn {
  margin-top: 14px;
  color: var(--color-accent-gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition-smooth);
}

.toggle-more-btn:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* ==========================================================================
   SECTION 8: CONTACT US
   ========================================================================== */
.contact-section {
  background-color: var(--color-light-bg);
  padding: 85px 0 95px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-subheading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.75;
}

/* Business Information Card */
.business-info-card {
  background-color: var(--color-white);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.business-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 8px;
}

.business-address {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 12px;
  line-height: 1.6;
}

.business-contact-line {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 6px;
}

.business-contact-line a,
.contact-detail-line a {
  color: #1e293b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.business-contact-line a:hover,
.contact-detail-line a:hover {
  color: var(--color-accent-gold);
  text-decoration: none;
}

/* Operating Hours Accordion */
.hours-accordion {
  margin-top: 16px;
  border-top: 1px solid var(--color-border-light);
  padding-top: 12px;
}

.hours-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  padding: 4px 0;
  cursor: pointer;
}

.hours-content {
  display: none;
  padding-top: 10px;
}

.hours-content.show {
  display: block;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #475569;
  padding: 4px 0;
}

.hours-row.closed .hours-time {
  color: #dc2626;
  font-weight: 600;
}

.contact-btn-wrapper {
  margin-top: 22px;
}

.get-in-touch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 42px;
  background-color: #0f172a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.0rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
  transition: var(--transition-smooth);
}

.get-in-touch-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(243, 175, 65, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 20px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.success-alert {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
}

.required-star {
  color: #dc2626;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-text-dark);
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-input.input-error,
.form-textarea.input-error {
  border-color: #dc2626;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 4px;
  font-weight: 500;
}

.field-error.visible {
  display: block;
}

.file-upload-group {
  margin-bottom: 24px;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: #f1f5f9;
  border: 1.5px dashed #94a3b8;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  color: #475569;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.file-upload-label:hover {
  background-color: #e2e8f0;
  border-color: #64748b;
  color: var(--color-primary-navy);
}

.file-input-hidden {
  display: none;
}

.file-list-preview {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #0284c7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.submit-btn {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border: 2px solid var(--color-primary-navy);
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  box-shadow: var(--shadow-md);
}

/* Contact Image Wrapper */
.contact-image-wrapper {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   SECTION 9: SUBSCRIBE CONTAINER
   ========================================================================== */
.subscribe-section {
  background-color: var(--color-white);
  padding: 85px 0 90px;
  text-align: center;
}

.subscribe-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.subscribe-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-primary-navy);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.subscribe-subtext {
  font-size: 1.05rem;
  color: #64748b;
  margin-bottom: 32px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.subscribe-input {
  flex: 1;
  min-width: 260px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  background-color: #f8fafc;
  outline: none;
  transition: var(--transition-smooth);
}

.subscribe-input:focus {
  background-color: var(--color-white);
  border-color: var(--color-primary-navy);
  box-shadow: 0 0 0 3px rgba(7, 21, 39, 0.1);
}

.subscribe-btn {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border: 2px solid var(--color-primary-navy);
}

.subscribe-btn:hover {
  background-color: var(--color-accent-gold);
  border-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  box-shadow: var(--shadow-md);
}

.subscribe-feedback {
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 24px;
}

/* ==========================================================================
   WAVE SVG DIVIDER & FOOTER
   ========================================================================== */
.wave-divider-container {
  width: 100%;
  line-height: 0;
  background-color: var(--color-white);
}

.wave-svg {
  width: 100%;
  height: 60px;
  display: block;
}

.site-footer {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  padding: 30px 0 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-accent-gold);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.25);
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   FLOATING CHAT WIDGET & MODAL
   ========================================================================== */
.floating-chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.chat-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition-smooth);
}

.chat-trigger-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  transform: scale(1.08);
}

.chat-modal-overlay {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 1000;
  display: none;
  animation: fadeInModal 0.25s ease-out;
}

.chat-modal-overlay.open {
  display: block;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-modal-box {
  width: 330px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

.chat-modal-header {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.online-indicator {
  font-size: 0.8rem;
  color: #10b981;
}

.chat-close-btn {
  font-size: 1.5rem;
  color: var(--color-white);
  line-height: 1;
}

.chat-modal-body {
  padding: 20px;
  background-color: #f8fafc;
  min-height: 120px;
}

.chat-bubble-agent {
  background-color: var(--color-white);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: #334155;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
}

.chat-modal-footer {
  padding: 14px 20px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border-light);
}

.chat-action-btn {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.chat-action-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.1rem;
  }

  .mastery-text {
    font-size: 3.4rem;
  }

  /* Tablet: Short 3-line slides (Slides 1, 4, 5) */
  .mastery-slide:nth-child(1) .mastery-text,
  .mastery-slide:nth-child(4) .mastery-text,
  .mastery-slide:nth-child(5) .mastery-text {
    font-size: 3.6rem;
  }

  /* Tablet: 4-line slide (Slide 2) */
  .mastery-slide:nth-child(2) .mastery-text {
    font-size: 3.3rem;
  }

  /* Tablet: 5-line slide (Slide 3) */
  .mastery-slide:nth-child(3) .mastery-text {
    font-size: 2.95rem;
  }

  /* Tablet: Long 6-line slide (Slide 6) */
  .mastery-slide:nth-child(6) .mastery-text {
    font-size: 2.5rem;
    line-height: 1.15;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .contact-right-col {
    order: -1;
  }

  .contact-image-wrapper {
    position: static;
  }

  .gallery-thumbnails {
    display: none !important;
  }

  /* Prevent default blue tap highlight and blue outline on all mobile buttons & links */
  *,
  *::before,
  *::after {
    -webkit-tap-highlight-color: transparent !important;
  }

  button,
  a,
  input,
  select,
  textarea,
  [role="button"] {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
  }

  button:focus,
  button:active,
  button:visited,
  a:focus,
  a:active,
  a:visited {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height-initial: 104px;
    --header-height-scrolled: 80px;
    --header-padding-x: 20px;
  }

  .site-logo {
    height: 68px;
  }

  .site-header {
    background-color: var(--color-primary-navy);
  }

  .site-header.scrolled .site-logo {
    height: 54px;
  }

  /* Dynamic mobile hero video banner with clamp - positioned after nav bar */
  .hero-section {
    --hero-mobile-height: clamp(390px, 95vw, 480px);
    min-height: var(--hero-mobile-height);
    height: var(--hero-mobile-height);
    margin-top: var(--header-height-initial);
    padding-top: 36px;
    padding-bottom: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }

  .video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .vimeo-embed-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    height: max(var(--hero-mobile-height), 56.25vw);
    width: max(100vw, calc(var(--hero-mobile-height) * 1.777778));
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    border: none;
  }

  .hero-content-container {
    padding: 0 20px 20px;
  }

  .hero-audio-controller {
    top: auto;
    bottom: 24px;
    right: 20px;
  }

  .sound-toggle-btn {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .sound-icon {
    width: 20px;
    height: 20px;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section 3: Pure Mastery Typography Slider - Proportional text size per slide & reduced height */
  .mastery-section {
    min-height: auto;
    padding: 38px 0 35px;
  }

  .mastery-container {
    min-height: auto;
    padding: 0 18px;
  }

  .mastery-slides-wrapper {
    min-height: 240px;
  }

  .mastery-text {
    line-height: 1.18;
    letter-spacing: 0.3px;
  }

  /* Short 3-line slides (Slides 1, 4, 5) */
  .mastery-slide:nth-child(1) .mastery-text,
  .mastery-slide:nth-child(4) .mastery-text,
  .mastery-slide:nth-child(5) .mastery-text {
    font-size: 2.35rem;
  }

  /* 4-line slide (Slide 2) */
  .mastery-slide:nth-child(2) .mastery-text {
    font-size: 2.15rem;
  }

  /* 5-line slide (Slide 3) */
  .mastery-slide:nth-child(3) .mastery-text {
    font-size: 1.95rem;
  }

  /* Long 6-line slide (Slide 6) - perfectly contained */
  .mastery-slide:nth-child(6) .mastery-text {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .mastery-pagination {
    margin-top: 18px;
  }

  .countdown-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .countdown-subtitle-main {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  }

  .countdown-subtitle-secondary {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    margin-bottom: 24px;
  }

  .countdown-timer-grid {
    gap: clamp(12px, 2.5vw, 20px);
    flex-wrap: nowrap;
  }

  .digit-box {
    width: 44px;
    height: 58px;
    font-size: 2.1rem;
  }

  .prev-btn {
    left: 8px;
  }

  .next-btn {
    right: 8px;
  }

  /* Reduced section whitespace on mobile (sections 1 & 2, 5 & 6, 6 & 7, 7 & 8) */
  .who-we-are-section {
    padding: 45px 0 50px;
  }

  .countdown-section {
    padding: 48px 0 42px;
  }

  .about-pillars-section {
    padding: 48px 0 50px;
  }

  .gallery-section {
    padding: 40px 0 45px;
  }

  .contact-section {
    padding: 48px 0 54px;
  }

  .section-title-bar,
  .gallery-header,
  .about-header,
  .contact-header {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height-initial: 92px;
    --header-height-scrolled: 74px;
    --header-padding-x: 16px;
  }

  .site-logo {
    height: 58px;
  }

  .site-header.scrolled .site-logo {
    height: 46px;
  }

  .hero-audio-controller {
    bottom: 16px;
    right: 16px;
  }

  .sound-toggle-btn {
    padding: 6px 12px;
    gap: 6px;
  }

  .sound-status-badge {
    font-size: 0.78rem;
  }

  .hero-headline {
    font-size: 1.45rem;
  }

  .mastery-section {
    padding: 30px 0 26px;
  }

  .mastery-slides-wrapper {
    min-height: 200px;
  }

  /* Short 3-line slides (Slides 1, 4, 5) */
  .mastery-slide:nth-child(1) .mastery-text,
  .mastery-slide:nth-child(4) .mastery-text,
  .mastery-slide:nth-child(5) .mastery-text {
    font-size: 1.85rem;
  }

  /* 4-line slide (Slide 2) */
  .mastery-slide:nth-child(2) .mastery-text {
    font-size: 1.65rem;
  }

  /* 5-line slide (Slide 3) */
  .mastery-slide:nth-child(3) .mastery-text {
    font-size: 1.48rem;
  }

  /* Long 6-line slide (Slide 6) - fits comfortably without overflow */
  .mastery-slide:nth-child(6) .mastery-text {
    font-size: 1.32rem;
    line-height: 1.14;
  }

  .mastery-pagination {
    margin-top: 14px;
  }

  .countdown-container {
    padding: 0 12px;
  }

  .countdown-title {
    font-size: clamp(0.95rem, 4.2vw, 1.25rem);
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    white-space: nowrap;
  }

  .countdown-subtitle-main {
    font-size: clamp(0.72rem, 3.1vw, 0.88rem);
    letter-spacing: 0.3px;
    margin-bottom: 5px;
    white-space: nowrap;
  }

  .countdown-subtitle-secondary {
    font-size: clamp(0.76rem, 3vw, 0.88rem);
    margin-bottom: 20px;
    white-space: nowrap;
  }

  .countdown-timer-grid {
    gap: clamp(6px, 2vw, 10px);
    flex-wrap: nowrap !important;
    justify-content: center;
    width: 100%;
  }

  .timer-unit {
    gap: 5px;
    flex: 0 0 auto;
  }

  .digit-pair {
    gap: clamp(2px, 0.8vw, 3px);
  }

  .digit-box {
    width: clamp(30px, 8.6vw, 36px);
    height: clamp(40px, 11.5vw, 48px);
    font-size: clamp(1.3rem, 4.5vw, 1.65rem);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
  }

  .timer-label {
    font-size: clamp(0.7rem, 2.4vw, 0.82rem);
  }

  .subscribe-input-group {
    flex-direction: column;
  }

  .subscribe-input {
    width: 100%;
  }

  .subscribe-btn {
    width: 100%;
  }

  .who-we-are-section {
    padding: 38px 0 44px;
  }

  .countdown-section {
    padding: 40px 0 36px;
  }

  .about-pillars-section {
    padding: 40px 0 44px;
  }

  .gallery-section {
    padding: 34px 0 38px;
  }

  .contact-section {
    padding: 40px 0 46px;
  }

  .section-title-bar,
  .gallery-header,
  .about-header,
  .contact-header {
    margin-bottom: 20px;
  }

  /* Specific mobile button size reductions */
  .hero-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .get-in-touch-btn {
    padding: 9px 24px;
    font-size: 0.84rem;
  }

  .careers-submit-pill-btn {
    max-width: 240px;
    padding: 9px 22px;
    font-size: 0.84rem;
    letter-spacing: 0.5px;
  }

  /* Prevent horizontal scroll / screen overflow on mobile */
  .business-info-card {
    padding: 20px 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hours-accordion-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .hours-accordion-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 0.86rem;
    white-space: normal;
    gap: 6px;
  }

  .hours-trigger-label {
    white-space: normal;
    word-break: normal;
    flex: 1;
    line-height: 1.35;
  }

  .hours-weekly-schedule {
    width: 100%;
  }

  .schedule-day-row {
    gap: 12px;
    justify-content: space-between;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   DEDICATED CONTACT US PAGE STYLES (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.contact-page-body {
  background-color: #ffffff;
}

.contact-page-main {
  min-height: 100vh;
}

.contact-hero-content-section {
  padding-top: calc(var(--header-height-initial) + 36px);
  padding-bottom: 75px;
  background-color: #ffffff;
}

.contact-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.contact-title-bar {
  margin-bottom: 45px;
}

.contact-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5.5vw, 75px);
  align-items: start;
}

.contact-col-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Contact Clean Form */
.contact-clean-form {
  display: flex;
  flex-direction: column;
}

.form-clean-field {
  margin-bottom: 20px;
}

.clean-input-box,
.clean-textarea-box {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background-color: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.clean-input-box:focus,
.clean-textarea-box:focus {
  outline: none;
  border-color: #071527;
  box-shadow: 0 0 0 3px rgba(7, 21, 39, 0.08);
}

.clean-input-box.input-error {
  border-color: #dc2626;
}

.clean-input-box::placeholder,
.clean-textarea-box::placeholder {
  color: #6b7280;
  opacity: 1;
}

.clean-textarea-box {
  resize: vertical;
  min-height: 130px;
}

.clean-error-text {
  display: none;
  color: #dc2626;
  font-size: 0.84rem;
  margin-top: 5px;
  font-weight: 500;
}

.clean-error-text.visible {
  display: block;
}

.form-clean-submit-wrap {
  margin: 28px 0 16px;
  text-align: center;
}

.contact-send-pill-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 13px 40px;
  border-radius: var(--radius-pill);
  border: 2px solid #071527;
  background-color: transparent;
  color: #071527;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.contact-send-pill-btn:hover {
  background-color: #071527;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 21, 39, 0.2);
}

.recaptcha-notice {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
  margin-top: 14px;
}

.recaptcha-notice a {
  color: #2563eb;
  text-decoration: none;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* Contact Success Message Card */
.contact-success-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 50px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  animation: fadeIn 0.35s ease;
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-svg-icon {
  width: 56px;
  height: 56px;
}

.success-message-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}

.success-action-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.success-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-navy);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(7, 21, 39, 0.15);
}

.success-reset-btn:hover {
  background-color: var(--color-accent-gold);
  color: var(--color-primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(243, 175, 65, 0.35);
}

.success-home-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.success-home-link:hover {
  color: var(--color-primary-navy);
  text-decoration: underline;
}

/* Right Column Copy & WhatsApp */
.contact-desc-copy {
  font-size: 0.96rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 24px;
}

.whatsapp-action-wrapper {
  margin-bottom: 32px;
}

.whatsapp-solid-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  background-color: #2c3e50;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.whatsapp-solid-btn:hover {
  background-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.whatsapp-icon-svg {
  fill: #25d366;
  transition: fill 0.25s ease;
}

.whatsapp-solid-btn:hover .whatsapp-icon-svg {
  fill: #ffffff;
}

/* Business Details */
.contact-details-block {
  margin-bottom: 28px;
}

.contact-business-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.contact-business-address {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 480px;
}

.contact-phone-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone-link:hover {
  color: #f3af41;
}

/* Hours Accordion */
.contact-hours-widget {
  margin-top: 10px;
}

.contact-hours-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.hours-accordion-wrapper {
  max-width: 380px;
  width: 100%;
  position: relative;
}

.hours-accordion-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: auto;
  max-width: 100%;
  padding: 6px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  text-align: left;
  white-space: normal;
  transition: color 0.2s ease;
}

.hours-trigger-label {
  white-space: normal;
  line-height: 1.35;
}

.hours-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  display: inline-block;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.hours-status-dot.closed {
  background-color: #ef4444;
}

.hours-accordion-trigger:hover {
  color: #071527;
}

.hours-arrow-chevron {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  display: inline-block;
  color: #4b5563;
  line-height: 1;
}

.hours-accordion-wrapper.open .hours-arrow-chevron {
  transform: rotate(180deg);
}

.hours-accordion-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hours-accordion-wrapper.open .hours-accordion-dropdown {
  max-height: 280px;
}

.hours-weekly-schedule {
  list-style: none;
  padding: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  margin-top: 6px;
}

.schedule-day-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  font-size: 0.92rem;
  color: #4b5563;
}

.sched-day {
  min-width: 40px;
  display: inline-block;
}

.sched-time {
  display: inline-block;
}

.schedule-day-row.is-today {
  font-weight: 700;
  color: #111827;
}

.schedule-day-row.day-closed .sched-time {
  color: #ef4444;
  font-weight: 600;
}

/* Map Section */
.contact-map-full-section {
  position: relative;
  width: 100%;
  height: 450px;
  background-color: #e5e7eb;
  overflow: hidden;
}

.map-embed-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.google-map-embed-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-directions-floating-box {
  position: absolute;
  bottom: 28px;
  left: clamp(20px, 4.5vw, 60px);
  z-index: 10;
}

.get-directions-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.25s ease;
}

.get-directions-pill-btn:hover {
  background-color: #071527;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.directions-arrow-svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==========================================================================
   CAREERS PAGE STYLES (JOB APPLICATION / WE'RE HIRING)
   ========================================================================== */
.careers-page-body {
  background-color: #ffffff;
}

.careers-page-main {
  min-height: 100vh;
}

.careers-hero-content-section {
  padding-top: calc(var(--header-height-initial) + 36px);
  padding-bottom: 90px;
  background-color: #ffffff;
}

.careers-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.careers-title-bar {
  margin-bottom: 40px;
}

.careers-title-bar .section-title-text {
  font-size: clamp(1.25rem, 2.1vw, 1.9rem);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .careers-title-bar .section-title-text {
    white-space: normal;
  }
}

.careers-intro-block {
  text-align: center;
  margin-bottom: 45px;
}

.careers-sub-heading {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.careers-lead-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

.careers-form-container {
  max-width: 680px;
  margin: 0 auto;
}

.careers-apply-heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 28px;
  text-align: center;
}

.careers-clean-form {
  display: flex;
  flex-direction: column;
}

.resume-attachment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 16px;
  padding: 4px 0;
}

.resume-upload-label-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  transition: color 0.2s ease;
}

.resume-upload-label-btn:hover {
  color: #0070f3;
}

.paperclip-icon-svg {
  stroke: currentColor;
}

.attachment-count-indicator {
  font-size: 0.88rem;
  color: #6b7280;
  font-weight: 500;
}

.resume-file-list-preview {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resume-file-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #0f172a;
  width: 100%;
  max-width: 480px;
}

.resume-file-info {
  font-weight: 500;
  word-break: break-all;
}

.resume-file-delete-btn {
  background: #fee2e2;
  color: #dc2626;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.resume-file-delete-btn:hover {
  background: #dc2626;
  color: #ffffff;
  transform: scale(1.1);
}

.careers-recaptcha {
  margin-bottom: 20px;
}

.careers-submit-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 13px 40px;
  border-radius: var(--radius-pill);
  border: 2px solid #071527;
  background-color: transparent;
  color: #071527;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.careers-submit-pill-btn:hover {
  background-color: #071527;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 21, 39, 0.2);
}

/* Contact Page Responsive */
@media (max-width: 900px) {
  .contact-dual-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-map-full-section {
    height: 380px;
  }

  .contact-hero-content-section {
    padding-top: calc(var(--header-height-initial) + 20px);
  }
}

/* ==========================================================================
   COMPANY PAGE STYLES (DIGITAL FINANCE EDUCATION / ABOUT JTREDY)
   ========================================================================== */
.company-page-body {
  background-color: #ffffff;
}

.company-page-main {
  min-height: 100vh;
}

/* Hero Section */
.company-hero-section {
  padding-top: calc(var(--header-height-initial) + 36px);
  padding-bottom: 60px;
  background-color: #ffffff;
}

.company-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.company-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 4.5vw, 65px);
  align-items: center;
}

.company-hero-image-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.company-hero-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.company-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.company-hero-body-text {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 3 Points Highlights Bar */
.company-highlights-section {
  padding: 40px 0 65px;
  background-color: #ffffff;
}

.company-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.highlight-point-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
}

/* About Us Dark Section */
.company-about-dark-section {
  background-color: #071527;
  padding: 75px 0 85px;
  color: #ffffff;
}

.dark-title-text {
  color: #ffffff !important;
}

.dark-title-divider {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.company-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 45px);
  text-align: center;
  margin-top: 50px;
}

.company-pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.pillar-card-desc {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.68;
  font-weight: 400;
}

/* About JTREDY Light Section */
.company-about-jtredy-section {
  padding: 85px 0 95px;
  background-color: #ffffff;
}

.company-arch-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 45px);
  text-align: center;
  margin-top: 50px;
}

.company-arch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-image-frame {
  width: 100%;
  max-width: 320px;
  height: 270px;
  margin: 0 auto 28px;
  border-radius: 170px 170px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.arch-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 170px 170px 0 0;
  display: block;
}

.arch-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.arch-card-body {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

/* Responsive Rules for Company Page */
@media (max-width: 900px) {
  .company-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-highlights-grid,
  .company-pillars-grid,
  .company-arch-cards-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .arch-image-frame {
    height: 240px;
  }
}

/* ==========================================================================
   CEO PAGE STYLES (FOUNDER - JOHNSON AKKANATH VARGHESE)
   ========================================================================== */
.ceo-page-body {
  background-color: #ffffff;
}

.ceo-page-main {
  min-height: 100vh;
}

.ceo-hero-content-section {
  padding-top: calc(var(--header-height-initial) + 36px);
  padding-bottom: 90px;
  background-color: #ffffff;
}

.ceo-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.ceo-title-bar {
  margin-bottom: 45px;
}

.ceo-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.founder-image-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
}

.founder-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.founder-name-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  text-align: left;
}

.founder-bio-text {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.72;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.founder-bio-text strong {
  font-weight: 700;
  color: #111827;
}

/* ==========================================================================
   GALLERY PAGE STYLES (3-COLUMN GRID, SHOW MORE & LIGHTBOX MODAL)
   ========================================================================== */
.gallery-page-body {
  background-color: #071527;
}

.gallery-page-main {
  min-height: 100vh;
}

.gallery-grid-section {
  padding-top: calc(var(--header-height-initial) + 36px);
  padding-bottom: 90px;
  background-color: #071527;
}

.gallery-page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.gallery-page-title-bar {
  margin-bottom: 45px;
}

.gallery-page-title-bar .section-title-text {
  font-weight: 700;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  letter-spacing: 0.3px;
}

/* 3-Column Masonry Grid */
.gallery-masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  align-items: start;
}

.gallery-card-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0b1f3a;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.gallery-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Load More Button Wrapper */
.gallery-load-more-wrap {
  text-align: center;
  margin-top: 45px;
  margin-bottom: 20px;
}

.gallery-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 48px;
  border-radius: var(--radius-pill);
  border: 2px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-load-more-btn:hover {
  background-color: #ffffff;
  color: #071527;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   LIGHTBOX MODAL VIEWER (MATCHING SCREENSHOT 1)
   ========================================================================== */
.gallery-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 10, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(20px, 4vw, 48px);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3010;
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.lightbox-close-btn {
  font-size: 2.2rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  opacity: 0.9;
}

.lightbox-close-btn:hover {
  transform: scale(1.15);
  color: #f3af41;
  opacity: 1;
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 70px clamp(16px, 3vw, 40px) 30px;
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  height: 100%;
}

.lightbox-arrow-btn {
  font-size: 1.6rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  z-index: 3010;
  line-height: 1;
}

.lightbox-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  color: #f3af41;
  border-color: #f3af41;
}

.lightbox-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 82vh;
  padding: 0 16px;
  overflow: hidden;
}

.lightbox-display-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Gallery Responsive */
@media (max-width: 900px) {
  .gallery-masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .gallery-masonry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lightbox-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

/* =========================================================================
   EXPLORE OUR PROFIT GALLERY SECTION (HOME PAGE)
   ========================================================================= */
.profit-gallery-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.profit-gallery-subtitle {
  text-align: center;
  max-width: 680px;
  margin: -20px auto 40px;
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
}

.profit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .profit-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .profit-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.profit-card-link {
  text-decoration: none;
  display: block;
}

.profit-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.profit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.profit-card:hover .profit-card-img {
  transform: scale(1.05);
}

.profit-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 21, 39, 0.75) 0%, rgba(7, 21, 39, 0) 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profit-card:hover .profit-card-overlay {
  opacity: 1;
}

.profit-card-badge {
  background-color: var(--color-accent-gold);
  color: #071527;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.profit-gallery-cta-wrap {
  text-align: center;
}

.profit-gallery-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  text-decoration: none;
}