/* -----------------------------
   Base Styling
------------------------------ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* -----------------------------
   Navbar
------------------------------ */
nav {
    background: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 5%;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav img {
    height: 45px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #38bdf8;
}

/* -----------------------------
   Hero Section (Base)
------------------------------ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px;
    min-height: 100vh;
    color: white;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.hero button {
    background: #38bdf8;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #0f172a;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.hero button:hover {
    background: white;
    color: #1e3a8a;
}

/* -----------------------------
   About Section
------------------------------ */
.about {
    background: linear-gradient(to right, #1e40af, #3b82f6);
    color: white;
    padding: 100px 10%;
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.about p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.highlights {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.highlight-box {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
}

.highlight-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.highlight-box h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

/* -----------------------------
   Product Section
------------------------------ */
.products {
    background: #f8fafc;
    padding: 100px 10%;
    text-align: center;
}

.products h2 {
    color: #1e40af;
    font-size: 36px;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.card h3 {
    color: #1e3a8a;
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* -----------------------------
   Clients Section
------------------------------ */
.clients {
    background: linear-gradient(to right, #0f766e, #14b8a6);
    color: white;
    text-align: center;
    padding: 100px 10%;
}

.clients h2 {
    font-size: 38px;
    margin-bottom: 40px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.client-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 600;
    transition: 0.3s;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* -----------------------------
   Contact Section (Reduced height)
------------------------------ */
.contact {
    background: linear-gradient(to right, #7c3aed, #8b5cf6);
    color: white;
    padding: 80px 10%;
    text-align: center;
}

.contact h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 17px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 25px;
}

/* -----------------------------
   Footer
------------------------------ */
footer {
    background-color: #0f172a;
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 14px;
    margin-top: 0;
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }

    .highlights {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 32px;
    }
}
