:root {
    --primary-color: #ff4a17;
    --secondary-color: #0d1e3a;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    /* --accent-color: #6c63ff; */
}
.section {
    padding: 80px 0;
}    
/* .dark-background {
    background-color: var(--secondary-color);
    color: white;
}     */
.light-background {
    background-color: var(--light-color);
}    
.section-title {
    text-align: center;
    margin-bottom: 60px;
}    
.section-title h2 {
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}    
.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}    
.section-title p {
    font-size: 18px;
    color:rgb(230, 99, 34);
}    
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}    
.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}    
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}    
.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}    
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}    
.service-card:hover .service-image img {
    transform: scale(1.05);
}    
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 30, 58, 0.7), rgba(255, 74, 23, 0.3));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}    
.service-card:hover .service-overlay {
    opacity: 1;
}    
.service-overlay .btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}    
.service-overlay .btn:hover {
    background: #e03e14;
    transform: translateY(-3px);
}    
.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}    
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #ff7c4a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}    
.service-icon i {
    font-size: 1.5rem;
    color: white;
}    
.service-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}    
.service-description {
    margin-bottom: 20px;
    flex-grow: 1;
}    
.service-features {
    margin-bottom: 20px;
}    
.service-features ul {
    padding-left: 20px;
    margin-bottom: 0;
}    
.service-features li {
    margin-bottom: 8px;
    position: relative;
}    
.service-features li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}    
.service-cta {
    margin-top: auto;
}    
.service-cta .btn {
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}    
.service-cta .btn:hover {
    background: var(--primary-color);
    color: white;
}    
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}    
.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: var(--dark-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}    
.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}    
/* Expanded Content Styles */
.service-expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}    
.service-expanded.active {
    opacity: 1;
    visibility: visible;
}    
.expanded-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}    
.service-expanded.active .expanded-content {
    transform: scale(1);
}    
.close-expanded {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}    
.close-expanded:hover {
    background: #e03e14;
    transform: rotate(90deg);
}    
.expanded-header {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}    
.expanded-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}    
.expanded-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 30, 58, 0.8), rgba(255, 74, 23, 0.4));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px;
}    
.expanded-header-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}    
.expanded-header-overlay p {
    font-size: 1.2rem;
    margin-bottom: 0;
}    
.expanded-body {
    padding: 40px;
}    
.expanded-section {
    margin-bottom: 30px;
}    
.expanded-section h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}    
.expanded-section ul {
    padding-left: 20px;
    margin-bottom: 0;
}    
.expanded-section li {
    margin-bottom: 10px;
    position: relative;
}    
.expanded-section li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}    
.engagement-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}    
.engagement-model {
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}    
.engagement-model h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}    
/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }        
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }        
    .filter-btn {
        width: 200px;
    }        
    .expanded-header {
        height: 200px;
    }        
    .expanded-header-overlay h2 {
        font-size: 1.8rem;
    }        
    .expanded-body {
        padding: 25px;
    }        
    .engagement-models {
        grid-template-columns: 1fr;
    }
}