/* General Body Styles */
body {
    font-family: 'Archivo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eaebec; /* Light background */
    color: #343a40; /* Dark grey text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container for content centering */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo-img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar .logo:hover .logo-img {
    transform: scale(1.05);
}

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

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

.navbar nav ul li a {
    color: #495057; /* Grey text for links */
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #007bff; /* Blue accent underline */
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #007bff; /* Blue accent on hover */
}

.navbar nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5f5f5, #cce6ff); /* Light blue gradient */
    color: #212529; /* Dark text */
    text-align: center;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1a2b49; /* Blue accent */
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: #1a2b49; /* Blue accent */
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #0800ff; /* Darker blue on hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.secondary-btn {
    background-color: #ffffff; /* Light grey */
    color: #0800ff; /* Blue accent */
    border: 1px solid #ced4da;
    margin: 0 10px;
}

.secondary-btn:hover {
    background-color: #1a2b49;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #f1f3f5; /* Slightly darker background for alternating sections */
}

section h2 {
    font-size: 38px;
    margin-bottom: 50px;
    color: #1a2b49; /* Blue accent */
    font-weight: 700;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #0800ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

/* Features Section */
.features-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.features-section .feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #c7c7c7;
}


.features-section .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.features-section .feature-item .feature-icon {
    font-size: 48px;
    color: #505861;
    margin-bottom: 20px;
}

.features-section .feature-item h3 {
    font-size: 24px;
    color: #1a2b49;
    margin-bottom: 15px;
    font-weight: 600;
}

.features-section .feature-item p {
    font-size: 16px;
    color: #666;
}

/* Demo Section */
.demo-section .demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.demo-section .demo-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #343a40;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.demo-section .demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff; /* Blue accent border on hover */
}

.demo-section .demo-card .demo-icon {
    font-size: 40px;
    color: #999999;
    margin-bottom: 15px;
}

.demo-section .demo-card h3 {
    font-size: 22px;
    color: #1a2b49;
    margin-bottom: 10px;
    font-weight: 600;
}

.demo-section .demo-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px; /* Add space above the button */
}

.demo-section .demo-card .demo-btn {
    background-color: #0800ff; /* Blue accent */
    color: #ffffff;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    align-self: flex-start; /* Align button to the left */
}

.demo-section .demo-card .demo-btn:hover {
    background-color: #1a2b49; /* Darker blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

/* Documentation Section */
.documentation-section .doc-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.documentation-section .doc-buttons .btn {
    margin: 10px;
}

/* Footer */
footer {
    background-color: #343a40; /* Dark grey */
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 15px;
}

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

    .navbar nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar nav ul li {
        margin: 0 15px 10px 15px;
    }

    .hero-section {
        padding: 80px 20px;
    }

    .hero-section h1 {
        font-size: 38px;
    }

    .hero-section p {
        font-size: 18px;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .features-section .feature-grid,
    .demo-section .demo-grid {
        grid-template-columns: 1fr;
    }

    .documentation-section .doc-buttons {
        flex-direction: column;
        align-items: center;
    }

    .documentation-section .doc-buttons .btn {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section p {
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    .navbar .logo {
        font-size: 20px;
    }

    .navbar nav ul li a {
        font-size: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
