
/*---VARIABLES---*/

:root {
  --white-color:                  #0e2c45;
  --primary-color:                #0e2c45;
  --secondary-color:              #0d6efd;
  --section-bg-color:             #f0f8ff;
  --dark-color:                   #000000;
  --navbar-bg-color:              #f5f5f5;
  --p-color:                      #717275;
  --highlight-icon-color:         #0064a1;

  --body-font-family:             'DM Sans', sans-serif;

  --h1-font-size:                 62px;
  --h2-font-size:                 48px;
  --h3-font-size:                 36px;
  --h4-font-size:                 32px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               16px;
  --copyright-text-font-size:     16px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-bold:             700;
}

html {
  scroll-behavior: smooth;
}

body {
    background: #fff;
    font-family: var(--body-font-family); 
	  -webkit-user-select: none; /* Safari */
      -moz-user-select: none;    /* Firefox */
      -ms-user-select: none;     /* Internet Explorer/Edge */
      user-select: none;         /* Standard */
	
}

html, body {
  overflow-x: hidden;
}

#sideMenu {
    overscroll-behavior: contain; /* Prevents "scroll chaining" to the background */
    overflow-y: auto;            /* Allows the menu itself to scroll */
}

.main-navbar-only {
    /* Prevent transition lag on the padding adjustment */
    transition: padding-right 0s !important; 
}



/*---------------------------------------
  OVERLAY DISPLAY CONFIRMATION LOADING               
-----------------------------------------*/

html, body {
  overflow-x: hidden;
}

/* Base state (hidden) */
#externalOverlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;

  /* DEFAULT (desktop/tablet) — black transparent modal */
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(0.5px);

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

/* Fade-in visible state */
#externalOverlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  max-width: 500px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease-in-out;

  /* DESKTOP — white rounded rectangle modal */
  background: #ffffff;
  padding: 25px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Smooth pop-in content animation */
#externalOverlay.show .overlay-content {
  transition: transform 0.3s ease-in-out;
}

/* Custom spinner color */
#loadingSpinner .spinner-border {
  border-color: #0072bC !important;
  border-right-color: transparent !important;
}

/* Make external link display smaller */
#externalLinkDisplay {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Even smaller on mobile */
@media (max-width: 576px) {
  #externalLinkDisplay {
    font-size: 0.8rem;
    word-break: break-all;
  }
}

/* ---------------------------------------
   MOBILE VIEW — PURE WHITE, NO MODAL BOX
----------------------------------------- */
@media (max-width: 576px) {

  /* Mobile: pure white full screen */
  #externalOverlay {
    background: #ffffff;
    backdrop-filter: none;
  }

  /* Remove modal box effect */
  .overlay-content {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }
}


/*---------------------------------------
  EVENTS SLIDESHOW               
-----------------------------------------*/

.hero-slide {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.hero-content {
  position: relative;
}

.hero-logo {
  width: 570px;
  max-width: 100%;
}

.badge {
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .hero-slide {
    height: 620px;
  }
}


/*---------------------------------------
  EVENTS CARDS               
-----------------------------------------*/
.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-image {
  overflow: hidden;
  position: relative;
}

.event-image img {
  transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

/*  Badge styling */
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
  text-transform: uppercase;
}

.btn-events {
  background-color: #0072bC; /* your brand color */
  border: none;
  transition: background-color 0.3s ease;
}

.btn-events:hover {
  background-color: #003f80;
}





/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  letter-spacing: -2px;
  text-transform: uppercase;
}

h2 {
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
  line-height: normal;
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--primary-color);
  color: var(--white-color);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--white-color);
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.custom-border-radius {
  border-radius: 20px;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.small-title {
  text-transform: uppercase;
}

.avatar-image {
  border: 2px solid var(--white-color);
  border-radius: 100px;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.avatar-image-left {
  position: relative;
  left: -10px;
}

.avatar-image-left + .avatar-image-left {
  left: -20px;
}

.avatar-image-left + .avatar-image-left + .avatar-image-left {
  left: -30px;
}

.avatar-image-left + .avatar-image-left + .avatar-image-left + .avatar-image-left {
  left: -40px;
}

.avatar-info {
  display: inline-block;
  vertical-align: top;
}


/*---------------------------------------
  CUSTOM ICON               
-----------------------------------------*/
.custom-icon {
  display: inline-block;
  height: 45px;
  width: 45px;
  line-height: 45px;
  border: 2px solid var(--white-color);
  text-align: center;
  border-radius: 50%;
  font-size: 20px;
  position: relative;
}

.custom-icon::before,
.custom-icon::after {
  box-sizing: inherit;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 50%;
}

.custom-icon::before {
  border: 2px solid transparent;
}

.custom-icon::after {
  border: 0 solid transparent;
}

.custom-icon:hover {
  border-color: transparent;
}

.custom-icon:hover::before {
  border-top-color: var(--primary-color);
  border-right-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transition: border-top-color .15s linear,border-right-color .15s linear .1s,border-bottom-color .15s linear .2s;
}

.custom-icon:hover::after {
  border-top: 2px solid var(--primary-color);
  border-left-width: 2px;
  border-right-width: 2px;
  transform: rotate(270deg);
  transition: transform .4s linear 0s,border-left-width 0s linear .35s;
}





/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn,
.navbar-expand-lg .navbar-nav .nav-link.custom-btn,
.navbar-nav .nav-link.custom-btn {
  background: var(--navbar-bg-color);
  border-radius: 100px;
  color: var(--white-color);
  font-size: var(--copyright-text-font-size);
  font-weight: var(--font-weight-bold);
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn,
.navbar-nav .nav-link.custom-btn {
  background: var(--secondary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn,
.navbar-nav .nav-link.custom-btn {
  margin-left: 20px;
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.custom-btn:hover,
.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.navbar-nav .nav-link.custom-btn:hover {
  background: var(--primary-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  color: var(--white-color);
}



/*---------------------------------------
  GLOBAL NAVIGATION SETTINGS
-----------------------------------------*/

.sticky-wrapper {
  background: var(--navbar-bg-color);
}

.navbar {
  background: var(--navbar-bg-color);
  z-index: 10000;
  right: 0;
  left: 0;
  transition: all 0.3s;
  padding-top: 15px;
  padding-bottom: 15px;
	
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

/* ============================================================
   FIRST NAVIGATION BAR
============================================================ */


.main-navbar-only.sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  /* higher than overlay background */
}

.navbar-brand {
  font-size: 20px;
  line-height: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  text-transform: uppercase;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 20px;
  padding-left: 20px;
}

.navbar-nav .nav-link {
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-semi);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  font-weight: bold;
}

/* Toggler Menu Button Animation - Adjust selectors for new JS toggle */
.navbar-toggler {
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px 0;
}

.navbar-toggler .toggler-line {
  /* ... keep lines styles ... */
  display: block;
  width: 30px;
  height: 2px;
  background: var(--white-color, #fff);
  border-radius: 1px;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* New active state for Toggler when side menu is open */
.navbar-toggler.active .middle-line {
  opacity: 0;
}

.navbar-toggler.active .top-line {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active .bottom-line {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
    SIDEBAR MENU STYLES (New)
============================================================ */
/* Helper to remove lag while dragging */
.no-transition {
  transition: none !important;
}

#sideMenuOverlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  /* Must be higher than navbar-sticky (10000) if it's sticky */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#sideMenuOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* Dark background dim */
.side-menu-background {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* The sliding panel - Base Styles */
.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  /* CHANGE 1: Set a smaller default width for larger mobile/tablet screens. 
       We will override this to 100% in the media query below.
       Keep the 300px width for now, or just remove max-width here: */
  width: 300px;
  max-width: 100vw;
  /* Ensure it never exceeds the viewport width */
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 2;

  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

#sideMenuOverlay.active .side-menu-panel {
  transform: translateX(0);
}

/* Sidebar Menu Content Styles */
.close-side-menu-btn {
  align-self: flex-start;
  /* Aligns the close button to the left */
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  margin: 0 0 15px 0;
}

.navbar-brand-side {
  margin-bottom: 25px;
}

.logo-img-side {
  height: 45px;
  width: auto;
}

.side-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu-nav .nav-link-side {
  display: block;
  padding: 15px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: var(--font-weight-semi);
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: color 0.2s;
}

.side-menu-nav .nav-link-side:hover {
  color: var(--primary-color);
  font-weight: bold;
}

/* ============================================================
    RESPONSIVE (Hiding the sidebar on desktop)
============================================================ */

@media (max-width: 991px) {
  /* CHANGE 2: Set the sidebar panel to full width */
  .side-menu-panel {
    width: 100%;
    max-width: 90%;
    /* Ensure it's never constrained */
  }

  /* You might want to adjust the logo and navigation styling for the wider screen */
  .navbar-brand-side {
    margin-top: 30px;
  }
}

/* Hide desktop menu on mobile */
@media (max-width: 991px) {
  #navbarNav {
    display: none !important;
  }
}

/* ============================================================
   BRAND LOGO + PRODUCT MENU TOGGLER
============================================================ */
.logo-img {
  height: 40px;
  width: auto;
  margin-right: -4px;
}

.product-menu-toggler {
  background: none;
  border: none;
  color: var(--white-color, #fff);
  font-size: 1.5rem;
  padding: 0;
  margin-left: 15px;
  cursor: pointer;
  transition: color 0.3s;
}

.product-menu-toggler:hover {
  color: var(--primary-color);
}

/* ============================================================
   FULLSCREEN PRODUCT OVERLAY — MATCHING YOUR SCREENSHOT
============================================================ */

#products-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;

  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#products-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Dark background dim */
.overlay-background {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

/* White floating panel */
.overlay-panel {
  position: absolute;
  top: var(--navbar-height, 80.2px);
  left: 0;
  width: 100%;
  /* FULL WIDTH */
  z-index: 1;
}

/* White area that holds grid */
.products-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 0 0 0 0;

  padding: 50px 40px;

  /* This creates the floating white half you want */
  height: 420px;
  /* Match screenshot height */
  overflow-y: auto;
  /* Only scroll inside */
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Grid */
.products-grid {
  max-width: 1300px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 35px;
}

/* Product boxes */
/* Styling for the product box container itself */
.product-box {
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  height: 150px;
  text-decoration: none;
  color: #333;
}

/* Styling for the image logo */
.product-box img {
  /* Set a max-width/max-height to ensure the logo fits within the box */
  max-width: 90%;
  max-height: 60%;

  /* Ensure the image scales down nicely without stretching */
  width: auto;
  height: auto;
  
  /* Recommended: Add a slight gap below the image */
  margin-bottom: 5px; 
}

/*  NEW: Style for the product name text */
.product-name {
font-size: 12px; 
  font-weight: 500; 
  display: block; 
  /*  **NEW/MODIFIED** - Ensures the text inside the span is centered */
  text-align: center;
}

/* You might also need styles for the grid container if you don't have them */
.products-grid {
  display: grid;
  /* Example: 4 columns with equal width and 20px gap */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-box:hover {
  background: #f2f2f2;
  transform: translateY(-3px);
}

/* Disable scroll behind overlay */
.no-scroll {
  overflow: hidden;
}

.close-overlay-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

.close-overlay-btn:hover {
  color: #000;
}

/* ============================================================
   RESPONSIVE (Mobile scroll area)
============================================================ */

@media (max-width: 991px) {
  .products-wrapper {
    height: 1900px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .products-wrapper {
    height: 620px;
    padding: 35px 25px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*---------------------------------------
  COUNTDOWN TIMER              
-----------------------------------------*/
#countdown-timer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0e2c45;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

#timer.one-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(0.8rem, 2.5vw, 1.3rem); /* ðŸ”¥ Auto-resizes with screen width */
  font-weight: bold;
  letter-spacing: 1px;
  flex-wrap: wrap; /* Allows clean wrap on tiny screens */
  word-spacing: 2px;
}

#timer.one-line .label {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

#timer.one-line span:not(.label) {
  color: #00c8ff;
}

@media (max-width: 480px) {
  #countdown-timer {
    padding: 8px 0;
  }

  #timer.one-line {
    gap: 5px;
    font-size: clamp(0.7rem, 3vw, 1rem);
  }
}


/*---------------------------------------
  Section 1-IMG Float             
-----------------------------------------*/

/* Basic fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.3s;
}
.reveal.delay-2 {
  animation-delay: 0.6s;
}
.reveal.delay-3 {
  animation-delay: 0.9s;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px); /* Goes up */
  }
  100% {
    transform: translateY(0px); /* Back to original position */
  }
}

.floating {
  animation: floatUpDown 3s ease-in-out infinite;
}

/*---------------------------------------
  Section 1             
-----------------------------------------*/

#title {
  position: relative;
  padding-top: 20px;
  padding-bottom: 15px;
  text-align: center;
  overflow: hidden;

  /* Fallback background image */
  background-image: url('../images/background-02.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -0;
  pointer-events: none; /* Prevents interaction */
}

	/* Container positioning */

	.scroll-down {
	  position: absolute;
	  bottom: 20px;
	  left: 50%;
	  transform: translateX(-50%);
	  text-align: center;
	  z-index: 5;
	  transition: opacity 0.5s ease, visibility 0.5s ease;
	}

	.scroll-down.hidden {
	  opacity: 0;
	  visibility: hidden;
	}

	.scroll-link {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  color: white;
	  text-decoration: none;
	  transition: transform 0.3s ease;
	}

	.scroll-link:hover {
	  transform: translateY(-5px) scale(1.1);
	}

	.arrow-container {
	  animation: fly 2s infinite ease-in-out;
	}

	.arrow {
	  font-size: 32px;
	  display: block;
	  transition: color 0.3s ease;
	}

	.scroll-text {
	  font-size: 14px;
	  margin-top: 5px;
	  opacity: 0.8;
	  transition: opacity 0.3s ease;
	}

	.scroll-link:hover .arrow {
	  color: #00FFFF;
	}

	.scroll-link:hover .scroll-text {
	  opacity: 1;
		  color: #00FFFF;
	}

	@keyframes fly {
	  0%, 100% {
		transform: translateY(0);
	  }
	  50% {
		transform: translateY(-12px);
	  }
	}


  .sec {
    max-width: 1200px;
    margin: auto;
    padding: 1px;
  }

  .img-theme img {
    max-width: 50%; /* responsive */
    height: auto;
  }

  .text-justified {
    text-align: center;
    font-size: 1.125rem; /* ~18px */
    margin-top: 10px;
  }

  .text-justified span {
    font-size: 1rem;
    display: block;
    margin-top: 5px;
  }

  .image-section img {
    max-width: 90%;
    height: auto;
    margin-top: 1px;
  }

  .register-here {
    text-align: center;
    margin-top: 5px;
  }

  .register-here h2 {
    font-size: 1.5rem;
    color: #fff;
  }

  .register-here a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0e2c45;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }

  .register-here a:hover {
    background-color: #2e82be;
	color: #fff;
  }


  @media (max-width: 768px) {
    .text-justified {
      font-size: 1rem;
    }

    .register-here a {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
	  #title {
  padding-top: 20px;
  padding-bottom: 10vh;
  text-align: center;
	  }
	  
.image-section img {
    max-width: 100%;
    height: auto;
    padding-top: 25px;
}
    .img-theme img {
      max-width: 100%;
    }
  }

  @media (max-width: 480px) {
    .register-here a {
      width: 70%;
      padding: 12px;
    }
    .img-theme img {
      max-width: 100%;
	  padding-top: 35px;
    }

    .section {
      padding: 5px;
    }
  }

  .text-info {
    color: #0064a1 !important; 
  }

  .text-info-emphasis {
    color: #0064a1 !important;
  }



.number-badge {
  background-color: #0064a1;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;  /* centers the text vertically */
  text-align: center;
  margin-right: 0.5rem;
  padding: 0;  /* remove padding to keep the circle shape */
}

  .card {
    border: none !important;
    box-shadow: none !important;
	background-color: transparent;
  }

  .card .list-group-item {
    border: none !important;
    padding-left: 0;
	  background-color: transparent;
  }

.about {
  background-image: url('../images/back_landscape_light.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: for parallax effect */
}


.image-container {
    width: 100%;
    height: 100%;
  }

  /* Desktop: image fills vertical space */
  @media (min-width: 768px) {
    .image-container {
      height: 100vh;
    }

    .image-container img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      display: block;
    }
  }

  /* Mobile: force image to fit nicely */
  @media (max-width: 767.98px) {
    .image-container {
      height: auto;
    }

    .image-container img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }


  }

/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  height: calc(90vh - 84px);
}

.hero::after {
  content: "";
  background: rgba(0, 0, 0, 0) linear-gradient(rgba(39, 48, 83, 0.1) 0%, rgb(39, 48, 83) 100%) repeat scroll 0% 0%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin-bottom: -5px;
}

.hero-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero .arrow-icon {
  position: relative;
  top: 50px;
}

.video-wrap {
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.date-text,
.location-text {
  border: 1px solid var(--white-color);
  color: var(--white-color);
  display: inline-block;
  padding: 10px 20px;
}

.date-text {
  border-right: 0;
}


/*---------------------------------------
  SPEAKERS              
-----------------------------------------*/
.speakers {
  background-color: #0d0d0d;

}

.text-gradient {
  background: linear-gradient(90deg, #00ff99, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.speaker-card {
  background-color: #f4e6df;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;                /* Make the card a flex container */
  flex-direction: column;       /* Stack content vertically */
  justify-content: space-between; /* Push image to the bottom */
  height: 100%;                 /* Ensure full height consistency */
}

.speaker-card:hover {
  transform: translateY(-5px);
}

.speaker-content {
  padding: 1.5rem;
  flex-grow: 1;                 /* Take up remaining space above the image */
}

.speaker-image {
  margin-top: auto;             /* Push image to bottom of card */
}

.speaker-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.badge {
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
}

/* Badge Colors */
.speaker-badge-green {
  background-color: #00ff99;
  color: #000;
}

.speaker-badge-pink {
  background-color: #ff00ff;
  color: #000;
}

.speaker-badge-orange {
  background: linear-gradient(90deg, #ffcc00, #ff00ff);
  color: #000;
}

.speaker-badge-blue {
  background: linear-gradient(90deg, #00ccff, #6600ff);
  color: #000;
}

.section-padding {
  padding: 80px 0;
}

/* Consistent speaker name formatting */
.speaker-name {
  font-size: 1.6rem;         /* consistent font size */
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;       /* allow wrapping only at natural points */
  word-break: keep-all;      /* prevent awkward breaks */
  text-wrap: balance;        /* modern browsers: keeps even wrapping */
  text-align: left;
}

/* Consistent description layout */
.speaker-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  text-align: left;
  max-width: 90%;
  margin-bottom: 0;
}

/* Prevent height changes on smaller screens */
.speaker-content {
  min-height: 180px; /* keeps all cards same height */
}

@media (max-width: 991px) {
  .speaker-name,
  .speaker-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* For screens below 1200px — 2 cards per row */
@media (max-width: 1199px) {
  .speakers .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* For screens below 992px — 1 card per row */
@media (max-width: 991px) {
  .speakers .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}





.speakers {
    background-image: url('../images/speakers-section-bg.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: for parallax effect */
}

.speakers-thumb {
  position: relative;
}

.speakers-thumb-small {
  margin-top: 24px;
}

.speakers-thumb:hover .speakers-info::before {
  background: var(--primary-color);
  width: 100%;
  padding: 15px;
}

.speakers-thumb:hover .speakers-title,
.speakers-thumb:hover .speakers-text {
  color: var(--white-color);
}

.speakers-info {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 20px;
  padding: 10px 15px;
}

.speakers-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--primary-color);
  width: 5px;
  height: 100%;
  transition: all 1s;
}

.speakers-image {
  width: 100%;
}

.speakers-text-info {
  padding: 100px;
}

.speakers-title,
.speakers-text {
  position: relative;
}

.speakers-text {
  font-size: 12px;
  text-transform: uppercase;
}

.speakers-featured-text {
  background: var(--secondary-color);
  border-radius: 4px;
  color: var(--white-color);
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  text-transform: uppercase;
  margin: 10px;
  padding: 4px 12px;
}

.speakers-thumb .social-icon {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 15px;
}

.speakers-thumb .social-icon {
  opacity: 0;
  transition: opacity all 1s;
}

.speakers-thumb:hover .social-icon {
  opacity: 1;
  transition-delay: 1s;
}

.sponsor-image {
  max-width: 130px;
  margin: 10px auto;
  height: auto;
}


.rounded-rectangle {
    width: 50%;
    aspect-ratio: 2.5 / 4; /* Portrait shape */
    object-fit: cover;
    border-radius: 4rem; /* Adjust roundness here */
    display: block;
}


/*---------------------------------------
  SCHEDULE              
-----------------------------------------*/
.nav-tabs {
  border-bottom: 0;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link span {
  display: block;
  text-align: left;
}

.nav-tabs .nav-link span {
  display: block;
}

.nav-tabs .nav-link small {
  display: block;
  font-size: 18px;
  font-weight: normal;
  color: var(--p-color);
}

.nav-tabs .nav-link {
  background: var(--white-color);
  border-radius: 0;
  border: 0;
  border-left: 3px solid var(--section-bg-color);
  padding: 20px 30px;
  transition: all 0.3s;
  width: 25%;
}

.nav-tabs .nav-link:first-child {
  border-left-color: transparent;
}

.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus, 
.nav-tabs .nav-link:hover {
  border-left-color: var(--primary-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.nav-tabs .nav-link.active h3,
.nav-tabs .nav-link:focus h3, 
.nav-tabs .nav-link:hover h3 {
  color: var(--primary-color);
}

.schedule-image {
  border-radius: 20px;
}


/*---------------------------------------
  CALL TO ACTION              
-----------------------------------------*/
.call-to-action {
  background-image: url('../images/terren-hurst-blgOFmPIlr0-unsplash.jpg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.call-to-action::after {
  content: "";
  background: rgba(0, 0, 0, 0.45);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.call-to-action .row {
  position: relative;
  z-index: 2;
}

.call-to-action .custom-btn {
  background: var(--white-color);
  color: var(--dark-color);
}

.call-to-action .custom-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}



/*---------------------------------------
  DOWNLOADBLES              
-----------------------------------------*/
    .aspect-ratio-square {
        aspect-ratio: 1.5 / 1;
        padding: 1rem;
    }

    @media (max-width: 576px) {
        .col-10 {
            margin-left: auto;
            margin-right: auto;
        }
    }


.btn-outline-fin {
    color: #0064a1;
    border-color: #0064a1;
}

.btn-outline-fin:hover {
    color: #fff;
    background-color: #0064a1;
    border-color: #0064a1
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact {
  background-image: url('../images/back_landscape_light.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.contact-form {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.contact-form h2 {

  color: #0B114D;
  padding: 30px 50px;
}

.contact-form .row {
  padding: 50px;
}

.arrow-icon {
  background: var(--section-bg-color);
  border-radius: 100px;
  color: var(--dark-color);
  font-size: var(--h5-font-size);
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  display: inline-block;
  margin: auto;
}

.arrow-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  background: var(--section-bg-color);
  border: 0;
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.custom-form button[type="submit"] {
  background: var(--primary-color);
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--navbar-bg-color);
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
footer.site-footer {
   background-color: #0072BC;
  color: #fff;
}

footer .logo-img {
  max-width: 160px;
}

footer .social-icon a:hover {
  color: #0d6efd;
  transition: color 0.3s;
}

.site-footer {
  padding-top: 100px;
  padding-bottom: 100px;
}

.site-footer .navbar-brand {
  color: var(--primary-color);
}

.site-footer .social-icon-link {
  font-size: var(--h6-font-size);
  width: 50px;
  height: 50px;
  line-height: 50px;
}

.site-footer .copyright-text {
  font-size: var(--copyright-text-font-size);
}

.footer-menu {
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
}

.footer-menu-link {
  font-size: var(--copyright-text-font-size);
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--white-color);
  border-radius: 100px;
  font-size: var(--p-font-size);
  color: var(--dark-color);
  display: inline-block;
  vertical-align: top;
  margin: 2px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1500px) {
   .speakers-text-info {
    padding: 50px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding,
  .site-footer {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .custom-btn {
    font-size: var(--copyright-text-font-size);
    padding: 8px 16px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0;
  }

  .navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero {
    height: calc(75vh - 78.39px);
  }

  .nav-tabs .nav-link {
    width: 50%;
  }

  .copyright-text-wrap {
    margin-top: 20px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 20px;
  }

  .navbar-brand {
    font-size: 16px;
  }

  .custom-btn {
    font-size: 13px;
    padding: 6px 12px;
  }

  .nav-tabs .nav-link {
    margin-right: 0;
    margin-left: 0;
    padding: 15px;
  }

  .hero-text {
    width: 100%;
  }

  .site-footer .social-icon-link {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .footer-menu-link {
    margin-left: 10px;
    margin-right: 10px;
  }

  .footer-menu,
  .copyright-text-wrap {
    justify-content: center;
  }
}


.schedule .program-columns {	
  max-width: 1000px; /* adjust as needed */
  margin: 0 auto;   /* center the column */
}

  .program-columns {
	  
    column-count: 1;
    column-gap: 2rem;
  }

  @media (max-width: 767.98px) {
    .program-columns {
      column-count: 1;
    }
  }

  .program-item {
    break-inside: avoid;
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  .program-time {
    font-weight: bold;
    color: #0064a1;
    margin-bottom: 0.25rem;
  }

  .program-item h6 {
    margin-bottom: 0.25rem;
  }

  .program-item p {
    margin-bottom: 0; /* removes extra spacing under person in charge */
  }

.schedule {
  background-image: url('../images/back_landscape_light.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional: for parallax effect */
}

.schools{
    min-height: 450px; /* Adjust as needed */
    background-color: #fff; /* Your preferred color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}




/* Preloader wrapper */
#preloader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);; /* change if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #0d6efd; /* Bootstrap primary color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}


#logo-preloader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 1.0);; /* change if needed */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* Logo animation */
.preloader-logo {
  width: 100px; /* adjust size */
  animation: fadePulse 1.5s ease-in-out infinite;
}

/* Opacity animation */
@keyframes fadePulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}







/* ===============================
   OVERLAY (Black Transparent BG)
   =============================== */
.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Black transparent dimmer */
  z-index: 99999;
  
  /* Flexbox is used to position the child popup */
  display: flex; 
  justify-content: center; /* Center horizontally always */
  
  /* Hidden state by default */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Active State (Triggered by JS) */
.feedback-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===============================
   POPUP CARD (Shared Styles)
   =============================== */
.feedback-popup {
  background: white;
  padding: 20px 24px;
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ===============================
   DESKTOP VIEW (Centered Modal)
   =============================== */
@media (min-width: 769px) {
  .feedback-overlay {
    align-items: center; /* Vertically center in screen */
  }

  .feedback-popup {
    max-width: 450px;
    border-radius: 12px;
    
    /* Animation Start State */
    transform: scale(0.9);
  }

  /* Animation End State */
  .feedback-overlay.show .feedback-popup {
    transform: scale(1);
  }
}

/* ===============================
   MOBILE VIEW (Bottom Sheet)
   =============================== */
@media (max-width: 768px) {
  .feedback-overlay {
    align-items: flex-end; /* Push to bottom of screen */
  }

  .feedback-popup {
    max-width: 100%;
    border-radius: 20px 20px 0 0; /* Round top corners only */
    padding-bottom: 30px; /* Extra padding for safe area */
    
    /* Animation Start State: Pushed off screen */
    transform: translateY(100%);
  }

  /* Animation End State: Slide Up */
  .feedback-overlay.show .feedback-popup {
    transform: translateY(0);
  }
}

/* ===============================
   INTERNAL CONTENT STYLES
   =============================== */
.popup-header .popup-title {
  font-weight: 600;
  font-size: 17px;
}

.emoji-link {
  text-decoration: none !important;
}

.emoji {
  font-size: 34px;
  transition: transform 0.2s;
  cursor: pointer;
  padding: 5px;
}

.emoji:hover {
  transform: scale(1.25);
}

.labels span {
  font-size: 12px;
  color: #6c757d;
}