/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	background: white;
	text-align: center;
	transition: all 0.5s ease-in-out;
}

/* Image styling */
.header img{
	max-height: 120px;
	transition: all 0.5s ease-in-out;
}


/* Navbar styling */
.navbar {
background: transparent !important;
position: absolute; /* Ensures it overlays on top */
width: 100%;
z-index: 10; /* Keeps it above the carousel */
transition: background 0.3s ease-in-out;
top:120px;	
	  }
.navbar.scrolled {
background: #1e6cc1 !important; /* Dark background when 
scrolling */
top:0;
	}

/* Reduce image size on scroll */
.shrink img {
	width: 120px;		
	max-height: 100px;
}

/* Reduce navbar padding on scroll */
.shrink .navbar {
	padding: 5px 10px;
}

/* Add some spacing to content */
.content {
	margin-top: 270px;
	padding: 20px;
}



.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
}

/* Style the submenu */
.dropdown-submenu {
    position: relative;
}

/* Submenu opens to the right */
.dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;  /* Move to the right */
    display: none;
    min-width: 200px;
    margin-left: 0.1rem;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .submenu {
    display: block;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
	position:relative;  /* Fix the position so it stays in the background */
	top: 4rem;
	left: 0;
	width: 100%;
	z-index: 5;  /* Send carousel to the background */
	margin-bottom: 4rem;
}


/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 1rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 100vh;
  transition: -webkit-transform 2s ease;
  transition: transform 2s ease;
  transition: transform 2s ease, -webkit-transform 2s ease;
}
.carousel-item > img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
}


        /* Fixed Subhead Styling */
        .subhead {
            position: -webkit-sticky; /* For Safari */
            position: sticky;
            top: 0;
            background: #007bff;
            color: white;
            padding: 10px 15px;
            font-size: 18px;
            cursor: pointer;
            border-radius: 5px;
            margin-bottom: 10px;
            z-index: 1000;
        }

        /* Hover effect */
        .subhead:hover {
            background: #0056b3;
        }

        /* Collapsible content */
        .content {
            display: none;
            padding: 0;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: #f8f9fa;
			margin-top:-5px;
        }

        /* Smooth animation */
        .content.show {
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
		

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}

#botfoot{
  position: absolute;
  bottom: 0;

}
/* RESPONSIVE CSS
-------------------------------------------------- */

/* Fix for Laptop Screens */
@media (max-width: 1280px) {
    .navbar-nav {
        flex-wrap: wrap; /* Allows menu to wrap instead of cutting */
        justify-content: center;
    }

    .nav-item {
        flex-basis: auto; /* Allows flexible width */
        margin: 5px;
    }

    .nav-img {
        max-width: 90px; /* Adjust logo size */
    }
}


@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }

}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

}
.embed-responsive iframe {
  max-width: 100%;
  height: auto;
}
.speakercol{
  background: #0b2240;
}
.biocol{
  background: #e0f5d1;
}
.bd-placeholder-img {
 
  top:6rem;
}



/* Ensure no extra margin on body */
body {
  margin-top: o;
}

footer {
 /* Match the bg-secondary class color */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
  width: 100%; /* Ensure full width */
  position: relative; /* To make sure it's in flow */
  color:#fff
}
/* Remove any extra margin/padding from footer container */
footer .container-fluid {
  padding: 0;
  margin-top: 10px;
  
}
footer a {
    color: #ffffc5;
}
footer a:hover{
	color: #fff
}	

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
html {
  scroll-behavior: smooth;
}