/* ========================================
   RelayHub Home Page Stylesheet
   ======================================== */

/* Ensure sections can grow to push footer down */
section {
    flex: 1 0 auto;
}

/* ========================================
   Features Section
   ======================================== */

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.features-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   Products Section
   ======================================== */

.products {
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 60px;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
}

.product-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.product-card ul {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.product-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.product-card li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact p {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
}

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

.contact-info a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .features h2, .products h2, .contact h2 {
        font-size: 2em;
    }
}
