/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Bitcount&family=Lexend+Deca:wght@100..900&family=Lugrasimo&family=Manufacturing+Consent&family=Molle:ital@1&family=Ranga:wght@400;700&family=Petit+Formal+Script&family=Romanesco&display=swap');

:root {
      --caption-overlay: 10px; /* how much the caption overlaps onto the image */
    }

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
	background-color:#191d25;
	font-family:"Lexend Deca", sans-serif;
	font-style: normal;
	margin: 0;
  padding: 0;
  height: 100%;
	/*display: flex;*/
  /*flex-direction: column;*/
	
}

.page-wrapper {
  min-height: 100vh;       /* always at least full viewport height */
  display: flex;
  flex-direction: column;
}



main {
	flex: 1;
}

.main-body {
	width: 85%;
	margin-top: 40px;
	margin-left: auto;
  margin-right: auto;
}

/* Sticky header bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1432e6;
  color: #fff;
  text-align: center;
  padding: 8px 10px;
}

.chapter-text {
  font-size: 1.4em;
  font-weight: 400;
  font-family: "Ranga", cursive;
}

/* Menu button */
.menu-button {
  position: fixed;
  top: 0;
  left: 10px;
  z-index: 2100;
  background-image: url('/images/menu-bg.png');
  width: 68px;
  height: 68px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-content {
  text-align: center;
  color: #fff;
}

.menu-content i {
  font-size: 24px;
  display: block;
  transition: transform 0.3s;
}

.menu-content span {
  font-size: 12px;
  display: block;
}


.nav-container {
  position: fixed;
  top: -60px; /* directly below sticky header */
  left: 10px;
  background-color: #1432e6;
  border-bottom-right-radius: 12px;
  padding: 20px;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

  overflow: hidden;
  max-height: 0;
	transform: translateY(-100%);
  /*transition: max-height 1s ease;*/
	transition: transform 0.7s cubic-bezier(0.34, 1.46, 0.64, 1), top 1.7s cubic-bezier(0.34, 1.46, 0.64, 1);

  min-width: 260px;
  max-width: fit-content;
}

/* Open state triggers the slide down */
.nav-container.active {
	top: 40px;
  max-height: 1000px; /* adjust as needed for full content */
	transform: translateY(0);
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* NAV LIST */
.main-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  color: white;
}

.main-nav > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-nav a {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
}

.main-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* SUBMENU */
.submenu {
  display: none;
  background-color: #1d3edc;
	list-style: none;
	padding-left: 0;   /* Optional: aligns submenu flush */
  margin: 0;   
}

.has-submenu.open .submenu {
  display: block;
}

.submenu li {
  list-style: none; 
}

.submenu li a {
  padding-left: 40px;
}

/* CHEVRON ROTATION */
.chevron {
  transition: transform 0.3s ease;
}

.has-submenu.open .chevron {
  transform: rotate(180deg);
}

/* ACTION BUTTONS */
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 20px;
}

/* BUTTONS *********** */

.nav-button {
	/* Positioning and overflow are key for the effect */
	position: relative;
	overflow: hidden;

	/* Visual styling */
	background-color: #ffffff;
	color: #0c21b6;
	border: 2px solid #0c21b6;
	padding: 12px 20px;
	border-radius: 50px;
	font-weight: bold;
	font-size: 16px;
	cursor: pointer;

	/* Set z-index to create a stacking context */
	z-index: 1;

	/* Smooth transition for the text color */
	transition: color 0.4s ease-in-out;
	display: inline-block; /* Ensures padding works for links */
  text-decoration: none; /* Remove underline */
	vertical-align: middle; /* Keeps button aligned to text middle */
  margin-left: 0.5em;      /* Small gap from text */
}

/* The ::before pseudo-element creates the blue slide-in effect */
.nav-button::before {
	content: "";
	position: absolute;

	/* --- The Fix --- */
	/* The element starts as a wide curve below the button */
	height: 100%;
	width: 100%;
	border-radius: 50% 50% 0 0; /* Starts as a curve */
	top: 100%;
	left: 0;

	/* Animate both the position and the shape (border-radius) */
	transition: top 0.4s cubic-bezier(0.7, 0, 0.2, 1), 
				border-radius 0.4s cubic-bezier(0.7, 0, 0.2, 1);
	/* --- End of Fix --- */

	background: #0c21b6;

	/* Place the pseudo-element behind the button's text content */
	z-index: -1;
}

/* On hover, slide the pseudo-element up and flatten it */
.nav-button:hover::before {
	top: 0%;
	border-radius: 0; /* Flattens to a rectangle to fill the button */
}

/* On hover, change the text color */
.nav-button:hover {
	color: white;
}

/* Container for the button text and icon to manage z-index */
.nav-button span {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Ensure the icon also changes color smoothly */
.nav-button i {
	font-size: 20px;
}

/* Styles for the heart icon in the Donate button */
.nav-button .heart-icon {
	width: 20px;
	height: 20px;
	display: inline-block;
	transition: filter 0.3s ease;
}

/* On hover, the heart image turns white */
.nav-button:hover .heart-icon {
	filter: brightness(0) invert(1);
}


/* after login info */
.nav-user {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
}

.nav-user-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-user-links i {
  color: white;
  font-size: 14px;
  margin-right: 5px;
}

/* SLIDER*************************************************************/

.banner-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  flex: 1 0 100%;
  position: relative;
}

.slide-image {
  width: 100%;
	
	/****OPTIONS
  height: 100%;
  object-fit: cover; /* Fill screen but keep aspect ratio */
	
	/* option a
	aspect-ratio: 3 / 2; /* 1200x800 ratio 
  object-fit: contain; /* Shows whole image without cropping, good for Portrait */
	
	height: 100vh;
  object-fit: cover; /* Fill container, crop overflow */
  object-position: center; /* Keep center in view */
}

/* Center focus */
.slide-image {
  object-position: center center;
}

/* Focus on top center (if important subject is near top) */
.slide-image {
  object-position: center top;
}

.banner-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  /*font-size: 2em;*/
	font-size: clamp(1.2em, 2vw + 0.5em, 2em);
  font-weight: 900;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  z-index: 3;
  align-items: center;   /* NEW → vertically align text + button */
  
}

.banner-text .nav-button {
  text-shadow: none; /* remove shadow */
	font-weight:400;
}

.banner-text-bottom {
  top: auto;       /* unset top positioning */
  bottom: 15%;     /* place near bottom */
}

.corner {
  position: absolute;
  bottom: -10px;
  right: 0;
  z-index: 2;
}

.corner-bg {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.corner-content {
  position: absolute;
  bottom: 15px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.corner-gif {
  max-width: 260px;
  width: 100%;
  height: auto;
}

.corner-label {
  color: white;
  margin-top: 1px;
}

/* Global pause/play button fixed to bottom right */
.pause-btn {
  background: none;
  border: none;
  position: absolute;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 2000;
}

.progress-ring__circle {
  stroke: white;
  stroke-dasharray: 113;
  stroke-dashoffset: 113;
  transition: stroke-dashoffset 5s linear;
}

.pause-btn .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1em;
}

.corner-txt-tv {
	font-family:"Lugrasimo", cursive;
	font-style: normal;
	font-weight: 400;
	font-size: 2em;
}

.corner-txt-summer {
	font-family:"Molle", cursive;
	font-weight: 400;
	font-size: 2.5em;
}

.corner-txt-spring {
	font-family: "Bitcount", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
	font-size: 2.5em;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0;
}

.corner-txt-fall {
	font-family:"Manufacturing Consent", system-ui;
	font-weight: 400;
	font-style: normal;
	font-size: 2.6em;
}

.molle-regular-italic {
  font-family: "Molle", cursive;
  font-weight: 400;
	color: white;
}

/*
.home-motto {
	font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
	color: #d1d1d2;
	font-size: 2em;
}

.home-chaptermotto {
	font-family: "Lexend Deca", sans-serif;
  font-weight: 700;
  font-style:italic;
	color: #d1d1d2;
	font-size: 2.5em;
}
*/
.home-principles {
	font-family: "Lexend Deca", sans-serif;
  font-weight: 700;
  font-style:italic;
	color: #ededed; /*main off white */
	font-size: 2.5em;
}


/******************* HOME SHIELD *****************************/
.responsive-animate-wrapper {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
}

.shield-wrapper {
  width: 100%;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
	margin-top: 10px;
}

.shield-loader {
  position: absolute;
  top: 40px; /* align to top inside wrapper */
  left: 50%;
  transform: translateX(-50%); /* only center horizontally */
  z-index: 10;
}



.shield-content {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;       /* vertical centering */
  justify-content: center;   /* center horizontally on page */
  gap: 20px;                 /* keep them close */
  opacity: 0;                /* hidden by default */
  transition: opacity 1s ease;
}

.shield-text {
  /* --- NEW --- Give the container a fixed width */
  /* Adjust this value to be wide enough for your longest text */
  width: 450px; 

  /* --- NEW --- Center the text within the fixed-width container */
  text-align: center; 

  /* --- Existing styles (modified for new centering) --- */
  flex: 0 0 auto; /* Keep this to prevent the item from growing/shrinking */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5em; /* This is good, it prevents vertical shifting */
}

.shield-animation {
  flex: 0 0 auto; /* no stretching */
  max-width: 40%; /* tighter width */
  text-align: right; /* ensure canvas hugs right */
}

/* Motto Styles */
.home-motto {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  color: #d1d1d2;
  font-size: clamp(1.3rem, 1.4vw + 1rem, 2.7rem);
  line-height: 1;
	
	
}

.home-chaptermotto {
  font-family: "Lexend Deca", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #d1d1d2;
  font-size: clamp(1.8rem, 2.5vw + 1rem, 3.5rem);
  line-height: 1;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .shield-content {
    flex-direction: column;
    text-align: center;
  }
  .shield-animation,
  .shield-text {
    max-width: 100%;
  }
	
	#dom_overlay_container {
    height: auto !important; /* override Animate’s fixed 300px */
  }
}

@keyframes shield-fast-blink {
  0%, 49%, 100% { opacity: 1; }
  50%, 99% { opacity: 0; }
}

.shield-blink {
  animation: shield-fast-blink 0.2s ease-in-out 3;
}

/********************** HOME PRINCIPLES *******************************/

.topper-container {
    width: 100%;
    /* Give the container a specific height */
    height: 100px; /* Example height */
    overflow: hidden; /* Ensures no part of the image spills out */
}

.topper-container img.topper {
    width: 100%;
    height: 100%;
    /* This is the key property */
    object-fit: cover;
    /* Optional: Control which part of the image stays in view */
    /* e.g., object-position: center top; */
    position: relative;
	object-position: center top;
    top: 0;
    z-index: 1;
}


.principle-wrapper {
  background-color: #306cf0;
  width: 100%;
	padding-bottom: 60px;
  
	
}


/****carousel***/
.carousel-wrap {
      /*width: 95vw;*/
		width:100%;
      /*max-width: 1100px;*/
      margin: 0 auto;
    }

    /* Caption sits outside the image, overlaps downward a few px */
    .carousel-caption {
      text-align: center;
      font-size: 2.7rem;
      font-weight: 700;
      margin-bottom: -25px;
	 z-index: 5;
	 position: relative;
	 font-style:italic;
	 text-shadow: 0 1px 2px rgba(0,0,0,0.65);
	 opacity: 0;
      transition: opacity 300ms ease;
    }

.caption {
      text-align: center;
      font-size: 2.7rem;
      font-weight: 700;
      margin-bottom: -25px;
	 z-index: 5;
	 position: relative;
	 font-style:italic;
	 text-shadow: 0 1px 2px rgba(0,0,0,0.65);
	 
      transition: opacity 300ms ease;
    }
    .carousel-caption.show { opacity: 1; }

/*.caption.show { opacity: 1; } */
 

    /* The window that hides off-screen slides */
    .carousel-container {
      position: relative;
      width: 100%;
      overflow: hidden;
      /* height is set via JS to match the center image */
    }

    .stage {
      position: relative;
      width: 100%;
      height: 100%;
    }

    /* Absolute-positioned slides we move via transform */
    .carousel-slide {
      position: absolute;
      top: 50%;
      left: 50%;
      transition: transform 600ms ease, opacity 600ms ease;
      will-change: transform, opacity;
      opacity: 0;     /* default until positioned */
      z-index: 0;
    }

    .carousel-slide img {
      display: block;
      width: 100%; /* slide gets a pixel width via JS */
      height: auto;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      user-select: none;
      pointer-events: none;
    }

    /* Controls below */
    .controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin: 18px 0 0;
    }

    .btn, .btn:focus, .btn:visited, .btn:link {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: none;
      background: rgba(237,237,237,0.95);
      color: #0551f8;
      font-size: 2rem;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: background 0.25s ease;
    }
    .btn:hover:not(:disabled) { background: rgba(177,200,251,0.95); }
    .btn:disabled {
	  background: rgba(0,0,0,0.2);
	  color: #888;
	  cursor: default;
	  transition: none; /* Prevents transition on disabled state */
	}

	.btn:disabled:hover {
	  background: rgba(0,0,0,0.2); /* Explicitly set same background on hover */
	  color: #888;
	}

    @media (prefers-reduced-motion: reduce) {
      .carousel-slide { transition: none; }
      .carousel-caption { transition: none; }
    }

/********************HOME STEPPING*****************/

.step-wrapper {
  background-color: #0055fa;
  width: 100%;
	padding-bottom: 30px;
	overflow: hidden;
  
	
}

.step-header {
	text-align: center;
      font-size: 2.7rem;
      font-weight: 800;
	 font-style:italic;
	color: #191d25;
	text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

/* Loader */
.loader-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 200px;
}
.loader-gif {
  max-width: 80px;
}

.stepping-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s; 
}

.stepping-content.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
}
/* Heading */
.stepping-heading {
  text-align: center;
      font-size: 2.7rem;
      font-weight: 800;
	 font-style:italic;
	color: #191d25;
	text-shadow: 0 1px 2px rgba(0,0,0,0.65);
}

/* Two-column layout */
.stepping-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto 40px;
  max-width: 1000px;
  gap: 20px;
	padding: 0 5px;
}
.stepping-text { flex: 70%; text-align: left; }
.stepping-stats { 
	flex: 30%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers horizontally */
  justify-content: center; /* centers vertically */
}
.champ-text { font-size: 1em; color: #d1d1d2;  }


/* Video carousel */
.video-carousel {
  width: 100%;
  height: 75vh;
  overflow: hidden;
  position: relative;
}
.video-track {
  display: flex;
  width: 200%;
  /*height: 100%;*/
  transition: transform 0.7s ease;
}

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

/* Controls */
.video-controls {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}


/* Layout */
#stepping-section {
  text-align: center;
  margin: 20px 0;
  position: relative;
}


@media (max-width: 768px) {
    /* Hide the video on screens smaller than 768px */
    #hero-video {
        display: none;
    }
    /* Use the poster image as the background for the container instead */
    .video-hero-container {
        background-image: url('/images/vid/stroll-1-poster.jpg');
        background-size: cover;
        background-position: center;
    }
}

/*********YEAR COUNT****/
.year-counter {
            display: flex;
            font-size: 2.4em; /* Responsive font size */
            font-weight: bold;
            color: #fff;
            letter-spacing: 0.05em;
	text-align: center;
        }

        .digit-container {
            position: relative;
            height: 1.2em; /* Height to fit one digit */
            line-height: 1.2em;
            width: 0.63em; /* Width of a standard character */
            overflow: hidden; /* This is key to the animation */
            text-align: center;
        }

        .digit {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            /* TRANSITION REMOVED FROM HERE to prevent the reset from animating. */
        }
        
        /* THIS IS THE NEW RULE */
        /* Only apply the transition when the animation is active. */
        .digit-container.animate .digit {
            transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .digit.current {
            transform: translateY(0);
        }

        .digit.next {
            transform: translateY(-100%); /* Positioned above the view */
        }

        /* Animation Trigger State */
        .digit-container.animate .digit.current {
            transform: translateY(100%); /* Scrolls down, out of view */
        }

        .digit-container.animate .digit.next {
            transform: translateY(0); /* Scrolls down, into view */
        }

/*********************HOME PAGEANT  ******************/


.pageant-wrapper {
      background-color: #1e3cef;
      width: 100%;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 0; /* Add some padding for the buttons */
    }

    .pageant-content {
      display: none; /* Initially hidden until JS runs */
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      color: #fff;
    }
    
    /* NEW: Container for the left column (image + buttons) */
    .pageant-left-col {
      flex: 0 0 60%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .pageant-left {
      width: 100%;
      height: 70vh; /* Set a fixed height for the image area */
      position: relative;
      overflow: hidden;
    }

    .contestant {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      /* Initially hidden by JS */
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .image-wrap {
      width: 92%;
      height: 92%;
      border-radius: 20px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 6px 20px rgba(0,0,0,0.35);
      background: #000;
    }

    .image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .pageant-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      box-sizing: border-box;
      background: rgba(30, 60, 239, 0.7);
      backdrop-filter: blur(8px);
      padding: 12px 16px;
      text-align: center;
      font-size: 1rem;
      color: #fff;
      transform: translateY(110%);
    }

    /* --- NEW: Button Navigation Styles --- */
    .pageant-nav {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 20px;
    }

    /* --- End Button Styles --- */


    .pageant-right {
      flex: 0 0 40%;
      display: flex;
      flex-direction: column;
   
      padding: 20px;
      box-sizing: border-box;
    }

    .pageant-title1, .pageant-title2, .pageant-desc, .pageant-links {
      opacity: 0; /* Initially hidden */
    }

    .pageant-title1 {
      font-size: 2.5rem;
      font-weight: 800;
	 font-style:italic;
	color: #191d25;
	text-shadow: 0 1px 2px rgba(0,0,0,0.65);
      opacity: 0;
    }

    .pageant-title2 {
      font-family: "Petit Formal Script", cursive;
      font-size: 1.8rem;
      margin-top: -5px;
      opacity: 0;
    }

    .pageant-desc {
      margin-top: 20px;
      font-size: 1rem;
      line-height: 1.5;
      opacity: 0;
    }

    .pageant-links {
      margin-top: 20px;
      opacity: 0;
    }

    .pageant-links a {
      margin: 5px 0;
      color: #d1d1d2;
      text-decoration: underline;
      font-weight: 500;
    }

    .pageant-links a:hover {
      text-decoration: none;
		color: #fff;
    }

    /* small responsive tweak */
    @media (max-width: 900px) {
      .pageant-wrapper { height: auto; } /* Let height be natural on mobile */
      .pageant-content { flex-direction: column; height: auto; padding-bottom: 40px; }
      .pageant-left, .pageant-right { flex: 1 1 100%; width: 100%; }
      .pageant-left { min-height: 60vh; }
    }



/*********************HOME SPOTLIGHT ******************/

.spot-wrapper {
  background-color: #0e24c5;
  width: 100%;
	padding-bottom: 30px;
  
	
}

/* Spotlight Section */
.spotlight {
  display: flex;
  align-items: flex-start; /* align content to top */
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.spotlight-left {
  flex: 1 1 50%;
}

.spotlight-heading {
  font-size: 2.5rem;
      font-weight: 800;
	 font-style:italic;
	color: #191d25;
	text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.spotlight-icon {
  width: 50px;
  height: auto;
  margin-right: 0.75rem;
}

.spotlight-text {
  font-size: 1.1rem;
  line-height: 1.6;
}

.spotlight-right {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

/* Spotlight image container */
.spotlight-right {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.spotlight-img-container {
  width: 300px;   /* standard width */
  height: 320px;  /* standard height */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop/scale without distortion */
	margin: 0 auto;
	display: block;
}


/* Responsive */
@media (max-width: 768px) {
  .spotlight {
    flex-direction: column;
    text-align: center;
  }

  .spotlight-heading {
    justify-content: center;
  }

  .spotlight-left,
  .spotlight-right {
    flex: 1 1 100%;
  }

  .spotlight-right {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;   /* forces children to center horizontally */
  }

  .spotlight-img-container {
    width: 90%;
    max-width: 400px;
    aspect-ratio: 3 / 3.5;
    margin: 0 auto;       /* centers container itself */
  }

  .spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    display: block;       /* removes inline spacing quirks */
    margin: 0 auto;       /* ensures it sits in the middle */
  }
}

/****************** PRESIDENT**********************/
/* CSS */
.prez-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.prez-container {
  display: flex;
  gap: 30px;
  align-items: flex-start; /* aligns top of right with image */
}

.prez-left {
  flex: 0 0 270px;
  height: 270px;
}

.prez-image {
  width: 300px;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Right content */
.prez-heading {
  font-size: 2.5rem;
      font-weight: 800;
	 font-style:italic;
	color: #191d25;
	text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  margin-bottom: 10px;
	align-items: center;
}

.prez-message {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.prez-name {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Fade-in animations */
.prez-heading,
.prez-image,
.prez-message,
.prez-name {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.prez-heading.show,
.prez-image.show,
.prez-message.show,
.prez-name.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .prez-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .prez-left {
    margin-bottom: 20px;
  }
}



/*********************FOOTER ******************/

.site-footer {
  background: #1432e6;
  color: #fff;
  width: 100%;
  font-family: Arial, sans-serif;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 100px;
  height: auto;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-social a {
  color: #fff;
  font-size: 1.6rem;
  margin: 0 8px;
  display: inline-block;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #d1d1d2;
}

.footer-nav {
  margin-top: 10px;
}

.footer-nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #d1d1d2;
}

.footer-right {
  text-align: right;
}

.footer-right .login {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-right .donate-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #ffcc00;
  color: #1432e6;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.footer-right .donate-btn:hover {
  background: #ffd633;
}

.footer-address {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding: 10px 0;
}

.footer-bg {
  background: url("/images/footer-bg.png") repeat-x;
  height: 45px;
  width: 100%;
}

/* Responsive: Mobile Stack */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    text-align: center;
    margin-top: 15px;
  }
}

/*********************** HEADER ********************************/

.header-container {
  width: 100%;
  height: 265px;
  overflow: hidden;
  position: relative;
  background-color: #1a1a1a; /* Added a dark background for visibility */
}

.header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;   /* Let GSAP handle the oversizing with 'scale' */
  height: 100%;  /* Let GSAP handle the oversizing with 'scale' */
  object-fit: cover;
  transform-origin: center center;
  will-change: transform; /* Performance hint */
}

/* --- NEW: Parallax Layer Styles --- */

/* Keyframe Animations for Horizontal Scrolling */
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-2100px); } /* Must be the width of the image */
}

@keyframes scroll-right {
  from { background-position-x: -2100px; } /* Must be the width of the image */
  to { background-position-x: 0; }
}

/* Common styles for all parallax layers */
.parallax-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 145px; /* The height of your parallax images */
  background-repeat: repeat-x;
  background-position: 0 0; /* Aligns background to top-left of the div */
  will-change: background-position;
}

/* Layer 1: The simple repeating background (static) */
.parallax-bg-repeat {
  /* Replace with the actual path to your repeating image */
  background-image: url('/images/headers/header-blocks.png');
  z-index: 10; /* Sits above the main header-image (z-index 0) */
}

/* Layer 2: The wide stars image (slow, left to right) */
.parallax-stars {
  background-image: url('/images/headers/header-widestars.png');
  z-index: 20; /* Sits on top of the repeating background */
  animation: scroll-right 90s linear infinite; /* 90s duration = very slow */
}

/* Layer 3: The other wide image (faster, right to left) */
.parallax-foreground {
  display: flex;              /* place the two images side by side */
  width: 4200px;              /* 2 × 2100px */
  animation: scroll-left 85s linear infinite;
  z-index: 30;
}

.parallax-img {
  flex-shrink: 0; /* Prevents images from shrinking to fit */
  width: 2100px;  /* Explicitly set the width of each image */
  height: 100%;
  object-fit: cover;
}

.page-title-bar {
  margin-top: 2px;
  background-image: url('/images/headers/header-diag.png');
  background-repeat: repeat-x;
  background-position: center;
  height: 43px;	
  color: #FFFFFF; /* Assuming you want white text */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Adds readability */
	display: flex;
  justify-content: center; /* Horizontally centers the text */
  align-items: center;
	padding-top: 20px;
}

.page-title-bar h1 {
  margin: 0;
  font-family: "Ranga", cursive;
  font-size: 2.8em;
  font-weight: 600;
}

/*********MuEp page ***************/
/* CSS */
.mereg-container {
  display: flex;
  width: 100%;
  min-height: 400px;
  flex-wrap: wrap; /* allow stacking on small screens */
	margin-bottom: 40px;
}

.mereg-left,
.mereg-right {
  width: 50%;
  display: flex;
  box-sizing: border-box;
}

.mereg-left {
  border-right: 5px solid #1432e6;
  padding: 10px 0; /* makes border taller than box */
  justify-content: flex-end; /* push black box to the border */
  align-items: center;
}

.mereg-login-box {
  background: #000;
  color: #fff;
  padding: 40px 30px;
  width: 90%; /* take up most of left side */
  max-width: 400px;
  text-align: center;
}

.mereg-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.mereg-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mereg-input {
  padding: 10px;
  border: none;
  border-radius: 4px;
}

.mereg-button {
  background: #1432e6;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s;
}

.mereg-button:hover {
  background: #0f28b3;
}

.mereg-right {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px;
  color: #000;
}

.mereg-register-text {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.4;
}


/* Responsive - stack on mobile */
@media (max-width: 768px) {
  .mereg-left,
  .mereg-right {
    width: 100%;
    border-right: none;
  }

  .mereg-left {
    border-bottom: 5px solid #1432e6; /* border still visible on mobile */
    justify-content: center; /* center login box when stacked */
  }

  .mereg-login-box {
    width: 95%; /* stretch a little more on mobile */
  }

  .mereg-right {
    padding: 20px;
  }
}

/******** CONTACT ******************/
.contact-container {
  display: flex;
  width: 100%;
  min-height: 400px;
  flex-wrap: wrap; /* stack on small screens */
  margin-bottom: 40px;
}

.contact-left,
.contact-right {

  display: flex;
  box-sizing: border-box;
}

/* Address/info side */
.contact-left {
  /*justify-content: flex-start;
  align-items: center; */
	width: 40%;
}

/* Put border directly against the black box, not the address text */
.contact-right {
  border-left: 5px solid #1432e6;
  justify-content: flex-start;
  align-items: center;
	padding: 25px 0;
	width: 60%;
}

/* Contact info (left side) */
.contact-info {
  padding: 40px 30px;
  max-width: 400px;
}

/* Contact form (black box) */
.contact-form-box {
  background: #000;
  color: #fff;
  padding: 40px 30px;
  width: 90%;
  max-width: 600px;
  margin-left: 0;  /* align directly to border */
  text-align:left;
}

.contact-title {
  margin-bottom: 20px;
  font-size: 1.4rem;
	font-weight: 300;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.envelope-success {
  text-align: center;
  padding: 40px;
}

.envelope-success i {
  font-size: 60px;
  color: #1432e6;
}

.tada {
  animation: tada 1s infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-left,
  .contact-right {
    width: 100%;
    border-left: none;
  }

  /* Address stacks first */
  .contact-right {
    order: 1;
    border-top: 5px solid #1432e6; /* top border instead of bottom */
    justify-content: center;
    text-align: center;
  }

  .contact-info {
    width: 95%;
    padding: 20px;
  }

  /* Form stacks below */
  .contact-right {
    order: 2;
    justify-content: center;
  }

  .contact-form-box {
    width: 95%;
    margin: 20px 0;
  }
}

#rotating-text {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  font-weight: bold;
  color: #1432e6; /* make it pop in blue (optional) */
}

/*******chapter line admin *********/
.steps-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.steps-progress .step {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-bottom: 4px solid #444;
  color: #777;
}
.steps-progress .step.active {
  border-color: #007bff;
  color: #fff;
  font-weight: bold;
}


/********************* PAGES *****************************************************/

/****************** LINES ****************************/
.linepage-container {
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 20px;
}

.linepage-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.linepage-search-container {
  position: relative;
  flex: 1 1 250px;
}

.linepage-search {
  width: 100%;
  padding: 8px 35px 8px 10px;
  border-radius: 5px;
  border: 1px solid #444;
  background-color: #1f1f1f;
  color: #fff;
}

.linepage-search::placeholder {
  color: #aaa;
}

.linepage-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #aaa;
}

.linepage-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.linepage-filter {
  padding: 8px;
  border-radius: 5px;
  background-color: #1f1f1f;
  color: #fff;
  border: 1px solid #444;
  min-width: 150px;
}

.linepage-loader {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.linepage-loader img {
  height: 24px;
  width: 24px;
}

/* Results */
.linepage-results {
  width: 100%;
}

.linepage-chapterline {
  background-color: #000;
  font-weight: bold;
  padding: 10px;
  margin-top: 10px;
}

.linepage-linebro {
  padding: 8px 10px 8px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.linepage-linebro:nth-child(odd) {
  background-color: #343638;
}

.linepage-linebro:nth-child(even) {
  background-color: #27292a;
}

.linepage-linebro img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.linepage-linename {
  font-style: italic;
  color: #bbb;
}

.linepage-highlight {
  color: #1432e6;
  font-weight: bold;
}

/*********** BRO NAV *****************/

/* Wrapper includes both tab and panel */
.secure-nav-wrapper {
  position: fixed;
  top: 100px;
  right: 0;
  display: flex;
  flex-direction: row-reverse; /* tab stays at right edge */
  align-items: flex-start;
  transform: translateX(260px);
  transition: transform 0.3s ease;
  z-index: 1000;
	
}

/* When open, slide whole wrapper left by panel width */
.secure-nav-wrapper.open {
  transform: translateX(0); /* match panel width */
}

/* The tab that stays visible */
.secure-nav-tab {
  background-color: #1432e6;
  color: #fff;
  padding: 10px 12px;
  width: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  user-select: none;
  z-index: 2;
	margin-top: 20px;
	box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}

.secure-nav-tab i {
  font-size: 24px;
}

.menu-label {
  font-size: 10px;
  margin-top: 4px;
}

/* Panel content */
.secure-nav-panel {
  background-color: #404040;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  min-width: 260px;
  padding: 20px 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  z-index: 1;
	/*backdrop-filter: blur(2px);
	background-color: rgba(255, 255, 253, 0.7);*/
}

/* Panel links */
.secure-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 15px;
}

.secure-nav-panel li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid #6a6969;
}

.secure-nav-panel li:last-child {
  border-bottom: none;
}

.secure-nav-panel li i {
  margin-right: 10px;
  font-size: 20px;
  color: #2c2b2b;
}

.secure-nav-panel li:hover {
  background-color: #6a6969;
}


/* --- START: STYLING FOR THE DARK THEME --- */
.ck-editor__editable_inline {
	min-height: 250px;
	/* Your desired dark theme */
	background-color: #343638 !important;
	color: white !important;
}
/* Style the toolbar to better match the theme */
.ck.ck-toolbar {
	background: #f0f0f0;
	border-color: #c9c9c9;
}
/* --- END: STYLING FOR THE DARK THEME --- */

/*********************LINES DEANS ********************/
/* --- Container --- */
.secureline-container {
  width: 100%;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
}

/* --- Controls Row --- */
.secureline-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
}

/* --- Search --- */
.secureline-search-container {
  position: relative;
  flex: 1;
  max-width: 280px;
}
.secureline-search-container input {
  width: 100%;
  padding: 8px 35px 8px 10px;
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #1e1f20;
  color: #fff;
  outline: none;
}
.secureline-search-icon {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 18px;
  color: #bbb;
}

/* --- Filters --- */
.secureline-filters select {
  background-color: #1e1f20;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
}

/* --- Loader --- */
.secureline-loader {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}
.secureline-loader img {
  width: 40px;
  height: 40px;
}

/* --- Results --- */
.secureline-results {
  width: 100%;
}

/* --- Chapter Header --- */
.secureline-header {
  background-color: #000;
  padding: 12px 15px;
  font-weight: bold;
  border-bottom: 2px solid #333;
}
.secureline-header small {
  display: block;
  font-weight: normal;
  color: #ccc;
  margin-top: 3px;
}

/* --- Line Brothers --- */
.secureline-brothers {
  padding: 10px 15px 10px 35px;
}
.secureline-brothers:nth-child(even) {
  background-color: #343638;
}
.secureline-brothers:nth-child(odd) {
  background-color: #27292a;
}


.secureline-bro {
  display: flex;
  align-items: center;
 
}
.secureline-bro img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 10px;
}
.secureline-bro-number {
  font-weight: bold;
  margin-right: 5px;
}
.secureline-bro-name {
  font-size: 14px;
}
.secureline-bro-linename {
  font-style: italic;
  margin-left: 5px;
  color: #9fa2a4;
}


/*******updates ******/
/* Each chapter line block */
.secureline-line-block {
  width: 100%;
}

.secureline-header {
  background-color: #000;
  padding: 12px 15px;
  font-weight: bold;
  border-bottom: 2px solid #333;
}
.secureline-header small {
  display: block;
  font-weight: normal;
  color: #ccc;
  margin-top: 3px;
}



.highlight-search {
  color: #1432e6;
  font-weight: 600;
}

[data-hover]:hover::after {
  content: attr(data-hover);
  position: absolute;
  background: #111;
  color: #fff;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 12px;
  top: 100%;
  left: 0;
  white-space: nowrap;
  z-index: 10;
}


/*********************FORMS****************************/

.input-wrapper {
  position: relative; /* creates positioning context */
  display: inline-block;
  width: 100%;
  max-width: 500px; /* match .form-field width */
}

/* --- Standard Form Field Styling --- */
.form-field {
  /* Core Sizing Strategy */
  width: 100%;
  max-width: 500px; /* Adjust this value to your design's needs */
  box-sizing: border-box; /* Crucial for predictable sizing */

  /* Additional styling for a consistent look */
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #343638;
	color: #fff;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Style for when the field is focused */
.form-field:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Specific adjustment for textareas */
textarea.form-field {
  resize: vertical; /* Allow users to resize vertically only */
  min-height: 120px;
}

.form-group {
  /* This one line of code solves the problem */
  margin-bottom: 1rem; /* Adjust value as needed. 1rem is typically 16px. */
}

/* We should also remove the default browser margin from the last group in a form 
   to avoid extra space at the bottom. */
.form-group:last-child {
  margin-bottom: 0;
}

/* --- Optional but recommended styles for the label --- */
.form-group label {
  display: block; /* Makes the label take its own line */
  font-weight: 600;
	color: #edf6fe;
  margin-bottom: 0.5rem; /* Space between the label and its input */
}

.form-group .radio-group {
  display: flex;
  gap: 1rem; /* spacing between Yes/No */
  align-items: center;
}

.form-group .radio-group label {
  display: inline-block;
  font-weight: normal;
  margin-bottom: 0;
  color: #edf6fe;
}

.checkbox_contain {
  display: flex;
  gap: 1rem; /* spacing between Yes/No */
  align-items: center;
}

.checkboxes {
	width: 20px; /* Adjust as desired */
  height: 20px; /* Adjust as desired */
}

.reg_submitbutton {
  background-color: #edf6fe;
  color: #1432e6;
  font-weight: bold;
  border: 1px solid #0e24c5; 
  font-family: Arial;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  padding: 4px 20px;
	height: 40px;
}
.reg_submitbutton:active:hover:not([disabled]) {
  background-color: #ddd; 
  color: #fff;
}

.reg_submitbutton:disabled,
.reg_submitbutton[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
button[disabled]:hover {
    background-color: #cccccc;
	color: #666666;
}


.reg_submitbutton:hover {
  background-color: #0055fa; 
  color: #fff;

}

::placeholder {
  color: #929292;
  opacity: 1; /* To fix Firefox's default lower opacity */
}
.loader-icon {
  position: absolute;
  right: 10px;   /* keeps it inside, on the far right */
  top: 50%;
  transform: translateY(-50%); /* vertical centering */
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-icon img {
  max-width: 100%;
  max-height: 100%;
}

#statusMessage { margin-top: 15px; padding: 10px; border-radius: 5px; display: none; }

.success-msg {
  margin-top: 15px;
  color: #39F214;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.success-msg i {
  font-size: 1.2rem;
}

.error-submit-msg {
  margin-top: 15px;
  color: #D90C0F;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.error-submit-msg i {
  font-size: 1.2rem;
}

.error-msg {
  display: block;       /* force on its own line */
  margin-top: 0.25rem;  /* small spacing below the input */
  font-size: 0.875rem;  /* slightly smaller text */
  color: #D90C0F;       /* bright red */
}

.saved-msg {
  margin-left: 8px;
  color: #39F214;
  font-size: 0.95em;
  opacity: 1;
  transition: opacity 2s ease;
}

.saved-msg.fade-out {
  opacity: 0;
}

.form-field.error {
  border: 2px solid #D90C0F;
}

/*contact form*/
.form-field-contacts {
  max-width: 600px; 

}

/*multi-select*********/
.profession-box {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px;
  height: 220px; /* shows about 10 items */
  overflow-y: auto;
  background: #343638;
	max-width: 500px;
}

.profession-item {
  padding: 8px 10px;
  margin: 2px 0;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
	color: #fff;
}

.profession-item:hover {
  background: #131519;
}

.profession-item.selected {
  background: #000;
  font-weight: 600;
}

.profession-item .checkmark {
  display: inline-block;
  width: 20px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  margin-right: 6px;
}


/************404***********/
.notfound_404_contain {
	text-align: center;
	
	}
.notfound_404_contain img{
	display: block; /*need for centering*/
		max-width: 100%;
	text-align: center;
	margin: 0 auto;
	align-items: center;
	}

/*************MODAL**************/
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  overflow-y: auto;        /* allow page scroll if modal is tall */
  padding: 40px 0;         /* top/bottom margin for modal content */
  z-index: 9999;
}

.modal-content {
  background: #000;
  margin: auto;            /* center horizontally */
  padding: 20px;
  border-radius: 8px;
  width: 600px;
  max-width: 95%;
}

      
.modal-close { 
	float:right; 
	cursor:pointer; 
	font-size:40px; 
	color: #929090;
	margin-top: -20px;
}

.modal-inner {
	color: #fff;
}

/* Table Styling */
#modal-table {
  width: 100%;
  border-collapse: collapse;
}

#modal-table thead {
  background-color: #191d25;
  text-align: left;
}

#modal-table th,
#modal-table td {
  padding: 10px;
  border: 1px solid #444546;
}

#modal-table tbody tr:nth-child(even) {
  background-color: #343638;
}

#modal-table tbody tr:nth-child(odd) {
  background-color: #27292a;
}

.delete-link {
    color: #D90C0F !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.delete-link:hover {
    color: #B8090C !important;
    text-decoration: none;
}

.delete-link:visited {
    color: #D90C0F !important;
}

/***** SEC BOXES ***********************/
.secbox {
	padding: 10px;
  border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	margin-bottom: 15px;
	margin-top: 10px;
 
}

.secbox h2 {
	font-weight: 400;
	font-size: 1.6em;
	margin: 0 0 8px;
}

.secbox_blue {
	background:#010b3d;
	border: 1px solid #0923c1;
}

.secbox_black {
	background: #050403;
	border: 1px solid #434242;
}

.secbox_purple {
	background: #d4cffd;
	border: 1px solid #423d6b;
}

.secbox_orange {
	background: #fcddb9;
	border: 1px solid #ae630a;
}

/********** Accordion **************/
.accordion-container {
  /*max-width: 600px;*/
	width: 100%;
  margin: auto;
}

.accordion-item {
  background: #110f0e;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #110f0e;
  color: #cbcac9;
  font-size: 1.4rem;
  padding: 15px 20px;
  text-align: left;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.accordion-header i {
  margin-right: 10px;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.accordion-header.active {
  background: #000;
}

.accordion-header-red {
  background:#EB383B;
}

.accordion-header .rotated {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #131312;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

/***********IMAGE UPLOADER**************/
.progress-container {
            width: 100%;
            background: #343638;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 10px;
            display: none;
        }

        .progress-bar {
            width: 0%;
            height: 20px;
            background: #1432e6;
            text-align: center;
            color: white;
            line-height: 20px;
            border-radius: 10px;
        }
#error-msg {
            color: red;
            font-weight: bold;
            margin-top: 10px;
        }


.upload_pic_circle {
      width: 35px;
      object-fit: cover;
      border-radius: 50%;
    }
/*********************** TEXT ********************************/

p {
  color:#edf6fe;
  font-family:"Lexend Deca", sans-serif;
	font-style: normal;
	margin: 0;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 1.5;
}

p.txt_smaller {
	font-size: 1em;
}
.txt_white {
	color: #fff;
}

.spaced_txt {
	line-height: 1;
}

@media (max-width: 768px) {
	.spaced_txt {
	line-height: 1.2;
}
}

h2 {
	color: #ecf4fb;
	font-family:"Lexend Deca", sans-serif;
	font-style: normal;
	margin-bottom: 8px;
	font-weight: 500;
	font-size: 1.8em;
	
}

h3 {
	color: #b0c7fa;
	font-family:"Lexend Deca", sans-serif;
	font-style: normal;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 1.6em;
	
}

h4 {
	color: #cbdafc;
	font-style: normal;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 1.4em;
	
}
a.linkwhite { color: #FFFFFF; text-decoration: none; }
a.linkwhite:visited { COLOR: #FFFFFF; text-decoration: none; }
a.linkwhite:hover { COLOR: #CCCCCC; text-decoration:none; }

a { color: #d1d1d2; text-decoration: underline; }
a:hover { COLOR: #fff; text-decoration:none; }

a.linkblue {color: #0c21b6; text-decoration: none;}

.txt_small {
	font-size: 12px;
}

.red_txt {
	color: #D90C0F;
}

.green_txt {
	color: #39F214;
}

.txt_large {
	font-size: 1.7em;
}

.txt_greyitalic {
	color: #B3B0B0;
	font-style: italic;
}

.txt_white {
	color: #fff;
}

/*
--caption
position: relative;   /* creates a stacking context 
      z-index: 5;           /* above slides 
      text-align: center;
      font-size: 2.7em;
      font-weight: 700;
  font-style:italic;
      margin: 0 0 calc(-3 * var(--caption-overlay)); /* pull it down slightly 
      opacity: 0;
      transition: opacity 300ms ease;
      pointer-events: none; /* never block clicks 
      /* Optional subtle styling for readability 
      text-shadow: 0 1px 2px rgba(0,0,0,0.65);
		/*These help prevent flicker 
  will-change: opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;


Ranga = chapter title

Petit Formal Script = motto, culture

.petit-formal-script-regular {
  font-family: "Petit Formal Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.lugrasimo-regular {
  font-family: "Lugrasimo", cursive;
  font-weight: 400;
  font-style: normal;
}

//muEp title thick cursiv
.romanesco-regular {
  font-family: "Romanesco", cursive;
  font-weight: 400;
  font-style: normal;
}

//summer
.molle-regular-italic {
  font-family: "Molle", cursive;
  font-weight: 400;
  font-style: italic;
}

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name
//spring
.bitcount-<uniquifier> {
  font-family: "Bitcount", system-ui;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0;
}
//fall
.manufacturing-consent-regular {
  font-family: "Manufacturing Consent", system-ui;
  font-weight: 400;
  font-style: normal;
}

//main para

.lexend-deca-<uniquifier> {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


*/