* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

body {
    line-height: 1.6;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.header {
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 3.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2f6fed;
}

.menu-toggle,
.menu-icon {
    display: none;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 4rem;
}

#bg-video {
    position: absolute;
    width: 90%;
    height: 80%;
    object-fit: cover;
    z-index: -1;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #2f6fed;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1c58d8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.products-section {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2f6fed;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #fd5757;
    margin: 0.5rem auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background-color: rgba(159, 253, 255, 0.568);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(102, 102, 239, 0.2);
}

.card img {
    margin: 1.5rem;
    padding-left: 1.4rem;
    width: 80%;
    height: 230px;

    object-position: center;
}

.card h3 {
    font-size: 1.3rem;
    color: #fd5757;
    margin: 1rem;
    text-align: center;
}

.card p {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    color: #000000;
}

.about-section {
    padding: 5rem 2rem;
    background-color: white;
    overflow: hidden;
    position: relative;
}

.about-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-content {
    width: 100%;
    z-index: 3;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-content h2 {
    margin-bottom: 1.5rem;
    color: #2f6fed;
}

.description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-images img {
    width: 80%;
    max-width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-images img:hover {
    transform: scale(1.03);
}

/* Responsive styles */
@media (min-width: 992px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .about-content {
        flex: 2;
        margin-bottom: 0;
    }

    .about-images {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }

    .about-images img:first-child {
        margin-left: -30px;
    }

    .about-images img:last-child {
        margin-top: -50px;
        margin-left: 30px;
    }
}

@media (max-width: 768px) {
    .about-images {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .about-images img {
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-images {
        order: 2;
        height: 350px;
        width: 100%;
        margin: 0;
        padding-top: 2rem;
    }

    .top-image {
        width: 45%;
        max-width: 280px;
    }

    .bottom-image {
        width: 45%;
        max-width: 280px;
    }

    .about-content {
        order: 1;
        width: 100%;
    }
}



/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #2f6fed;
    margin-top: 0.5rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2f6fed;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #2f6fed;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid #444;
    color: #888;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .about-images {
        order: 2;
        height: 350px;
    }

    .about-content {
        order: 1;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .menu-toggle {
        position: absolute;
        left: -9999px;
    }

    .menu-icon {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .menu-toggle:checked~.nav-links {
        max-height: 300px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 2rem;
    }

    /* Hero */
    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    /* About Images */
    .about-images {
        height: 300px;
    }

    .top-image {
        width: 220px;
    }

    .bottom-image {
        width: 220px;
    }
}

@media (max-width: 576px) {

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* About Images */
    .about-images {
        height: 250px;
    }

    .top-image,
    .bottom-image {
        width: 180px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .copyright {
        margin-top: 2rem;
    }
}