/* Reset and base styles */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Buttons */
.btn {
    display: inline-block;
    background: #FF5700;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #e04a00;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #FF5700;
    padding: 12px 25px;
    text-decoration: none;
    border: 2px solid #FF5700;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF5700;
    color: white;
}

/* Hero Section */
.hero {
    background-image: url('assets/hero-bg.jpg');
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 0h20v20H0V0zm40 40h20v20H40V40z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>') repeat;
    opacity: 0.1;
} */

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why MVL Section */
.why {
    padding: 80px 0;
    background: white;
}

.why-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.why h2 {
    font-size: 2.5rem;
    color: #041C2C;
    margin-bottom: 30px;
    flex: 2;
}

.why p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.why ul {
    list-style: none;
    margin: 30px 0;
}

.why ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-weight: 500;
}

.why ul li::before {
    content: '•';
    color: #FF5700;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

.why-logo {
    flex: 1;
}

.why-logo img {
    width: 100%;
    max-width: 300px;
}

/* Segments Section */
.segments {
    background: #041C2C;
    padding: 80px 0;
    color: white;
    text-align: center;
    width: 100%;
}

.segments .container {
    max-width: none;
    padding: 0 40px;
}

.segments h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px 0;
}

.segment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.segment-icon {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.segment-item:hover .segment-icon {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.segment-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.segment-item span {
    font-size: 0.9rem;
    text-align: center;
    color: white;
    font-weight: 500;
}

/* WhatsApp CTA */
.cta-whatsapp {
    z-index: 99;
    padding: 60px 0;
    text-align: center;
    background: none;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* WhatsApp CTA Button Subtle Scale Animation */
@keyframes subtle-scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
        /* Slightly larger */
    }

    100% {
        transform: scale(1);
    }
}

.cta-whatsapp .btn-whatsapp {
    /* animation: subtle-scale 2s ease-in-out infinite;  Apply the new animation */
    /* transition: none;  Ensure transition does not interfere */

    /* Explicit Animation Properties */
    animation-name: subtle-scale;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    transition: none !important;
    /* Add !important for testing */
    animation: subtle-scale 2s ease-in-out infinite !important;
    /* Add !important for testing */
}

/* Clean up old ripple styles */
.whatsapp-button-wrapper::before,
.whatsapp-button-wrapper::after {
    content: none;
    /* Remove pseudo-elements */
}

/* Ensure parent container centers the wrapper */
.cta-whatsapp .container {
    text-align: center;
    /* Or use flexbox on .cta-whatsapp */
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: #f8f9fa;
}

.experience-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.experience-text {
    position: relative;
}

.highlight-bar {
    width: 60px;
    height: 4px;
    background: #FF5700;
    margin-bottom: 30px;
}

.experience-text h2 {
    font-size: 2rem;
    color: #041C2C;
    margin-bottom: 30px;
    line-height: 1.4;
}

.experience-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.experience-card::before {
    content: '"';
    font-size: 4rem;
    color: #FF5700;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.experience-card h3 {
    color: #041C2C;
    margin-bottom: 15px;
    margin-top: 20px;
}

/* Products Showcase */
.products-showcase {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.product-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-image:hover .product-overlay {
    opacity: 1;
}

.product-image:hover .product-overlay h3,
.product-image:hover .product-overlay p {
    transform: translateY(0);
}

.products-cta {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #041C2C;
}

.cta-text p:last-of-type {
    margin-bottom: 30px;
}

.cta-image img {
    width: 100%;
    border-radius: 10px;
}

/* Contact Form */
.contact-form {
    background: #041C2C;
    padding: 80px 0;
    color: white;
}

.contact-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #FF5700;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    background: #f8f9fa;
    color: #333;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /* padding: 0 40px; */
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 30px;
    background: white;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #FF5700;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.2;
}

.testimonial-card h3 {
    color: #041C2C;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-card .company {
    color: #FF5700;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.carousel-button {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-button:hover {
    background: #FF5700;
    color: white;
    transform: scale(1.1);
}

.carousel-button svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #FF5700;
    transform: scale(1.2);
}

/* Testimonial Card Rating */
.rating {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    margin-top: 16px;
}

.star {
    color: #FFD700;
    font-size: 1.2rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0 15px;
    }

    .carousel-container {
        width: 100%;
    }

    .testimonial-card {
        padding: 20px;
        min-height: 250px;
        box-sizing: border-box;
        /* max-width: 300px; */
    }

    .testimonial-card h3 {
        font-size: 1.1rem;
    }

    .testimonial-card p {
        font-size: 0.95rem;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .carousel-button svg {
        width: 18px;
        height: 18px;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }

    .why-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-content {
        flex-direction: column;
    }

    .why h2,
    .experience-text h2 {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .btn-whatsapp {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .segment-icon {
        width: 80px;
        height: 80px;
    }

    .segment-item img {
        width: 48px;
        height: 48px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .segments-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .why,
    .segments,
    .experience,
    .products-showcase,
    .cta-section,
    .contact-form {
        padding: 60px 0;
    }

    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .btn-whatsapp {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
    }

    .segment-icon {
        width: 70px;
        height: 70px;
    }

    .segment-item img {
        width: 40px;
        height: 40px;
    }

    .testimonial-card {
        padding: 20px;
    }
}

/* Fixed WhatsApp Button */
.fixed-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.fixed-whatsapp-btn:hover {
    background-color: #128C7E;
    /* Darker green on hover */
}

.fixed-whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
    /* Ensure the SVG is white */
    stroke: none;
    /* Remove stroke if any */
}