@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #fff;
    color: #333;
    padding: 20px 0;
    min-height: auto;
    border-bottom: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    float: left;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

header nav {
    float: right;
    margin-top: 5px;
}

header ul {
    margin: 0;
    padding: 0;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #333;
    text-decoration: none;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
}

/* Hero Section */
#hero {
    min-height: auto;
    /* background: #fff; */
    color: #333;
    text-align: center;
    padding: 60px 0;
}

#hero h2 {
    margin-top: 0;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

#hero p {
    font-size: 18px;
}

/* Calculators Section */
#calculators {
    padding: 40px 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.calculator-item {
    background: #fff;
    padding: 30px;
    border: none;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.calculator-item h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

.calculator-item a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #8bc34a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 40px 20px;
    margin-top: 40px;
    color: #fff;
    background-color: #1a237e;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: inline;
    padding: 0 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

/* Responsive Design */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
}

@media(max-width: 768px) {
    .menu-toggle {
        display: block;
        float: right;
    }

    .nav-menu {
        display: none;
        width: 100%;
        text-align: center;
    }

    .nav-menu.active {
        display: block;
    }

    header h1,
    header nav {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul {
        margin-top: 20px;
    }

    header nav li {
        display: block;
        padding: 10px 0;
    }

    #hero h2 {
        font-size: 36px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .main-content,
    .sidebar {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 20px;
    }
}

/* Content and Sidebar */
.content-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.main-content {
    width: 68%;
}

.sidebar {
    width: 28%;
}

.calculator {
    background: #fff;
    padding: 30px;
    border: none;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    display: inline-block;
    background: #8bc34a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
}

#results {
    margin-top: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.seo-content {
    background: #fff;
    padding: 30px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.sidebar .cta {
    margin-top: 30px;
    background: #8bc34a;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.sidebar .cta .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #fff;
    color: #8bc34a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}
