/* Import base styles */
@import url('index.css');

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -150px;
    right: -50px;
}

.page-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-banner h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    opacity: 0.9;
}

/* Service Categories Navigation */
.service-categories {
    background-color: var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    z-index: 90;
    transition: all 0.3s ease;
}

.categories-nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.categories-nav li {
    margin: 5px 15px;
}

.categories-nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.categories-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.categories-nav a:hover::after,
.categories-nav a.active::after {
    width: 100%;
}

.categories-nav a.active {
    color: var(--primary-color);
}

/* Services Details */
.services-details {
    padding: 80px 0;
    background-color: var(--light-color);
}

.services-group {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.services-group.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-group h2 {
    margin-bottom: 40px;
    color: var(--secondary-color);
    position: relative;
    padding-left: 15px;
}

.services-group h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.service-detailed-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-detailed-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    z-index: -1;
}

.service-detailed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(193, 39, 45, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-detailed-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.service-detailed-card:nth-child(even) .service-icon {
    background-color: rgba(0, 98, 51, 0.1);
}

.service-detailed-card:nth-child(even) .service-icon i {
    color: var(--secondary-color);
}

.service-detailed-card:nth-child(even):hover {
    border-bottom: 3px solid var(--secondary-color);
}

.service-detailed-card h3 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-detailed-card:hover h3 {
    color: var(--primary-color);
}

.service-detailed-card:nth-child(even):hover h3 {
    color: var(--secondary-color);
}

.service-detailed-card p {
    color: var(--gray-dark);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 14px;
}

.service-cta {
    margin-top: 20px;
    display: inline-block;
}

/* Process Section */
.process {
    padding: 100px 0;
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(193, 39, 45, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.process::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 98, 51, 0.05);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

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

.process-step {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.step-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step-content p {
    color: var(--gray-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    background-color: var(--gray-light);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 60px;
    color: rgba(193, 39, 45, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background-color: var(--light-color);
    border: none;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(193, 39, 45, 0.2);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .services-row {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }
    .service-categories {
        display: none;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .categories-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .categories-nav li {
        margin: 8px 0;
        text-align: center;
    }
    
    .service-detailed-card {
        padding: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
}

@media screen and (max-width: 576px) {
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
    
    .services-group h2 {
        font-size: 1.5rem;
    }
}
