﻿.custom-layout {
    /* Import font inside the scoped class */
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
}

.custom-layout {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .custom-layout .page-title {
        margin: 20px 0;
        text-align: center;
    }

        .custom-layout .page-title h1 {
            color: #3a3a3a;
            font-size: 36px;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

    .custom-layout .cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        justify-content: center;
        padding: 20px;
        width: 100%;
        max-width: 1200px;
    }

    .custom-layout .card {
        background-color: #f7e9c8;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .custom-layout .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
        }

        .custom-layout .card h2 {
            color: #3a3a3a;
            font-size: 20px;
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

    .custom-layout .description {
        color: #666;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 15px;
        overflow: hidden;
        text-align: center;
        word-break: break-word;
    }

    .custom-layout .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

        .custom-layout .social-icons a {
            color: #e0ad3c;
            font-size: 20px;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .custom-layout .social-icons a:hover {
                color: #c6c9a9;
            }

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    .custom-layout .card h2 {
        font-size: 16px;
    }

    .custom-layout .description {
        font-size: 12px;
    }

    .custom-layout .social-icons a {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .custom-layout .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-layout .card {
        padding: 15px;
        border-radius: 8px;
        aspect-ratio: 3 / 4;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .custom-layout .card h2 {
            font-size: 14px;
        }

    .custom-layout .description {
        font-size: 11px;
    }

    .custom-layout .social-icons a {
        font-size: 14px;
    }
}
