/* Basic Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.services-section {
    padding: 50px 0;
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.services-section .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Category Styling */
.services-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Service Card Styling */
.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.service-card .icon {
    font-size: 3rem;
    color: #007bff; /* Primary color */
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.hover-summary {
    font-size: 0.9rem;
    color: #666;
    transition: opacity 0.3s ease;
}

.service-card:hover .hover-summary {
    opacity: 1;
}

/* Accordion Styling */
.accordion-content {
    padding: 20px;
    text-align: left;
    border-top: 1px solid #ddd;
    display: none; /* Initially hidden */
}

.accordion-content p {
    margin-bottom: 10px;
}

.accordion-content ul {
    margin-bottom: 10px;
    padding-left: 20px;
}

.accordion-content li {
    list-style-type: disc;
}

.accordion-content .button {
    display: inline-block;
    background-color: #007bff; /* Primary color */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.accordion-content .button:hover {
    background-color: #0056b3; /* Darker shade of primary color */
}

/* Active Card Styling */
.service-card.active {
    transform: translateY(0); /* Reset hover transform */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.service-card.active .accordion-content {
    display: block;
}

.service-card.active .hover-summary{
    opacity: 0;
}

/* Category Colors */
.services-category:nth-child(2) .category-title { /* Fintech */
    color: #008080; /* Teal */
}

.services-category:nth-child(3) .category-title { /* Strategic Consulting */
    color: #800080; /* Purple */
}

.services-category:nth-child(4) .category-title { /* Learning & Dev */
    color: #D2691E; /* Orange */
}

.services-category:nth-child(2) .service-card .icon { /* Fintech */
    color: #008080;
}

.services-category:nth-child(3) .service-card .icon { /* Strategic Consulting */
    color: #800080;
}

.services-category:nth-child(4) .service-card .icon { /* Learning & Dev */
    color: #D2691E;
}

.services-category:nth-child(2) .accordion-content .button { /* Fintech */
    background-color: #008080;
}

.services-category:nth-child(3) .accordion-content .button { /* Strategic Consulting */
    background-color: #800080;
}

.services-category:nth-child(4) .accordion-content .button { /* Learning & Dev */
    background-color: #D2691E;
}

.services-category:nth-child(2) .accordion-content .button:hover { /* Fintech */
    background-color: #005f5f; /* Darker shade */
}

.services-category:nth-child(3) .accordion-content .button:hover { /* Strategic Consulting */
    background-color: #5c005c; /* Darker shade */
}

.services-category:nth-child(4) .accordion-content .button:hover { /* Learning & Dev */
    background-color: #b4530e; /* Darker shade */
}

/* Responsiveness */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


.partners {
    padding-top: 60px 0;
    text-align: center;
    background-color: #f5f6f8;
  }
  
  .partners .section_title{
    padding-bottom: 20px;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .partners h2 {
    font-size: 36px;
    margin-bottom: 20px;/
  }
  
  .partners .intro-text {
    font-size: 18px;
    color: #666; /* Slightly lighter text color for the intro */
    margin-bottom: 40px; /* Margin to separate from the grid */
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid */
    gap: 40px;
    justify-items: center;
  }
  
  .partner-item {
    opacity: 1; /* Initially slightly faded */
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth transitions */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center */
    justify-content: center; /* Horizontally center */
    width: 100%;
    height: 150px; /* Fixed height for logos */
  }
  
  .partner-item:hover {
    transform: scale(1.05); /* Slightly zoom on hover */
    opacity: 1; /* Fully opaque on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
  }
  
  .partner-item img {
    max-width: 100%;
    max-height: 100%; /* Ensure logos fit within their container */
    transition: filter 0.3s ease-in-out; /* Transition for grayscale */
  }
  
  .partner-item:hover img {
    filter: grayscale(0%); /* Full color on hover */
  }
  
  /* Add styles for fade-in animation (optional, used with JavaScript) */
  .partner-item.animate-in {
    opacity: 0.7;
    animation: fadeIn 0.8s ease-in-out forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 0.7;
      transform: translateY(0);
    }
  }

.services-section button{
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
    border: none;
}  