/* General Styles */
:root {
    --primary-color: #14345C;
    --accent-green: #00A878;
    --accent-blue: #2E77F1;
    --text-color: #333;
    --light-bg: #f4f7f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.button.primary {
    background-color: var(--accent-blue);
    color: #fff;
}

.button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button:hover {
    transform: translateY(-3px);
}

/* Header */
.header {
    background: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 40px;
}

.header .nav ul {
    display: flex;
    list-style: none;
}

.header .nav ul li {
    margin-left: 1.5rem;
}

.header .nav a {
    font-weight: 600;
    transition: color 0.3s;
}

.header .nav a:hover {
    color: var(--accent-blue);
}

.header .cta-button {
    background-color: var(--accent-green);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.header .cta-button:hover {
    background-color: #008f65;
}

/* Hero Section */
.hero-section {
    background: var(--light-bg);
    padding: 6rem 0;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons .button {
    margin-right: 1rem;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 90%;
    animation: floating 3s ease-in-out infinite;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Products Section */
.products-section {
    background: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.products-section h2 {
    margin-bottom: 3rem;
}

.products-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-card img {
    max-height: 50px;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.contact-form button {
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer .footer-grid {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.footer-col {
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-green);
}

.footer .logo img {
    height: 30px;
    margin-bottom: 1rem;
}

.footer .social-icons a {
    margin-right: 1rem;
    font-size: 1rem;
}

/* Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    .header .nav {
        margin: 1rem 0;
    }
    .header .nav ul li {
        margin: 0 0.5rem;
    }
    .hero-section .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image {
        margin-bottom: 2rem;
    }
    .footer .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}