/* Enhanced Service Page Styles */

/* Product Category Image Sizing */
.product-category .position-relative {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-category .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Services Header Section */
.services-header-section {
    background-color: #ffffff;
    padding: 100px 0 80px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-top: 0 !important;
}

.services-header-section .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #008000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-header-section .section-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #333;
}

/* Service Cards in Header */
.service-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    height: 100%;
    transform: translateY(0);
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #008000;
    transition: height 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover .service-image::before {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
    text-align: left;
    position: relative;
}

.service-info h3 {
    color: #008000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
    display: inline-block;
}

.service-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008000;
    transition: width 0.3s ease;
}

.service-card:hover .service-info h3::after {
    width: 100%;
}

.service-info p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Our Services Section */
.our-services-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.our-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #008000, #00A550);
}

.our-services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.our-services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #00A550;
}

.our-services-section > .container > p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Service Items */
.service-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #008000;
    transition: height 0.3s ease;
    z-index: -1;
}

.service-item:hover::before {
    height: 100%;
}

.service-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-item .row {
    margin: 0;
}

.service-item .col-md-6 {
    padding: 0;
}

.service-item .col-md-6:first-child {
    overflow: hidden;
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    min-height: 200px;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-item .col-md-6:last-child {
    padding: 25px;
}

.service-item h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #008000;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008000;
    transition: width 0.3s ease;
}

.service-item:hover h3::after {
    width: 70%;
}

.arrow-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #008000;
}

.service-item:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.service-item p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

/* Print & Branding Section */
.print-branding-section {
    padding: 60px 0;
    position: relative;
    background-color: #ffffff;
}

.print-branding-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
}

.print-branding-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #008000;
    font-weight: 700;
}

.print-branding-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #008000;
}

.print-branding-section > p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Product Categories */
.product-category {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    padding: 15px;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.product-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #008000;
    opacity: 1;
    z-index: -1;
    transition: height 0.3s ease;
}

.product-category:hover::before {
    height: 100%;
}

.product-category:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-category h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.product-category:hover h3 {
    color: #008000;
}

.product-category h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008000;
    transition: width 0.3s ease;
}

.product-category:hover h3::after {
    width: 100%;
}

.product-category img {
    transition: all 0.5s ease;
    border-radius: 10px;
    height: 150px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-category:hover img {
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-header-section .section-title {
        font-size: 2.8rem;
    }
    
    .service-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .services-header-section {
        padding: 120px 0 60px;
        margin-top: 0;
    }
    
    .services-header-section .section-title {
        font-size: 2.2rem;
    }
    
    .services-header-section .section-subtitle {
        font-size: 1rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-info {
        padding: 15px;
    }
    
    .service-info h3 {
        font-size: 1.3rem;
    }
    
    .our-services-section h2,
    .print-branding-section h2 {
        font-size: 2rem;
    }
    
    .service-item .col-md-6:last-child {
        padding: 20px;
    }
    
    .service-item h3 {
        font-size: 1.3rem;
    }
    
    .product-category {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .service-card {
        margin-bottom: 30px;
    }
    
    .service-info h3 {
        font-size: 1.3rem;
    }
    
    .our-services-section h2,
    .print-branding-section h2 {
        font-size: 2rem;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    .product-category {
        margin-bottom: 15px;
    }
    
    .product-category h3 {
        font-size: 1rem;
    }
    
    .product-category p {
        font-size: 0.8rem;
    }
    
    /* 2x2 Grid Layout for Mobile */
    .col-6 .service-item,
    .col-6 .product-category,
    .col-6 .indoor-print-item,
    .col-6 .outdoor-print-item {
        height: 100%;
    }
    
    .col-6 img {
        max-height: 120px;
        object-fit: cover;
    }
    
    .arrow-icon {
        display: none; /* Hide arrow icons on mobile to save space */
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Printing & Branding Page Styles */

/* Print Solutions Section */
.print-solutions-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.print-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ff0000, #ff6600);
}

.print-service-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.print-service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #008000;
    transition: height 0.3s ease;
    z-index: -1;
}

.print-service-item:hover::before {
    height: 100%;
}

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

.print-service-item h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.print-service-item:hover h3 {
    color: #008000;
}

.print-service-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Indoor Printing Section Styles */
.indoor-printing-section {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
}

.indoor-printing-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
}

.indoor-print-item {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.indoor-print-item h3 {
    color: #333;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.indoor-print-item:hover h3 {
    color: #008000;
}

.indoor-print-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008000;
    transition: width 0.3s ease;
}

.indoor-print-item:hover h3::after {
    width: 100%;
}

.indoor-print-image {
    margin-top: 10px;
    transition: all 0.4s ease;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.indoor-print-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.indoor-print-item:hover .indoor-print-image::before {
    opacity: 1;
}

.indoor-print-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.indoor-print-item:hover .indoor-print-image {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.indoor-print-item:hover .indoor-print-image img {
    transform: scale(1.1);
}

/* Outdoor Printing Section Styles */
.outdoor-printing-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    position: relative;
}

.outdoor-printing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
}

.outdoor-print-item {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.outdoor-print-item h3 {
    color: #333;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.outdoor-print-item:hover h3 {
    color: #008000;
}

.outdoor-print-item h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #008000;
    transition: width 0.3s ease;
}

.outdoor-print-item:hover h3::after {
    width: 100%;
}

.outdoor-print-image {
    margin-top: 10px;
    transition: all 0.4s ease;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.outdoor-print-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.outdoor-print-item:hover .outdoor-print-image::before {
    opacity: 1;
}

.outdoor-print-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.outdoor-print-item:hover .outdoor-print-image {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.outdoor-print-item:hover .outdoor-print-image img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .indoor-print-image, .outdoor-print-image {
        height: 160px;
    }
    
    .indoor-print-item h3, .outdoor-print-item h3 {
        font-size: 1.2rem;
    }
}
