@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    
}
body{
    overflow-x: hidden;
}
/* ############ industry sectors page ################## */
 .pick-the-solution-btn{
    background-color: #c94444;
    color:#fff;
    padding: 13px 30px;
    border-radius: 55px !important;
  }
  .pick-the-solution-btn a{
    text-decoration: none;
    color:#fff;
  }
  .pick-the-solution-btn:hover{
    background-color: #c94444;
    color:#fff;
    
    
  }
  .pick-the-solution-btn:active,
.pick-the-solution-btn:focus {
  background-color: #c94444;
  color: #fff;
}

  .card-body p{
    color:#575757;
  }
/* ####################################### navbar Start############################################# */
.hero-industry {
    /* width: calc(100% - 100px);
    margin: 0 auto; */
    width: 100%;
    height: 100vh !important;
    position: relative;
    background-size: cover;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* border-radius: 40px; */
}


.image-container-industry img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.image-container-industry::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 2;
}
.hero-content-industry {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    z-index: 2;
}


.animated-text {
    font-size: 60px;
    text-transform: none;
    margin: 0;
    padding: 0 60px;
}


.animated-section {
    width: 100%;
    overflow: hidden;
}
/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-industry {
        height: 80vh;
        width: 100%;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        /* Adjust height for medium screens */
    }
}

@media (max-width: 768px) {
    .hero-industry {
        height: 70vh !important;
        /* Adjust height for tablets */
    }

    .animated-text {
        font-size: 8vw;
        margin-bottom: 10px;
    }

    .animated-text2 {
        font-size: 4vw;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-industry {
        height: 50vh !important;
        /* Adjust height for mobile screens */
    }
}


/* ############## banking and insurance Content  ############# */
/* Tabs Styling */
.nav-tabs {
    border-bottom: none;
    position: relative;
    display: flex;
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;

}

.nav-tabs .nav-item {
    flex: 1;
    text-align: center;
}

.nav-tabs .nav-link {
    color: #595959;
    font-weight: bold;
    font-size: 20px;
    border: none;
    background: none;
    padding: 10px 10px;
    transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: maroon;
}

/* Progress Bar Styling */
.progress-container {
    /* width: 100%; */
    height: 6px;
    background-color: #d3d3d3;
    border-radius: 10px;
    position: relative;
    display: flex;

}

.progress-segment {
    flex-grow: 1;
    height: 6px;
    background-color: #d3d3d3;
    transition: background-color 0.4s ease-in-out;
}

.progress-segment.active {
    background-color: maroon;
}

.nav-container {
    border-radius: 50px;
    padding: 5px;
    display: inline-block;
}

.tabs-container {
    border-radius: 1rem;
    /* padding: 1rem; */
}

.pick-solution-container-telecom-page{
    width: 100% !important;
   }
   
.pick-solution-img-container-banking-insurance {
    position: relative;
    height: 450px;
     width: 100% !important;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgb(213, 208, 208);
   
  }
  
  .pick-solution-img-container-banking-insurance img {
    border-radius: 20px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
  }
  
  .pick-solution-img-container-banking-insurance:hover {
    box-shadow: 0 0 20px maroon, 0 0 10px white;
  }
  .pick-solution-content-banking-insurance {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgb(127, 5, 5), #df7b7b);
    /* background: rgba(0, 0, 0, 0.8); */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow-y: auto;
    z-index: 2; /* Ensure it's above the image */
  }
  
  .pick-solution-img-container-banking-insurance:hover .pick-solution-content-banking-insurance {
    opacity: 1;
  }
  
  .pick-solution-title-banking-insurance {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 250, 245, 0.6);
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #c91000 !important;
    /* z-index: 3; */
  }

/* CPG  */

/* 
.animated-section-CPG h2 {
    font-size: 4rem !important;
    position: relative;
    
} */

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.panel-container {
    display: flex;
    flex-direction: row;
    background-color: #f3f4f6;
    border-radius: 8px;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2);
}

.panel
{
    /* background-color: #fff; */
    background-color: #f5f5f5;;
   /* border: 1px solid #e7e8e9; */
    height: calc(80vh - 100px);
    border-radius: 10px;
    cursor: pointer;
    flex: 0.3;
    margin: 10px;
    position: relative;
    transition: flex 0.5s ease-in-out;
    overflow: hidden;
    background-color: rgb(233, 233, 238);
    border: 2px solid #ddde;
    
}


.sidebar{
    width: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* height: 500px; */
    height: calc(80vh - 120px);
    padding: 1rem;
}

.featureCards {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    
}
.panel.active .panel-expand, .sovPanel.active .panel-expand, .metaPanel.active .panel-expand {
    /* opacity: 1; */
    /* transition: opacity 0.5s ease-in 0.4s; */
    display: flex;
    animation: expandAnimate 0.4s .3s ease-in-out 1 forwards;
}
.panel-expand h3{
    position: relative;
    font-size: 20px !important;
}

.feature-text {
    font-size: 16px !important;
    font-weight: 400;
    color: #0e131f;
    margin-bottom: 32px;
   
}

/* .feature-text.sov-feature-text {
    height: 26vh;
} */
.panel.spend-color .vertical-text {
    bottom: 20px;
}
.slidenum {
    display: flex;
    color: #130d6b;
    font-size: 18px;
}


.panel .panel-expand {
    opacity: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
    width:calc(100% - 60px);
    overflow: auto;
    height: calc(76vh - 80px);
}
.panel .panel-expand h3
{
    /* font-size: 2.8rem !important; */
    /* line-height: 2; */
    padding-bottom: 15px;
}
.panel.active {
    flex: 4;
}

.panel.active .panel-expand {
    /* opacity: 1; */
    /* transition: opacity 0.5s ease-in 0.4s; */
    display: flex;
    animation: expandAnimate 0.4s .3s ease-in-out 1 forwards;
}

@keyframes expandAnimate {
    0% {
        opacity: 0;
        transform: translateX(-10%);
        filter: blur(10);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.panel .vertical-text
{
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: clamp(14px, 1.5vw, 24px);
    color: #131310;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    bottom: 0;
    word-break: break-word;
    line-height: 1;
    height: calc(100% - 65px);
}
    .panel .vertical-text {
        font-size: clamp(16px, 1.2rem, 25px);
    }
/* Small laptops (≥ 768px) */
@media screen and (max-width: 768px) {
    h2{
        font-size: 2.5rem !important;
    }
    
    .panel {
        flex: 0.7;
    }
    
    .panel .panel-expand
    {
        height: calc(100vh - 100px);
    }
    
    .panel.spend-color .feature-text {
        height: auto;
    }
    .panel-expand h3{
    display: none;
    font-size: 17px !important;
}
    .sidebar {
        padding: .25rem;
    }
    .panel .vertical-text {
        font-size: 17px !important;
    }
.feature-text {
    font-size: 16px !important;
    font-weight: 400;
    color: #0e131f;
    margin-bottom: 32px;

    display: list-item;
    list-style-type: disc;
    margin-left: 1rem;
}
    /* panel slide  */
    .panel-container {
        flex-direction: column;
    }
    .panel {
        height: max-content;
    }
    .panel .vertical-text{
        writing-mode: initial;
        transform: rotate(0deg);
        bottom:initial;
        position: relative;
        white-space: normal !important;   

      
    }
    .featureCards {
        flex-direction: column;
    }
    .panel .featureCards .sidebar{
        width: 100%;
        height: auto;
        min-height: 60px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        gap: .75rem;
    }
    .panel .panel-expand {
        opacity:0;
        display: none;
    }
    .panel.active .panel-expand{
        opacity: 1;
        display: block;
    }
    .panel .panel-expand{
        width: 100%;
        height: max-content;
    }
    .panel.spend-color .vertical-text {
        bottom: initial;
        position: relative;
    }
    .pick-solution-img-container-banking-insurance{
            width: 100% !important;
    }
  
   .pick-solution-container-telecom-page{
    width: 100% !important;
   }
  
}
@media (max-width: 500px) {

  .section-main-heading {
    font-size: 23px !important;
  }
  
.section-main-heading::before,
.section-main-heading::after {
 
  width: 20px !important;
  height: 2px;

}
   .section-main-heading::before {
    left: -30px !important;
    
  }

  .section-main-heading::after {
    right: -30px !important;
  }

  }
.gray-background{
    background-color: #f5f5f5;
}
.pick-solution-container-cpg-retail{
    width: 97% !important;
}

/* Accordion styling */
.accordion .accordion-button {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: none;
}

/* .accordion .accordion-button:not(.collapsed) {
  background-color: #a33d3d;
  color: #fff;
}
 */


#accordionExample .accordion-button:not(.collapsed),
#accordionExample1 .accordion-button:not(.collapsed){
  color: white; 
  background-color: transparent; 
}
/* 
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); 
} */

.accordion .accordion-body {
  background-color: #ffffff;
  color: #444;
  padding: 1rem;
  border-top: 1px solid #ddd;
}


.accordion-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

/* Specific Styling When Accordion is Open */
#accordionExample .accordion-button:not(.collapsed),
#accordionExample1 .accordion-button:not(.collapsed) {
  background-color: #a33d3d !important;
  color: #fff !important;
}

/* Chevron Color White for Both Accordions */
#accordionExample .accordion-button:not(.collapsed)::after,
#accordionExample1 .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
/* Equal height columns using flexbox */
.row.equal-height {
  display: flex;
  flex-wrap: wrap;
}

.row.equal-height > [class^="col-"] {
  display: flex;
  flex-direction: column;
}

.pick-solution-container-cpg-retail .col-md-7,
.pick-solution-container-cpg-retail .col-md-5 ,
.pick-solution-container-manufacturing-page .col-md-7,
.pick-solution-container-manufacturing-page .col-md-5,
.pick-solution-container-government-sector-page .col-md-7,
.pick-solution-container-government-sector-page .col-md-5,
.pick-solution-container-telecom-page .col-md-7,
.pick-solution-container-telecom-page .col-md-5,
.pick-solution-container-banking-insurance .col-md-7,
.pick-solution-container-banking-insurance .col-md-5
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  
}

/* Responsive image with fixed height for comparison */
.pick-solution-container-cpg-retail img ,
.pick-solution-container-manufacturing-page img,
.pick-solution-container-government-sector-page img,
.pick-solution-container-telecom-page img,
.pick-solution-container-banking-insurance img{
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
}

