/********** Template CSS **********/
:root {
    --primary: #d20001;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}





.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 15px 30px;
}
.navbar-brand img {
    width: 180px;
}
.navbar .nav-item {
    list-style: none;
    margin: 0 15px;
}
.navbar .nav-link {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    transition: background 0.3s;
}

.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 150px;
}
.dropdown .dropdown-item {
    color: white;
    padding: 10px;
    text-decoration: none;
    display: block;
}
.dropdown .dropdown-item:hover {
    background-color: #666;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.navbar-toggler {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
}
@media (max-width: 768px) {
    .bg-header {
        background: 
        url(../img/Branding.png)center center no-repeat;
        background-size: cover;
        height:4cqb !important;
    }
    .bg-header1{
        background:  
        url(../img/Strategy.png)center center no-repeat;
        background-size: cover;
        height:40vh !important;
    }
    .bg-header2{
        background:  
        url(../img/Digital.png)center center no-repeat;
        background-size: cover;
        height:40vh !important;
    }
    .bg-header3{
        background:  
        url(../img/Capabilities.png)center center no-repeat;
        background-size: cover;
        height:40vh !important;
    }
    .bg-header4{
        background:  
        url(../img/Contact.png)center center no-repeat;
        background-size: cover;
        height:40vh !important;
    }
    .bg-header5{
        background:  
        url(../img/engage.png)center center no-repeat;
        background-size: cover;
        height:40vh !important;
    }
    .portfolio-grid {
        display: block !important;
        
    }
.section-content{
    padding: 0px 35px !important;
}
.cta-section{
    padding:35px !important;
}
    #defaultLogo {
        display: none !important;
    }
    #scrollLogo {
        display: block !important;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar .navbar-nav {
        display: none;
        flex-direction: column;
    }
    .navbar .navbar-nav.show {
        display: flex;
    }
}
/* Default logo is visible initially */
#scrollLogo {
    display: none;
}

.navbar-scrolled #defaultLogo {
    display: none;
}

.navbar-scrolled #scrollLogo {
    display: inline-block;
}


.workshop {
    padding: 20px;
    text-align: center;
    
    transition: background-color 0.3s ease;
    color: white;
}
.workshop:hover {
    background-color: #d20001;  
    color:#fff !important;
    /* Change this to your desired hover color */
}

.workshop h2 :hover{
    color:#fff;
}
.workshop h2 {
    padding: 50px;
    color: #d20001;
    font-size: 75px;
    line-height: 55px;
    font-weight: lighter !important;
}

.workshop p {
    
    color: #fff;
    font-size: 25px;
    line-height: 45px;
    font-weight: lighter !important;
}

.fade.animate {
    top: 0;
    opacity: 1;
}

.section-events-list-alt ul {
    padding: 25px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-events-list ul li {
    transition: background-color .3s;
}
.section-events-list ul li {
    width: 33.3%;
    height: 400px;
    float: left;
    position: relative;
}
.section-events-list ul li a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 999;
    transition: all .3s;
}
.section-events-list ul li .content {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: 285px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding-top: 53px;
}
.section-events-list h1 {
    font-size: 120px;
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1;
    color: #eb432b;
    padding-bottom: 18px;
}







h1,h2{
    font-family: 'poppins', sans-serif !important;
}
/* Mobile Phone Media Query */
@media (max-width: 576px) {
    .section-about {
        padding: 50px 0 50px !important;
    }
    .gallery-wrapper {
        padding: 1rem 2rem !important;
    }
}

/* iPad Media Query */
@media (min-width: 768px) and (max-width: 1024px) {
    .display-1 {
        font-size: calc(1.5rem + 1.5vw);
    }
    .section-about {
        padding: 80px 0 80px !important;
    }
    .gallery-wrapper {
        padding: 1rem 2rem !important;
    }
}









.cta-section {
    margin-top: 40px;
    padding: 100px;
    background: linear-gradient(to right, #000, #373333);
    color: #ffffff;
    text-align: center;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.cta-section h2 {
    margin-bottom: 20px;
}
.cta-section .btn-primary {
    padding: 10px 30px;
    font-size: 1.2rem;
    
}
.workshop-list {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.workshop-item {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #d20001;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.workshop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.workshop-item h4 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: #333;
}
.workshop-item p {
    margin: 0;
    color: #555;
}
.footer h3{
    font-size: 1rem;
}
/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 300 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 400 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 300 !important;
}
.footer{
    p,h3,a  
{
    font-size:14px !important;
    color:#fff !important;
}
}
/*** Button ***/
.btn {
    font-family: 'poppins', sans-serif;
    font-weight: 300;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.welcome{
    letter-spacing:1px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'poppins', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 300;
    outline: none;
    transition: .5s;
    letter-spacing: 1px;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 120px;
    left: 75px;
    right: 0;
    bottom: 0;
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }
h1{
    font-size: 22px;
    line-height: 30px;
}
p{
    font-size:16px;
}
    .carousel-caption h1 {
        font-size: 25px;
        font-weight: 300 !important;
        line-height: 35px;
    }
    .carousel img{
        height:30vh;
    }
    .carousel-caption {
        top: 30px;
        left: 35px;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.section-cols {
    padding: 40px 0;
}

.bg-header-portfolio .display-4{
    margin-top:60px;
}



.bg-header-portfolio {
    background: 
    url(../img/Branding.png)center center no-repeat;
    background-size: cover;
    height:50vh;
}

.bg-header {
    background: 
    url(../img/Branding.png)center center no-repeat;
    background-size: cover;
    height:100vh;
}
.bg-header1{
    background:  
    url(../img/Strategy.png)center center no-repeat;
    background-size: cover;
    height:100vh;
}
.bg-header2{
    background:  
    url(../img/Digital.png)center center no-repeat;
    background-size: cover;
    height:100vh;
}
.bg-header3{
    background:  
    url(../img/Capabilities.png)center center no-repeat;
    background-size: cover;
    height:95vh;
}
.bg-header4{
    background:  
    url(../img/Contact.png)center center no-repeat;
    background-size: cover;
    height:100vh;
}
.bg-header5{
    background:  
    url(../img/engage.png)center center no-repeat;
    background-size: cover;
    height:100vh;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Responsive height */
}

/* Assigning different sizes to images */
.portfolio-item:nth-child(1) {
    grid-row: span 2;
}

.portfolio-item:nth-child(2) {
    grid-column: span 2;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Ensures the image covers the container without stretching */
}


.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.portfolio-item .title {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

.image-card {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.image-card img {
    width: 100%;
    height: auto;
    display: block;
}









.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}


.section-about {
    text-align: center;
    background: #fff;
    padding: 195px 0 185px;
    font-size:20px;
    font-weight: 300;
    color: #fff;
}
.section-dark {
    background-color: #111;
}







@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}



/* *****  GALLERIES ***** */

.gallery-wrapper {
    padding: 2rem 7rem;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: auto;
    grid-gap: 1rem;
    grid-auto-flow: dense;
  }
  
  /* Another way to do the same without declaring in the classes - remove h-x w-x from classes */
  /* .gallery-wrapper {
    padding: 2rem 10rem;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(5, 300px);
    grid-auto-rows: 200px;
    grid-gap: 1rem;
    grid-auto-flow: dense;
  }
   */
  
  .gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
    filter: drop-shadow(2px 2px 3px #333);
  }
  
  .gallery-item .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    cursor: pointer;
    transition: all 400ms ease-in;
    transform: scale(1);
  }
  
  .gallery-item .image img:hover {
    transform: scale(1.1);
  }
  
  .w-1{
    grid-column: span 1;
  }
  .w-2{
    grid-column: span 2;
  }
  .w-3{
    grid-column: span 3;
  }
  .w-4{
    grid-column: span 4;
  }
  .w-5{
    grid-column: span 5;
  }
  
  .h-1{
    grid-row: span 1;
  }
  .h-2{
    grid-row: span 2;
  }
  .h-3{
    grid-row: span 3;
  }
  .h-4{
    grid-row: span 4;
  }
  .h-5{
    grid-row: span 5;
  }
  
  /* ***** LIGHTBOX EFFECT ***** */

  #lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .92);
    display: none;
  }
  
  #lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #lightbox img {
    max-width: 90%;
    max-height: 80%;
    padding: 4px;
    /* border-radius: 1%; */
    /* background-color: white; */
    border: 0.2px solid silver;
  }
  
  
  @media only screen and (max-width: 800px) {
    .gallery-wrapper {
      grid-template-columns: repeat(2, 2fr);
      grid-template-rows: 1fr;
      grid-gap: 2;
      grid-auto-flow: dense;
    }  
    .gallery-container:nth-child(3n+2) {
      grid-column: 1 / span 2;
      grid-row-end: span 2;
    }
    
    .gallery-container:nth-child(4n+3) {
      grid-column: 2 / span 1;
      grid-row-end: span 2;
    }
    
  /*  reseting the css for the class within the divs to show a different way to achieve grid control using the nth childs*/
    .w-1,
    .w-2,
    .w-3,
    .w-4,
    .w-5 {
    grid-column: span 1;
  }
  
  .h-1,
  .h-2,
  .h-3,
  .h-4,
  .h-5 {
    grid-row: span 1;
  }
    
  }
  
  @media only screen and (max-width: 400px) {
  /* An example to use combined with flex but could also be grids with different repetition of columns  */
    .gallery-wrapper {
      display: flex;
      flex-direction: column;
      flex: wrap;
      gap: 2.5rem;
      margin: 5rem;
    }  
  }