* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.armata-regular {
    font-family: "Armata", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: "Armata", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #000000;
    color: #fff;
}




/* /progaleriessssss */



.progalleriessss,
.videogallery {
    text-align: center;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.progalleriessss h1 {
    color: #7154c5;
}

.project-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 18px;
    color: #7154c5;
    margin: 15px 15px 5px;
    font-weight: 600;
}

.project-card p {
    font-size: 14px;
    color: #b7b1b1;
    margin: 0 15px 15px;
    line-height: 1.4;
    height: 40px;
    /* Fixed height for consistent card sizing */
    overflow: hidden;
}

/* Hover effects */
.project-link:hover .project-card {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card {
        height: auto;
        padding-bottom: 20px;
    }

    .project-card img {
        height: 250px;
    }

    .project-card h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .project-card p {
        font-size: 14px;
        margin-top: 5px;
    }

    .project-section {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 20px;
        gap: 20px;
    }

    .video-section {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .video-section iframe {
        height: 250px;
    }

    .gallery-hero {
        padding: 80px 0 40px;
    }

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

    .gallery-hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .project-card {
        height: auto;
    }

    .project-card img {
        height: 200px;
    }

    .project-card h3 {
        font-size: 16px;
    }

    .project-card p {
        font-size: 13px;
    }

    .project-section {
        padding: 15px;
        gap: 15px;
    }

    .video-section {
        padding: 15px;
        gap: 15px;
    }

    .video-section iframe {
        height: 200px;
    }

    .gallery-hero {
        padding: 60px 0 30px;
    }

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

    .gallery-hero p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .divider {
        margin: 30px auto;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.modal-content,
#caption {
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* Caption for modal images */
#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 20px;
    font-size: 16px;
}

/* Close button */
.close {
    position: absolute;
    bottom: 35px;
    left: 35px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}


/* videsoooo */

.video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

.video-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.video-section iframe {
    width: 100%;
    height: 215px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card h3 {
    font-size: 18px;
    color: #7154c5;
    margin: 15px 15px 5px;
    font-weight: 600;
}

.video-card p {
    font-size: 14px;
    color: #b7b1b1;
    margin: 0 15px 15px;
    line-height: 1.4;
    height: 40px;
    /* Fixed height for consistent card sizing */
    overflow: hidden;
}

@media (max-width: 768px) {
    .video-section {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .video-section iframe {
        height: 250px;
    }

    .video-card h3 {
        font-size: 18px;
        margin: 12px 15px 8px;
    }

    .video-card p {
        font-size: 14px;
        margin: 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 15px;
        gap: 15px;
    }

    .video-section iframe {
        height: 200px;
    }

    .video-card h3 {
        font-size: 16px;
        margin: 10px 12px 6px;
    }

    .video-card p {
        font-size: 13px;
        margin: 0 12px 12px;
    }
}


/* Back Button */
#mbcbtn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background-color: #7154c5;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mbcbtn::before {
    content: '\f060';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
}

#mbcbtn:hover {
    background-color: #5a43a0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #7154c5;
    color: white;
    padding: 15px;
    border-radius: 10px;
    /* Slight radius for square shape */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    /* Remove underline */
}

.back-to-top i {
    font-size: 24px;
}

.back-to-top:hover {
    background-color: #7154c5;
    transform: scale(1.1);
}

/* Show the button when scrolling down */
.show {
    display: flex;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 8px;
    }

    .back-to-top i {
        font-size: 20px;
    }
}

/* Gallery Hero Section */
.gallery-hero {
    height: 250px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.gallery-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.gallery-hero h1 {
    font-size: 48px;
    color: #7154c5;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-hero p {
    font-size: 20px;
    color: #b7b1b1;
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 200px;
    }

    .gallery-hero h1 {
        font-size: 36px;
    }

    .gallery-hero p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        height: 180px;
    }

    .gallery-hero h1 {
        font-size: 28px;
    }

    .gallery-hero p {
        font-size: 16px;
    }
}

/* Section Headings */
.section-title {
    text-align: center;
    width: 100%;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progalleriessss h2,
.videogallery h2 {
    font-size: 36px;
    color: #7154c5;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 50px;
    text-align: center;
    width: 100%;
}

.progalleriessss h2 i,
.videogallery h2 i {
    font-size: 30px;
}

@media (max-width: 768px) {

    .progalleriessss h2,
    .videogallery h2 {
        font-size: 30px;
        padding: 0 20px;
    }

    .progalleriessss h2 i,
    .videogallery h2 i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {

    .progalleriessss h2,
    .videogallery h2 {
        font-size: 24px;
        padding: 0 15px;
    }

    .progalleriessss h2 i,
    .videogallery h2 i {
        font-size: 20px;
    }
}

/* Divider */
.divider {
    height: 2px;
    background-color: rgba(113, 84, 197, 0.3);
    margin: 60px auto;
    max-width: 80%;
}

@media (max-width: 768px) {
    .divider {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .divider {
        margin: 30px auto;
    }
}