/* === Reset & Base === */
body {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f9fafb;
            margin: 0;
            padding: 30px 15px;
            color: #1e293b;
            padding-top: 100px;
}
#header-placeholder {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 9999;
     background: white; /* or your header background */
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4 {
    margin-top: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* === Hero Section === */
.hero {
    margin-top: 120px; /* Adds space below header */
    background: linear-gradient(to right, #007bff, #0056b3);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-title {
    font-size: 2em;
    margin-bottom: 15px;
}

.cta-button {
    background-color: #fff;
    color: #007bff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #e0e0e0;
    color: #0056b3;
}

/* === About Section === */
.grid-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 60px 20px;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1 1 45%;
    text-align: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1 1 50%;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 15px;
}

/* === Services Section === */
#services {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 10px;
}

/* === R&D and Clients Section === */
#rnd, #clients {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

#rnd h2, #clients h2 {
    text-align: center;
    margin-bottom: 20px;
}

ul {
    padding-left: 20px;
    margin-top: 10px;
}

ul li {
    margin-bottom: 8px;
}

/* === Why Us Section === */
#why-us {
    background-color: #f9f9f9;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

#why-us h2 {
    text-align: center;
    margin-bottom: 30px;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.benefit-card {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 10px;
}

/* === Footer === */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* === Responsive Fixes === */
@media (max-width: 768px) {
    .grid-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-image,
    .about-content {
        flex: 1 1 100%;
        padding: 0;
    }

    .services-grid,
    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card,
    .benefit-card {
        max-width: 90%;
    }
}
