/* Modern Services Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: #4a90e2;
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Filters */
.service-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #4a90e2;
    color: white;
}

/* Services Grid */
.services-container {
    padding: 40px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-grid .portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
    padding: 0;
}

.services-grid .portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.2);
}

.services-grid .portfolio-item .picture {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    height: 220px !important;
    width: auto !important;
    margin: 0;
    padding: 0;
    background-size: cover;
    display: block;
}

.services-grid .portfolio-item .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.services-grid .portfolio-item:hover .picture img {
    transform: scale(1.05);
}

/* Removed magnifying glass overlay */
.services-grid .portfolio-item .picture .image-overlay,
.image-overlay {
    display: none !important;
}

.services-grid .portfolio-item .item-description {
    padding: 20px;
    background-color: white;
    border-top: 3px solid #4a90e2;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 0;
    position: relative;
}

.services-grid .portfolio-item .item-description h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.services-grid .portfolio-item .item-description h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4a90e2;
}

.services-grid .portfolio-item .item-description p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.services-grid .portfolio-item .item-description .transparent {
    background: transparent;
    border: none;
    color: #4a90e2;
    padding: 8px 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: inline-block;
    position: relative;
    margin-top: auto;
    align-self: flex-start;
}

.services-grid .portfolio-item .item-description .transparent:hover {
    color: #2a70c2;
}

.services-grid .portfolio-item .item-description .transparent:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.services-grid .portfolio-item .item-description .transparent:hover:after {
    transform: translateX(5px);
}

/* Fix for modal display */
.modal {
    z-index: 9999 !important;
}

.modal-content {
    overflow-y: auto;
    max-height: 90vh;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .item-description {
        height: auto;
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .picture {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: calc(50% - 10px);
        text-align: center;
        padding: 10px 5px;
        font-size: 13px;
    }
    
    .picture {
        height: 200px;
    }
}

@media (max-width: 400px) {
    .filter-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: calc(50% - 10px);
        text-align: center;
        padding: 10px 5px;
        font-size: 13px;
    }
    
    .picture {
        height: 200px;
    }
}

@media (max-width: 400px) {
    .filter-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}/* Modern Services Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: #4a90e2;
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Filters */
.service-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #4a90e2;
    color: white;
}

/* Services Grid */
.services-container {
    padding: 40px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.2);
}

.picture {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    height: 250px;
}

.picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .picture img {
    transform: scale(1.05);
}

/* Removed magnifying glass overlay */

.item-description {
    padding: 20px;
    background-color: white;
    border-top: 3px solid #4a90e2;
    height: 150px;
    display: flex;
    flex-direction: column;
}

.item-description h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.item-description h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4a90e2;
}

.item-description p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.transparent {
    background: transparent;
    border: none;
    color: #4a90e2;
    padding: 8px 0;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: inline-block;
    position: relative;
    margin-top: auto;
}

.transparent:hover {
    color: #2a70c2;
}

.transparent:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.transparent:hover:after {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .item-description {
        height: auto;
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .picture {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: calc(50% - 10px);
        text-align: center;
        padding: 10px 5px;
        font-size: 13px;
    }
    
    .picture {
        height: 200px;
    }
}

@media (max-width: 400px) {
    .filter-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}/* Modern Services Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.section-divider {
    height: 3px;
    width: 60px;
    background-color: #4a90e2;
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Filters */
.service-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 30px;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #4a90e2;
    color: white;
}

/* Services Grid */
.services-container {
    padding: 20px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.picture {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.picture img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .picture img {
    transform: scale(1.05);
}

.item-description {
    padding: 20px;
    background-color: white;
}

.item-description h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.item-description p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.transparent {
    background: transparent;
    border: none;
    color: #4a90e2;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.transparent:hover {
    color: #2a70c2;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
}