/* =========================
   Global Reset
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =========================
   Page Background
========================= */
.page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #1d2671, #c33764);
    padding: 60px 20px;
    display: flex;
    align-items: center;
}

/* =========================
   Main Container
========================= */
.container {
    max-width: 1150px;
    width: 100%;
    margin: auto;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* =========================
   Headings
========================= */
.heading {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #222;
}

.sub-heading {
    text-align: center;
    margin: 12px 0 45px;
    color: #666;
    font-size: 16px;
}

/* =========================
   Grid Layout
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop: ৩ কলাম */
    gap: 28px;
}

/* =========================
   Category Card
========================= */
.card {
    height: 180px;
    border-radius: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    transition: all 0.35s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.3);
}

/* =========================
   Inner Border Effect
========================= */
.inner-border {
    width: 85%;
    height: 70%;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.75);
    outline: 2px solid rgba(255,255,255,0.35);
    outline-offset: -10px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

/* =========================
   Gradient Backgrounds
========================= */
.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-2 { background: linear-gradient(135deg, #43cea2, #185a9d); }
.gradient-3 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.gradient-4 { background: linear-gradient(135deg, #ff758c, #ff7eb3); }
.gradient-5 { background: linear-gradient(135deg, #36d1dc, #5b86e5); }
.gradient-6 { background: linear-gradient(135deg, #11998e, #38ef7d); }
.gradient-7 { background: linear-gradient(135deg, #fc4a1a, #f7b733); }
.gradient-8 { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.gradient-9 { background: linear-gradient(135deg, #8e2de2, #4a00e0); }

/* =========================
   Responsive Design
========================= */

/* Tablet */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* ২ কলাম */
    }

    .heading {
        font-size: 30px;
    }

    .container {
        padding: 40px 25px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr; /* ১ কলাম */
    }

    .heading {
        font-size: 26px;
    }

    .inner-border {
        font-size: 18px;
    }

    .card {
        height: 160px;
    }
}
