/* Home Page Specific CSS */

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 70vh;
    min-height: 550px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Hero Section (Old - for reference) */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 245, 0.9));
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 20px;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero buttons with enhanced styling */
.hero-section .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-section .btn:hover::before {
    left: 100%;
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-outline {
    border: 2px solid var(--white);
    color: navy;
    background: transparent;
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-section .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hero-section .btn-outline:hover::before {
    left: 100%;
}

.hero-section .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    text-shadow: none;
}

/* About Intro Section */
.about-intro {
    background-color: rgba(255, 245, 245, 0.8);
    padding: 60px 0;
}

.about-intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 1;
    text-align: center;
}

.about-intro-image img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-intro-image img:hover {
    transform: scale(1.05);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: rgba(255, 248, 248, 0.9);
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.choose-us-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.choose-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.choose-us-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.choose-us-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.2;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.choose-us-card p {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

/* Services Preview Section */
.services-preview {
    background: linear-gradient(135deg, rgba(255, 242, 242, 0.1), rgba(255, 240, 240, 0.1));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.service-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.2;
    min-height: 45px;
    display: flex;
    align-items: center;
}

    .service-card-content p {
        font-size: 14px;
        color: var(--text-light);
        margin-bottom: 15px;
        flex: 1;
        display: flex;
        align-items: flex-start;
        padding-top: 10px;
    }

    .service-card-content .btn {
        margin-top: auto;
        align-self: flex-start;
    }

    /* Industries We Serve Section */
    .industries-serve {
        background-color: rgba(255, 248, 248, 0.9);
    }

    .industries-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .industry-card {
        text-align: center;
        padding: 30px 20px;
        background-color: var(--white);
        border-radius: var(--border-radius);
        transition: var(--transition);
        box-shadow: var(--shadow);
        cursor: pointer;
        border: 2px solid transparent;
    }

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

    .industry-icon {
        font-size: 40px;
        color: var(--primary-color);
        margin-bottom: 20px;
        transition: var(--transition);
    }

    .industry-card:hover .industry-icon {
        transform: scale(1.2);
        color: var(--primary-dark);
    }

    .industry-card h3 {
        font-size: 18px;
        margin-bottom: 0;
        color: var(--text-color);
    }

    /* Our Simple Process Section */
    .simple-process {
        background-color: rgba(255, 245, 245, 0.8);
    }

    .process-steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 30px;
        margin-top: 40px;
    }

    .process-step {
        flex: 1;
        min-width: 200px;
        max-width: 300px;
        text-align: center;
        padding: 30px 20px;
        background-color: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transition: var(--transition);
        position: relative;
    }

    .process-step::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -30px;
        width: 20px;
        height: 2px;
        background: var(--primary-color);
        z-index: 1;
    }

    .process-step:last-child::before {
        display: none;
    }

    .process-step:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

    .step-number {
        width: 50px;
        height: 50px;
        background-color: var(--primary-color);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 700;
        margin: 0 auto 15px;
        position: relative;
        z-index: 2;
    }

    .step-content h3 {
        font-size: 16px;
        margin-bottom: 0;
        color: var(--text-color);
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* What Our Customers Say Section */
    .customer-testimonials {
        background-color: rgba(255, 242, 242, 0.1);
    }

    .testimonial-slider {
        max-width: 800px;
        margin: 40px auto 0;
        position: relative;
    }

    .testimonial-slide {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        text-align: center;
    }

    .testimonial-slide.active {
        display: block;
        opacity: 1;
    }

    .testimonial-content {
        background-color: var(--white);
        padding: 40px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        position: relative;
    }

    .testimonial-content::before {
        content: '“';
        font-size: 60px;
        color: var(--primary-light);
        position: absolute;
        top: -20px;
        left: 20px;
    }

    .testimonial-content p {
        font-size: 18px;
        font-style: italic;
        color: var(--text-color);
        line-height: 1.6;
        margin: 0;
    }

    .testimonial-navigation {
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .testimonial-dots {
        display: flex;
        gap: 10px;
    }

    .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: var(--primary-light);
        cursor: pointer;
        transition: var(--transition);
    }

    .dot:hover {
        background-color: var(--primary-dark);
    }

    .dot.active {
        background-color: var(--primary-color);
        transform: scale(1.2);
    }

    /* Call To Action Section */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: var(--white);
        padding: 60px 0;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 32px;
        margin-bottom: 30px;
        color: var(--white);
    }

    .cta-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cta-btn {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--white);
        border: 2px solid var(--white);
        padding: 15px 30px;
        font-size: 16px;
        font-weight: 600;
    }

    .cta-btn:hover {
        background-color: var(--white);
        color: var(--primary-color);
        transform: translateY(-3px);
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-slider {
            height: 50vh;
            min-height: 400px;
            max-height: 600px;
        }

        .hero-section {
            padding: 120px 0 80px;
            margin-top: 100px;
        }

        .hero-title {
            font-size: 36px;
        }

        .hero-subtitle {
            font-size: 20px;
        }

        .about-intro-content {
            flex-direction: column;
        }

        .about-intro-text {
            margin-bottom: 30px;
        }

        /* Mobile-specific adjustments for perfect alignment */
        .choose-us-card h3 {
            min-height: 45px;
            font-size: 18px;
        }

        .choose-us-card p {
            padding-top: 8px;
        }

        .service-card-content h3 {
            min-height: 40px;
            font-size: 16px;
        }

        .service-card-content p {
            padding-top: 8px;
        }

        /* Mobile adjustments for new sections */
        .industries-grid {
            gap: 20px;
        }

        .industry-card {
            padding: 25px 15px;
        }

        .industry-icon {
            font-size: 35px;
        }

        .industry-card h3 {
            font-size: 16px;
        }

        .process-steps {
            flex-direction: column;
            gap: 20px;
        }

        .process-step {
            max-width: 100%;
        }

        .process-step::before {
            display: none;
        }

        .step-number {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }

        .step-content h3 {
            min-height: 40px;
            font-size: 15px;
        }

        .testimonial-content {
            padding: 30px 20px;
        }

        .testimonial-content::before {
            font-size: 40px;
            top: -10px;
            left: 10px;
        }

        .testimonial-content p {
            font-size: 16px;
        }

        .cta-content h2 {
            font-size: 28px;
        }

        .cta-buttons {
            gap: 15px;
        }

        .cta-btn {
            padding: 12px 24px;
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .hero-slider {
            height: 40vh;
            min-height: 300px;
            max-height: 500px;
        }

        .choose-us-grid {
            gap: 20px;
        }

        .choose-us-card {
            padding: 25px 15px;
        }

        .choose-us-card h3 {
            min-height: 40px;
            font-size: 17px;
        }

        .choose-us-card p {
            padding-top: 6px;
        }

        .services-grid {
            gap: 20px;
        }

        .service-card {
            padding: 15px;
        }

        .service-card-content {
            padding: 15px;
        }

        .service-card-content h3 {
            min-height: 35px;
            font-size: 15px;
        }

        .service-card-content p {
            padding-top: 6px;
        }

        /* Extra small mobile adjustments */
        .industries-grid {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
        }

        .industry-card {
            padding: 20px 10px;
        }

        .industry-icon {
            font-size: 30px;
        }

        .industry-card h3 {
            font-size: 14px;
        }

        .process-step {
            padding: 20px 15px;
        }

        .step-number {
            width: 35px;
            height: 35px;
            font-size: 16px;
        }

        .step-content h3 {
            min-height: 35px;
            font-size: 14px;
        }

        .testimonial-content {
            padding: 25px 15px;
        }

        .testimonial-content p {
            font-size: 15px;
        }

        .cta-content h2 {
            font-size: 24px;
        }

        .cta-btn {
            padding: 10px 20px;
            font-size: 13px;
        }
    }

    /* Animation for scroll effects */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .animate-fade-up {
        animation: fadeUp 0.6s ease-out forwards;
    }

    /* Staggered animation for process steps */
    .animate-fade-up.delay-1 { animation-delay: 0.2s; }
    .animate-fade-up.delay-2 { animation-delay: 0.4s; }
    .animate-fade-up.delay-3 { animation-delay: 0.6s; }
    .animate-fade-up.delay-4 { animation-delay: 0.8s; }
    .animate-fade-up.delay-5 { animation-delay: 1.0s; }

    /* Hover scale effect */
    .industry-card:hover {
        transform: scale(1.05);
    }

    .process-step:hover {
        transform: scale(1.02);
    }

@media (max-width: 480px) {
    .choose-us-grid {
        gap: 20px;
    }
    
    .choose-us-card {
        padding: 25px 15px;
    }
    
    .choose-us-card h3 {
        min-height: 40px;
        font-size: 17px;
    }
    
    .choose-us-card p {
        padding-top: 6px;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-card-content {
        padding: 15px;
    }
    
    .service-card-content h3 {
        min-height: 35px;
        font-size: 15px;
    }
    
    .service-card-content p {
        padding-top: 6px;
    }
}
