/* Brand Colors */
:root {
    --primary-red: #d90429;
    --dark-grey: #2b2d42;
    --medium-grey: #8d99ae;
    --light-grey: #edf2f4;
    --white: #ffffff;
}

/* Basic Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--white);
    color: var(--dark-grey);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-red);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

header .logo {
    height: 50px;
    margin-right: 15px;
}

header span {
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-red);
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* Hero Section */
.hero {
    background: url('../images/hero-bg.jpg') no-repeat center center/cover;
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 6rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-grey);
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 12px 25px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-grey);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Categories */
.product-categories, .knowledge-hub, .testimonials, .partners {
    padding: 4rem 0;
}

.product-categories h2, .knowledge-hub h2, .testimonials h2, .partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-grey);
}

.category-grid, .article-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card, .article-card, .testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.category-card:hover, .article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-card img, .article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3, .article-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0;
}

.article-card p {
    padding: 0 1.5rem;
    color: var(--medium-grey);
}

.read-more {
    display: inline-block;
    margin: 1.5rem 0;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-grey);
}

.testimonial-card {
    padding: 2rem;
    border-left: 5px solid var(--primary-red);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-card h4 {
    font-weight: bold;
    color: var(--dark-grey);
}

/* Partners */
.partners-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--medium-grey);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logos img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
}

/* About Us Page */
.about-us {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--dark-grey);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--medium-grey);
}

/* Products Page */
.product-section {
    padding: 4rem 0;
}

.product-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-grey);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem;
}

.product-card p {
    padding: 0 1.5rem;
    color: var(--medium-grey);
    flex-grow: 1;
}

.product-card .btn {
    display: block;
    margin: 1.5rem;
    text-align: center;
}

/* Articles Page */
.articles-page {
    padding: 4rem 0;
}

.articles-page h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-grey);
}

/* Contact Page */
.contact-page {
    padding: 4rem 0;
}

.contact-page h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--dark-grey);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container, .contact-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-grey);
    border-radius: 5px;
}

.contact-details h2, .contact-form-container h2 {
    margin-bottom: 2rem;
    color: var(--dark-grey);
}

.google-map {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 30px;
    height: 30px;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    header nav ul li {
        margin: 0.5rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 200px;
    }

    .category-grid, .article-grid, .product-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

/* Footer */
footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    padding: 2rem 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-style: italic;
    color: var(--medium-grey);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
    display: inline-block;
}

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

.footer-links ul li a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-red);
}

.social-media {
    margin-top: 1rem;
}

.social-media a {
    margin-right: 15px;
}

.social-media img {
    height: 24px;
    width: 24px;
    transition: transform 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.2);
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--medium-grey);
    padding-top: 1rem;
    color: var(--medium-grey);
}

