/* ============================================
   SERVICES PAGE - GREENFAJ SOLUTIONS
   = ALL STYLES INCLUDED - READY TO USE
   ============================================ */

/* Hero Section with Video */
.page-hero.video-hero {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 10%;
}

.page-hero.video-hero .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero.video-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-hero.video-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero.video-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero.video-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Services Main Section */
.services-main {
    padding: 5rem 10%;
    background-color: var(--bg-light);
    position: relative;
}

.services-two-column {
    display: grid;
    grid-template-columns: 1.8fr 0.55fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Left Side - Service Details Panel */
.service-details-panel {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.service-details-content {
    display: none;
}

.service-details-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-details-image {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.service-details-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-details-panel > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Service Features */
.service-features {
    margin: 1.5rem 0;
    text-align: left;
}

.service-features h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-features ul {
    list-style: none;
}

.service-features li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.service-features li i {
    color: var(--accent-gold);
    width: 20px;
}

/* Service Benefits Section */
.service-benefits {
    margin: 2rem 0;
    text-align: left;
}

.service-benefits h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.service-benefits h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 3px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--bg-soft), var(--white));
    padding: 1rem 1.2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(247, 179, 43, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.benefit-item:hover::before {
    width: 8px;
}

.benefit-item i {
    font-size: 1.6rem;
    color: var(--accent-gold);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 179, 43, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover i {
    background: var(--accent-gold);
    color: var(--primary-green);
    transform: scale(1.05);
}

.benefit-item span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
}

/* ============================================
   RELATED PROJECTS SECTION - PROJECT CARDS
   ============================================ */

.related-projects-section {
    margin: 2rem 0;
    text-align: left;
}

.related-projects-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

/* Filter Buttons */
.projects-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.projects-filter-buttons .filter-btn {
    padding: 6px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--accent-gold);
    color: var(--primary-green);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-filter-buttons .filter-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.projects-filter-buttons .filter-btn.active {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Projects Grid */
.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Project Card */
.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.project-badge.completed {
    background-color: #28a745;
}

.project-badge.ongoing {
    background-color: #ffc107;
    color: #333;
}

.project-badge.planning {
    background-color: #17a2b8;
}

.project-info {
    padding: 1rem;
}

.project-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-green);
}

.project-location {
    font-size: 0.7rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.project-location i {
    margin-right: 4px;
}

.project-info > p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
}

.project-stats span {
    font-size: 0.7rem;
    color: var(--primary-green);
    font-weight: 500;
}

.project-stats i {
    margin-right: 4px;
    color: var(--accent-gold);
}

/* Service Pricing Section */
.service-pricing {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-soft);
    border-radius: 16px;
    text-align: center;
}

.service-pricing h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-green);
}

.service-pricing p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-cta {
    display: inline-block;
    margin-top: 1rem;
}

/* Right Side - Service Categories (Desktop - Scrollable on Hover) */
.services-categories {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: 500px;
    overflow-y: hidden;
    transition: overflow-y 0.3s ease;
}

.services-categories:hover {
    overflow-y: auto;
}

/* Custom scrollbar for categories */
.services-categories::-webkit-scrollbar {
    width: 5px;
}

.services-categories::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 10px;
}

.services-categories::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.services-categories::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

.services-categories h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-category {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-soft);
}

.service-category:hover {
    background-color: var(--accent-gold);
    transform: translateX(3px);
}

.service-category.active {
    background-color: var(--primary-green);
}

.service-category.active .service-category-icon i,
.service-category.active .service-category-info h4,
.service-category.active .service-category-info p,
.service-category.active i:last-child {
    color: white;
}

.service-category-icon i {
    font-size: 1.3rem;
    color: var(--primary-green);
    width: 30px;
}

.service-category-info {
    flex: 1;
}

.service-category-info h4 {
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
    color: var(--primary-green);
}

.service-category-info p {
    font-size: 0.65rem;
    color: var(--text-light);
}

.service-category i:last-child {
    color: var(--primary-green);
    font-size: 0.7rem;
}

/* ============================================
   MOBILE CATEGORIES SIDEBAR
   ============================================ */

.mobile-category-toggle {
    display: none;
    position: relative;
    background: var(--primary-green);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.mobile-category-toggle:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
}

.mobile-category-toggle i {
    margin-right: 8px;
}

/* ========== STICKY CATEGORY BUTTON ========== */
.sticky-category-btn {
    position: fixed;
    top: 80px;
    left: 20px;
    background: var(--primary-green);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.85rem;
    display: none;
    align-items: center;
    gap: 8px;
}

.sticky-category-btn.visible {
    display: flex;
}

.sticky-category-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
}

.sticky-category-btn i {
    font-size: 1rem;
}

/* Categories Overlay */
.categories-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
}

.categories-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 2rem 1rem;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.categories-sidebar.open {
    left: 0;
}

.categories-sidebar .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-green);
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.categories-sidebar .close-btn:hover {
    background: var(--bg-soft);
    color: var(--accent-gold);
}

.categories-sidebar h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
    color: var(--primary-green);
}

.categories-sidebar .services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.categories-sidebar .service-category {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--bg-soft);
}

.categories-sidebar .service-category:hover {
    background-color: var(--accent-gold);
    transform: translateX(5px);
}

.categories-sidebar .service-category.active {
    background-color: var(--primary-green);
}

.categories-sidebar .service-category.active .service-category-icon i,
.categories-sidebar .service-category.active .service-category-info h4,
.categories-sidebar .service-category.active .service-category-info p {
    color: white;
}

.categories-sidebar .service-category-icon i {
    font-size: 1.5rem;
    color: var(--primary-green);
    width: 35px;
}

.categories-sidebar .service-category-info {
    flex: 1;
}

.categories-sidebar .service-category-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--primary-green);
}

.categories-sidebar .service-category-info p {
    font-size: 0.7rem;
    color: var(--text-light);
}

/* Stats Section */
.stats {
    padding: 4rem 10%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-light));
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.stat p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Us Section - Two Column Layout, No Cards */
.why-choose-us {
    padding: 5rem 10%;
    background: linear-gradient(135deg, var(--bg-light), var(--white));
}

.why-choose-us-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem auto;
}

.why-choose-us-header .section-tag {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-choose-us-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    line-height: 1.3;
}

.why-choose-us-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Two Column Grid */
.why-choose-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Each Column */
.why-column {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Individual Item - Clean, No Card */
.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(247, 179, 43, 0.2);
}

.why-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-icon i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon i {
    transform: scale(1.1);
    color: var(--primary-green);
}

.why-text {
    flex: 1;
}

.why-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.why-choose-us-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 179, 43, 0.2);
}

/* Relationships & CTA Section */
.relationships-cta-section {
    position: relative;
    padding: 5rem 10%;
    text-align: center;
    overflow: hidden;
    min-height: 550px;
}

.relationships-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.relationships-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom right;
}

.relationships-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 42, 0.8) 0%, rgba(26, 58, 34, 0.6) 50%, rgba(26, 58, 34, 0.2) 100%);
    z-index: 1;
}

.relationships-cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.relationships-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.relationships-cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.relationships-cta-section .btn {
    margin-bottom: 1.5rem;
}

.relationships-cta-section > .container > .relationships-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.relationships-values {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: white;
}

.cta-divider {
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 2rem auto;
    border-radius: 3px;
}

.cta-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 992px) {
    .services-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-categories {
        display: none;
    }
    
    .mobile-category-toggle {
        display: block;
    }
    
    .services-main {
        padding: 3rem 5%;
    }
    
    .service-details-panel {
        margin-top: 0;
    }
    
    .stats,
    .why-choose-us,
    .relationships-cta-section {
        padding: 3rem 5%;
    }
    
    .page-hero.video-hero {
        min-height: 300px;
        padding: 2rem 5%;
    }
    
    .page-hero.video-hero h1 {
        font-size: 1.8rem;
    }
    
    .why-choose-us-header h2 {
        font-size: 1.6rem;
    }
    
    .related-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .sticky-category-btn {
        top: 70px;
    }
}

@media (max-width: 768px) {
    body.sidebar-open {
        overflow: hidden;
    }
    
    .service-details-panel {
        padding: 1.5rem;
    }
    
    .service-details-image {
        height: 200px;
    }
    
    .service-details-panel h2 {
        font-size: 1.4rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-item {
        padding: 0.8rem 1rem;
    }
    
    .benefit-item i {
        font-size: 1.3rem;
        width: 38px;
        height: 38px;
    }
    
    .benefit-item span {
        font-size: 0.8rem;
    }
    
    .service-benefits h3 {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-choose-us-header h2 {
        font-size: 1.4rem;
    }
    
    .why-item {
        padding: 0.3rem 0;
    }
    
    .why-icon {
        width: 35px;
        height: 35px;
    }
    
    .why-icon i {
        font-size: 1.2rem;
    }
    
    .why-text p {
        font-size: 0.9rem;
    }
    
    .relationships-cta-section h2 {
        font-size: 1.5rem;
    }
    
    .relationships-cta-section > .container > .relationships-content > p {
        font-size: 0.95rem;
    }
    
    .relationships-values {
        gap: 1.5rem;
    }
    
    .value-item i {
        font-size: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    /* Project Cards Responsive */
    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .projects-filter-buttons {
        gap: 0.6rem;
    }
    
    .projects-filter-buttons .filter-btn {
        padding: 4px 14px;
        font-size: 0.7rem;
    }
    
    .project-image {
        height: 160px;
    }
    
    /* Sticky button mobile */
    .sticky-category-btn {
        top: 70px;
        left: 15px;
        padding: 10px 15px;
        font-size: 0.8rem;
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .relationships-values {
        flex-direction: column;
        gap: 1rem;
    }
    
    .categories-sidebar {
        width: 280px;
    }
    
    .mobile-category-toggle {
        top: 15px;
        left: 15px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .why-icon {
        width: 30px;
        height: 30px;
    }
    
    .why-icon i {
        font-size: 1rem;
    }
    
    .why-text p {
        font-size: 0.85rem;
    }
    
    .project-info h4 {
        font-size: 0.9rem;
    }
    
    .project-stats span {
        font-size: 0.65rem;
    }
    
    .sticky-category-btn {
        top: 65px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}