/* Add styles here */
@import url('[https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap](https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap)');

:root {
    --primary-color: #2874f0;
    --secondary-color: #fb641b;
    --white-color: #fff;
    --black-color: #000;
    --grey-color: #f1f3f6;
    --dark-grey-color: #878787;
    --text-color: #212121;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-grey-color);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 30px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e05a17;
}

/* Header */
.header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 25px;
}

.nav ul li a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav ul li a:hover,
.nav ul li a.active {
    opacity: 0.8;
    border-bottom-color: var(--white-color);
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 300px;
    padding: 10px;
    border: none;
    border-radius: 2px 0 0 2px;
    outline: none;
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    background-color: var(--white-color);
    color: var(--primary-color);
    cursor: pointer;
    border-radius: 0 2px 2px 0;
}

/* Hero Section */
.hero {
    background-color: var(--grey-color);
    padding: 80px 0;
}

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

.hero-content {
    max-width: 500px;
    animation: slideInLeft 1s ease-in-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-grey-color);
}

.hero-image img {
    max-width: 500px;
    border-radius: 8px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Intro Section */
.intro {
    text-align: center;
}

/* Why Choose Us Section */
.bg-light {
    background-color: var(--grey-color);
}

.reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.reason {
    background-color: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Products Page */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* About Us Page */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    animation: slideInLeft 1s ease-in-out;
}

.about-text ul {
    list-style-type: none;
    margin-top: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-text ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    animation: fadeIn 1.5s ease-in-out;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* Contact Page */
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
    height: 150px;
}

.map {
    border-radius: 8px;
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: #172337;
    color: var(--white-color);
    padding: 50px 0 0;
}

.footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-grey-color);
    text-transform: uppercase;
}

.footer p, .footer a {
    color: var(--white-color);
    text-decoration: none;
    line-height: 1.8;
}

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

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--dark-grey-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

    .nav {
        margin: 15px 0;
    }

    .search-bar input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero .container, .about-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 30px;
    }

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