/* Services Hero Section */
.services-hero {
    padding: 8rem 2.5rem 4rem;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

#pointCloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.services-hero .section-header,
.services-hero .services-header {
    position: relative;
    z-index: 2;
}

.services-hero .section-number,
.services-hero .section-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Header */
.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 2rem auto 3rem;
    align-items: start;
    max-width: 1200px;
}

.services-header h2 {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: #FFFFFF;
}

.services-header .text-muted {
    opacity: 0.4;
}

.services-header p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.explore-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    text-decoration: none;
    line-height: normal;
}

.explore-more:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.explore-more i {
    font-size: 1.2rem;
}

/* Services Grid Section */
.services-grid {
    padding-top: 1rem;
    padding-bottom: 6rem;
    padding-left: auto;
    padding-right: auto;
    background-color: var(--primary-bg);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.3s;
}

.learn-more:hover {
    opacity: 0.8;
}

.learn-more .arrow {
    font-size: 1.2rem;
}

/* Services Accordion Section */
.services-accordion {
    padding: 6rem 2.5rem;
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.accordion-header {
    /* margin-bottom: 3rem; */
    text-align: center;
}

.accordion-header h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.accordion-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
}

.accordion-item {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-title {
    padding: 1.5rem 2rem;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.accordion-title:hover {
    background: rgba(255, 255, 255, 0.1);
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

/* Services Table */
.services-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    color: #FFFFFF;
}

.services-table th {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 500;
    font-size: 1rem;
}

.services-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.services-table tr:last-child td {
    border-bottom: none;
}

/* Stats Section */
.stats-section {
    padding: 6rem 2.5rem;
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    color: #FFFFFF;
}

.stat-number {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Testimonial Section */
.testimonial-section {
    padding: 6rem 2.5rem;
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

blockquote {
    font-size: 1rem !important;
    color: #FFFFFF;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.7);
}

.author-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.author-title {
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .services-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-header h2 {
        font-size: 3rem;
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-header h2 {
        font-size: 2.5rem;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .accordion-header h2 {
        font-size: 2rem;
    }

    blockquote {
        font-size: 1.25rem;
    }

    .services-table {
        display: block;
        overflow-x: auto;
    }

    .services-hero {
        top: 3rem;
    }
    .accordion-header {
        margin-bottom: 0;
    }
    .accordion-item {
        margin-bottom: 0;
    }
    .services-header p {
        font-size: 1rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .services-sheets-header p {
        font-size: 1rem;
      }
      .services-category-description {
      font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-hero,
    .services-grid,
    .services-accordion,
    .stats-section,
    .testimonial-section {
        padding: 4rem 1.5rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .accordion-title {
        padding: 1.25rem;
        font-size: 1.125rem;
    }
    .services-header p {
        font-size: 1rem !important;
    }

    .testimonial-quote {
        font-size: 1rem !important;
    }

    .services-sheets-header p {
        font-size: 1rem !important;
      }
      .services-category-description {
      font-size: 1rem !important;
    }
}
