body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }

:root {
  /*Color palette*/
  --bg-main: #fdfdfd;
  --color-soft-1: #ffdcda;
  --color-soft-2: #ff918b;
  --color-soft-3: #FF5249;
  --color-intense-1: #FF1D11;
  --color-intense-2: #E70C00;
  --main-color: #9D0800;
  --alt-color:#9b2421;
  --color-intense-4: #560400;
  --tadpole-color:#52110d;
  --text: #1e1e1e;
  --mid-black:#444444;
  --grey: #5f5f5f;
  --shadow: 0 4px 6px rgba(43, 43, 43, 0.103);
  --transition: all 0.3s ease;
  --accent-gradient: linear-gradient(135deg, var(--color-intense-1), var(--main-color));

  /*Fonts*/
  --main-font: 'Inter', sans-serif;
  --code-font: 'JetBrains Mono', monospace;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-subsemibold: 500;
  --fw-bold: 700;

  --fs-title: clamp(2rem, 5vw, 3rem);
  --fs-h1: clamp(1.75rem, 4vw, 2.25rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 1.875rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.5rem);
  --fs-h4: clamp(1.1rem, 2.5vw, 1.25rem);
}

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

html{
  scroll-behavior: smooth;
}

body,
html {
  font-family: var(--main-font);
  color: var(--text);
  background-color: var(--bg-main);
  height: 100vh;
  width: 100vw;
  margin: 0 auto;
}



.navbar{
  background-color: var(--bg-main);
  box-shadow: 0px 4px 5px 0px rgba(0,0,0,0.03);
  /* border-radius: 16px; */
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */
  
  /* background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25); */
}

.nav-link{
  color: var(--text);
  font-weight: var(--fw-semibold);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.nav-link:hover{
  color:var(--color-soft-3);
}

.navbar img{
  width:8%;
  height:auto;
  max-width: 150px;
}


.dropdown {
  position: static !important;
}

/* .dropdown-menu {
  margin-top: 0px !important;
  width: 100% !important;

  position: relative;
  background: transparent;           
  border: transparent;               
  overflow: hidden;                  
  z-index: 1000;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;                        
  pointer-events: none;              
}

.dropdown-menu > * {
  position: relative;
  z-index: 1;
} */
.dropdown-menu {
  margin-top: 0px !important;
  width: 100% !important;
  border:transparent;
  background-color: var(--bg-main);
  box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
}

.menu-section{  
  padding: 0% 20%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.menu-section p{
  padding-left:0.5rem;
  margin-bottom:0.5rem;
  font-weight: var(--fw-bold);
  color:var(--alt-color);
}

.menu-section a{
  font-size:1.2rem;
  font-weight: var(--fw-semibold);
  padding:0.5rem;
}

.column {
  float: left;
  width: 33.33%;
  padding: 20px 0px;
}


.dropdown-item:hover{
  background-color: transparent;
  color:var(--color-soft-3);
  transition: fade-in- 0.3s;
}

@media (max-width: 900px){
  .column{
    float:left;
    width: 100%;
    padding:5px 0px;
  }
  .dropdown-menu {
    box-shadow: none;
  }
}


.navbar .nav-link.dropdown-toggle::after{
  content: "";
  display: inline-block;
  width: .9em;               
  height: .55em;             
  margin-left: .35rem;
  position: relative;
  top:3px;
  border: 0;                 

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' preserveAspectRatio='xMidYMid meet'><polyline points='1,1 5,5 9,1' fill='none' stroke='currentColor' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform-origin: center;
  transition: transform .18s ease;
}

.navbar .nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
  
}

.navbar .nav-item.dropdown.show > .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar .nav-link.dropdown-toggle[aria-expanded="true"] {
  color:var(--color-soft-3);
}

.awards-shimmer {
    background: linear-gradient(45deg, 
    #9B1E8F, #e58a6e, #ed8d81, 
    #9F2793, #E737B8, #B85FAF, 
    #FF5249, 
    #9B1E8F, #E5AC6E);
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: smooth-shimmer 8s ease infinite;
}

@keyframes smooth-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* Sidebar*/
.sidebar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.sidebar-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-8px, 8px);
}

.sidebar-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.sidebar-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-7px, -7px);
}

.sidebar {
  width: 25%;
  padding: 3rem;
  padding-left: 1.75rem;
  position: sticky;
  top: 70px; /* keeps it below your navbar */
  overflow-y: auto;
  max-height: calc(100vh - 70px); /* this makes it scrollable */
  box-sizing: border-box;
}

.sidebar-title {
  color: var(--color-intense-2);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-soft-2);
  font-weight: 700;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.25rem;
}

.sidebar-nav a {
    display: block;
    color: var(--text);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    color: var(--color-intense-2);
}

.sidebar-nav a.active {
    color: var(--color-intense-2);
    font-weight: 600;
}

/* .sidebar-subnav a.active {
    color: var(--color-intense-2);
} */

/* .subnav a.active {
    color: var(--color-intense-2);
} */

.sidebar-subnav{
  margin-left:-0.75rem;
}

.sidebar-subnav a{
  display: block;
  color: var(--mid-black);
  font-weight: var(--fw-subsemibold);
}
.subnav a{
  display: block;
  color: var(--grey);
  font-weight: var(--fw-regular);
}

[id] {
  scroll-margin-top: 80px;
}

  /* Back to Top Button */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #FF5249;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
  }

  .back-to-top.show {
    opacity: 1;
  }

  @media (max-width: 640px) {
    .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 45px;
      height: 45px;
      font-size: 1.2rem;
    }
  }


/* PAGE CONTENT */
.page-content {
  flex: 1 1 0%;
  padding: 1rem 4rem 1rem 0rem;
  min-width: 0;
  box-sizing: border-box;
  text-align: justify;
}

.page-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 5rem 3rem 4rem 2.5rem;
  position: relative;
}

/* Tablet and smaller screens */
@media (max-width: 1024px) {
  .page-container {
    padding: 5rem 1.5rem 4rem 1.5rem;
  }
  .page-content {
    padding: 1rem 2rem 1rem 0rem;
  }
  .sidebar {
    width: 30%;
    padding: 2rem;
  }
}

/* Small tablets and large phones */
@media (max-width: 900px) {
  .sidebar-toggle {
    display: flex;
  }
  
  .page-container {
    flex-direction: column;
    padding: 5rem 1rem 2rem 1rem;
  }
  
  .sidebar {
    width: 100%;
    position: fixed;
    left: -100%;
    top: 70px;
    height: calc(100vh - 70px);
    max-height: none;
    background-color: var(--bg-main);
    z-index: 1000;
    padding: 2rem 1rem;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }
  
  .sidebar.active {
    left: 0;
  }
  
  .page-content {
    width: 100%;
    padding: 1rem;
  }
}

/* Phones and small devices */
@media (max-width: 640px) {
  .page-container {
    padding: 4rem 0.75rem 2rem 0.75rem;
  }
  
  .page-content {
    padding: 0.75rem;
  }
  
  .sidebar {
    width: 100%;
    left: -100%;
    padding: 1.5rem;
  }
  
  .header {
    padding-bottom: 2rem;
  }
  
  .page-title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
  
  .page-desc {
    font-size: clamp(1rem, 4vw, 1.875rem);
  }
}

.header{
  padding-bottom:3rem;
}

section{
  padding:1rem 0;
  /* scroll-margin-top: 5rem; */
}

/*Titles*/
.page-title {
  font-size: var(--fs-title); 
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  color: var(--main-color);
}

.section-text {
  font-weight: var(--fw-regular);
  color: var(--text);
  margin:1.5em 0em;
}

.page-desc{
  font-weight: var(--fw-regular);
  font-size: var(--fs-h2);
}

.section-title{
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);
  line-height: 2.5rem;
  padding:2rem 0rem 1rem 0rem;
}

.section-subtitle{
  font-weight:var(--fw-bold);
  font-size:var(--fs-h2);
  line-height: 2.25rem;
  padding:1.75rem 0rem 1rem 0rem;
}

.section-subtitle2{
  font-weight:var(--fw-semibold);
  font-size:var(--fs-h2);
  line-height: 2rem;
  padding:1.5rem 0rem 1rem 0rem;
}

.section-subtitle3{
  font-weight:var(--fw-subsemibold);
  font-size:var(--fs-h3);
  line-height: 1.5rem;
  padding:1.25rem 0rem 1rem 0rem;
}

.section-subtitle4{
  font-weight:var(--fw-subsemibold);
  font-size:var(--fs-h4);
  padding:rem 0rem 1rem 0rem;
}

@media (max-width: 900px) {
  .section-title {
    font-size: clamp(1.5rem, 5vw, 1.875rem);
    line-height: 1.8;
    padding: 1.5rem 0rem 0.75rem 0rem;
  }
  
  .section-subtitle {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    line-height: 1.6;
    padding: 1.25rem 0rem 0.75rem 0rem;
  }
  
  .section-subtitle2 {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    padding: 1rem 0rem 0.75rem 0rem;
  }
  
  .section-subtitle3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    padding: 0.75rem 0rem 0.5rem 0rem;
  }
}

@media (max-width: 640px) {
  .section-text {
    margin: 1rem 0em;
  }
}

.italic-word{
  font-style:italic;
}

.code-container{
  font-family: var(--code-font);
  background-color: #f1f1f1;
  /* color: */
  padding: 2px;
  font-size: 105%;
  border-radius:0.5rem;
}


/*Highlighting*/
.bold-word{
  font-weight: var(--fw-bold);
}

.highlight-word{
  font-weight: var(--fw-bold);
  color:var(--color-intense-2);
}

.info-word:hover{
  color:var(--color-soft-2);
  cursor: pointer;
}


.link-text {
  text-decoration: none;
  color: var(--text);
  display: inline;
  background-image: linear-gradient(to top, var(--color-soft-3) 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: 0 35%;
  background-repeat: no-repeat;
  transition: background-position 0.3s ease;
  cursor:pointer;
}

.link-text:hover {
  background-position: 0 100%;
}

/*Buttons*/
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-soft-2);
  color: white;
  border: none;
  border-radius: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-right: 1rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(231, 12, 0, 0.5);
}

.btn-primary {
  background: var(--accent-gradient);
  box-shadow: 0 2px 10px rgba(231, 12, 0, 0.2);
}

.btn-secondary {
  background-color: var(--color-soft-3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-intense-1);
  color: var(--color-intense-1);
}

.btn-outline:hover {
  color: white;
  border: 2px solid var(--accent-gradient);
  
}

.btn-outline::before {
  opacity: 0;
}

.btn-outline:hover::before {
  opacity: 1;
}

/*Cards*/
.card {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(231, 12, 0, 0.1);
}

.card-title {
  color: var(--color-intense-2);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-soft-2);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.info-card{
  width:18rem;
  height: auto;
  padding-top:8rem;
  display:none;
  transition: display 1s ease;
}

.hp-icon{
  font-size:var(--fs-h4); 
}


/*Dropdowns*/
.accordion-wrapper{
  padding-top:1rem;
}

.accordion {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    background-color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color:rgb(255, 220, 218, 0.5);
}

.accordion-title {
  font-size: 1rem;
    font-weight: var(--fw-semibold);
    color: var(--text);
}

@media (max-width: 640px) {
  .accordion-header {
    padding: 0.75rem 1rem;
  }
  
  .accordion-title {
    font-size: 0.9rem;
  }
  
  .accordion-icon {
    width: 16px;
    height: 16px;
  }
}

.accordion-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-intense-2);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
}

.accordion-icon::after {
    transform: translateY(-50%) rotate(90deg);
    transition: var(--transition);
}

.accordion.active .accordion-icon::after {
    transform: translateY(-50%) rotate(0);
}

.accordion-content {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content-inner {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-soft-1);
}

/*Lists*/
ul{
  list-style-type: none;
}
.point-list li{
  line-height:2;
  text-align: justify;
  padding-top:0.5rem;
}

.point-list li::before{
  position: relative;
  margin-right: .5rem;
  --tw-text-opacity: 1;
  color: var(--main-color);
  opacity: var(--tw-text-opacity);
  top: .1rem;
  content: "•";
  font-size: 1.5rem;
  line-height: 0;
}

/*Images and videos*/
.image-container{
  height:auto;
  width:auto;
  padding:1.75rem 0rem;
  /* align-items: center; 
  justify-content: center; 
  text-align: center; */
}

.image-container img{
  height: auto;
  width: 60%;
  padding-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

@media (max-width: 900px) {
  .image-container img {
    width: 80%;
  }
}

@media (max-width: 640px) {
  .image-container img {
    width: 100%;
  }
  
  .image-container {
    padding: 1rem 0rem;
  }
}

.photo-caption{
  font-style: italic;
  color:var(--grey);
  font-size: 0.85rem;
  padding-bottom:1rem;
}

.video{
  margin-bottom:-5%;
  margin-top:2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .video {
    margin-bottom: 0;
    margin-top: 1rem;
  }
} 

/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom: 1.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer {
  /* box-shadow: 0px -4px 5px 0px rgba(0,0,0,0.1); */
  background: rgba(255, 255, 255, 0.43);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 2rem;
}

footer img {
  width: 20rem;
  height: auto;
  max-width: 100%;
}

footer a {
  color: var(--text);
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: var(--color-intense-2);
  text-decoration: underline;
}

.icons svg {
  width: 30px;
  height: 30px;
}

.footer-pages{
  display:grid;
}

@media (max-width: 900px) {
  footer {
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  footer img {
    width: 15rem;
  }
}

@media (max-width: 640px) {
  footer {
    padding: 1rem;
    margin: 1rem;
    border-radius: 8px;
  }
  
  footer img {
    width: 100%;
  }
  
  .icons svg {
    width: 24px;
    height: 24px;
  }
}

/*footer home*/
.footer-home{
  box-shadow: none;
  background: var(--alt-color);
  border-radius: 0px;
  /*backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);*/
  border: 1px solid rgba(155, 36, 33, 0.75); 
}

.footer-home p{
  color:var(--bg-main);
}

.footer-home h4{
  color:var(--bg-main);
}

.footer-home a{
  color:var(--bg-main);
  text-decoration: none;
}

.footer-home a:hover {
  color: var(--color-soft-2);
  text-decoration: underline;
}

.footer-home hr{
  color:var(--bg-main);
}