/* =========================
RENOVATED STYLESHEET

* Consolidated variables
* Apple HIG inspired: Hierarchy / Harmony / Consistency
* Preserves all original selectors & responsive behavior
  ========================= */

/* -------------------------
Design tokens (single source of truth)
------------------------- */
:root{
--font-sans: 'Nunito', sans-serif;
--font-heading: 'Ubuntu', sans-serif;

--bg: #edf5ef;
--bg-secondary: #7ab899;
--accent: rgba(236, 192, 69, 0.7);
--accent-strong: #d4a32b;
--accent-light: rgba(248, 212, 112, 0.7);
--surface: rgba(255,255,255,0.85);

--text-primary: #222;
--text-midprimary: #3a3a3a;
--text-secondary: #4a4b4a;
--text-midmuted: #777776;
--muted: #9c9c9c;
--text-white: #fcfcfc;

--buttons: #0d6efd;

--radius: 1.2vh;            /* consistent corner radius */
--card-radius: 1rem;        /* for smaller elements */
--site-header-height: clamp(8vh, 10vw, 10vh);
--site-header-height-mobile: 6vh;

--frost-bg: rgba(255, 255, 255, 0.2);
--frost-border: rgba(255, 255, 255, 0.4);
--blur: 10px;
--transition: 0.25s ease;
--transition-fast: 0.18s;
--transition-medium: 0.3s;
--toggle-z: 9999;
--shadow-soft: 0 0.8vh 2vh rgba(10,10,10,0.08);
--shadow-medium: 0 1.4vh 3vh rgba(10,10,10,0.12);
}

/* =========================
GLOBAL SITE STRUCTURE & TYPOGRAPHY
========================= */
html { scroll-behavior: smooth; }

body {
background-color: var(--bg-secondary);
min-height: 100vh;
display: flex;
flex-direction: column;
font-family: var(--font-sans);
font-weight: 400;
color: var(--text-primary);
line-height: 1.6;
letter-spacing: 0.01em;
margin: 0;
padding: 0;
width: 100%;
overflow-y: auto; 
overflow-x: hidden;
}

html {
  margin: 0;
  padding: 0;

}

/* Headings — Ubuntu (consistent weight & spacing) */
h1,h2,h3,h4,h5,h6 {
font-family: var(--font-heading);
font-weight: 700;
letter-spacing: 0.01em;
color: var(--text-primary);
transition: opacity var(--transition-medium);
}

/* Responsive heading scale */
h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 2.5vw, 2.0rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

/* keep layout behavior */
main, section { flex-shrink: 0; }

[data-parallax] {
transition: transform 0.1s ease-out;
will-change: transform;
}

/* Footer */
footer {
  margin-right: 0;
  width: 100%;
  background-color: #000 !important;
  color: #fff !important;
  padding: 3vh 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  z-index: 10;
}

footer small {
  color: #ffffff !important;
  text-shadow: 0 0 0.4vh rgba(255, 255, 255, 0.25); /* subtle glow */
  font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  footer {
    padding: 4vh 2vw;
    height: auto; /* let content dictate height */
  }

  footer small {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 0 10px;
  }
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

/* =========================
HEADER
========================= */
#site-header{
  height: var(--site-header-height);
  background-color: var(--accent-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all var(--transition-medium) ease-in-out;
  z-index: 999;
  padding: 0 clamp(0.8rem, 2vw, 2rem);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100vw;
}

#site-header a img{
height: 10vh;
max-height: 11h;
}

#hamburgerBtn{
min-width: 4.4vh;
min-height: 4.4vh;
background: var(--text-white);
opacity: 0.8;
}

.logo-img {
  max-height: clamp(12vh, 12vw, 12vh);
  height: auto;
  transition: max-height 0.3s ease;
  filter: drop-shadow(0 0 0.8vh rgba(255, 255, 255, 0.8))
          drop-shadow(0 0 1.4vh rgba(255, 255, 255, 0.6));
}
@media (min-width: 768px) { .logo-img { max-height: 12vh; } }
@media (min-width: 1200px){ .logo-img { max-height: 12vh; } }

/* Mobile header */
@media (max-width: 768px){
#site-header { height: var(--site-header-height-mobile); padding: 0.5rem 1rem; }
#site-header a img { height: 12vh; }
.dropdown-menu { width: 100%; left: 0; right: 0; }
}

/* =========================
DROPDOWN MENU
(kept selector names intact; colors tuned)
========================= */
.dropdown-menu{
background-color: var(--accent-strong);
display: none;
opacity: 0;
transform: translateY(-1vh);
transition: opacity var(--transition-medium), transform var(--transition-medium);
box-shadow: 0 0.4vh 0.8vh rgba(0,0,0,0.1);
border-radius: 0.25rem;
color: inherit;
}
.dropdown-menu.show{
display: block;
opacity: 1;
transform: translateY(0);
}
.dropdown-item{ padding: 0.5rem 1rem; cursor: pointer; color: inherit; }
@media (hover:hover) and (pointer: fine){
.dropdown:hover .dropdown-menu{ display:block; opacity:1; transform:translateY(0); }
}

/* =========================
VIDEO BACKGROUND (hero)
========================= */
#home {
  width: 100vw;       /* fills full viewport width */
  min-height: 100vh;  /* fills full viewport height */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#home iframe{
position: absolute;
top: var(--site-header-height);
left: 0;
width: 100vw;
height: calc(100vh - var(--site-header-height));
z-index: -1;
object-fit: cover;
border: none;
overflow-x: hidden;
}
@media (max-width: 768px){
#home iframe { top: var(--site-header-height-mobile); height: calc(100vh - var(--site-header-height-mobile)); }
}
@media (max-width: 480px){
#home iframe { transform: scale(1.9); top: var(--site-header-height-mobile); height: calc(100vh - var(--site-header-height-mobile)); }
}

/* =========================
HOME TEXT OVERLAY
========================= */
/* Home Text Container */
#home-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -150%); /* start off-screen for bounce */
  opacity: 0;
  z-index: 10;
}

/* White text with dark glow/shadow */
#home-text h2,
#home-text h3 {
    color: rgb(224, 223, 223);
    text-shadow: 0 0 8px rgba(0,0,0,0.8), 0 0 12px rgba(0,0,0,0.6);
    text-transform: none;
    
}

/* “Welcome to” */
#home-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

/* Company name — larger and bolder */
#home-text h2 {
    font-family: 'Satisfy', cursive;
    font-size: 2.5rem !important;
    font-weight: 400;
}

/* Bounce-in animation */
@keyframes bounceIn {
  0% {
    transform: translate(-50%, -150%);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -40%);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.bounce-in {
  animation: bounceIn 1s ease forwards;
}

@media (max-width: 768px) {
  #home-text h3 { font-size: 1.8rem; }
  #home-text h2 { font-size: 2.4rem; }
}


/* =========================
BUTTONS
========================= */
@keyframes pulseGlow{
0%,100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0.7); }
50%     { box-shadow: 0 0 2vh rgb(10, 10, 10); }
}
.pulse-glow{ animation: pulseGlow 1.5s infinite; }

.btn {
background-color: var(--buttons);
color: #f3e8ff;
transition: transform var(--transition-medium), background-color var(--transition-medium);
}

.btn:hover{ transform: scale(1.05); background-color: var(--accent-light); }

.btn-header {
    background-color: #111111;
    color: var(--accent);
    transition: transform var(--transition-medium), background-color var(--transition-medium);
}
.btn-header:hover { 
    transform: scale(1.05); 
    background-color: var(--accent-light); 
    color: var(--accent);
}


/* =========================
SCROLL INDICATOR
========================= */
#scroll-indicator{
position: absolute;
bottom: 5vh; left: 50%;
transform: translateX(-50%);
font-size: 2rem;
opacity: 0.75;
color: var(--accent);
text-shadow: 0 0 1vh rgba(0,0,0,0.7);
animation: bounceY 1.5s infinite;
pointer-events: none;
z-index: 20;
}
@keyframes bounceY{
0%,100% { transform: translateX(-50%) translateY(0); }
50%     { transform: translateX(-50%) translateY(1vh); }
}
@media (max-width:768px){ #scroll-indicator{ bottom:2vh; font-size:1.5rem; } }

/* =========================
BENTO SECTIONS (nav grid)
========================= */
#bento{ background: var(--bg-secondary); padding:4vh 0; }
.bento-box{ display:flex; flex-wrap:wrap; gap:0.5rem; }

.bento-section{
  width: 100vw;
flex:1 1 calc(20% - 0.5rem);
min-width: 15%;
height: 20vh;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:1.25rem;
border-radius: 0.5rem;
transition: transform var(--transition-medium), box-shadow var(--transition-medium);
cursor:pointer;
color: var(--text-white);
margin-top: 1vh;
margin-bottom: 1vh;
}
.bento-section.active{
transform: scale(1.2);
box-shadow: 0 0.8vh 2vh rgba(0,0,0,0.3);
}

#bento-about{ background:#f0e68c; }
#bento-counselors{ background:#90ee90; }
#bento-services{ background:#ffb6c1; }
#bento-media{ background:#90ee90; }
#bento-contact{ background:#ffb6c1; }

@media (max-width:768px){ .bento-section{ flex:1 1 45%; height:12vh; font-size:1rem; } }
@media (max-width:480px){ .bento-section{ flex:1 1 100%; height:10vh; font-size:0.9rem; } }

/* =========================
SWIPE PANELS
========================= */
.swipe-container{
display:flex; overflow-x:auto;
scroll-snap-type:x mandatory;
width:100%; height:100%;
scroll-behavior: smooth;
}
.panel{ scroll-snap-align:start; flex-shrink:0; width:100%; height:100%; }
@media (max-width:768px){ .swipe-container{ padding:0 0.5rem; } }

/* =========================
FROSTED CARD (GLOBAL)
Unified rule — per-component accent overrides still allowed
========================= */
.frosted-card{
background-color: var(--accent);
backdrop-filter: blur(0.8vh);
-webkit-backdrop-filter: blur(0.8vh);
border-radius: var(--radius);
box-shadow: 0 1vh 3vh rgba(0,0,0,0.2);
color: black;
transition: transform var(--transition-fast) linear, box-shadow var(--transition-medium) ease;
will-change: transform;
}
.frosted-card:hover{
transform: translateY(-0.6vh);
box-shadow: 0 0.6vh 1.8vh rgba(0,0,0,0.2);
}

/* Keep clamp behavior for bento cards */
.bento-card .frosted-card p{
display:-webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow:hidden;
text-overflow:ellipsis;
max-height:3.2em;
transition: max-height 0.4s, -webkit-line-clamp 0.4s;
}
.bento-card:hover .frosted-card p{
-webkit-line-clamp: unset;
max-height: 62.5rem; /* safe large value so it can expand */
overflow-y: auto;
}

/* =========================
PAGE TITLES (shared)
========================= */
.page-title-wrapper{
padding-top: calc(var(--site-header-height) + 1.25rem);
padding-bottom: 0.75rem;
position: relative;
z-index: 10;
}
@media (max-width:768px){
.page-title-wrapper{ padding-top: calc(var(--site-header-height-mobile) + 0.4rem); }
}

/* =========================
ABOUT / MOTTOS / ACTIVITIES
========================= */
#about, #mottos, #activities {
  transform: translateY(2vh);
background: var(--bg);
align-items: center;
width: 100%;
}

@media (max-width:768px)  {
#about, #mottos, #activities {
background: var(--bg);
align-items: center;
width: 100%;
margin-bottom: 4vh;
}
#mottos .wallstuck {
  margin-bottom: 2vh;
  transform: translateY(8vh);
}
#mottos .runnerup {
  transform: translateY(-10vh);
}
}

#mottos .frosted-card{
background: var(--accent);
padding: 2vh;
}

#activities img{
width: 100%;
max-width: 1200px;
border-radius: 0;
box-shadow: 0 0.4vh 1.2vh rgba(0,0,0,0.15);
}
#activities .frosted-card{
margin-top: -10vh;
max-width: 600px;
z-index: 2;
}
#about h4,
#mottos h4,
#activities h4 {
  letter-spacing: 0.3rem;
  font-weight: 700;
}


/* =========================
COUNSELORS SECTION
========================= */
#counselors {
background: var(--bg-secondary);
width: 100%;
align-items: center;
}
#counselors img.counselor-img{
  align-items: center;
  object-fit: cover;
  height: 70vh;
  width: 100%;
}
#counselors h2 {
  letter-spacing: 0.7rem;
}
#counselors.frosted-card {
  background: var(--accent-light);
}
.carousel{
border-radius: var(--card-radius);
overflow: hidden;
box-shadow: 0 1vh 3vh rgba(0,0,0,0.9);
align-items: center;
}
.carousel-caption.frosted-card{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
max-height: 39%;
padding: 1rem 1.5rem;
background: var(--accent);
backdrop-filter: blur(0.8vh);
overflow-y: auto;
box-sizing: border-box;
color: var(--text-primary);
}
.carousel-caption.frosted-card h5 {
    color: var(--text-white);
    font-weight: 600; 
    margin-bottom: 0.5rem; 
}
.carousel-caption.frosted-card p { 
    color: var(--text-primary);
    margin:0; 
    line-height:1.4; 
}

/* Bio Section */
#counselor-bio {
    background: var(--bg-secondary);
    width: 100%;
    margin: 0 auto;
    
}
#counselor-bio .text-card { 
    margin-left:auto; 
    margin-right:auto; 
    margin-bottom:auto; width:90%; 
}

#counselor-bio .text-card.name-card h1{
    color: var(--text-white);
    text-align: center;
    letter-spacing: 0.3rem;
}

#counselor-bio .btn.frosted-card{
  backdrop-filter: blur(0.6vh);
  border: 1px solid rgba(0,0,0,0.1);
}

#prevCounselor, #nextCounselor {
    font-size: 2.2rem;           /* bigger size */
    -webkit-text-stroke: 3px;    /* adds visual thickness */
    background-color: var(--accent); /* your preferred button bg */
    color: var(--text-white);
    border-radius: 0.5rem;
    border: none;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#prevCounselor:hover, #nextCounselor:hover {
    background-color: var(--accent-strong); /* slightly darker on hover */
}



/* profile visibility */
.counselor-profile-page{ display:none; opacity:0; transition: opacity 0.3s ease-in-out; }
.counselor-profile-page.active{ display:block; opacity:1; }

.counselor-profile-page.active p,
.counselor-profile-page.active ul {
  font-weight: 800;
}

/* === Counselor Bio Spacing Fix === */
#counselor-bio {
  padding-top: 4vh;
}

/* Normalize banner heights to prevent long empty scroll zones */
.profile-banner {
  height: 60vh;
  background-size: cover;
  background-position: center;
  margin-bottom: 2vh;
}

/* Standardize all text-card spacing */
#counselor-bio .text-card {
  color: var(--text-white);
  width: 90%;
  margin: 0 auto 9vh auto; /* space between cards */
  padding: 2.5vh;
}

/* Keep name cards spaced correctly without pushing too far down */
#counselor-bio .text-card.name-card {
  margin-bottom: 1vh;
  padding-top: 3vh;
}


/* =========================
SERVICES
========================= */
#services { 
  background: var(--bg); 
  color: var(--text-primary); 
  width: 100%;
  align-items: center;
}

#services .page-title-wrapper{ padding-bottom: 6.5rem; }

#services h1.section-main { 
  margin-bottom: 0.8vh; 
  font-weight:700; 
  letter-spacing: 0.7rem;
  color: var(--text-midmuted);
}
#services p.lead-sub{ margin-top: 2.8vh; color: var(--text-midprimary); }

/* Grid spacing */
#services .row.g-4{ margin-top: 1rem; }

/* Frosted overlay for bento-card inside services */
#services .bento-card .frosted-card{
flex-grow: 1;
padding: 1rem;
background: rgba(236, 192, 69, 0.8);
will-change: opacity, transform;
display: flex;
flex-direction: column;
justify-content: space-between;
color: #130606;
transition: max-height var(--transition-medium) ease;
}

/* Expandable */
#services .bento-card .frosted-card.expanded{ max-height: 80vh; }

/* Section spacing */
#services section { 
    padding: 5.6vh 0; 
}

/* Section titles across all sections */
.section-title {
  color: var(--text-secondary);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  font-weight: 700;
}

#services section:first-of-type { 
    padding-top: calc(var(--site-header-height) + 1.25rem); 
}

/* responsive adjustments */
@media (max-width: 767px){
  #services {
    width: 100%;
  }
#services .bento-card img{ height: 20vh; }
#services .page-title-wrapper{ padding-top: calc(var(--site-header-height-mobile) + 0.4rem); }
}

/* =========================
SUB-BENTO (Services/Training/Activities selector)
========================= */
/* Full-width background for bento button section */
#section-selector {
  width: 100vw;            /* full width of parent */
  background-color: var(--bg-secondary);
  padding: 1.5rem 1.5rem;      /* vertical spacing */

}

#section-selector .bento-box {
  max-width: 1200px;      /* keeps buttons aligned with page content */
  margin: 0 auto;         /* center horizontally */
  display: flex;
  justify-content: center;
  gap: 1rem;              /* spacing between buttons */
}

#section-selector { 
  background: var(--bg-secondary); 
  padding:4vh 0; 
}
.bento-box { 
  display:flex; 
  flex-wrap:wrap; gap:0.5rem; 
}

#section-selector .bento-section{
flex:1 1 calc(20% - 0.5rem);
min-width: 15%;
height: 20vh;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:1.7rem;
border-radius: 0.5rem;
transition: transform var(--transition-medium), box-shadow var(--transition-medium);
cursor:pointer;
color: var(--text-primary);
margin-top: 1vh;
margin-bottom: 1vh;
}
#section-selector .bento-section.active{
transform: scale(1.15);
box-shadow: 0 0.8vh 2vh rgba(0,0,0,0.3);
background: rgba(248, 230, 67, 0.8);
}

#section-selector .bento-section:hover {
  transform: scale(1.05);
  box-shadow: 0 0.6vh 2vh rgba(0,0,0,0.2);
}


/* Colors (adjust as needed) */
#bento-services-toggle { background: rgba(248, 233, 97, 0.8); }
#bento-training-toggle { background: rgba(253, 242, 143, 0.8); }
#bento-activities-toggle { background: rgba(248, 233, 97, 0.8); }

@media (max-width: 768px) {
  #section-selector .bento-section {
    flex: 1 1 45%;
    height: 12vh;
    font-size: 1.4rem;
  }
}


/* ==========================================================
FORCE CONSISTENT BENTO CARD SIZING FOR INJECTED PAGES
========================================================= */
#page-content .bento-card {
display:flex;
flex-direction:column;
height: 45vh;
overflow: hidden;
border-radius: var(--radius);
box-shadow: var(--shadow-medium);
transition: transform .22s ease-out, box-shadow .22s ease-out;
margin-bottom: 8vh;
}

/* allow expansion on mobile */
@media (max-width: 767px){
  #page-content .bento-card{ height:auto; width:auto !important;}
  #page-content .bento-card img { 
    height: 45vh !important;
  }
}

/* Shared card styling for Services, Training, Activities */
#services .bento-card,
#training .bento-card,
#activities .bento-card {
  position: relative;
  aspect-ratio: 3 / 2; /* same ratio, smoother rendering */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bg);
  will-change: transform; /* smoother scroll and hover */
}

#services .bento-card:hover,
#training .bento-card:hover,
#activities .bento-card:hover{
transform: translateY(-0.8vh);
box-shadow: var(--shadow-medium);
}

/* images fill cards */
#services .bento-card img,
#training .bento-card img,
#activities .bento-card img{
position:absolute;
top:0; left:0;
width:100%; height:100%;
object-fit: cover;
border-radius: var(--radius);
z-index:0;
}

/* frosted overlay placement */
#services .bento-card .frosted-card,
#training .bento-card .frosted-card,
#activities .bento-card .frosted-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 40%;             /* initial collapsed height */
  overflow: hidden;
  padding: 1rem;
  background: var(--accent-light); /* semi-transparent accent for fast rendering */
  color: #130606;
  transition: max-height var(--transition-medium) ease, background 0.2s ease;
  z-index: 1;
  will-change: max-height, opacity;
  pointer-events: auto;       /* ensures overlay is interactive if needed */
}

/* Hover / expanded state */
#services .bento-card:hover .frosted-card,
#training .bento-card:hover .frosted-card,
#activities .bento-card:hover .frosted-card {
  max-height: 100%;
  overflow-y: auto;
  /* optional: slight brightness change for subtle feedback */
  background: rgba(236, 192, 69, 0.85);
}

/* Mobile adjustments for performance */
@media (max-width: 767px) {
  #services .bento-card .frosted-card,
  #training .bento-card .frosted-card,
  #activities .bento-card .frosted-card {
    max-height: none !important;
    overflow: visible;
    background: rgba(236, 192, 69, 0.8); /* keep consistent opacity */
    transition: none !important;
  }
}

.bento-card img, .bento-card .frosted-card {
  will-change: transform, opacity;
}

/* avoid accidental tiny mobile heights (fixed previous 1.6vh error) */
@media (max-width: 767px){
#services .bento-card img,
#training .bento-card img,
#activities .bento-card img{
height: 20vh; /* sensible mobile image size */
}
}

/* spacing under titles inside frosted areas */
#services .frosted-card h5,
#training .frosted-card h5,
#activities .frosted-card h5{ margin-bottom: 0.1rem; }
#services .frosted-card p,
#training .frosted-card p,
#activities .frosted-card p{
margin-top:0;
margin-bottom:0;
line-height:1.45;
}

/* =========================
RESPONSIVE 3-BUTTON BENTO UI (Fluid Scaling)
========================= */
#section-selector {
  width: 100%;
  background-color: var(--bg-secondary);
  padding: clamp(2rem, 3vw, 4vh) 0;
}

#section-selector .bento-box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 1rem);
  padding: 0 clamp(0.5rem, 2vw, 2rem);
}

#section-selector .bento-section {
  flex: 1 1 30%;
  height: clamp(7vh, 10vw, 18vh);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(0.8rem, 2.2vw, 1.35rem);
  border-radius: clamp(0.3rem, 1vw, 0.5rem);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  cursor: pointer;
  color: var(--text-midprimary);
  margin: clamp(0.3rem, 1vh, 1rem) 0;
  letter-spacing: clamp(0.02rem, 0.2vw, 0.08rem);
  padding: clamp(0.3rem, 1vw, 0.8rem);
}

/* Hover & Active States */
#section-selector .bento-section:hover {
  transform: scale(1.05);
  box-shadow: 0 0.6vh 2vh rgba(0, 0, 0, 0.2);
}

#section-selector .bento-section.active {
  transform: scale(1.12);
  box-shadow: 0 0.8vh 2vh rgba(0, 0, 0, 0.3);
  background: rgba(248, 230, 67, 0.8);
}

/* Distinct color per toggle */
#bento-services-toggle { background: rgba(248, 233, 97, 0.8); }
#bento-training-toggle { background: rgba(253, 242, 143, 0.8); }
#bento-activities-toggle { background: rgba(248, 233, 97, 0.8); }

/* Allow expansion on mobile but keep comfortable side padding */
@media (max-width: 767px) {
  #page-content {
    padding: 0 clamp(0.8rem, 4vw, 2rem);
  }

  #page-content .bento-card {
    width: 100% !important;
    max-width: 95%;
    margin: 0 auto clamp(1rem, 2vh, 1.5rem);
    height: auto;
    border-radius: clamp(0.6rem, 2vw, 1rem);
  }

  #page-content .bento-card img {
    width: 100%;
    height: clamp(35vh, 45vw, 50vh) !important;
    object-fit: cover;
    border-radius: inherit;
  }
}

/* =========================
MEDIA SECTION STYLES
========================= */
#media { 
  background: var(--bg-secondary); 
  color: var(--text-white); 
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

#media .page-title-wrapper{ padding-top: 1.2vh; padding-bottom: 1.2vh; }
#media h1.section-main{ margin-bottom: 0.6vh; font-weight:700; }
#media p.lead-sub{ margin-bottom: 3.2vh; color: var(--text-secondary); }

#media .bento-grid{
display: grid !important;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
gap: 1.5rem !important;
width: 100%;
max-width: 960px;
margin: 0 auto;
overflow-x: hidden;
}

/* media cards */
#media .bento-card,
#media .video-card{
width:100%;
max-width: 250px;
margin: 0 auto;
display:flex;
flex-direction: column;
justify-content:center;
align-items:center;
border-radius: 1.6vh;
overflow:hidden;
background: var(--bg-secondary);
transition: transform .25s ease;
cursor:pointer;
aspect-ratio: 16 / 9;
transform: scale(1);
transform-origin: center;
}

#media .bento-card h4 {
    color: var(--text-white);
    font-size: 1.4rem;
}

#media .bento-card p {
    color: var(--text-white);
    font-size: 1.2rem;
}

#media .bento-card > a{ display:flex; flex-direction:column; justify-content:center; align-items:center; width:100%; height:100%; }

#media .bento-card img,
#media .video-card img{ width:100%; height:100%; object-fit: cover; display:block; }

#media .frosted-card{
padding: 1.2vh;
position:absolute;
bottom:0; left:0;
width:100%;
background: var(--accent);
color: var(--text-white);
font-size: 1rem;
backdrop-filter: blur(0.6vh);
text-align:center;
height: 9rem;
transition: max-height 0.3s ease;
}

/* media section title alignment */
#media .section-title{
max-width: 960px;
margin: 0 auto 0vh;
padding: 9vh 0 4vh 9vh;
font-weight:600;
font-size: 2.2rem;
color: var(--text-white);
text-align: left;
}

#media .bento-card .frosted-card * {
  text-shadow: none;
}

/* Social Card Styles */
.social-card {
  background: var(--bg-secondary); /* Your green background */
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
  padding: 1.2vh;
}

.social-card:hover {
  transform: translateY(0.4vh);
  box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.3);
}

/* Social link layout */
.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 2rem 1rem;
  height: 100%;
  color: var(--text-primary);
}

/* Facebook SVG Icon */
.social-icon {
  width: 15rem;
  height: 15rem;
  fill: white; /* Initial color */
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

/* Pop effect on hover */
.social-link:hover .social-icon {
  fill: #1877F2; /* Facebook Blue */
  filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.8));
  transform: scale(1.15);
}

/* Text inside frosted-card */
.social-card .frosted-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(0.6vh);
  text-align: center;
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  transition: background 0.3s ease;
}

.social-card:hover .frosted-card {
  background: rgba(255, 255, 255, 0.35);
}

/* ========== Telegram Variant ========== */
.social-card.telegram .social-icon {
  fill: white;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
}

.social-card.telegram:hover .social-icon {
  fill: #26A5E4; /* Telegram Blue */
  filter: drop-shadow(0 0 10px rgba(38, 165, 228, 0.9));
  transform: scale(1.15);
}

/* Spotify-specific adjustments */
.bento-card.social-card.spotify .social-icon {
  width: 22vw;      /* same width as other social icons */
  height: 22vh;     /* keep aspect ratio square */
  margin-bottom: 6vh; /* space between icon and frosted card */
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.7));
}

.bento-card.social-card.spotify .frosted-card h4 {
  font-size: 1rem;   /* match other social cards */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.bento-card.social-card.spotify .frosted-card p {
  font-size: 0.85rem; /* match description text */
  margin-top: 0.6vh;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* media responsive grid */
@media (max-width: 991px){ #media .bento-grid{ grid-template-columns: repeat(2,1fr) !important; } }
@media (max-width: 575px){ #media .bento-grid{ grid-template-columns: 1fr !important; } }

/* -------------------------
Contact section (styles)
------------------------- */
#contact{
  padding-top: calc(var(--site-header-height) + 1rem);
  padding-bottom: 5.6vh;
  background: var(--bg);
  color: var(--text-primary);
  width: 100%;
  align-items: center;
  
}
#contact .section-title{ text-align:center; margin-bottom:2vh; font-size:2rem; font-weight:700; }

/* main contact card */
#contact .contact-card{
max-width: 75%;
margin: 0 auto 10vh;
padding: 1.25rem;
box-shadow: 0 1vh 3vh rgba(0,0,0,0.2);
border-radius: var(--radius);
background: var(--accent);
backdrop-filter: blur(0.6vh);
}

/* inputs */
#contact .form-control{ border-radius: 0.6vh; box-shadow: none; }

/* submit button */
#contact button[type="submit"]{ min-height: 2.75rem; /* ~44px */}

/* alert area */
#contact-alert{ max-width: 820px; margin: 0.5rem auto 0; display:none; }
#contact-alert.show{ display:block; }

/* contact info & social links */
#contact .contact-info p{ margin-bottom:0.5rem; color:#2a2a2a; }
#contact .social-links{ display:inline-flex; gap:1.5rem; align-items:center; justify-content:center; margin-top:1rem; }
#contact .social-links a{ font-size: 2.5rem; transition: transform .25s ease, filter .25s ease; display:inline-flex; align-items:center; justify-content:center; }
#contact .social-links a:hover{ transform: scale(1.25); filter: brightness(1.15); }

/* mobile contact adjustments */
@media (max-width: 767px){
#contact{ padding-top: calc(var(--site-header-height-mobile) + 0.5rem); padding-bottom: 5vh; }
#contact .contact-card{ padding: 1rem; }
#contact .social-links{ font-size: 1.4rem; gap: 1rem; }
}

/* helper classes */
#contact .muted-small{ color: #5b6b5b; font-size: 0.95rem; }
#contact .fs-5{ font-size: 1.125rem; }

.form-label {
  font-weight: 800 !important;
}


/* =========================
Small typography refinements and component rules
========================= */
/* headings color tweaks */
h1,h2,h4,h6{ color: #302f2f; letter-spacing:0.05em; }

h5 {
  color: var(--text-primary); 
  letter-spacing:0.05em;
}

h3 { color: var(--text-white); letter-spacing:0.05em; }

/* section title style */
section h2{
font-size: 2.0rem;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-bottom: 2vh;
color: var(--text-secondary);
}

/* paragraphs */
p, li, small{ font-family: var(--font-sans); font-weight:400; font-size:1.1rem; color:#2c2c2c; }

/* Bento overlay text (keeps your earlier visual style) */
#bento .bento-overlay{
font-family: var(--font-heading);
font-size: 1.4rem;
font-weight: 700;
text-transform: uppercase;
color: #292929;
text-decoration: none;
text-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.4);
transition: transform var(--transition-medium), filter var(--transition-medium);
}
#bento .bento-overlay:hover{ transform: scale(1.08); filter: brightness(1.2); }

/* Buttons global */
button, .btn{ font-family: var(--font-heading); font-weight:500; letter-spacing:0.02em; }


/* =========================
ENHANCED MOBILE HEADER
========================= */
@media (max-width: 768px) {
  :root {
    --site-header-height-mobile: 10vh; /* increase header height */
  }

  #site-header {
    height: var(--site-header-height-mobile);
    padding: 1rem 1.5rem;
  }

  #site-header a img,
  .logo-img {
    height: 7vh !important;   /* make logo more prominent */
    max-height: 8vh !important;
  }

  #hamburgerBtn {
    min-width: clamp(3.2vh, 4.5vw, 4.8vh) !important;
    min-height: clamp(3.2vh, 4.5vw, 4.8vh) !important;
    transition: all 0.3s ease;
  }

  #site-header a,
  #site-header span,
  #site-header button {
    font-size: 1.2rem !important;  /* make nav text/buttons easier to tap */
  }


  #site-header a,
  #site-header button {
    display: flex;
    align-items: center;
  }


  #site-header a i.bi {
    font-size: clamp(1.8rem, 5vw, 2.4rem) !important;
    line-height: 1;
    transition: font-size 0.3s ease;
  }
}

/* Adjust motto section spacing for mobile */
@media (max-width: 768px) {
  #mottos {
    padding-top: 1.2rem !important;  /* smaller top padding */
    margin-top: -2rem !important;    /* move the whole section up */
  }

  #mottos .frosted-card {
    padding-top: 0.5rem !important;  /* reduce card padding for tighter look */
  }
}

/* 🌿 Frosted Scrollbar Effect */

/* Default hidden state */
body::-webkit-scrollbar {
  opacity: 0;
  transition: opacity 0.4s ease, width 0.3s ease;
  width: 0.1px;
}

/* Scrollbar visible when user scrolls */
body.scrolling::-webkit-scrollbar {
  opacity: 1;
  width: 2.5vw;
}

/* Apply frosted styling ONLY when visible */
body.scrolling::-webkit-scrollbar-track {
  background: var(--accent-light);
  backdrop-filter: blur(1vh);
  -webkit-backdrop-filter: blur(1vh);
  border-radius: 1vh;
}

body.scrolling::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  backdrop-filter: blur(1vh);
  -webkit-backdrop-filter: blur(1vh);
  border-radius: 10px;
  border: 0.2vh solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 1vh rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease;
}

body.scrolling::-webkit-scrollbar-thumb:hover {
  background: var(--bg);
}

/* =========================
BILINGUAL TOGGLE STYLES
========================= */
.text-mm { 
  display: none; 
  line-height: 1.8;
}

body.lang-mm .text-en { display: none; }
body.lang-mm .text-mm { display: inline; }

.text-en, .text-mm {
  transition: opacity 0.3s ease;
}

/* Frosted Glass Button */
.lang-toggle {
  position: relative;
  margin-right: 2vw;
  background: var(--text-white);
  border: 0.1vh solid var(--text-white);
  backdrop-filter: blur(var(--blur));
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition-medium), transform var(--transition-medium);
  opacity: 0.8;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* safety: ensure no accidental full-screen element created by toggle */
.lang-toggle * { pointer-events: none; }

/* small responsive tweak */
@media (max-width: 480px) {
  .lang-toggle { padding: 0.45rem 0.9rem; font-size: .5rem; }
}


/* end of stylesheet */
