/* css/index.css */

/* Hero Section Styles */
.hero-section {
    /* background-color: #740BF4; */
    /* From your common.css */
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    background-color: #fff;
    color: #3b75b3;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.hero-button:hover {
    background-color: #f0f0f0;
}

/* Section Title Styles */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #3b75b3;
    border-radius: 2px;
}

/* Grid for Tool Cards */
.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 2rem;
    /* Added space at the bottom of the grid */
}

/* General Tool Card styles */
.tool-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Tool Card Icon Styles */
.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.tool-card:hover .card-icon {
    transform: scale(1.1);
}

/* Feature Section Styles */
.section-bg-light {
    background-color: #f8f9fa;
}

.feature-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #555;
}

/* Why Choose Us Section Styles */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

/* Mobile Specific Adjustments */
@media (max-width: 640px) {
    .card-grid {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}