/* =================================================================
   Homepage-Specific Stylesheet
   ================================================================= */

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #141E30, #243B55); /* Dark Blue Gradient */
    color: #fff;
    padding: 6rem 1.5rem;
    text-align: center;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
}
.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin: 1rem auto 2rem auto;
}
.hero .btn {
    background-color: #00BFA5; /* Teal Button */
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}
.hero .btn:hover {
    background-color: #00A08A; /* Darker Teal */
    transform: translateY(-3px);
}

/* --- Tools Section --- */
.tools-section {
    padding: 5rem 0;
    background-color: #fff;
}
.tools-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.tools-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.tools-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.tool-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.tool-card .icon {
    font-size: 3rem;
    color: #00BFA5; /* Teal Icons */
    margin-bottom: 1.5rem;
}
.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.tool-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #555;
}
.tool-card .btn {
    background-color: #243B55; /* Dark Blue Button */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: background-color 0.3s;
}
.tool-card .btn:hover {
    background-color: #141E30; /* Darker Blue */
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 5rem 0;
    background-color: #f8f9fa; /* Light grey background */
}
.how-it-works-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.how-it-works-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.how-it-works-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}
.step-item {
    position: relative;
}
.step-item .step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00BFA5; /* Teal Number */
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid #f8f9fa;
}
.step-item .icon {
    font-size: 3rem;
    color: #00BFA5; /* Teal Icons */
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.step-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.step-item p {
    color: #666;
    font-size: 0.95rem;
}

/* --- Features Section --- */
.features-section {
    background-color: #fff;
    padding: 5rem 0;
    text-align: center;
}
.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.features-section .section-intro {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: #666;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.feature-item .icon {
    font-size: 2.5rem;
    color: #00BFA5; /* Teal Icons */
    margin-bottom: 1rem;
}
.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* --- Homepage Blog Preview Section --- */
.home-blog-section {
    padding: 5rem 0;
    background-color: #f8f9fa; /* Light grey background */
}
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.home-blog-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.home-blog-card h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.home-blog-card h3 a {
    text-decoration: none;
    color: #212529;
}
.home-blog-card h3 a:hover {
    color: #007A7A; /* Teal hover color */
}
.home-blog-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}
.home-blog-excerpt {
    flex-grow: 1;
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}
.home-blog-read-more {
    margin-top: 1rem;
    font-weight: 600;
    color: #007A7A; /* Teal link color */
    text-decoration: none;
}
.home-blog-view-all {
    text-align: center;
    margin-top: 3rem;
}
.home-blog-view-all .btn-primary {
    padding: 0.8rem 2rem;
    text-decoration: none;
    background-color: #243B55; /* Dark Blue Button */
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s;
}
.home-blog-view-all .btn-primary:hover {
    background-color: #141E30; /* Darker Blue */
}
