/* Services Page Styles - Green Theme */

/* CSS Variables for Green Theme */
:root {
    --primary-green: #22c55e;
    --dark-primary: #16a34a;
    --darker-green: #166534;
    --light-green: #dcfce7;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --white: #ffffff;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
*, 
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: capitalize;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-green);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-green);
    color: var(--dark-primary);
}

/* CTA Button */
.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--dark-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Mobile Navigation */
/*
.mobile-nav {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
*/

/*
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
*/

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1001;
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
}

.mobile-nav-links a.active {
    color: var(--primary-green);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 1rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: var(--text-gray);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--primary-green);
}

.breadcrumb-nav .current {
    color: var(--primary-green);
    font-weight: 500;
}

.separator {
    color: var(--text-light);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    display: block;
    width: calc(100% - 4rem);
    height: 300px;
    margin: 0 auto 3rem auto;
    background: url('assets/servicepage-below-image.png') center/cover no-repeat;
    border-radius: 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    padding: 5rem 0;
    background: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

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

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

.service-icon {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-green);
    transform: translateX(-50%) scale(1.1);
}

.service-card:hover .service-icon img {
    filter: brightness(0) invert(1);
}

.service-content {
    padding: 2.5rem 1.5rem 1.5rem;
    text-align: center;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature {
    background: var(--light-green);
    color: var(--dark-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Section Styles */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .features-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .feature-card {
        min-width: 100vw;
        width: 100vw;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0;
        padding: 2rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }
    
    .why-choose {
        position: relative;
        overflow: hidden;
        padding: 3rem 0;
    }
    
    .why-choose .container {
        max-width: none;
        padding: 0;
    }
    
    .why-choose .section-title {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gray-300);
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .carousel-dot.active {
        background: var(--primary-green);
    }
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon .icon {
    font-size: 3rem;
    display: inline-block;
    padding: 1rem;
    background: var(--light-green);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Service Process */
.service-process {
    padding: 5rem 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: var(--light-green);
    transform: translateY(-5px);
}

.step-number {
    background: var(--primary-green);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Add connecting lines between steps on desktop */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary-green);
    opacity: 0.3;
}

/* Pricing CTA */
.pricing-cta {
    padding: 8rem 2rem;
    background-image: url('../assets/Service-pagebelow-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    margin-left: 2rem;
    margin-right: 2rem;
    margin-bottom: 3rem;
    border-radius: 1.5rem;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 var(--primary-green), 
                 -1px -1px 0 var(--primary-green), 
                 1px -1px 0 var(--primary-green), 
                 -1px 1px 0 var(--primary-green);
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 0 var(--primary-green), 
                 -1px -1px 0 var(--primary-green), 
                 1px -1px 0 var(--primary-green), 
                 -1px 1px 0 var(--primary-green);
}

.cta-actions {
    display: flex;
    gap: 1rem;
}

.cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary-green);
}

.cta-actions .btn-primary:hover {
    background: var(--light-bg);
}

.cta-actions .btn-secondary {
    border-color: var(--white);
    color: var(--primary-green);
    background: var(--white);
}

.cta-actions .btn-secondary:hover {
    background: var(--light-bg);
    color: var(--primary-green);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
}

.footer-main {
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.company-info p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.credits {
    font-size: 0.9rem;
    opacity: 0.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item .icon {
    font-size: 1.25rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.social-links h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
}

.footer-bottom {
    background: #111827;
    padding: 1rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-bottom a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    /* Mobile nav is handled by navbar component */
    /* .mobile-nav {
        display: flex;
    } */
    
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .pricing-cta {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        margin-bottom: 2rem;
        padding: 4rem 1.5rem;
        border-radius: 1.25rem;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .services-grid,
    .why-choose,
    .service-process {
        padding: 3rem 0;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-content {
        padding: 2rem 1rem 1rem;
    }
    
    .feature-card,
    .process-step {
        padding: 1.5rem;
    }
    
    .pricing-cta {
        padding: 3rem 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 1rem;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-step {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.process-step.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.service-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.service-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.service-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.service-card:nth-child(4).animate-in { transition-delay: 0.4s; }
.service-card:nth-child(5).animate-in { transition-delay: 0.5s; }
.service-card:nth-child(6).animate-in { transition-delay: 0.6s; }

.feature-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.feature-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.feature-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.feature-card:nth-child(4).animate-in { transition-delay: 0.4s; }
.feature-card:nth-child(5).animate-in { transition-delay: 0.5s; }
.feature-card:nth-child(6).animate-in { transition-delay: 0.6s; }

.process-step:nth-child(1).animate-in { transition-delay: 0.1s; }
.process-step:nth-child(2).animate-in { transition-delay: 0.3s; }
.process-step:nth-child(3).animate-in { transition-delay: 0.5s; }
.process-step:nth-child(4).animate-in { transition-delay: 0.7s; }
