/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* COLORS */
:root {
    --primary: #1D4ED8;
    --secondary: #0F172A;
    --light: #F8FAFC;
    --text: #111827;
}

/* GLOBAL BODY BACKGROUND */
body {
    background: linear-gradient(180deg, #F0F4F8 0%, #E4EBF7 100%);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: var(--secondary);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.navbar .logo img {
    width: 140px;
    transition: transform 0.3s;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar .btn {
    padding: 10px 25px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.navbar .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* HERO (Home Only) */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 100px 60px;
    gap: 40px;
    background: linear-gradient(135deg, #E0F2FE, #DBEAFE); /* soft blue gradient */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.hero-text {
    max-width: 500px;
    transition: transform 0.3s;
}

.hero-text:hover {
    transform: translateY(-5px);
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-hero {
    padding: 12px 30px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.hero-image img {
    width: 500px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.4s, box-shadow 0.4s;
}

.hero-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* FEATURES (Home Only) */
.features {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(120deg, #FDF2F8, #FEE2E2); /* soft pink gradient */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s, box-shadow 0.4s;
    text-align: center;
}

.feature-card img {
    width: 80px;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text);
    font-size: 0.95rem;
}

.feature-card:hover {
    transform: translateY(-15px) rotateY(8deg);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

/* PRODUCTS (Services Page) */
.products {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5); /* soft green tint */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.products h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s, box-shadow 0.4s;
    width: 220px;
    text-align: center;
}

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: transform 0.4s;
}

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

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

.product-card h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.1rem;
}

.product-card p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.btn-product {
    display: inline-block;
    padding: 8px 18px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ABOUT PAGE */
.about {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5); /* soft orange gradient */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1000px;
}

.about img {
    transition: transform 0.4s, box-shadow 0.4s;
}

.about img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* CONTACT FORM */
.contact {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, #E0F7FA, #B2EBF2); /* soft cyan gradient */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 600px;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact input:focus, .contact textarea:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact button {
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media(max-width: 1024px){
    .hero-image img {
        width: 100%;
        max-width: 400px;
    }
}

@media(max-width: 768px){
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .hero {
        flex-direction: column;
        padding: 80px 20px;
    }

    .hero-text {
        text-align: center;
    }

    .feature-grid, .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
