@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans);
.preloader{
    position:fixed;
    top:0; left:0;
    width:100vw; height:100vh;
    background:#000;
    z-index:9999;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:opacity 0.5s ease;

}

.preloader.hide{
    opacity:0;
    pointer-events:none;
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
}

.loading-text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 100px;
  line-height: 100px;
}
.loading-text span {
  display: inline-block;
  margin: 0 5px;
  color: #fff;
  font-family: "Quattrocento Sans", sans-serif;
}
.loading-text span:nth-child(1) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0s infinite linear alternate;
          animation: blur-text 1s 0s infinite linear alternate;
}
.loading-text span:nth-child(2) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.1s infinite linear alternate;
          animation: blur-text 1s 0.1s infinite linear alternate;
}
.loading-text span:nth-child(3) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.2s infinite linear alternate;
          animation: blur-text 1s 0.2s infinite linear alternate;
}
.loading-text span:nth-child(4) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.3s infinite linear alternate;
          animation: blur-text 1s 0.3s infinite linear alternate;
}
.loading-text span:nth-child(5) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.4s infinite linear alternate;
          animation: blur-text 1s 0.4s infinite linear alternate;
}
.loading-text span:nth-child(6) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.5s infinite linear alternate;
          animation: blur-text 1s 0.5s infinite linear alternate;
}
.loading-text span:nth-child(7) {
  filter: blur(0px);
  -webkit-animation: blur-text 1s 0.6s infinite linear alternate;
          animation: blur-text 1s 0.6s infinite linear alternate;
}

@-webkit-keyframes blur-text {
  0% {
    filter: blur(0px);
  }
  100% {
    filter: blur(4px);
  }
}

@keyframes blur-text {
  0% {
    filter: blur(0px);
  }
  100% {
    filter: blur(4px);
  }
}



* {
    margin: 0;
    padding: 0;
    font-family: 'Avenir'
}


.nav-item.published-work {
    display: none !important;
}

.all_text{
    position: relative;
    top: 2rem !important;
    font-size: 15px;
}
/*--Page1--*/

.navbar-nav .nav-link {
    font-size: 15px;
}

/* underline on nav links */
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #DADBDD;
    margin: 0.25rem auto 0;
    transition: width 0.4s ease;
}

.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link:active::after {
    width: 0;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    transition: width 0.4s ease;
}


.container{
    margin-left: 75px !important;
}
.header {
    background-image: url(Images/home.jpg);
    height: 100vh;           /* fallback for older browsers */
   
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;

}
.navbar{
    min-height:50px !important;            /* slimmer bar */
    transition:opacity 0.5s ease;
    padding-top:0.5rem;        /* trim the built‑in Bootstrap padding */
    padding-bottom:0.5rem;
    position: fixed;           /* ensure fixed regardless of utility class order */
   margin-top: 13px !important;
    left: 13px !important; right: 13px !important;     /* 8‑px gap on both sides */
    width: auto;               /* shrink to the available space between left & right */
    /* Compact “pill” look like Nexo navbar */
    
    overflow: hidden;           /* clip children inside the radius */
    z-index: 0;
   
  }
  .nav-item .nav-link {
    font-size: 15px;
    letter-spacing: 0.5px;
    margin: 1rem 1.5rem;     /* wider horizontal gap between links */
    position: relative;
    top: 5px;  
    left: 26px;
    color: rgba(200, 200, 200, 0.7);
}
/* --- Let dropdown menus escape the pill on desktop --- */
@media (min-width: 992px) {
    .navbar {
        overflow: visible;   /* dropdowns can extend outside rounded bar */
        z-index: 1050;       /* sit above page content */
    }
}

.pub {
    transition: background-color 0.5s ease, border-radius 0.5s ease !important;
    border-radius: 12px !important;
    
}
.pub:hover{
    background-color: rgba(255, 255, 255, 0.199) !important;
    transition: background-color 0.5s ease, border-radius 0.5s ease !important;
}
.navbar::before{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;

      border-radius: 20px !important;        /* rounded corners */
      border: 0.5px solid rgb(125, 125, 125,0.3);
      z-index:0;                  /* sits *above* the links but keeps clicks working */
      opacity:0;                  /* hidden until scrolled */
      backdrop-filter: blur(0px);         /* start with no blur */
      -webkit-backdrop-filter: blur(0px); /* Safari */
      background: rgba(0,0,0,0);          /* start fully transparent */
      transition: opacity 0.5s ease,
                  backdrop-filter 0.5s ease,
                  -webkit-backdrop-filter 0.5s ease,
                  background 0.5s ease;
  }
  
  
  .navs.scrolled::before{
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    background:rgba(0,0,0,.35);
    opacity:1;
   
  }



.nav-item .something {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.35);
    /* translucent dark tint  */
    border: 0.5px solid rgba(200, 200, 200, 0.2);
    border-radius: 30px;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-nav .dropdown-toggle::after {
    border: none !important;
    content: "" !important;
}

.dropdown-header {
    font-size: 15px !important;
}

.dropdown-item {
    font-weight: 1500 !important;
    border-radius: 12px !important;
    transition: background-color 0.5s ease, border-radius 0.5s ease !important;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.199) !important;
    border-radius: 12px !important;
}



.pub a{
   color:rgba(250, 250, 250, 0.95);
    text-decoration: none;
    ;

}


.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5vw;
    position: relative;
}


.intro {
    text-align: justify !important;
    color: rgba(200, 200, 200, 0.7);
    font-size: 15px !important;
    animation: h1-custom 2s ease forwards;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}
.all_text{
    margin-top: 1.2rem !important;
}

.cookie{ 
    position:fixed;
    bottom:0;
    background:rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    border: 0.5px solid rgb(125, 125, 125,0.3);
    color:#fff;
    padding-top:0.5rem;        /* trim the built‑in Bootstrap padding */
    padding-bottom:0.5rem;

    margin-top: 13px !important;
    margin-bottom: 1rem;
    z-index:1000;
    /* left: 13px !important; right: 13px !important;     8‑px gap on both sides */
    left: 50% !important;
    transform: translateX(-50%);
    width: auto; /* Adjust width to fit content */
    max-width: 90%; /* Prevent overflow on small screens */
    transition:opacity 0.5s ease;
    border-radius: 25px;
    overflow: hidden;   
    display: none;
    text-align: center; 
  
}
.cookie p{
    padding-top: 0.5rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgb(224, 224, 224);
}
.cookie button{

    padding: 0.3rem 0.7rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 14px;
    border-radius: 13px;
    margin-bottom: 10px;
    border:0.5px solid rgba(200, 200, 200, 0.7);
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    color: rgba(92, 92, 92, 0.7);
    background-color:transparent;
    color: rgb(224, 224, 224);
}
.cookie button:hover{
    border: 0.5px solid rgb(255, 255, 255);
} 
.cookie.fade-out {
    opacity: 0;
    pointer-events: none;
  }



@media (max-width: 1400px) {
    .all_text{
        position: relative;
        top: 90px !important;
        padding-bottom: 1rem;
       
    }

}
@media (max-width: 1200px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .intro {
        width: 100%;
        max-width: none;
    }

    .header {
        padding-top: 10rem;
    }

    .navbar {
        position: fixed;
        z-index: 1050;
    }
    .all_text{
margin-top: 5rem !important;
        margin-bottom: 4rem !important;
    }
}


@media (max-width: 991px) {

    html,
    body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .intro {
        width: 120%;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .header {
        padding-top: 0rem;
        /* space for the fixed navbar */
    }
    .all_text{
        position: relative;
        top: 15rem !important;
        padding-bottom: 1rem;
       
    }

}

@media (max-width:881px) {
    body {
        background-color: black !important;


    }

    .header {
        background-image: url(Images/home.jpg);
        height: 100vh;           /* fallback */
        width: 100%;
        background-position-y: 10%;
        background-position-x: 10%;
        background-size: 150vh;
        background-repeat: no-repeat;
        overflow: visible;
    }

    .intro {
        position: relative;
        top: 50rem;
        left: 50%;
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
    }

    .offset-md-6,
    .offset-lg-6 {
        margin-left: 0 !important;
    }

    .nav-item {
        position: relative;
        top: 0px;

    }

    .phone-nav {
        position: static;
    }

    .offset-md-6,
    .offset-lg-6 {
        margin-left: 0 !important;
    }
}

@media (max-width:767px ){
    body {
        background-color: black !important;
    }

    .header {
        background-image: url(Images/home.jpg);
        height: 90vh;           /* fallback */
        height: 90dvh;
        width: 100%;
        background-position-y: 10%;
        background-position-x: 10%;
        background-size: 150vh;
        background-repeat: no-repeat;
        overflow: visible;
        position: relative;
        top: -30px;
    }
    .intro {
        position: relative;
        left: 0%;
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
    }

    .offset-md-6,
    .offset-lg-6 {
        margin-left: 0 !important;
    }

    .offcanvas .nav-item .nav-link {
        font-size: 20px !important;
      }


  .nav-item{
    position: relative;
    top: 10rem;
    left: 10%;

  }
  .offcanvas .nav-item {
    transition: transform 0.3s ease;
  }

  .offcanvas .nav-item.nav-shifted {
    transform: translateY(-40px);
  }



    .offset-md-6,
    .offset-lg-6 {
        margin-left: 0 !important;
    }

    .offcanvas.show .dropdown-menu {
        display: block;
        transform: none !important;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 0;
        position: relative;
    }

.nav-item.published-work {
    display: block !important;
}

.offcanvas hr.dropdown-divider {
    display: none !important;
}


.navs .phone-nav span {
    position: relative;
    left: 1rem;

}

.offcanvas .nav-item + .nav-item {
    margin-top: 0.25rem !important;   /* tighter vertical gap */
}

.navbar-nav .nav-link::after {
    display: none;
}

/* Frosted‑glass effect for the phone off‑canvas menu */
.offcanvas.sidebar {
    background: rgba(0, 0, 0, 0.35) !important;
    /* translucent dark */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.offcanvas-header {
    background: transparent !important;
    border-bottom: 0;
}
/* Let the list start flush; we'll push everything down via padding instead */
.offcanvas .navbar-nav {
    margin-top: 0;
    
}

/* Push all items down a bit for breathing room */
.offcanvas-body {
    padding-top: 2rem;   /* adjust as desired */
}

.offcanvas .navbar-nav .nav-link {
    top: 100;              /* prevents jitter when the off‑canvas opens */
}

/* Decrease vertical padding/margin on individual links */
.offcanvas .nav-link {
    margin: 0.25rem 0;        /* was inheriting larger margins */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar::before{
    
    border-radius: 15px !important;        /* rounded corners */
    border: 0.5px solid rgb(125, 125, 125,0.2);
}
.navbar{
    min-height:50px;            /* slimmer bar */
    transition:opacity 0.5s ease;
    padding-top:1.3rem !important;        /* trim the built‑in Bootstrap padding */
    padding-bottom:1.3rem !important;
    position: fixed;           /* ensure fixed regardless of utility class order */
    margin-top: 10px !important;
    left: 12px !important; right: 12px !important;     /* 8‑px gap on both sides */
    width: auto;               /* shrink to the available space between left & right */
    /* Compact “pill” look like Nexo navbar */
    border-radius: 15px;        /* rounded corners */
    overflow: hidden;           /* clip children inside the radius */
    z-index: 0;
}
.nav-item .nav-link {
    left: 0px;
   
}
.container{
    margin:0 !important ;
}




.cookie{ 
    width: 100%; 
    transition:opacity 0.5s ease;
    text-align: center; 
  
}

.cookie p{
    padding-top: 0.5rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    margin-bottom: 10px;
    font-size: 13px;
}
.cookie button{
    position: relative;
    left: 0px;
    padding: 0.3rem 0.7rem;
    font-size: 13px;
    border-radius: 13px;
    margin-bottom: 10px;

}




}


@media (max-width:575px) {
    p {
        margin-bottom: 0;
    }
    body {
        background-color: black !important;


    }
   
body {                       
    min-height: 245vh;
    min-height: 245dvh;
overflow: visible;}



body.menu-open {
    overflow: hidden;   
    position: fixed !important;
    width: 100%;     /* stop background scrolling */
}

    .header {
        background-image: url(Images/home.jpg);
        width: 100%;
        height: 90vh;            /* fallback */
        height: 90dvh;
        background-position-y: 10%;
        background-position-x: 10%;
        background-size: 100vh;
        background-repeat: no-repeat;
    }

    .intro {
        position: relative;
        top: 45rem !important;
        width: 100%;
        text-align: left !important;
        backdrop-filter: blur(1);
        font-size: 16px !important;
    }

      .offcanvas .nav-item .nav-link {
        font-size: 20px !important;
      }
      .nav-item{
        position: relative;
        top: 10rem;
        left: 10%;

      }



    .offset-md-6,
    .offset-lg-6 {
        margin-left: 0 !important;
    }



    .offcanvas.show .dropdown-menu {
        display: block;
        transform: none !important;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 0;
        position: relative;
    }



    .all_text{
        position: relative;
        top: 7rem !important;
        padding-bottom: 2rem;
       
    }
.intro{        overflow: visible;}    


    .offcanvas hr.dropdown-divider {
        display: none !important;
    }


    .navs .phone-nav span {
        position: relative;
        left: 1rem;

    }

    /* Reduce vertical gaps between nav items in off‑canvas */
    .offcanvas .nav-item + .nav-item {
        margin-top: 0.25rem !important;   /* tighter vertical gap */
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* Frosted‑glass effect for the phone off‑canvas menu */
    .offcanvas.sidebar {
        background: rgba(0, 0, 0, 0.35) !important;
        /* translucent dark */
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border-left: 1px solid rgba(255, 255, 255, 0.15);
    }

    .offcanvas-header {
        background: transparent !important;
        border-bottom: 0;
    }
    /* Let the list start flush; we'll push everything down via padding instead */
    .offcanvas .navbar-nav {
        margin-top: 0;
        
    }

    /* Push all items down a bit for breathing room */
    .offcanvas-body {
        padding-top: 2rem;   /* adjust as desired */
    }

    .offcanvas .navbar-nav .nav-link {
        top: 100;              /* prevents jitter when the off‑canvas opens */
    }

    /* Decrease vertical padding/margin on individual links */
    .offcanvas .nav-link {
        margin: 0.25rem 0;        /* was inheriting larger margins */
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .navbar-toggler {
        position: absolute;
        bottom: 0.7rem;
    }
    

}




/* --- Center the “Thought Leadership” dropdown menu under its toggle --- */
@media (min-width: 992px) {                     /* desktop only */
  /* generic centering (NO fixed width) */
  .navbar-nav .nav-item.dropdown > .dropdown-menu.something {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
  }

  /* wider menu only for the “Thought Leadership” list (uses .px-4) */
  .navbar-nav .nav-item.dropdown > .dropdown-menu.something {
    width: 18rem;     /* ~416 px */
    max-width: 90vw;  /* safety on very narrow screens */
    padding:1rem;

  }
}

