/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
}

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

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

.btn-primary {
    background-color: #6a44ff;
    color: white;
}

.btn-primary:hover {
    background-color: #522ee5;
}

.btn-secondary {
    background: linear-gradient(90deg, #6a44ff, #ff5e78);
    color: white;
}

.btn-tertiary {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    color: #6a44ff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.section-title {
    font-size: 36px;
    margin: 10px 0;
}

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

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

header .logo img {
    height: 180px;
}

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

header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

header nav a.active, header nav a:hover {
    color: #6a44ff;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8faff, #ffffff);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    background-color: #e8e4ff;
    color: #6a44ff;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin: 20px 0;
}

.highlight {
    background: linear-gradient(90deg, #6a44ff, #ff5e78);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: center;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.hero-features i {
    color: #6a44ff;
    font-size: 18px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

/* Why Kodigoworks */
.why-kodigoworks {
    padding: 80px 0;
}

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

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 32px;
    color: #6a44ff;
    background-color: #e8e4ff;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: inline-block;
    text-align: center;
}

/* Our Products */
.our-products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: left;
}

.product-card i {
    font-size: 28px;
    color: #6a44ff;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.product-card a {
    color: #6a44ff;
    text-decoration: none;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 30px;
    position: relative;
}

.step {
    flex: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: #e8e4ff;
    color: #6a44ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Trusted By */
.trusted-by {
    padding: 80px 0;
    background-color: #f8faff;
}

.industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.industry-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.industry-item i {
    font-size: 24px;
    color: #6a44ff;
}

/* CTA */
.cta {
    background: linear-gradient(90deg, #3a1c9a, #2c3e50);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta .btn-primary {
    background-color: white;
    color: #6a44ff;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #ccc;
    padding-top: 60px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-about {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-column h4 {
    color: white;
    margin-bottom: 20px;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column a {
    color: #ccc;
    text-decoration: none;
}

.link-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links img {
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    header nav {
        display: none;
    }

    .mobile-menu-toggle i {
        font-size: 24px;
        color: #333;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .features-grid, .product-cards, .industries {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
    }

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

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        position: relative;
    }

    header nav {
        display: none; /* Initially hidden */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    header nav.active {
        display: flex; /* Show when active */
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    header nav li {
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: block; /* Ensure it's visible */
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 28px;
    }
}

