﻿/* ------------------- BASE RESET ------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

/* ------------------- HERO SECTION ------------------- */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
    }

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-btn {
    background: #fff;
    color: #667eea;
    padding: 6px 11px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    .hero-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

/* ------------------- FEATURES SECTION ------------------- */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.feature-icon {
    font-size: 3.5rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* ------------------- PRODUCTS SECTION ------------------- */
.products-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.8rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .section-title p {
        font-size: 1.2rem;
        color: #6c757d;
    }

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .product-image i {
        font-size: 5rem;
        color: rgba(255,255,255,0.9);
    }

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-content {
    padding: 30px;
}

    .product-content h3 {
        font-size: 1.6rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 15px;
    }

    .product-content p {
        color: #6c757d;
        line-height: 1.7;
        margin-bottom: 20px;
    }

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

    .product-features li {
        padding: 8px 0;
        color: #495057;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .product-features li i {
            color: #28a745;
            font-size: 1.1rem;
        }

.btn-product {
    background: darkcyan;
    color: white;
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

    .btn-product:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    }

/* ------------------- WHY CHOOSE US ------------------- */
.why-choose-section {
    padding: 80px 0;
    background: #01b2aa;
    color: white;
}

    .why-choose-section .section-title h2,
    .why-choose-section .section-title p {
        color: white;
    }

.why-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

    .why-card:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-5px);
    }

    .why-card i {
        font-size: 3rem;
        margin-bottom: 20px;
        color: #ffd700;
    }

    .why-card h4 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 15px;
    }

/* ------------------- CTA SECTION ------------------- */
.cta-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

    .cta-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: #2c3e50;
        margin-bottom: 20px;
    }

    .cta-section p {
        font-size: 1.2rem;
        color: #6c757d;
        margin-bottom: 30px;
    }

.btn-cta {
    background: darkcyan;
    color: white;
    padding: 15px 50px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0 10px;
    text-decoration: none;
}

    .btn-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

.btn-cta-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

    .btn-cta-secondary:hover {
        background: #667eea;
        color: white;
    }

/* ------------------- FOOTER ------------------- */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

    .footer h5 {
        font-weight: 600;
        margin-bottom: 20px;
        font-size: 1.3rem;
    }

    .footer ul {
        list-style: none;
        padding: 0;
    }

        .footer ul li {
            margin-bottom: 10px;
        }

            .footer ul li a {
                color: rgba(255,255,255,0.7);
                text-decoration: none;
                transition: all 0.3s ease;
            }

                .footer ul li a:hover {
                    color: white;
                    padding-left: 5px;
                }

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 25px;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        color: #667eea;
        transform: scale(1.2);
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}
/* Carousel fixed rectangle size */
.hero-img {
    height: 500px; /* Adjust height as you want */
    object-fit: cover; /* Crop image, no distortion */
    object-position: center; /* Keep center visible */
   
}

/* Caption styling fix */
.hero-caption {
    bottom: 20%;
}

/* For tablets */
@media(max-width: 768px) {
    .hero-img {
        height: 350px;
    }
}

/* For mobile devices */
@media(max-width: 480px) {
    .hero-img {
        height: 250px;
    }

    .hero-caption h1 {
        font-size: 1.4rem;
    }

    .hero-caption p {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
}


/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1024px) {
    .product-badge {
        right: 93px !important;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .product-image {
        height: 200px;
    }

    .container {
        padding: 15px;
    }

    .navbar {
        padding: 10px;
    }

    .products-section .product-card {
        flex-direction: column;
        text-align: center;
    }

    .products-section .product-image img {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 10px;
    }

    h1, h2, h3 {
        font-size: 1.4rem;
        text-align: center;
    }

    .contact-form {
        width: 100%;
        padding: 10px;
    }

    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        font-size: 1.2rem;
        padding: 15px;
    }

    .products-section .product-image {
        width: 83%;
        height: auto;
    }

    .products-section .product-content h3 {
        font-size: 1.25rem;
    }

    .products-section .product-content p {
        font-size: 0.95rem;
    }
}

@media(max-width: 440px) {
    .product-image img {
        margin-right: 15em;
    }

    .btn-cta {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 0px 0px;
    }

    .hero-btn {
        padding: 0px 8px;
    }
}
@media(max-width: 900px) {
    product-image img {
        margin-left: 8em !important;
    }
}