
/* Main container styling */
.about {
    padding: 60px 0;
    background-color: #f8f9fa;
}
        
.co-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
        
.alex {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
        
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
        
.align-items-stretch {
    align-items: stretch;
}
        
.icon-boxes {
    Width: 100%;
}
        
/* Individual service box styling */
.icon-box {
    padding: 15px;
    text-align: center;
}
        
/* Button container */
.cntnt-btn-container {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}
        
/* Button styling */
.cntnt-icons-btn {
    background-color: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

      

.accordion-button::after {
    content: "+";
    background-image: none !important;
    width: auto;
    height: auto;
    font-weight: bold;
    transform: none !important;
}
        
.accordion-checkbox:checked + .accordion-button::after {
    content: "-";
}
        
/* Hover effect for the button */
.cntnt-icons-btn:hover {
    transform: scale(1.05);
    text-decoration: none;
}
        
/* Image container styling */
.icon-img-container {
    width: 90px;
    height: 90px;
    border-radius: 60%;
    border: 3px solid #e0e0e0;
    margin-bottom: 15px;
    background-color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
        
/* Image styling - applies to both static and animated versions */
.icon-img {
    width: 60px !important; /* Reduced size to fit inside circle */
    height: 60px !important; /* Reduced size to fit inside circle */
    object-fit: contain;
    transition: all 0.3s ease;
}
        
/* Static image styling */
.icon-img:not(.gif-version) {
    position: relative;
    display: block;
}
        
/* Animated image (GIF) styling */
.icon-img.gif-version {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: -1;
    z-index: 2;
}
        
/* Show GIF on hover */
.cntnt-icons-btn:hover .icon-img.gif-version {
    opacity: 1;
}
        
/* Hide static image on hover */
.cntnt-icons-btn:hover .icon-img:not(.gif-version) {
    opacity: 0;
}
        
/* Text styling */
.cntnt-icons-btn span {
    margin-top: 5px;
    display: block;
    width: 100%;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}
        
/* Responsive adjustments */
@media (max-width: 992px) {
    .icon-img-container {
        width: 80px;
        height: 80px;
    }
}
/*         
 @media (max-width: 768px) {
    .icon-img-container {
        width: 70px;
        height: 70px;
    }
            
    .cntnt-icons-btn span {
        font-size: 13px;
        }
} */
        
@media (max-width: 576px) {
    .icon-box {
        padding: 10px;
    }
            
    .icon-img-container {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
            
    .cntnt-icons-btn {
        padding: 15px 5px;
    }
}


/* For mobile devices */
@media (max-width: 768px) {
    .icon-img-container {
      width: 60px !important;
      height: 60px !important;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      overflow: hidden;
      background: #f8f9fa; /* or your preferred background color */
    }
    
    .icon-img {
      max-width: 80%;
      max-height: 80%;
      object-fit: contain;
    }
    
    .cntnt-icons-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 10px 5px;
    }
}





/* Main Accordion Container */
.panel-group {
    width: 98% !important;
    margin: 20px auto;
}

  /* Each Panel (Card Styling) */
.panel {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

  /* Panel Heading (Title Bar) */

.panel-heading2 {
    background: linear-gradient(#FAF288);	
    color: black !important;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}


.panel-heading {
    background: linear-gradient(#FFF786);	
    color: black !important;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}



  .panel-heading:hover {
    background: linear-gradient(#FFF786);}


  /* Panel Title Styling */
.panel-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

  /* + and - Icons */
.panel-heading:after {
    content: "+";
    font-family: monospace;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.panel-heading.collapsed:after {
    content: "+";
}

.panel-heading:not(.collapsed):after {
    content: "-";
}

  /* Panel Body (Dropdown Content) */
.panel-collapse {
    border: 1px solid #e0e0e0;
    border-top: none !important;
    border-radius: 0 0 8px 8px;
}

.panel-body {
    padding: 20px;
    background: white;
}

  /* Table Styling Inside Accordion */
.table {
    width: 100%;
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}






.centertitle {
    background: url(/resources/assets/images/dots.gif) repeat-x scroll 0 0 transparent;
    background-position: center;
    margin: 10px 0 25px;
    min-height: 20px;
    text-align: center;
    padding: 20px 0;
  }

  .centertitle h2,
  .centertitle h1,
  .centertitle h4 {
    font-weight: 900;
    background-color: #ffff;
    display: inline;
    padding: 5px 10px;
    margin: 15px 0;
    line-height: 1.4;
  }

  .centertitle h2 {
    font-size: 22px;
    color: #333;
  }

  .centertitle h1 {
    font-size: 28px;
    color: #d9230f; /* Red color for emphasis */
  }

  .centertitle h4 {
    font-size: 20px;
    color: #333;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .centertitle h2 {
      font-size: 18px;
    }
    .centertitle h1 {
      font-size: 24px;
    }
    .centertitle h4 {
      font-size: 18px;
    }
  }



