/* === NEW HERO SECTION === */
.hero-new {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    color: white;
    background-image: linear-gradient(rgba(0, 34, 68, 0.8), rgba(0, 34, 68, 0.8)), url('https://images.pexels.com/photos/3184418/pexels-photo-3184418.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
}

.hero-new h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
    border: none;
    max-width: 800px;
}

.hero-new p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-button-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button-secondary:hover {
    background-color: white;
    color: var(--heading-color);
}

/* === NEW TOOL HUB SECTION === */
.tool-hub {
    padding: 80px 20px;
    background-color: var(--surface-color);
}

.tool-hub h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 60px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tool-card {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 34, 68, 0.1);
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tool-card h3 {
    color: var(--heading-color);
    margin: 0 0 10px 0;
}

.tool-card p {
    flex-grow: 1;
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.8;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 20px;
}

/* === BLOG FEED SECTION === */
.blog-feed {
    padding: 80px 20px;
}

.blog-feed h2 {
    font-size: 2.5rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 60px;
}

#latest-posts-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-feed-footer {
    text-align: center;
    margin-top: 60px;
}

/* === SERVICES SECTION === */
.services {
    padding: 80px 20px;
    background-color: var(--surface-color);
}

/* === CONTACT FORM SECTION === */
.contact-form {
    padding: 80px 20px;
    background-color: var(--bg-color);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--surface-color);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 116, 218, 0.2);
}

.contact-form .submit-btn {
    align-self: center;
}

/* === RESPONSIVE FIXES === */
@media (max-width: 1200px) {
    .tool-grid, .section-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-new h1 {
        font-size: 2.5rem;
    }
    .hero-new p {
        font-size: 1rem;
    }
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .tool-hub h2, .blog-feed h2, .services h2, .contact-form h2 {
        font-size: 2rem;
    }

    .tool-grid, .section-grid {
        grid-template-columns: 1fr;
    }

    .tool-card, .section-grid .card {
        padding: 20px;
    }

    .contact-form form {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-new h1 {
        font-size: 2rem;
    }
    .hero-new p {
        font-size: 0.9rem;
    }
    .hero-cta-buttons {
        gap: 10px;
    }
    .cta-button, .cta-button-secondary {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .tool-hub h2, .blog-feed h2, .services h2, .contact-form h2 {
        font-size: 1.8rem;
    }
}