:root {
    --primary-blue: #4A90E2;
    --primary-green: #50C878;
    --text-dark: #2C3E50;
    --text-gray: #6C7A89;
    --text-light: #B0BEC5;
    --background: #FFFFFF;
    --white: #FFFFFF;
    --card-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
}

/* Calculator Form */
.calculator-section {
    margin: 2rem auto;
    max-width: 800px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.calculator-form {
    background: var(--white);
    padding: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--white);
}

.form-header h1 {
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Resources Section */
.resources-section {
    background: var(--white);
    padding: 4rem;
    margin: 4rem auto;
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--white);
}

.section-header h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-header p {
    color: #000000;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    background: var(--white);
}

.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.resource-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-brand a:hover {
    color: #50C878;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4A90E2;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover, 
.nav-links a.active {
    color: #4A90E2;
}

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

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-brand a {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        animation: slideIn 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        width: 30px;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        height: 3px;
        width: 100%;
        background-color: #4A90E2;
        margin: 4px 0;
        transition: 0.4s;
        transform-origin: left;
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
    }

    body {
        padding-top: 60px;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Footer */
.footer {
    background: var(--white);
    padding: 2rem;
    margin-top: 4rem;
    box-shadow: var(--card-shadow);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
}

/* Buttons */
.button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* Results Section Styles */
#results {
    display: none;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    grid-template-columns: repeat(2, 1fr);
    background: var(--white);
}

@media (max-width: 768px) {
    #results {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.5s ease-out forwards;
    background: var(--white);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.result-card h3 {
    color: #4A90E2;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 2px solid #50C878;
    padding-bottom: 0.5rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 144, 226, 0.1);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    color: #666;
    font-size: 0.95rem;
}

.metric-value {
    color: #333;
    font-weight: 600;
    font-size: 1rem;
}

/* Article Styles */
.content-article {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
    color: #333;
    background: var(--white);
}

.content-article h2 {
    color: #4A90E2;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-article h3 {
    color: #50C878;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-article p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

.expert-tip {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(80, 200, 120, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    background: var(--white);
}

.expert-tip h4 {
    color: #4A90E2;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.expert-tip p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .content-article {
        margin: 3rem auto;
        padding: 0 1.5rem;
    }

    .content-article h2 {
        font-size: 1.75rem;
    }

    .content-article h3 {
        font-size: 1.3rem;
    }

    .content-article p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content-article {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .content-article h2 {
        font-size: 1.5rem;
    }

    .expert-tip {
        padding: 1.25rem;
    }
}

/* Resources Section Styles */
.resources-section {
    padding: 3rem 4rem;
    background-color: var(--white);
    margin: 4rem auto;
    max-width: 1200px;
    box-shadow: var(--card-shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1rem;
    background: var(--white);
}

.section-header h2 {
    color: #000000;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-header h2 i {
    color: #e74c3c;
    margin-right: 0.5rem;
}

.section-header p {
    color: #000000;
    font-size: 1.1rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
}

.resource-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.card-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.card-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card-content p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.learn-more {
    color: #e74c3c;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.resource-card:hover .learn-more {
    color: #c0392b;
}

@media (max-width: 768px) {
    .resources-section {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Navigation Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Footer Styles */
.site-footer {
    background: var(--white);
    color: #ecf0f1;
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: var(--card-shadow);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: var(--white);
}

.footer-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #4A90E2;
}

.footer-section p {
    color: #333;
    font-size: 0.9rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

/* Legal Pages Styles */
.legal-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: #4A90E2;
    margin: 1.5rem 0 1rem;
}

.legal-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.warning-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 5px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
}

.contact-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4A90E2;
    outline: none;
}

.submit-button {
    background: linear-gradient(135deg, #4A90E2, #50C878);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: #4A90E2;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.social-connect {
    grid-column: span 2;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: #4A90E2;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #50C878;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .social-connect {
        grid-column: span 1;
    }
}

/* Articles Page Styles */
.articles-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: var(--white);
}

.articles-main h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.article-category {
    margin-bottom: 3rem;
}

.article-category h2 {
    color: #4A90E2;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

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

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-card a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.article-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.resources-section {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #4A90E2, #50C878);
    border-radius: 10px;
    color: white;
}

.resources-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.resource-card h3 {
    margin-bottom: 0.5rem;
}

.resource-card p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.resource-card .button {
    display: inline-block;
    background: white;
    color: #4A90E2;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
}

.resource-card .button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .article-list {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .articles-main {
        padding: 0 1rem;
    }
}

/* Individual Article Page Styles */
.article-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: var(--white);
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-header h1 {
    color: #333;
    margin-bottom: 1rem;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
}

.article-meta span {
    margin: 0 0.5rem;
}

.article-meta i {
    margin-right: 0.3rem;
}

.article-toc {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.article-toc h2 {
    color: #4A90E2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-toc a:hover {
    color: #4A90E2;
}

.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    color: #4A90E2;
    margin-bottom: 1rem;
}

.article-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #444;
}

.formula-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.formula-box h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.activity-table th,
.activity-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.activity-table th {
    background: #4A90E2;
    color: white;
}

.activity-table tr:nth-child(even) {
    background: #f8f9fa;
}

.calculation-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.tip-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tip-card i {
    font-size: 2rem;
    color: #50C878;
    margin-bottom: 1rem;
}

.tip-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.calculator-cta {
    background: linear-gradient(135deg, #4A90E2, #50C878);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: white;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #4A90E2;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-buttons {
    margin-bottom: 2rem;
}

.share-buttons h3 {
    margin-bottom: 1rem;
}

.share-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.share-button.facebook {
    background: #3b5998;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.pinterest {
    background: #bd081c;
}

.related-articles h3 {
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #4A90E2;
    text-decoration: none;
}

.related-articles a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-content {
        padding: 0 1rem;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .share-button {
        display: block;
        margin-bottom: 0.5rem;
        text-align: center;
    }
}

/* Featured Articles Section */
.featured-articles {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    background: var(--white);
}

.featured-articles h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.article-card a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.article-card h3 {
    color: #4A90E2;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.view-all {
    text-align: center;
}

.view-all .button {
    display: inline-block;
    background: linear-gradient(135deg, #4A90E2, #50C878);
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s;
}

.view-all .button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-articles {
        margin: 2rem auto;
    }
}

/* Product Recommendations Styles */
.product-recommendations {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    background: var(--white);
}

.product-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card li {
    margin: 0.8rem 0;
}

.product-card a {
    color: #50C878;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.product-card a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
}

/* Template Button Styles */
.template-button {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.template-button:hover {
    background: #357ABD;
}

.template-button i {
    margin-right: 8px;
}

/* Product Grid Styles */
.recommended-products {
    padding: 3rem 0;
    background: #f8f9fa;
    margin: 2rem 0;
    border-radius: 8px;
    background: var(--white);
}

.recommended-products h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.product-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card li {
    margin: 0.8rem 0;
}

.product-card a {
    color: #50C878;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.product-card a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .recommended-products {
        padding: 2rem 0;
    }
}

/* Featured Bundles Styles */
.featured-bundles {
    padding: 3rem 0;
    margin: 2rem 0;
    background: var(--white);
}

.featured-bundles h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.bundle-card {
    background: #f8f9fa;
    border: 2px solid #4A90E2;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.bundle-card:hover {
    transform: translateY(-5px);
}

.bundle-card h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.bundle-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.bundle-card ul {
    list-style: none;
    padding: 0;
}

.bundle-card li {
    margin: 1rem 0;
}

.bundle-card a {
    color: #50C878;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-weight: 500;
}

.bundle-card a:hover {
    color: #4A90E2;
    text-decoration: underline;
}

/* Enhanced Product Card Hover Effects */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .bundle-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .bundle-card {
        padding: 1.5rem;
    }
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background: #f8f9fa;
    background: var(--white);
}

.featured-products h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px 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 4px 8px rgba(0,0,0,0.15);
}

.product-card h3 {
    color: #4A90E2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-card ul {
    list-style: none;
    padding: 0;
}

.product-card li {
    margin: 1rem 0;
}

.product-card a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card a:hover {
    background: #f0f0f0;
    color: #4A90E2;
}

/* Featured Bundle */
.featured-bundle {
    background: linear-gradient(135deg, #4A90E2 0%, #50C878 100%);
    border-radius: 10px;
    padding: 2rem;
    color: white;
    text-align: center;
    margin-top: 3rem;
}

.featured-bundle h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.featured-bundle p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.featured-bundle ul {
    list-style: none;
    padding: 0;
}

.featured-bundle li {
    margin: 1rem 0;
}

.featured-bundle a {
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.featured-bundle a:hover {
    background: rgba(255,255,255,0.3);
}

/* Quick Links Section */
.quick-links {
    padding: 4rem 0;
    background: var(--white);
}

.quick-links h2 {
    text-align: center;
    color: #333;
    margin-bottom: 2.5rem;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.link-card {
    background: var(--white);
    border: 2px solid #4A90E2;
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.link-card h3 {
    color: #4A90E2;
    margin-bottom: 0.5rem;
}

.link-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-grid, .link-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-bundle {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
}

/* Calculator Results Button Styles */
.button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* Downloads page styles */
.downloads-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.downloads-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.download-section {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.download-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.download-section h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.download-section p {
    color: #666;
    margin-bottom: 1rem;
}

.download-button {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .downloads-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .download-section {
        padding: 1.2rem;
    }
    
    .download-button {
        width: 100%;
        text-align: center;
    }
}
