﻿

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )              
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #F8CB2E;
  --secondary-color:              #FF0000;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #0000FF;
  --custom-btn-bg-hover-color:    #c01f27;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #B22727;
  --light-blue-color:             #BBDEFB;    
  --blue-color:                    #0000FF;
  --menu-color:					  #000000;
  --body-font-family:             'Outfit', sans-serif;

  --h1-font-size:                 5vw;
  --h2-font-size:                 3.5vw;
  --h3-font-size:                 2.5vw;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 18px;
  --p-font-size:                  16px;
  --btn-font-size:                14px;
  --copyright-font-size:          16px;
  --font-size-14: 				  14px;	

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

/*---------------------------------------
  GLOBAL STYLES              
-----------------------------------------*/
main {
            flex: 1 0 auto; /* Allow main to grow and push footer */
            padding-bottom: 80px; /* Ensures space above footer */
        }
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.body-induction {
    font-family: var(--body-font-family);
    background-image: url('images/WebsiteBackground.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; /* Keeps background in place on scroll */
   height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.container-induction {
  max-width: 50%;
  margin: 0px auto;
  margin-top: 95px;
  
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
}
.container-ind {
  max-width: 50%;
  margin: 0px auto;
  margin-top: 95px;
  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
}
.container-legacy {
  max-width: 50%;
  margin: 0px auto;
  margin-top: 40px;
  
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
}

.color-text {
  color: pink;
}
.btn-yellow {
  background-color: #F8CB2E; /* A deeper gold-yellow */
  color: #000;
  border: none; /* Optional: remove border */
}
.card-dashboard {
    height: auto;
    min-height: auto;
    background-color: white;
    padding: 20px;
	border: 5px solid #000;
    border-radius: 8px;
	margin: 10px;
}

.card {
    display: block;
    width: 100%;
    max-width: 850px;
    margin: 0px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
    overflow: visible;
    box-sizing: border-box;
    min-height: 800px; /* ensures space for form */
}
.inductees span {
        display: inline-block;
        font-weight: bold;
        padding: 5px 10px;
        background: #f4f4f4;
        margin: 5px;
        border-radius: 5px;
}
.dashboard-header {
      background-color: #EFE1C6;
      color: #fff;
      padding: 2rem 1rem;
      text-align: center;
      border-bottom: 5px solid #c59d5f;
    }

   
    .card-title {
      font-weight: 600;
    }


/* Image container */
.image-sponsor-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
}

.image-sponsor-row img {
     width: 100%;
      max-width: 150px;
      height: auto;
      border-radius: 8px;
    
}

.image-sponsor-container {
      flex: 1 1 150px;
      text-align: center;
}
.image-container {
    display: flex;
    justify-content: center; /* Centers the image */
    align-items: center;
    width: 150px; /* Fixes image container width */
}

/* Image styling */
.image-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.text-container {
    flex-grow: 1; /* Ensures text takes remaining space */
}
.thank-you-section {
  padding: 10px 20px;
  background-color: #fffff;
  text-align: left;
}

.thank-you-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-section h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #222;
}

.thank-you-section .subtext {
  font-style: italic;
  font-size: 1.2em;
  color: #b22222;
  margin-bottom: 30px;
  text-align: center;
}

.thank-you-section p {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
}

.btn-return-home {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background-color: #b22222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-return-home:hover {
  background-color: #922222;
}

.tagline-wrap{ display:flex; align-items:center; gap:.6rem; }
.tagline-accent{
  width:22px; height:3px; border-radius:2px;
  background:#b8860b; /* gold accent; change if needed */
}
.page-tagline{
  margin:0; color:var(--dark-color);
  font-size: clamp(1rem, 1.1vw + .75rem, 1.25rem);
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/
#tab-leadership h6 {
  color: var(--dark-color);
}

#tab-international h6 {
  color: #b8860b; /* goldenrod – elegant but readable */
}

h2,
h3,
h4,
h5 {
  color: var(--dark-color);
}
h6 {
  color: var(--white-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  font-size: var(--h6-font-size);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
  text-align:center;
}

h3 {
  font-size: var(--h3-font-size);
  text-align:center;
}

h4 {
  font-size: var(--h4-font-size);
 

}

h5 {
  font-size: var(--h5-font-size);
  text-align:center;
}

h6 {
  font-size: var(--h6-font-size);
}
/* Ensure text does not get cut off */
.col-12 p {
    white-space: normal; /* Allows text to wrap properly */
    word-wrap: break-word; /* Ensures long words do not cause overflow */
    font-size: 16px; /* Ensures text is readable on mobile */
    max-width: 100%; /* Prevents text from exceeding its container */
}

/* Adjust icon spacing */
.bi-person.custom-icon {
    flex-shrink: 0; /* Prevents the icon from shrinking */
}
p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
}
ul {
   list-style-type: none; /* Removes bullet points */
   padding: 0;
}
.event-list {
   color: var(--white-color);
   font-size: var(--font-size-14);
}
.induction-button {
	background-color: var(--primary-color);
	max-width: 50%;
	align-items: center; /* Horizontally center */
}
a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--blue-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.link-fx-1 {
  color: var(--white-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 6px;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.link-fx-1:hover {
  color: var(--link-hover-color);
}

.link-fx-1:hover::before {
  transform: translateX(17px) scaleX(0);
  transition: transform .2s;
}

.link-fx-1:hover .icon circle {
  stroke-dashoffset: 200;
  transition: stroke-dashoffset .2s .1s;
}

.link-fx-1:hover .icon line {
  transform: rotate(-180deg);
}

.link-fx-1:hover .icon line:last-child {
  transform: rotate(180deg);
}

.link-fx-1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right center;
  transition: transform .2s .1s;
}

.link-fx-1 .icon {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateX(100%) rotate(90deg);
  font-size: 32px;
}

.icon {
  --size: 1em;
  height: var(--size);
  width: var(--size);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

.link-fx-1 .icon circle {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .2s;
}

.link-fx-1 .icon line {
  transition: transform .4s;
  transform-origin: 13px 15px;
}

.link-fx-1 .icon line:last-child {
  transform-origin: 19px 15px;
}
/*---------------------------------------
  FAQ             
-----------------------------------------*/

details {
     margin-bottom: 10px;
     border-bottom: 1px solid #ddd;
     padding-bottom: 5px;
}
summary {
     font-weight: bold;
     cursor: pointer;
     padding: 5px 0;
}
summary:hover {
     color: #007BFF;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 25px;
  padding-bottom: 25px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}
.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}
.custom-tik {
  background: var(--orange-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}
.custom-tik:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  VIDEO              
-----------------------------------------*/
.video-wrap {
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-color: var(--primary-color);
  padding-top: 12px;
  padding-bottom: 12px;
}
/*---------------------------------------
  SPONSOR             
-----------------------------------------*/
.sponsor-container {
    display: flex;
    flex-wrap: wrap; /* Ensures items wrap when needed */
    justify-content: center; /* Centers items horizontally */
    align-items: stretch; /* Ensures consistent height */
    gap: 10px; /* Increased gap for better spacing */
    padding: 20px; /* Increased padding for a better layout */
    max-width: 100%; /* Allows it to be fully responsive */
    margin: 0 auto; /* Centers the container */
}
.sponsor-level-basic {
    flex: 1;  /* Allows the element to grow */
    min-width: 250px; /* Prevents it from getting too small */
    max-width: 100%; /* Ensures it remains responsive */
    width: 100%; /* Allows it to fill available space */
    background: white;
    padding: 10px; /* Slightly increased for better spacing */
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
}

.sponsor-level-green {
    flex: 1;  /* Allows the element to grow */
    min-width: 250px; /* Prevents it from getting too small */
    max-width: 100%; /* Ensures it remains responsive */
    width: 100%; /* Allows it to fill available space */
    background: white;
    padding: 10px; /* Slightly increased for better spacing */
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    background-color: rgba(31, 166, 11, 0.2);
}
.sponsor-level-bronze {
    flex: 1;  /* Allows it to grow within a flex container */
    min-width: 250px; /* Prevents it from becoming too small */
    max-width: 100%; /* Ensures responsiveness */
    width: 100%; /* Allows it to adjust dynamically */
    background: white;
    padding: 10px; /* Slightly increased for better spacing */
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    background-color: rgba(176, 141, 87, 0.2);
}
.sponsor-level-silver {
    flex: 1;  /* Allows flexibility in a flex container */
    min-width: 250px; /* Prevents it from becoming too small */
    max-width: 100%; /* Ensures it remains responsive */
    width: 100%; /* Adjusts dynamically based on available space */
    background: white;
    padding: 10px; /* Increased for better spacing */
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    background-color: rgba(192, 192, 192, 0.2);
}
.sponsor-level-gold {
    flex: 1;  /* Allows it to grow inside a flex container */
    min-width: 250px; /* Prevents it from getting too small */
    max-width: 100%; /* Ensures responsiveness */
    width: 100%; /* Adjusts dynamically */
    background: white;
    padding: 10px; /* Increased for better spacing */
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s ease-in-out;
    text-align: center;
    background-color: rgba(255, 215, 0, 0.2);
}
.sponsor-level h3 {
            margin: 0;
}
.sponsor-level p {
            margin: 5px 0;
            font-size: 14px;
}
button.sponsor-level-basic:hover {
		background-color: rgba(240, 240, 240, 1);
}

button.sponsor-level-green:hover {
		background-color: rgba(31,166,11,0.5);
}
button.sponsor-level-bronze:hover {
		background-color: rgba(176,141,87,0.5);
}
button.sponsor-level-silver:hover {
		background-color: rgba(192,192,192,0.5);
}
button.sponsor-level-gold:hover {
		background-color: rgba(255,215,0,0.5);
}
/*---------------------------------------
  LEADERSHIP             
-----------------------------------------*/

.officer-list, .advisor-list {
            list-style: none;
            padding: 0;
}
.officer-list li, .advisor-list li {
   background: #fff;
   padding: 10px;
   margin-bottom: 5px;
   border-radius: 5px;
   box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}
.officer-list li strong, .advisor-list li strong {
   color: #000000;
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 51px;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--white-color);
}

.navbar {
  background: transparent;
  position: relative;
  z-index: 1000;
}
.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px 20px;
}
/* Back to Top Button with Smooth Fade */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  background-color: #FF0000; /* 🔥 Red */
  color: #fff;
  text-align: center;
  padding: 12px 15px;
  font-size: 24px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 1000;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  transform: scale(0.8);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

#back-to-top:hover {
  background-color: #03fd34; /* light green on hover */
  transform: scale(1.2); /* Slight zoom on hover */
}
.society-members {
  padding: 10px 0;
  background-color: #fff;
  text-align: center;
}

.society-members .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.society-members h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.society-members .tagline {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #b22222;
}

.society-members .intro {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1em;
  color: #555;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.member-badge {
  background: white;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.member-badge:hover {
  transform: translateY(-3px);
}

.member-badge h3 {
  font-size: 1.3em;
  margin-bottom: 8px;
}

.member-badge p {
  margin: 0;
  font-size: 0.9em;
  color: #333;
}
.members-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left; /* <-- LEFT-ALIGN the list */
}

.members-list li {
  padding: 10px 0;
  font-size: 1em;
  border-bottom: 1px solid #ddd;
  text-align: left; /* <-- Ensure individual lines are left-aligned */
}

@media (max-width: 600px) {
  .members-list li {
    font-size: 0.95em;
  }
}

/*---------------------------------------
  Menu        
-----------------------------------------*/
/* Default — no animation for large screens */
.dropdown-menu {
  max-height: none;
  opacity: 1;
  transform: translateY(0);
  transition: none;
  display: none;
  visibility: visible;
}
.navbar-nav .nav-link {
  display: inline-block;
  color: var(--blue-color);
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded=true] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded=true] .navbar-toggler-icon:before, .navbar-toggler[aria-expanded=true] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded=true] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded=true] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--blue-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--blue-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}
#main-navbar {
  margin-top: -5px !important;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    height: calc(100vh - 51px);
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    text-align: center; /* Ensures text alignment */
}

/* Ensures text styling */
.hero-section small {
    color: var(--white-color);
    text-transform: uppercase;
}

/* Fixes overlay positioning and visibility */
.hero-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensures overlay is behind content */
    background: rgba(0, 0, 0, 0.5); /* Ensures the overlay is actually visible */
}

/* Ensures the container is properly positioned */
.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px; /* Adds spacing inside the section */

}

/* Ensures rows take full height */
.hero-section .container .row {
    height: 100%;
    display: flex;
    align-items: center; /* Centers content inside row */
    justify-content: center;
}
/*---------------------------------------
  ABOUT              
-----------------------------------------*/

.contact-section {
    background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Ensures background is centered */
    position: relative;
    width: 100%; /* Ensures full width */
    padding: 20px 20px; /* Adds spacing inside the section */
    min-height: 20vh; /* Ensures the section has enough height */
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
}

/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
    background-color: #0000FF;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; /* Ensures background is centered */
    position: relative;
    width: 100%; /* Ensures full width */
    padding: 20px 20px; /* Adds spacing inside the section */
    min-height: 40vh; /* Ensures the section has enough height */
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
}
.about-image {
    border-radius: var(--border-radius-medium);
    display: block;
    max-width: 100%; /* Ensures the image scales within its container */
    height: auto; /* Maintains aspect ratio */
    margin: 0 auto; /* Centers the image if it's inside a flexbox or block container */
    object-fit: cover; /* Ensures proper scaling if needed */
}
.about-text-wrap {
  position: relative;
}

.about-text-icon {
  background: var(--primary-color);
  border-radius: 100%;
  font-size: var(--h3-font-size);
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
}

.about-text-info {
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: var(--border-radius-medium);
  border: 1px solid rgba(209, 213, 219, 0.3);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
  padding: 35px;
}
/* =========================
   Brand Tabs (Mobile Friendly)
   Primary: Warrior Red
   Alt theme: Gold (apply .tabs-gold on .tab-container)
   ========================= */


/*---------------------------------------
  TICKET               
-----------------------------------------*/
.ticket-section {
  
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 130px;
}

.ticket-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.ticket-form .form-check {
  position: relative;
  min-height: 52px;
  padding-left: 35px;
}

.ticket-form .form-check .form-check-label {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 12px;
  margin-left: 35px;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
  ARTISTS              
-----------------------------------------*/
.artists-thumb {
    position: relative;
    overflow: hidden; /* Ensures content doesn’t overflow */
    margin-bottom: 30px;
    width: 100%; /* Ensures full responsiveness */
    max-width: 700px; /* Prevents it from getting too large */
    margin-left: auto; /* Centers the box horizontally */
    margin-right: auto; /* Centers the box horizontally */
}
.artists-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 100%;
}

.artists-thumb:hover .artists-hover {
  transform: translateY(0);
  opacity: 1;
}

.artists-hover {
  background-color: var(--primary-color);
  background-color: rgba(248, 203, 46, 0.75);
  border-radius: var(--border-radius-medium);
  backdrop-filter: blur(5px) saturate(180%);
  -webkit-backdrop-filter: blur(5px) saturate(180%);
  margin: 20px;
  padding: 35px;
  transition: all 0.5s ease;
  transform: translateY(100%);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}

.artists-hover p strong {
  color: var(--white-color);
  display: inline-block;
  min-width: 180px;
  margin-right: 20px;
}

.artists-hover p a {
  color: var(--secondary-color);
}

.artists-hover p a:hover {
  color: var(--white-color);
}

.artists-hover hr {
  margin: 1.5rem 0;
}
/* Card Styling */
.privacy-card {
    background: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
    border-radius: 10px;
    color: white !important; /* Ensures all text inside the card is white */
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
    padding: 20px;
}
/* Ensure all child elements inside the card are white */
.privacy-card h4, 
.privacy-card h5, 
.privacy-card p, 
.privacy-card ul, 
.privacy-card li, 
.privacy-card a {
    color: white !important;
}
/* List Styling */
.privacy-card ul {
    padding-left: 20px;
}

/* Links */
.privacy-card a {
    color: #ffd700 !important; /* Gold color for visibility */
    text-decoration: none;
}

.privacy-card a:hover {
    text-decoration: underline;
}
/*---------------------------------------
  SCHEDULE              
-----------------------------------------*/
/* Center Card on Mobile */
.schedule-card {
    background-color: #ffffff; /* White background */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content inside the card */
    justify-content: center; /* Centers content vertically */
    text-align: center; /* Ensures text stays centered */
    margin: 0 auto; /* Centers the card horizontally */
    width: 100%; /* Prevents full width on larger screens while being responsive */
    max-width: 850px !important; /* Forces max-width to apply */
    padding: 10px; /* Adds inner spacing */
    box-sizing: border-box; /* Ensures padding does not affect width */
}



/* Styling for break cards */
.break-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-weight: bold;
    color: white;
}

/* Session Box (For Side-by-Side on Desktop) */
.session-box {
    display: flex; /* Enables flexbox */
    
    
    width: 100%; /* Ensures full width */
    max-width: 600px; /* Adjust for a reasonable max width */
    
    
    
}
.session-box h5 {
  white-space: nowrap;
}
.session-box b {
  white-space: nowrap;
}

/* Full-Page Background Cover with Centered Content */
.schedule-section {
    background-image: url('images/WebsiteBackground.png');
    
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed; /* Keeps background in place on scroll */

    
    position: relative; /* Keeps content properly positioned */
    width: 100%; /* Ensures full width */
    min-height: 100vh; /* Covers entire viewport height */
    padding: 40px 15px; /* Adjusts padding for proper spacing */

    /* Flexbox Centering */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers horizontally */
    justify-content: center; /* Centers vertically */
    text-align: center;
    color: white; /* Ensures text remains visible on dark backgrounds */
}

/* Ensuring Content Inside is Responsive */
.schedule-section .schedule-card {
    max-width: 800px; /* Prevents content from stretching too wide */
    width: 100%; /* Ensures responsiveness */
    margin: 0 auto; /* Centers content horizontally */
    padding: 5px;
}
.table-responsive {
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling on smaller screens */
    display: block; /* Ensures proper layout handling */
    max-width: 100%;
}
/* Styles for alternating break rows */
.table-active {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Light contrast for dark table */
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    padding: 10px;
}
.schedule-table {
    width: 100%; /* Ensures table expands fully */
    table-layout: auto; /* Allows columns to adjust dynamically */
    border-collapse: collapse; /* Ensures spacing is handled properly */
}
/* Ensure table content is responsive */
.schedule-table table {
    width: 100%;
    border-collapse: collapse; /* Ensures proper table structure */
}
.schedule-table .bg-warning {
  background: #f0a5a5 !important;
}

.schedule-table thead th {
  background-color: var(--secondary-color);
}

/* Ensure text inside table is readable */
.schedule-table td, .schedule-table th {
    padding: 12px;
    vertical-align: middle;
    text-align: center;
}
.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom-color: transparent;
}

.schedule-table thead th {
  border-right: 1px solid #c7460a;
  border-bottom-color: transparent;
}

.schedule-table th + td {
  border-bottom: 0;
}

.schedule-table thead th:last-child {
  border-right-color: transparent;
}

.table-background-image-wrap {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  position: relative;
}

.schedule-table h3,
.schedule-table p {
  color: var(--white-color);
  position: relative;
  z-index: 2;
}
.break {
    background-color: #ffebcc;
    text-align: center;
    font-weight: bold;
}

/*---------------------------------------
  PRICING              
-----------------------------------------*/
.pricing-thumb {
    border: 5px dotted var(--dark-color);
    border-radius: var(--border-radius-medium);
    position: relative;
    padding: 30px;
    width: 100%; /* Ensures it scales properly */
    max-width: 800px; /* Prevents it from getting too large */
    margin: 0 auto; /* Centers the box */
    text-align: left; /* Keeps text left-aligned */
    background-color: white; /* Ensures readability */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Adds subtle shadow for better contrast */
    display: flex; /* Enables flex for better control */
    flex-direction: column; /* Stacks content naturally */
    justify-content: center; /* Centers content inside */
}
.pricing-thumb h3 small {
  display: inline-block;
  font-size: var(--p-font-size);
  margin-right: 15px;
}

.pricing-list {
  column-count: 2;
  padding-left: 20px;
}

.pricing-list-item {
  line-height: normal;
  margin-right: 10px;
  margin-bottom: 10px;
}

.pricing-tag {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
}

.pricing-tag span {
  font-size: 180%;
  line-height: normal;
}

.pricing-thumb .link-fx-1 {
  color: var(--primary-color);
}

.pricing-thumb .link-fx-1:hover {
  color: var(--link-hover-color);
}
#Biography {
    white-space: pre-wrap;
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}
/* Eligibility Section */
.eligibility {
  margin: .5rem 0;
}

.eligibility .alert {
  background: #fff8e1; /* soft yellow for attention */
  border: 2px solid #f0ad4e; /* orange-gold border */
  border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #333;
}

.eligibility h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #b90e0a; /* WLHOF accent red */
}

.eligibility h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.25rem;
  color: #444;
}

.eligibility ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
}

.eligibility ul li {
  margin: .5rem 0;
  padding-left: 1.75rem;
  position: relative;
}

.eligibility ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745; /* green checkmark */
  font-weight: bold;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form button[type=submit] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type=submit]:hover, .custom-form button[type=submit]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--blue-color);
  
  overflow: hidden;
  
}

.site-footer-top {
  background-color: var(--secondary-color);
  background-repeat: no-repeat;
  margin-top: auto;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.site-footer-bottom {
  border-top: 1px solid #1f1c1c;
  margin-top: 10px;
}

.site-footer-title {
  color: var(--primary-color); 
}

.site-footer-link,
.copyright-text {
  color: var(--white-color);
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  list-style: none;
  display: inline-block;
  margin-right: 15px;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: flex;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.social-icon-link span {
  display: block;
}

.social-icon-link span:hover::before{
  animation: spinAround 2s linear infinite;
}

@keyframes spinAround {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg);
  }
}


/*---------------------------------------
  RESPONSIVE STYLES                
-----------------------------------------*/
@media (min-width: 1024px) {
  .sponsor-level-basic,
  .sponsor-level-green,
  .sponsor-level-bronze,
  .sponsor-level-silver,
  .sponsor-level-gold {
    width: 33.33%;
    max-width: 320px;
  }
}
.sponsor-container {
        max-width: 850px; /* Restricts size for a balanced layout */
    }



@media screen and (max-width: 1200px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 30px;
  }

  .container-induction,
  .container-ind,
  .container-legacy {
    max-width: 900px;
  }
}
/* Mobile Only Animation */
/* Enable dropdown on hover for desktop only */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
  }
}
@media screen and (max-width: 991px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 30px;
  }

  h4 {
    font-size: 26px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
  	padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .navbar {
    background-color: var(--white-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--menu-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-bold);
  position: relative;
 
}

  .hero-section {
    padding-top: 100px;
    height: auto;
  }

  .pricing-thumb {
    padding: 30px;
  }
}
/* Responsive Adjustments */
@media (max-width: 600px) {
  .card,
   .card-dashboard {
    padding: 8px;
    
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;          /* Allows content to overflow if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card * {
    max-width: 100%;
    box-sizing: border-box;
  }
  .container-induction,
  .container-ind,
  .container-legacy {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow: visible;          /* Allows form to extend */
  }

  iframe {
    width: 100% !important;
    min-height: 800px !important;  /* Add this to prevent form cutoff */
    border: none;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .container-induction,
  .container-ind,
  .container-legacy {
    max-width: 600px;
  }
    
  .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
 .resource-card,
  .card-dashboard {
    width: 100% !important;
    margin: 0 !important; /* removes centering offset */
 }
 
   .sponsor-container {
        max-width: 90%; /* Allows more space on tablets */
    }

  .sponsor-level {
    width: 90%;
    max-width: 90%;
  }

  .custom-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
  .custom-tik {
    font-size: 14px;
    padding: 8px 16px;
  }

  .privacy-card {
        padding: 15px;
    }	
   .hero-section {
        padding-top: 80px; /* Adjust padding for smaller screens */
        height: auto; /* Allows dynamic height adjustment */
        min-height: 80vh;
    }

    .hero-section .container {
        padding-bottom: 30px;
    }
    .about-section .contact-section {
        padding: 40px 15px; /* Adjust padding for smaller screens */
        min-height: 50vh; /* Adjust height for mobile */
    }
    .about-image {
        max-width: 90%; /* Slightly reduces size on tablets */
    }
    .schedule-section {
        background-attachment: scroll; /* Prevents issues with fixed background on mobile */
        min-height: 100vh; /* Ensures it covers full height */
        padding: 20px 10px; /* Adjusts padding for small screens */
    }

    .schedule-section .schedule-card {
        max-width: 450px; /* Prevents card from becoming too wide */
        width: 100%; /* Keeps it fully responsive */
    }
    .schedule-table {
        overflow-x: auto; /* Enables horizontal scrolling if needed */
        display: block; /* Ensures proper rendering on mobile */
        max-width: 100%; /* Prevents overflow */
    }

    .schedule-table table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap; /* Prevents text from wrapping in cells */
    }
    .schedule-table td, .schedule-table th {
        font-size: 0.9rem; /* Reduce font size for smaller screens */
        padding: 8px;
    }
     .col-12 p {
        font-size: 14px; /* Slightly reduces font size for better fit */
        flex-direction: column; /* Stacks icon and text vertically if needed */
    }

    .d-flex {
        flex-wrap: wrap; /* Allows elements to wrap on smaller screens */
    }
    .schedule-table th,
    .schedule-table td {
        font-size: 14px; /* Reduces font size for better fit */
        padding: 8px; /* Adjusts padding */
    }
    .pricing-thumb {
        max-width: 90%; /* Prevents it from taking full width */
        display: flex;
        align-items: center; /* Ensures the box itself is centered */
    }
    .artists-thumb {
        max-width: 90%; /* Allows it to scale down properly on tablets */
    }
     .schedule-card {
        width: 100%; /* Slightly reduced width for better spacing */
        max-width: 450px; /* Keeps it readable without being too wide */
    }
}
@media screen and (max-width: 576px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  .container-induction,
  .container-ind,
  .container-legacy {
    max-width: 100%;
    padding: 0px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  .custom-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  .custom-tik {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-section {
    padding-top: 60px;
  }
  .about-section .contact-section {
        padding: 30px 10px; /* Further reduce padding for very small screens */
        min-height: 50vh; /* Ensures it doesn't take too much space */
  }
  .about-image {
        max-width: 100%; /* Ensures the image fits well on small screens */
    }
   .schedule-section {
        min-height: 50vh; /* Adjust height for smaller screens */
        padding: 30px 10px; /* Further reduces padding for mobile screens */
        background-position: top center; /* Adjusts positioning for mobile */
    } 
    .schedule-table {
        padding: 10px; /* Adds some internal spacing for better layout */
    }

    .schedule-table table {
        font-size: 14px; /* Reduces text size slightly for better readability */
    }
    .schedule-table {
        font-size: 12px; /* Further reduces font size for smaller screens */
    }

    .schedule-table th,
    .schedule-table td {
        padding: 6px; /* Reduces padding */
    }
    .pricing-thumb {
        max-width: 95%; /* Slightly increases width for a balanced look */
        padding: 20px; /* Reduces padding for better spacing */
    }
    .artists-thumb {
        max-width: 95%; /* Slightly increases width for a balanced look */
        margin-bottom: 20px; /* Adjusts spacing for smaller screens */
    }
}    
 /* ===== Add-on: Responsive + Utilities (non-destructive) ===== */

/* Variables (optional helpers) */
:root {
  --color-primary: #007BFF;
  --color-border: #e5e7eb;
  --radius-md: 10px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
}

/* Utilities you can opt into */
.container { max-width: 760px; margin: 0 auto; }
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.muted { color: #666; }

/* Better keyboard focus (adds outline but doesn’t change layout) */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(0,123,255,.35);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Images scale down on small screens if you use images */
img { max-width: 100%; height: auto; }

/* --- Mobile-only enhancements (<=600px) --- */
@media (max-width: 600px) {
  /* So content isn’t cramped on phones */
  body { padding: 12px; }

  /* Keep form fields readable on iOS (prevents auto-zoom) */
  input[type=text],
  input[type=email] { font-size: 16px; }

  /* Easier tapping: stack nav links vertically */
  .nav-links a {
    display: block;
    margin: 8px 0;     /* preserves your existing margin-right on desktop */
  }

  /* Make primary action easy to tap */
  input[type=submit] {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
}
/* Adjust navbar link spacing ONLY on mobile (collapsed menu) */
/* Place AFTER Bootstrap and your main stylesheet */
/* Place AFTER Bootstrap */
/* Super-tight mobile navbar spacing */
/* Compact + touch-friendly mobile navbar */
/* Super-compact mobile nav links */
@media (max-width: 991.98px) {
  #main-navbar .navbar-nav .nav-item {
    margin: 0 !important;
  }

  #main-navbar .navbar-nav .nav-link,
  #main-navbar .dropdown-menu .dropdown-item {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    line-height: 1.1 !important;   /* compress text block */
    font-size: 0.9rem;             /* slightly smaller text */
  }

  #main-navbar .dropdown-menu {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #main-navbar .dropdown-divider {
    margin: 0.1rem 0 !important;
  }
}


/* Print-friendly tweaks (no effect on screen) */
@media print {
  a { text-decoration: none; color: inherit; }
  .card { box-shadow: none; }
}/* --- Mobile fixes for Ambassadors page --- */

/* Let cards shrink on phones */
@media (max-width: 600px) {
  .card {
    min-height: auto !important;
  }
}

/* Reduce top gap under navbar on smaller screens */
@media (max-width: 768px) {
  .container-induction,
  .container-ind,
  .container-legacy {
    margin-top: 40px !important;  /* was 95px / 40px */
  }
}


/* Prevent iOS zoom on text inputs */
@media (max-width: 600px) {
  input[type=text], input[type=email], input[type=tel] { font-size: 16px; }
}
/* ================================
   GLOBAL LAYOUT TWEAKS (SAFE)
   ================================ */


/* Cards grow/shrink naturally; no forced huge min-height on phones */
@media (max-width: 600px) {
  .card { min-height: auto !important; }
}

/* Prevent iOS zoom when focusing small inputs */
@media (max-width: 600px) {
  input[type=text], input[type=email], input[type=tel], input[type=number],
  select, textarea { font-size: 16px; }
}


/* ================================
   EASYTABS (BINDER-STYLE, MOBILE)
   ================================ */

.tab-container { margin-top: 0.5rem; }

/* Scrollable, single-row tabs */
.etabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.25rem;

  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0 0.25rem;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  
  border-bottom: 1px solid #ccc;
  scrollbar-width: none;          /* Firefox */
}
.etabs::-webkit-scrollbar { display: none; }   /* Chrome/Safari */
.etabs .tab { flex: 0 0 auto; scroll-snap-align: start; }

/* Tab buttons */
.etabs .tab a {
  display: inline-block;
  padding: 0.6rem 1rem;
  min-height: 44px;               /* thumb-friendly */
  font-weight: 600;
  text-decoration: none;

  color: #495057;
  background: #f8f9fa;
  border: 1px solid #ccc;
  border-bottom: none;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;

  box-shadow: 0 -2px 3px rgba(0,0,0,.05) inset;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.etabs .tab a:hover { background: #e9ecef; color: #212529; }

/* Active tab — brand red */
.etabs .tab.active a,
.etabs .tab a.active {
  background: #b22222;
  color: #fff;
  border-color: #b22222 #b22222 #fff;
  box-shadow: 0 -2px 6px rgba(178,34,34,.25);
  position: relative;
  z-index: 2;
}

/* Panels */
.panel-container {
  border: 1px solid #ccc;
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  background: #fff;
  padding: 1rem;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Small-screen tightening */
@media (max-width: 576px) {
  .etabs { gap: 0.2rem; padding: 0.2rem; }
  .etabs .tab a { padding: 0.55rem 0.9rem; font-size: 0.95rem; }
}

/* Accessible focus */
.etabs .tab a:focus {
  outline: 2px solid #b22222;
  outline-offset: 2px;
}
/* === Tabs: force horizontal row on desktop === */


/* ================================
   APPLY TAB (EMBED/FORM SPACING)
   ================================ */

 #tab-apply .form-all,
 #tab-apply .form-header-group {
   margin-top: 0 !important;
   padding-top: 0 !important;
 }
 /* === Tabs: enforce horizontal layout on desktop === */
@media (min-width: 768px) {
  .tab-container > .etabs {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
  }
  .tab-container > .etabs > .tab {
    display: inline-flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }
  .tab-container > .etabs > .tab > a {
    display: inline-block !important;
    white-space: nowrap;
  }
}
/* ==== TABS — BULLETPROOF DESKTOP FIX (keep last in file) ==== */
/* Mobile-first: stack tabs as full-width buttons (no scroll strip) */
ul.etabs {
  display: flex;
  flex-direction: column;      /* stack on mobile */
  align-items: stretch;
  gap: 0.4rem;

  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;                   /* no bottom border on mobile stack */
}

ul.etabs > li {
  width: 100%;
  flex: 0 0 auto;
}

ul.etabs > li > a {
  display: block;
  width: 100%;
  white-space: normal;
  text-decoration: none;
  font-weight: 600;

  padding: 0.6rem 1rem;
  color: #495057;
  background: #f8f9fa;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}

ul.etabs > li > a.active {
  background: #b22222;
  color: #fff;
  border-color: #b22222;
}

/* Desktop: convert to a single horizontal row of tabs */
@media (min-width: 768px) {
  /* Make the tab row truly horizontal on desktop */
  ul.etabs {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    flex-wrap: nowrap !important;      /* keeps one line */
    gap: 0.25rem !important;
    width: 100% !important;
    border-bottom: 1px solid #ccc;     /* classic tab underline on desktop */
    padding-bottom: 0.25rem;
  }

  /* Keep each tab compact; never stretch full width */
  ul.etabs > li {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
  }

  /* Links behave like “tab” buttons (not blocks) */
  ul.etabs > li > a {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;

    border-radius: 0.5rem 0.5rem 0 0;  /* tab top corners */
    border-bottom: none;               /* blend into panel container */
    background: #f8f9fa;
  }

  /* Panels below; full width */
  .panel-container {
    display: block !important;
    width: 100% !important;
    border: 1px solid #ccc;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    background: #fff;
    padding: 1rem;
  }
}


/* Panel visibility helpers (if not already present) */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
