/* Services Page Styles */
html {
    scroll-behavior: smooth;
}

.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/image1.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 18px;
    animation: fadeInDown 1s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-banner p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.services-page {
    padding: 60px 0;
    perspective: 1200px;
    background-color: #fafafa;
    position: relative;
}

.services-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png') repeat;
    opacity: 0.03;
    z-index: 0;
}

.service-item {
    margin-bottom: 100px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    padding: 50px 40px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    z-index: 1;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 20px;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.service-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.service-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.service-item:hover .service-header h2::after {
    width: 100px;
}

.eco-separator {
    position: relative;
    margin: 25px auto 0;
    width: 100%;
    text-align: center;
}

.eco-separator::before,
.eco-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: rgba(46, 204, 113, 0.2);
    margin: 0 15px;
}

.service-item:hover .eco-separator::before,
.service-item:hover .eco-separator::after {
    background-color: rgba(46, 204, 113, 0.4);
}

.eco-separator span {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.15);
    transition: all 0.4s ease;
}

.service-item:hover .eco-separator span {
    background-color: rgba(46, 204, 113, 0.15);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25);
    transform: scale(1.05);
}

.eco-separator i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-item:hover .eco-separator i {
    color: var(--secondary-color);
    transform: rotate(360deg);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse .service-text {
    direction: ltr;
}

.service-text {
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    padding: 25px 20px;
    border-radius: 15px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.7);
}

.service-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 204, 113, 0.04);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover .service-text::before {
    opacity: 1;
}

.service-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    transition: transform 0.4s ease, color 0.3s ease;
    position: relative;
    color: #444;
    font-size: 16px;
}

.service-item:hover .service-text p {
    transform: translateZ(10px);
    color: #333;
}

/* Image Gallery Styling */
.service-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-gallery.two-images {
    grid-template-columns: 1fr 1fr;
}

.service-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    position: relative;
    border: 4px solid rgba(255, 255, 255, 0.9);
    height: 280px;
}

.service-gallery.two-images .service-image {
    height: 220px;
}

.service-image.main-image {
    grid-column: 1 / -1;
    height: 320px;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(46, 204, 113, 0.15), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-item:hover .service-image::after {
    opacity: 1;
}

.service-item:hover .service-image {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 1);
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.98);
    object-fit: cover;
}

.service-item:hover .service-image img {
    transform: scale(1.03);
    filter: brightness(1.02);
}

/* Service Icons */
.service-icon-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 204, 113, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    background-color: var(--primary-color);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

.service-item:hover .service-icon i {
    color: var(--white-color);
    transform: scale(1.1);
}

/* Service Benefits */
.service-benefits {
    margin-top: 25px;
    padding: 22px 18px;
    border-radius: 15px;
    background-color: rgba(46, 204, 113, 0.05);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
}

.service-item:hover .service-benefits {
    background-color: rgba(46, 204, 113, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.service-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 20px;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.service-benefits h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -6px;
    left: 0;
    transition: width 0.3s ease;
}

.service-item:hover .service-benefits h4::after {
    width: 60px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.benefit-item:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(46, 204, 113, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.benefit-item span {
    font-weight: 500;
    color: #444;
    transition: color 0.3s ease;
}

.benefit-item:hover span {
    color: #222;
}

/* Responsive Styles for Services Page */
@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-content.reverse {
        direction: ltr;
    }
    
    .service-item {
        padding: 35px 25px;
        margin-bottom: 70px;
    }
    
    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-icon-container {
        gap: 20px;
        justify-content: center;
    }
    
    .service-gallery {
        order: -1;
        margin: 0 auto;
        width: 100%;
        max-width: 700px;
    }
    
    .service-gallery.two-images {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-gallery.two-images .service-image,
    .service-image.main-image,
    .service-image {
        height: 280px;
    }
    
    .service-content.reverse .service-gallery {
        order: -1;
    }
    
    .service-content.reverse .service-text {
        order: 2;
    }
    
    .page-banner {
        padding: 120px 0 70px;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 36px;
    }
    
    .page-banner p {
        font-size: 18px;
        padding: 0 15px;
    }
    
    .service-header h2 {
        font-size: 28px;
    }
    
    .service-item {
        margin-bottom: 60px;
        padding: 30px 20px;
    }
    
    .service-benefits {
        padding: 20px 15px;
    }
    
    .service-benefits h4 {
        font-size: 20px;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-gallery.two-images .service-image,
    .service-image.main-image,
    .service-image {
        height: 240px;
    }
    
    .service-gallery.two-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 100px 0 60px;
    }
    
    .service-icon-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .page-banner h1 {
        font-size: 30px;
    }
    
    .page-banner p {
        font-size: 16px;
    }
    
    .service-item {
        padding: 25px 15px;
    }
    
    .service-text {
        padding: 15px 10px;
    }
    
    .service-header {
        margin-bottom: 25px;
    }
    
    .eco-separator span {
        width: 50px;
        height: 50px;
    }
    
    .eco-separator i {
        font-size: 20px;
    }
    
    .service-gallery.two-images .service-image,
    .service-image.main-image,
    .service-image {
        height: 200px;
    }
} 

.page-bannerproduct {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/image4.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-bannerproduct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
}

.page-bannerproduct::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.page-bannerproduct h1 {
    font-size: 48px;
    margin-bottom: 18px;
    animation: fadeInDown 1s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-bannerproduct p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.page-bannerann { 
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/msg.jpg') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 150px 0 80px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-bannerann::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    animation: pulse 5s infinite ease-in-out;
}

.page-bannerann::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

.page-bannerann h1 {
    font-size: 48px;
    margin-bottom: 18px;
    animation: fadeInDown 1s ease;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.page-bannerann p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
    position: relative;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}