body{
    background-color: black;
    font-family: 'Inter', sans-serif;
}

.position-context {
  position: relative; 
  z-index: 1; 
}

.absolute-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%; 
  z-index: 1030;
}

.container {
    container-type: inline-size;
  }

/* TEXT PARAGRAPHS */

img.ebs-icon{
    width: clamp(1.6rem, 2.23cqi, 2.3rem);
}

img.ebs-logo-big{
    width: clamp(2.5rem, 3.5cqi, 3.8rem);
}

.green{
    background: linear-gradient(#0bfdac, #015f48);
    background: -webkit-linear-gradient(#0bfdac, #015f48);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a.ebs-logo {
  color: #d9def3;
  font-family: "Exo 2", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: clamp(1.4rem, 1.92cqi, 2rem);
  text-decoration: none;
}

.my-p {
    color: #979fc9;
    font-weight: 500;
    font-size: clamp(1.15rem, 1.5cqi, 1.5rem); 
    line-height: 1.6;
  }

.strong-white {
    color: #d9def3;
    font-weight: 500;
    font-size: clamp(1.0rem, 1.5cqi, 1.5rem);  
    display: block;
}

.my-headline {
  color: #d9def3;
  font-weight: 800;
  font-size: clamp(2.1rem, 3.3cqi, 3.5rem);
}

.gradient-headline {
    background: linear-gradient(#0bfdac, #015f48);
    background: -webkit-linear-gradient(#0bfdac, #015f48);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: clamp(1.9rem, 2.8cqi, 3rem);
  }

/* Showcase titles for desktop */
.my-headline2 {
    color: #d9def3;
    font-weight: 800;
    font-size: clamp(1.9rem, 2.8cqi, 3rem);
  }

/* Terms */
.my-headline3 {
    color: #d9def3;
    font-weight: 800;
    font-size: clamp(1.5rem, 2.2cqi, 2rem);
    line-height: 1.6;
  }

@media (max-width: 1032px) {
    .my-headline {
        font-size: 2.8rem;
    }
    img.ebs-icon{
        width: 1.9rem;
    }
    img.ebs-logo-big{
        width: 3.0rem;
    }
    a.ebs-logo {
        font-size: 1.7rem;
    }
    .my-p{
        font-size: 1.15rem;
    }
  }

@media (max-width: 743px) {
    .my-headline {
        font-size: 2.2rem;
    }
    .my-headline3 {
        font-size: 1.5rem;
    }
    img.ebs-icon{
        width: 1.9rem;
    }
    a.ebs-logo {
        font-size: 1.7rem;
    }
    .my-p {
        font-size: 1.05rem;
    }
  }
@media (max-width: 575px) {
    .my-headline {
        font-size: 1.7rem;
    }
    .my-headline2 {
        font-size: 1.6rem;
    }
    .my-headline3 {
        font-size: 1.2rem;
    }
    img.ebs-icon{
        width: 1.7rem;
    }
    img.ebs-logo-big{
        width: 2.1rem;
    }
    a.ebs-logo {
        font-size: 1.5rem;
    }
    .my-p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
  }


a.my-a {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    text-decoration-color: #7c84aa;
    color: #979fc9;
}
a.my-a:hover{
    color: #d9def3;
    text-decoration-color: #c3c9e0;
}

.foot {
  color: #8790b3;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.4cqi, 1.1rem);
  text-decoration: none;
}

a.foot:hover {
  color: #99a2c9;
}

.foot-icon {
  color: #8790b3;
  font-size: clamp(1.3rem, 1.7cqi, 1.5rem);
}

a.foot-icon:hover {
  color: #99a2c9;
}

ul li {
    padding: 5px;
}


/* Buttons */
a.my-button, button.my-button{
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    min-width: 13ch;
    font-size: clamp(1.0rem, 1.35cqi, 1.2rem);
  }
  @media (max-width: 1032px) {
    a.my-button, button.my-button {
        padding: 0.55rem 0.9rem;
        font-size: 0.9rem;
    }
  }

  a.button-main, button.button-main {
    background-color: #02cb9d;
    border: #32ffc1 2px solid;
    color: black;
  }
  
  a.button-main:hover, button.button-main:hover{
     background-color: #32ffc1;
    border:#32ffc1 2px solid;
    transition: 150ms all ease-in-out;
  }
  
  a.button-second{
    background-color: transparent;
    border: #5c6383 2px solid;
    color: #7881a8;
  }
  
  a.button-second:hover{
    border: #8790b3 2px solid;
    color: #8790b3;
    transition: 150ms all ease-in-out;
  }

  a.button-third{
    background-color: transparent;
    border: #d9def3 2px solid;
    color: #d9def3;
  }
  
  a.button-third:hover{
    background-color: #d9def3;
    border: #d9def3 2px solid;
    color: black;
    transition: 150ms all ease-in-out;
  }


/* Backgrounds */

.hero-full-bg {
    position: relative;
    width: 100%;
    padding-top: 70.3125%; /* For 1920x1350 aspect ratio: x=(1350/1920)*100 */
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
}

.gradient-down {
  background: linear-gradient(#000000, #000000, #0e121b);
}

.gradient-right{
  background-image: radial-gradient(ellipse 70% 45% at 100% 50%, #151927, #0a0a14, #000000);
}

.gradient-right-up{
  background-image: radial-gradient(ellipse 100% 35% at 80% 30%, #151927, #0a0a14, #000000);
}

.gradient-left{
  background-image: radial-gradient(ellipse 70% 45% at 0% 50%, #151927, #0a0a14, #000000);
}

.gradient-left-up{
  background-image: radial-gradient(ellipse 100% 35% at 20% 30%, #151927, #0a0a14, #000000);
}

.gradient-top {
  background: linear-gradient(#151927, #000000 );
}

.gradient-lightbulb {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, #181c2c, #0a0a14, #000000);
  }

.gradient-lightbulb-down {
    background: radial-gradient(ellipse 60% 50% at 50% 100%, #181c2c, #0a0a14, #000000);
  }
.gradient-middle {
  background: linear-gradient(#000000,  #151927, #000000 );
}

.gradient-middle2 {
  background: linear-gradient(#000000,  #0e121b, #000000 );
}

.gradient-sun {
    background-image: radial-gradient(ellipse 55% 45% at 50% 50%, #151927, #0a0a14, #000000);
}


.my-bar {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,#000000, #121622, #4a536e, #121622, #000000 );
}


/* PRICING */

.pricing-plan {
  margin: 0 0 1rem 0;
  width: 100%;
  background: #090911;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: #252a3d 2px solid;
}
.pricing-plan.pro{
  border: #02cb9d 2px solid;
}
.pricing-plan .pricing-header {
  padding-left: 2.5rem;
  border-bottom: #191e2e 2px solid;
}
.pricing-plan .pricing-header .pricing-title {
  color: #d9def3;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.95cqi, 1.8rem); 
}
.pricing-plan .pricing-header .pricing-cost {
  color: #d9def3;
  font-weight: 600;
  font-size: clamp(1.7rem, 2.55cqi, 3.0rem);
}
.pricing-plan .pricing-features {
  padding: 0;
  margin: 20px 0;
  text-align: left;
}
.pricing-plan .pricing-features li {
  color: #d9def3;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.2cqi, 1.1rem);
  padding: 0.5rem 2.5rem 0.5rem 2.5rem;
  overflow: hidden;
  position: relative;
}
.pricing-plan .pricing-footer {
  text-align: center;
  padding: 1rem 0 2rem 0;
}

@media (max-width: 1031px) {
    .pricing-plan .pricing-features li {
        padding: 0.5rem 1.7rem 0.5rem 1.7rem;
    }
    .pricing-plan .pricing-header {
        padding-left: 1.7rem;
      }
}
@media (max-width: 743px) {
    .pricing-plan {
       border: #626a8b 1px solid;
      }
      .pricing-plan .pricing-header {
        border-bottom: #626a8b 1px solid;
      }
      .pricing-plan .pricing-header .pricing-title {
        font-weight: 800;
        font-size: 1.6rem; 
      }
}

/* Accordion */

.accordion-item{
  background-color: transparent !important;
  color:#979fc9 !important; 
  font-weight: 400;
  border-bottom: 1px solid #191e2e !important;
}

.accordion-body {
    font-size: clamp(1rem, 1.35cqi, 1.3rem);
}

.accordion-button{
  background-color: transparent !important;
  color:#d9def3 !important; 
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5cqi, 1.5rem);
  line-height: 3;
}

.accordion-button:focus{
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-button:not(.collapsed)::before {
  border: none;
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d9def3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d9def3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (max-width: 575px) {
  .accordion-button {
    font-size: 0.9rem;
    line-height: 1.7;

  }
  .accordion-body{
    font-size:0.9rem;

  }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: all;
}

.modal-overlay.active {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.modal-content {
    background-color: #181c2c;
    border: #4a536e 1px solid;
    pointer-events: auto;
}

.modal.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.modal-content a[role="button"] {
    display: inline-block;
    min-width: 13ch;
    width: auto;
}

body.modal-open {
    overflow: hidden;
}


/* About us */
.table-transparent {
    background-color: transparent !important;
}
.table-transparent > tbody > tr > td {
    background-color: transparent !important;
    color: #d9def3 !important;
    font-weight: 500;
    font-size: clamp(1rem, 1.5cqi, 1.5rem); 
    line-height: normal;
}

.profile-img {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.gray-icon {
  color: #979fc9;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.5cqi, 1.3rem);
}
.gray-icon:hover {
    color: #d9def3;
}
p.white{
    color: #d9def3;
}

hr {
    border: none;
    border-top: 1px solid #979fc9;
    height: 1px;
    width: 100%;
  }

html{
  scroll-behavior: smooth;
}


/* Lightbox styles */

mux-player {
    --pip-button: none;
}

.video-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.video-lightbox.active {
  opacity: 1; pointer-events: auto;
}

/* Responsive Content Container */
.video-lightbox-content {
  position: relative;
  background: #111;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  padding: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1), transform 0.4s cubic-bezier(.4,0,.2,1);
}
.video-lightbox.active .video-lightbox-content {
  opacity: 1;
  transform: scale(1);
}



/* Close Button outside the video/content */
.close-lightbox {
  position: absolute;
  top: 1%; 
  right: 0.5%;
  background: none; border: none; color: #d1d1d1;
  font-size: 2.2rem;
  line-height: 1; opacity: 0.85; z-index: 1001;
  cursor: pointer; transition: opacity 0.2s;
  padding: 0.1em 0.4em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.close-lightbox:hover, .close-lightbox:focus { opacity: 1; }
