﻿body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

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

.yoga-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width:85%
}

    .yoga-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

    .yoga-card img {
        width: 100%;
        height: 200px; /* you can increase/decrease as needed */
        object-fit: contain; /* ensures the full image is visible */
        background-color: #f0f0f0; /* optional: shows background if image aspect ratio doesn't fit */
    }


.yoga-card-content {
    padding: 1rem;
}

.yoga-card h3 {
    margin: 0 0 0.5rem 0;
    color: #e67e22;
}

.yoga-card p {
    margin: 0;
    color: #555;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .yoga-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .yoga-card img {
        height: 150px;
    }
}

