 :root {
    --primary-blue: #0a2540;
    --accent-blue: #007bff;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #343a40;
    --light-text: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0px 10px 30px rgba(0, 0, 0, 0.07);
    --radius-xl: 16px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.7;
}


.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 20px;
}


.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.section-head h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.section-head p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-top: 8px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


.tile {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.1);
}

.tile .thumb {
    width: 100%;
    aspect-ratio: 16/11;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.tile .info {
    padding: 20px;
}

.tile .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.tile .tag {
    display: inline-block;
    background: #e7f3ff;
    color: var(--accent-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tile strong {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.tile p {
    font-size: 0.95rem;
    color: var(--light-text);
    margin: 0;
}


#back-to-top {
    position: fixed;      
    top: 10px;           
    left: 60px;           
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 9999;       
}


#back-to-top:hover {
    background: var(--primary-blue);
}


@media screen and (max-width: 1000px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .grid {
        grid-template-columns: 1fr;
    }
}