/* ============== SIMPLE UNIFORM CARD DESIGN =============== */

/* Services Section */
.services-section {
    background: #f8f9fa;
    padding: 80px 0;
}

/* Section Header */
.services-section h2 {
    color: #148255;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.services-section .subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* ALL CARDS - UNIFORM DESIGN */
.services-section .service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.services-section .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(20, 130, 85, 0.2);
}

/* ALL CARD IMAGES */
.services-section .service-card-image {
    height: 200px;
    overflow: hidden;
}

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

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

/* ALL CARD CONTENT */
.services-section .service-card-content {
    padding: 1.5rem;
}

/* ALL TITLES - UNIFORM COLOR */
.services-section .service-card-title,
.services-section .service-card h4,
.services-section .service-card-content h4 {
    color: #333 !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.services-section .service-card-title a,
.services-section .service-card h4 a,
.services-section .service-card-content h4 a {
    color: #333 !important;
    text-decoration: none !important;
}

.services-section .service-card:hover .service-card-title a,
.services-section .service-card:hover h4 a,
.services-section .service-card:hover .service-card-content h4 a {
    color: #148255 !important;
}

/* ALL DESCRIPTIONS - UNIFORM COLOR */
.services-section .service-card-description,
.services-section .service-card p,
.services-section .service-card-content p {
    color: #666 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

/* ALL BUTTONS - UNIFORM GREEN */
.services-section .service-card-button,
.services-section .service-card a[href*="services"],
.services-section .service-card-content a[href*="services"] {
    background: #148255 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.services-section .service-card-button:hover,
.services-section .service-card a[href*="services"]:hover,
.services-section .service-card-content a[href*="services"]:hover {
    background: #0f6b3f !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* ALL CATEGORY BADGES */
.services-section .service-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(20, 130, 85, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============== ABOUT PAGE IMAGE SIZE REDUCTION =============== */

/* Reduce the size of the specific image on about page */
.about-company-area .about-thumb .img-hover-wrapper img {
    max-width: 80% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Alternative: If you want to make it even smaller */
.about-company-area .about-thumb .img-hover-wrapper img[src*="1752898969893.jpg"] {
    max-width: 60% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* ============== VIEW MORE SERVICES BUTTON =============== */

/* View More Services Button Container */
.view-more-services {
    margin-top: 3rem;
    position: relative;
}

/* View More Services Button */
.view-more-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 18px 35px !important;
    background: linear-gradient(135deg, #148255 0%, #1a9d6b 100%) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid #148255 !important;
    box-shadow: 0 8px 25px rgba(20, 130, 85, 0.3) !important;
}

.view-more-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(20, 130, 85, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #0f6b3f 0%, #148255 100%) !important;
}

/* Button Text */
.view-more-btn .btn-text {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.view-more-btn:hover .btn-text {
    transform: translateX(5px);
}

/* Button Icon */
.view-more-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.view-more-btn:hover .btn-icon {
    transform: translateX(8px);
}

/* Button Glow Effect */
.view-more-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.view-more-btn:hover .btn-glow {
    left: 100%;
}

/* Button Particles */
.view-more-btn .btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.view-more-btn .btn-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 3s infinite;
}

.view-more-btn .btn-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.view-more-btn .btn-particles span:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.view-more-btn .btn-particles span:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* ============== GALLERY IMAGE FIXES =============== */

/* Gallery Image Container */
.gallery-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    transform: scale(0.95);
    width: 100%;
    height: 220px; /* Reduced height for smaller images */
}

.gallery-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Gallery Images - Better Fit */
.gallery-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* This ensures images cover the entire container */
    object-position: center !important; /* Centers the image */
    transition: all 0.4s ease;
    border-radius: 20px;
    display: block;
}

/* Alternative: If you want to show the full image without cropping */
.gallery-image.fit-contain {
    object-fit: contain !important;
    background-color: #f8f9fa; /* Light background for empty spaces */
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(32, 201, 151, 0.9);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.1);
}

/* Overlay Content */
.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-image-wrapper:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    color: #feca57;
}

.overlay-content span {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Item Spacing */
.gallery-item {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Gallery Slider */
.gallery-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-image-wrapper {
        height: 180px; /* Smaller height on mobile */
    }
    
    .gallery-item {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .overlay-content i {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .overlay-content span {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .gallery-image-wrapper {
        height: 150px; /* Even smaller on very small screens */
    }
    
    .gallery-item {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .overlay-content i {
        font-size: 25px;
        margin-bottom: 8px;
    }
    
    .overlay-content span {
        font-size: 14px;
    }
}

/* Why Choose Us Section */
.why-choose-us-section {
    background: white;
    padding: 80px 0;
}

.why-choose-us-section h2 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.why-choose-us-section p {
    color: #666;
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Feature Items */
.why-choose-us-section > div > div > div > div > div {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.why-choose-us-section > div > div > div > div > div:hover {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Feature Icons */
.why-choose-us-section > div > div > div > div > div > div:first-child {
    background: #148255;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Feature Text */
.why-choose-us-section h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-choose-us-section > div > div > div > div > div > div:last-child > p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Why Choose Us Image */
.why-choose-us-section > div > div > div:last-child > img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section h2 {
        font-size: 2.5rem;
    }
    
    .services-section .service-card-content {
        padding: 1rem;
    }
    
    .services-section .service-card-title {
        font-size: 1.2rem;
    }
    
    .services-section,
    .why-choose-us-section {
        padding: 60px 0;
    }
    
    /* Make image even smaller on mobile */
    .about-company-area .about-thumb .img-hover-wrapper img {
        max-width: 90% !important;
    }
    
    /* Mobile button adjustments */
    .view-more-btn {
        padding: 15px 25px !important;
        font-size: 1rem !important;
        gap: 10px !important;
    }
}

@media (max-width: 576px) {
    .services-section h2 {
        font-size: 2rem;
    }
    
    .services-section .service-card-image {
        height: 180px;
    }
    
    .services-section .service-card-content {
        padding: 1rem;
    }
    
    /* Make image smaller on very small screens */
    .about-company-area .about-thumb .img-hover-wrapper img {
        max-width: 95% !important;
    }
    
    /* Small screen button adjustments */
    .view-more-btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        gap: 8px !important;
    }
} 