:root {
    --primary: #ec7505ff;
    --secondary-dark: #171614ff;
    --text-color: #b22222;
    --background: linear-gradient(#fffdf7, #fff);
    --dark: #000000ff;
    --light: #ffffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--background);
}

/* Youtube Custom Embbed Styling Start  */

.yt-lite {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000 center/cover no-repeat;
    /* border-radius: 12px; */
    overflow: hidden;
    cursor: pointer;
}

.yt-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.yt-play::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.yt-lite.is-playing .yt-play {
    display: none;
}

/* Youtube Custom Embbed Styling Ends  */


/* Gallary Section Styling Starts  */

.video-gallery {
    padding: 0px 7px;
}

.gallary-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 1rem 1rem;
    font-family: 'Poppins', sans-serif;
    /* background-color: #f8f9fa; */
    color: #343a40;
    line-height: 1.6;
}

/* Section headings and sub-headings */
.gallary-section-header {
    text-align: center;
    margin: 2.5rem 0rem;
}

.gallary-section-header h2 {
    /* font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: #FFEB3B 4px 5px 2px; */

    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px #ffc024c9;
    font-family: "Mozilla Headline", sans-serif;
}

.gallary-section-header p {
    font-size: 1.1rem;
    color: var(--secondary-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Gallery Grid Layouts */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(307px, 1fr));
    gap: 0.5rem;
}

@media screen and (max-width:787px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Common item styles */
.gallery-item {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Video specific styles to maintain aspect ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Gallary Section Styling Ends  */