@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --font-family: 'Poppins', sans-serif;
    --transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --primary: #0d6efd;
    --secondary: #28a745;
    --dark: #0f172a;
    --light-bg: #f8fafc;
}

body {
    font-family: var(--font-family);
}

/* Gallery section start */
.gallery-hero {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('../images/gallery-header.png') center 25%/cover; */
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Responsive Design */
/* Extra large devices (large desktops, 1920px and up) */
@media (min-width: 1920px) {
    .container {
        max-width: 1850px;
        margin: 0 auto;
    }
}

/* Large devices (desktops, 1366px) */
@media (max-width: 1366px) {
    .container {
        max-width: 1280px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 30px 10px;
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }

    .gallery-hero h1 {
        font-size: 1.8rem;
    }

    .certificate-section h2 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 364px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item img {
        height: 120px;
    }
}