/* Home Page Specific Styles */

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 600px;
    padding-top: 15vh;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-controls {
    position: absolute;
    bottom: var(--spacing-md);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    z-index: 10;
}

.hero-controls button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.hero-controls button:hover {
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Services Showcase */
.services-showcase {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.services-cta {
    text-align: center;
}

/* Testimonials Preview */
.testimonials-preview {
    position: relative;
}

.testimonials-carousel {
    position: relative;
    height: 250px;
    margin-bottom: var(--spacing-md);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(50px);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-card blockquote {
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.testimonial-card cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--text-light);
    text-align: right;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.testimonial-controls button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.testimonial-controls button:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dots .dot {
    background-color: rgba(0, 0, 0, 0.2);
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
}

.testimonials-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-lg) 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    
    .hero-content {
        padding-top: 10vh;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}