/* Custom CSS for Legal Indaba */

body {
    /* background: #0B1F3A; */
}

.nav-item a.nav-link {
    color: #fff;
}

header {
    /* background: rgb(255, 255, 255); */
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.1); /* semi-transparent */
    backdrop-filter: blur(10px);          /* blur effect */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
}

nav {
    width: 100%;
}

.banner-logo {
    padding-top: 10%;
    position: relative;
    z-index: 999;
}

.banner-logo img {
    background: #fff;
}

.banner-dates {
    position: relative;
    /* z-index: 9999; */
}

.banner-dates div.locations {
    color: #fff;
    background-color: #00000065;
}

.banner-dates h4, .banner-dates h5 {
    color: #fff;
}

header img{
    background: rgba(255, 255, 255, 0.1); /* semi-transparent */
    backdrop-filter: blur(10px);          /* blur effect */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    margin-left: 2em;
}

h1, h2, h3, h4, h5, h6 {
    /* color: #F4EDE4; */
    font-family: Playfair Display;
}

.marketing h1 {
    color: #FFFFFF;
}

.lucide-check {
    color: #fff !important;
}

.lucide-check-orange {
    color: #f07d19 !important;
}

.conference-location {
    background: #f7f9fc;
}

.conference-location .marketing p{
    color: #000000;
    text-align: justify;
}

.conference-location .marketing h1{
    color: #000000;
}

.sponsors {
    background: #f4ede4;
}

.sponsors p{
    color: #000000;
}

.sponsors h2 {
    color: #000000;
}

button.btn, a.btn {
    background: #155E63 !important;
    border: 1px solid #155E63 !important;
}

/* p {
    color: #FFFFFF;
    font-family: Inter;
}  */

.carousel-item {
    height: 40rem;
}

.carousel-caption {
    position: absolute;
    right: 15%;
    top: 14.25rem;
    left: 15%;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    color: var(--bs-carousel-caption-color);
    text-align: center;
}

.carousel-caption {
    z-index: 2; /* Ensure captions are above the overlay */
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust the opacity as needed */
    z-index: 1; /* Ensure the overlay is above the images but below the captions */
}

.marketing .col-lg-6 {
    margin: 2rem 0rem;
    text-align: center;
}

.grey-bg {
    background-color: rgba(0, 0, 0, 0.03);
}

.accordion-body p {
    color: #000000;
}

.agenda-background {
    background-image: url('./../images/legal-indaba-banner.png');
    background-repeat: no-repeat; /* Prevents the image from tiling */
    background-position: center; /* Centers the image */
    background-size: cover; /* Scales the image to cover the entire container */
    /* Optional: Ensure the body spans the full viewport height */
    height: 600px;
    margin: 0;
    height: 920px;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.event-card {
  position: relative;
      border-radius: 20px;
      overflow: hidden;
      height: 350px;
      color: #fff;
    }

    .event-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Gradient + blur overlay */
    .event-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to top,
        rgba(0, 80, 40, 0.85),
        rgba(0, 80, 40, 0.4),
        rgba(0, 0, 0, 0.1)
      );
      /* backdrop-filter: blur(6px); */
      -webkit-backdrop-filter: blur(6px);
    }

    .event-content {
      position: absolute;
      bottom: 0;
      padding: 25px;
      z-index: 2;
    }

    .location {
      font-size: 14px;
      color: #ffc107;
      font-weight: 600;
    }

    .title {
      font-size: 28px;
      font-weight: 700;
      margin: 10px 0;
    }

    .date {
      font-size: 14px;
      opacity: 0.9;
      margin-bottom: 10px;
    }

    .desc {
      font-size: 14px;
      opacity: 0.85;
      line-height: 1.5;
    }

footer .text-body-secondary{
    color: aliceblue !important;
}

footer {
    background: #1b7a3c;
    text-align: center;
}

footer p {
    color: #fff;
}


 form {
      display: flex;
      flex-direction: column;
    }

    label {
      margin-top: 15px;
      font-weight: bold;
      text-align: left;
    }

    input, textarea, select {
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
    }

    textarea {
      resize: vertical;
      min-height: 120px;
    }

    #contact button {
      margin-top: 20px;
      padding: 12px;
      background-color: #f07d18;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
    }

    #contact button:hover {
      background-color: #16304a;
    }

    .footer-note {
      font-size: 12px;
      text-align: center;
      margin-top: 15px;
      color: #888;
    }




/* Copied Styling */

.text-accent {
    color: #1b793f;
}

.tracking-widest {
    letter-spacing: .1em;
}

.uppercase {
    text-transform: uppercase;
}

.font-semibold {
    font-weight: 600;
}


.text-foreground {
    color: #141414;
}

.italic {
    font-style: italic;
}

.text-muted-foreground {
    color: #6b6b6b;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.text-justify {
    text-align: justify;
    font-size: 1rem important;
}

.linkedin-icon {
    width: 25px;
    margin-top: 20px;
}


.leading-relaxed {
    line-height: 1.625;
}

.gap-6 {
    gap: 1.5rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid {
    display: grid;
}

.duration-300 {
    animation-duration: .3s;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.text-center {
    text-align: center;
}

.p-8 {
    padding: 2rem;
}

.bg-card {
    background-color: hsl(var(--card));
}

.border-border {
    border-color: #e0e0e0;
}

.border {
    border-width: 1px;
}

.rounded-2xl {
    border-radius: 1rem;
}

.bg-accent\/10 {
    background-color: #1b793f1a;
}

.rounded-xl {
    border-radius: .75rem;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.inline-flex {
    display: inline-flex;
}

.mb-4 {
    margin-bottom: 1rem;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-foreground {
    color: #141414;
}

.font-bold {
    font-weight: 700;
}

.text-muted-foreground {
    color: #6b6b6b;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.mt-1 {
    margin-top: .25rem;
}

.bg-background {
    background-color: #f7f7f7;
}

.bg-card {
    background-color: #ffffff;
}

.md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-primary-foreground {
    color: #0d0d0d;
}

.text-primary-foreground\/50 {
    color: #0d0d0d80;
}

.topic-list-points li {
    color: #fff;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-6 {
    gap: 1.5rem;
}

.bg-white\/5 {
    background-color: #ffffff0d;
}

.border-white\/10 {
    border-color: #ffffff1a;
}

.justify-between {
    justify-content: space-between;
}

.lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.bg-primary\/10 {
    background-color: #f07d191a;
}

.border-2 {
    border-width: 2px;
}

.w-24 {
    width: 7rem;
}

.text-color-white {
    color: #fff;
}

.h-24 {
    height: 6rem;
}

.flex {
    display: flex;
}

.sm\:flex-row {
    flex-direction: row;
}

.text-accent {
    color: #1b793f;
}

.banner span {
    color: #fff;
    margin-right: 2rem;
}

.legal-indaba-soft-hide {
    display: none;
}

#topics svg {
    color: #fff;
}

#speakers {
    background-color: #f7f7f7;
}

#speakers .group {
    margin-bottom: 3rem;
}

.legal-indaba-speaker {
    width: 250px;
    border-radius: 9rem;
    background: #f07d18;
}

ul.navbar-nav {
    margin-top: -75px;
}

div.navbar-collapse.collapse.show ul.navbar-nav{
    margin-top: 0px !important;
}

nav.orange-nav {
    background-color: #f07d19;
}

.navbar-toggler {
    z-index: 9999;
}

/* #mainNav {
    display: contents !important;
} */

.font-medium {
    font-weight: 500;
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem;
}

.most-popular-ticket li.items-start span {
    color: #fff;
}

.most-popular-ticket span {
    color: #fff;
}

.py-0\.5 {
    padding-top: .125rem;
    padding-bottom: .125rem;
}

.rounded-full {
    border-radius: 9999px;
}

.inline-block {
    display: inline-block;
}

.bg-muted {
    background-color: #ededed;
}

.gap-1 {
    gap: .25rem;
}

.duration-200 {
    animation-duration: .2s;
}

.py-1\.5 {
    padding-top: .375rem;
    padding-bottom: .375rem;
}

.py-2\.5 {
    padding-top: .625rem;
    padding-bottom: .625rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.gap-2 {
    gap: .5rem !important;
}

.sm\:gap-6 {
    gap: 1.5rem;
}

.sm\:block {
    display: block;
}

.flex-shrink-0, .shrink-0 {
    flex-shrink: 0;
}

.sm\:flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.border-white {
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

.flex-1 {
    flex: 1 1 0%;
}

.space-y-4>:not([hidden])~:not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.px-2\.5 {
    padding-left: .625rem;
    padding-right: .625rem;
}

.w-2\.5 {
    width: .625rem;
}

.h-2\.5 {
    height: .625rem;
}

.w-3 {
    width: .75rem;
}

.h-3 {
    height: .75rem;
}

.z-10 {
    z-index: 10;
}

.md\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.bg-primary {
    background-color: #f07d19 !important;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.w-full {
    width: 100%;
}

.h-9 {
    height: 2.25rem;
}

button {
    border: 0px;
}

button.text-primary-foreground, button.text-accent-foreground {
    border: none;
    height: 3.25rem;
}

button.text-accent-foreground {
    color: #fff;
}

.left-1\/2 {
    left: 50%;
}

.-top-4 {
    top: -1rem;
}

.absolute {
    position: absolute;
    height: 920px;
}

.relative {
    position: relative;
}

.bg-accent {
    background-color: #1b793f;
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.gap-3 {
    gap: .75rem;
}

.justify-center {
    justify-content: center;
}


@media screen and (max-width: 991px) {
  .navbar-brand img{
    width: 75px;
  }

  .agenda-background {
    height: unset;
    padding-bottom: 2rem;
  }

  .lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .hidden {
        display: none;
    }
}