@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body {
  overflow-x: hidden;
}

body {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 21px;
	font-weight:400;
	-webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
	/* color: #fff; */
	background: #fff;
	margin-right:0;
	margin-left:0;
    /* padding-top: 80px; */

}
h1, h2, h3, h4, h5, h6{
	font-family: var(--font-nunito);
	color: var(--heading-color);
	font-weight: 800;
	letter-spacing: 1px;
}
.h2, h2 {
    font-size: 2.6rem;
}
.section-padding {
    padding: 150px 0;
}
.section-padding-80 {
    padding: 80px 0;
}
ol li {
    margin-bottom: 10px;
}
.btn-custom {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}
.btn-explore-red {
    background-color: var(--explore-red);
}
.btn-explore-orange {
    background-color: var(--explore-orange);
}
.btn-secondary-color {
    background-color: var(--secondary-color);
}
.btn-explore-red:hover {
    background-color: #95141b;
}
.btn-explore-orange {
    background-color: #a85b0b;
}
.btn-secondary-color:hover {
    background-color: #6f7933;
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.read-more-content.expanded {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}
.read-more-btn {
    cursor: pointer;
    color: var(--explore-red);
    text-decoration: none;
    font-weight: 500;
}
.orange.read-more-btn {
    color: var(--explore-orange);
}
.red.read-more-btn {
    color: var(--secondary-color);
}
.secondary.read-more-btn {
    color: var(--secondary-color)
}
.read-more-btn:hover {
    color: #898989;
}

.text-left {
    text-align: left !important;
}

/* 
VARIABLES 
*/
:root {
    --primary-color: #e91b25;
    --secondary-color: #cad644;
    --heading-color: #343434;
    --explore-orange: #f48510;
    --explore-red: #ee4022;
    --font-poppins: 'Poppins', sans-serif;
    --font-nunito: 'Nunito', sans-serif;
}
.bg-primary-color {
    background-color: var(--primary-color);
}
.bg-secondary-color {
    background-color: var(--secondary-color);
}
.bg-explore-orange {
    background-color: var(--explore-orange);
}
.bg-eee {
    background-color: #eee;
}

.text-primary-color {
    color: var(--primary-color);
}
.text-secondary-color {
    color: var(--secondary-color);
}
.text-explore-red {
    color: var(--explore-red)
}
.text-explore-orange {
    color: var(--explore-orange);
}


/* 
HEADER
*/
.auto-hide-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.auto-hide-header.slide-up {
    transform: translateY(-100%);
    opacity: 0;
}

.auto-hide-header.slide-down {
    transform: translateY(0);
    opacity: 1;
}

/* Remove Bootstrap's sticky-top positioning */
.auto-hide-header .navbar {
    position: static;
}
.navbar-brand img {
    width: 100%;
    max-width: 110px;
}
.navbar-nav .nav-item {
    margin-right: 15px;
}
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}
.nav-link {
    font-weight: 500;
    font-size: 17px;
    color: white;
    transition: color 0.2s;
    padding: 5px;
}
.nav-link:hover, .nav-link:focus {
    color: var(--secondary-color);
}

.custom-toggler {
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001;
}
.custom-toggler .toggler-icon {
  width: 25px;
  height: 18px;
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}
.custom-toggler .toggler-icon span {
  background-color: #fff; /* change to your header text color */
  position: absolute;
  height: 2px;
  width: 100%;
  left: 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.custom-toggler .toggler-icon span:nth-child(1) {
  top: 0;
}
.custom-toggler .toggler-icon span:nth-child(2) {
  top: 8px;
}
.custom-toggler .toggler-icon span:nth-child(3) {
  top: 16px;
}
.custom-toggler.active .toggler-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}
.custom-toggler.active .toggler-icon span:nth-child(2) {
  opacity: 0;
}
.custom-toggler.active .toggler-icon span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/*@media only screen and (max-width: 768px) {*/
/*    .auto-hide-header .navbar, .auto-hide-header {*/
/*        width: 100vw;*/
/*    }*/
/*}*/


/* HERO SECTION */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-slider .carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out;
}
.hero-slider .carousel-caption {
    /* background-color: rgba(0, 0, 0, 0.3); */
    padding: 2rem;
    width: 100%;
    position: static;
    top: 0;
    bottom: 0;
}
.carousel-caption .thecaption {
    width:100%;
    max-width: 860px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transform: none;
  z-index: 1;
}

/* prevent Bootstrap slide movement */
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  transform: none;
}

/* --- CAPTION SLIDE-IN EFFECT --- */

.carousel-item.active .thecaption {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* Optional aesthetic adjustments */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
}
/* .thecaption h1 {
    color: white;
} */

ol li span {
    font-weight: 600;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    /* height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.77);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 2rem;
}



.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    height: auto;
}
.conference-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    /*max-width: 500px;*/
    height: auto;
}

.ceo-img {
    /* border-radius: 50%; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}
.sponsorship-img {
    position: relative;
}
.sponsorship-img img {
    border-top-right-radius: 20%;
    border-bottom-left-radius: 20%;
    position: relative;
    z-index: 99;
}
.sponsorship-img .radius-green {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    z-index: 97;
}
.sponsor-logo {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


/* 
FOOTER 
*/

footer {
    background-color: black;
}
footer hr {
    color: var(--secondary-color);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
}
.socials a i, .socials i {
    width:40px;
    height: 40px;
    font-size: 18px;
    line-height: 22px;
    color: black;
    background: var(--secondary-color);
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.socials a:hover i, .socials i:hover {
    color: white;
    background: #5a601f;
    transition: all 0.3s ease;
}
.copyright {
    color: white;
    font-size: 14px;
}

/* @media only screen and (max-width: 767.98px) {
    footer hr {
        max-width: 20%;
    }
} */

/* Animation Classes */
.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-section.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.animate-section.slide-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-section.slide-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-section.zoom-in {
    opacity: 1;
    transform: scale(1);
}

/* Specific animation types */
.fade-in-element {
    opacity: 0;
    transition: opacity 1s ease;
}

.slide-up-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-left-element {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-right-element {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in-element {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


/* HICE Gallery Integration */

.gallery-wrapper {
  position: relative;
}

/* ensure the overlay escapes any parent containment */
.lightbox-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(18, 18, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999 !important;
  padding: 2rem;
  animation: fadeIn 0.25s ease;
  margin: 0 !important;
  /* override any Bootstrap containment */
  position: fixed !important;
  inset: 0 !important;
}

.lightbox-overlay.active {
  display: flex !important;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: scaleUp 0.25s ease;
  z-index: 10000;
}

.lightbox-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 85vw;
  max-height: 80vh;
  border-radius: 1.8rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  background: #111;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.15s ease;
}

/* navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 34, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 2.2rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 300;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  user-select: none;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.nav-arrow:hover {
  background: rgba(60, 60, 90, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.nav-arrow.prev {
  left: 0.5rem;
}

.nav-arrow.next {
  right: 0.5rem;
}

.close-btn {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  background: rgba(30, 30, 44, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 2rem;
  line-height: 1;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  font-weight: 300;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0;
  z-index: 20;
}

.close-btn:hover {
  background: rgba(220, 60, 60, 0.8);
  border-color: rgba(255, 200, 200, 0.3);
  transform: scale(1.04);
}

/* simple animations */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scaleUp {
  0% { transform: scale(0.92); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* responsive */
@media (max-width: 600px) {
  .gallery-container {
    padding: 1.25rem 1rem 1.8rem;
    border-radius: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }

  .lightbox-image {
    max-width: 92vw;
    max-height: 70vh;
    border-radius: 1.2rem;
  }

  .nav-arrow {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.6rem;
  }

  .nav-arrow.prev {
    left: 0.1rem;
  }
  .nav-arrow.next {
    right: 0.1rem;
  }

  .close-btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.5rem;
    top: -0.4rem;
    right: -0.4rem;
  }
}

@media (max-width: 430px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.8rem;
  }
}

/* gallery styles */
.gallery-container {
  max-width: 1100px;
  width: 100%;
  /*padding: 2rem 1.5rem 2.5rem;*/
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: .5rem;
  justify-content: center;
}

.gallery-item {
  /*border-radius: 1.4rem;*/
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  background: #fafbfc;
  transition: transform 0.2s ease, box-shadow 0.2s;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /*border: 1px solid rgba(0, 0, 0, 0.03);*/
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}