/* Home Page Specific Styles */

/* Hero Section with Slider */
.hero {
    height: 70vh;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark blue transparent overlay for better text visibility */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(26, 61, 122, 0.6), 
        rgba(26, 61, 122, 0.4)
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
}

.slide-content strong {
    font-weight: 700;
    color: #fff;
}

/* Slider Navigation Dots */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
}

.slider-dot:hover {
    transform: scale(1.2);
}

/* Enhanced CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 1.3rem 3.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Featured Section */
.featured {
    padding: 5rem 0;
    background-color: white;
}

.featured h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

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

.service-card {
    background: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* About Preview */
.about-preview {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

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

.about-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--dark-color);
    line-height: 1.8;
}

.learn-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.learn-more:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Testimonials */
/* Testimonials Carousel */
.testimonials {
    padding: 5rem 0;
    background-color: white;
    position: relative;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.testimonial-card {
    background: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 350px;
    transition: all 0.5s ease;
    border: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transform: scale(0.9);
}

.testimonial-card.active {
    background: var(--secondary-color);
    border-color: var(--accent-color);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(26, 61, 122, 0.3);
}

.testimonial-card.active i {
    color: white;
}

.testimonial-card.active p {
    color: white;
}

.testimonial-card.active span {
    color: var(--primary-color);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: color 0.5s ease;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.6;
    font-size: 1.1rem;
    transition: color 0.5s ease;
}

.testimonial-card span {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1rem;
    transition: color 0.5s ease;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: 0;
}

.testimonial-nav.next {
    right: 0;
}

/* Dots Indicator */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .testimonials-container {
        padding: 0 40px;
    }
    
    .testimonial-card {
        min-width: 300px;
        padding: 2rem 1.5rem;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .testimonials-container {
        padding: 0 30px;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 1.5rem 1rem;
    }
    
    .testimonial-card p {
        font-size: 1rem;
    }
}
/* Responsive Design for Home Page */
@media screen and (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Brands Section Styles */
.brands-section {
    background: transparent;
    padding: 50px 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.brands-section h2 {
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.brands-section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00b3ff);
    border-radius: 2px;
}

.brands-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.brands-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.brand-item {
    flex: 0 0 auto;
    width: 150px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brand-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.brands-carousel:hover .brands-track {
    animation-play-state: paused;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    .brands-section {
        padding: 40px 0;
    }
    
    .brands-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .brand-item {
        width: 120px;
        margin: 0 20px;
    }
    
    .brand-item img {
        max-height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .brands-section h2 {
        font-size: 1.7rem;
    }
    
    .brand-item {
        width: 100px;
        margin: 0 15px;
    }
    
    .brand-item img {
        max-height: 40px;
    }
}