/* Hero Section */
.hero {
    background-image: var(--bg-hero-img);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: calc(100vh - 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-logo img {
    max-height: 21rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
}

.hero-info p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section below hero */
.below-hero {
    height: 100vh;
    background-color: #f7f7f7;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
}

.below-hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #27ae60;
}

.below-hero p {
    max-width: 600px;
    line-height: 1.6;
    color: #333;
}


/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Card Styles */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: stretch;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

/* Card Image Container */
.card-image {
    width: 100%;
    height: 20em;
    overflow: hidden;
    background-color: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Content */
.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    body {
        padding: 15px;
    }
    
    .card-image {
        height: 160px;
    }
    
    .card-content {
        padding: 15px;
    }
}

/* Optional: For very large screens */
@media (min-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}
