/* Basic styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}
/*====navbar===*/
 /* Initial styles when the page loads */
 #navbar {
    height: auto;
}
.navbar-custom {
    margin: 2% 10%;
    background-color: #2c3e50; /* DarkGreyNavy */
    transition: all 0.3s ease-in-out;
}

.navbar-scrolled {
    margin: 0;
    width: 100%;
    background-color: #2c3e50;
}

/* Flex wrapping for responsive nav */
.navbar-nav {
    margin: auto;
    flex-wrap: wrap;
}

.navbar-nav .nav-item {
    margin-right: 2%;
}

.navbar-custom .nav-link {
    font-weight: bold;
    color: blue;
}

/* Hover effect */
.navbar-custom .nav-link:hover {
    color: #0e89a8;
}

.navbar-light .navbar-nav .nav-link{
    font-size: 14px;
}

/* Register button */
.register-btn {
    background-color: orange;
    color: white;
    font-weight: bold;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
}


.register-btn:hover {
    background-color: #0e89a8;
}

.btn-awards{
    background-color: #afc0c9 !important;
}

/* Logo styling */
.navbar-brand img {
    max-height: 40px;
    margin-right: 15%;
    width: 12rem;
}

/* Dropdown styling */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2c3e50;
    color: white;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown-item {
    padding: 10px 20px;
    color: black;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Ensure responsiveness on small screens */
@media (max-width: 991px) {
    .navbar-nav {
        justify-content: center;
    }
    .register-btn {
        margin-top: 10px;
    }
}


/* Banner styling */
/* Banner full width */
#aboutbanner {
    background-image: linear-gradient(to right, rgb(82, 82, 82), #383175);
    color: white;
    padding-top: 10%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    width: 100%; /* Full width */
    position: relative;
}

/* Ensure equal space and full content width */
.container-fluid {
    padding-left: 5%;
    padding-right: 5%;
}

.content-margin {
    margin-top: 10%;
}

.date-box-container {
    border: 2px solid white;
    border-radius: 0;
    width: 100%;
    max-width: 150px;
    background-color: transparent;
    margin: 0 auto;
}

.date-box {
    border-bottom: 1px solid white;
    padding: 10px;
    width: 100%;
    text-align: center;
}

.date-box:last-child {
    border-bottom: none;
}

.date-text {
    font-size: 2rem;
    margin: 0;
    text-align: center;
    color: white;
}

.about-title {
    font-weight: bold;
    font-size: 2.2rem;
}

.about-title1 {
    font-weight: bold;
    font-size: 3.5rem;
}

.about-title2 {
    font-size: 1.5rem;
}

/* Responsive design adjustments */

@media (max-width: 768px) {
    /* Adjust the date box to display horizontally */
    .date-box-container {
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        padding: 0.5rem;
        font-size: 0.8rem;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 1rem;
        max-width: 100%;
      
    }

    .date-box {
        border-right: 1px solid white;
        border-bottom: none;
        padding: 10px;
        max-width: 20%;
        text-align: center;
    }

    .date-box:last-child {
        border-right: none;
    }

    #countdown {
        max-width: 50%;
        font-size: 0.8rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        padding: 0.5rem;
        margin-left: -1rem;
        margin-top: -10%;
        background-color: #2c3e50;
    }

    #countdown div {
        margin: 0 10px; /* Add some spacing between the countdown segments */
    }
}


/* Further adjustments for very small screens */

@media (max-width: 576px) {
    .date-box-container {
        font-size: 0.6rem;
    }

    .date-box {
        padding: 5px;
    }

    /* Countdown timer adjustments for very small screens */
   
    #countdown {
        max-width: 50%;
        font-size: 0.8rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: center;
        padding: 0.5rem;
        margin: 0 auto;
        margin-top: -10%;
        margin-left: 0%;
    }

    #countdown div {
        margin: 0 5px;
    }
}




/*===home about===*/
#info {
    background-color: white; /* Background color for the info section */
    padding: 3rem 0;
    margin-top: 2%;
}

.info-content {
    display: flex;
    flex-direction: column; /* Stack heading and text vertically */
    height: 100%;
}

.info-heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.info-text {
    display: flex;
    align-items: center;
    border-left: 5px solid blue; /* Blue line */
    padding-left: 1rem;
    height: 100%;
    flex-direction: column; /* Stack items vertically */
}

.info-text p {
    margin: 0;
    font-size: 1rem;
}

.info-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 115%;
}

.info-image img {
    max-width: 90%;
    height: auto;
    object-fit: cover; /* Ensure the image covers the area without distortion */
    margin-left: 6%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-heading {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .info-text {
        border-left-width: 3px; /* Thinner line on smaller screens */
        padding-left: 0.5rem; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 576px) {
    .info-heading {
        font-size: 1.5rem; /* Further adjust font size */
    }

    .info-text {
        padding-left: 0.25rem; /* Adjust padding for smaller screens */
    }
}


/*====about 2==*/
#second-info {
    background-color: white; /* Background color for the info section */
    padding: 3rem 0;
}

.image-container {
    position: relative; /* Ensure the container is positioned relative to the images */
    width: 100%;
    height: 400px; /* Set a fixed height for the container to accommodate images */
    max-width: 100%; /* Ensure it doesn't exceed the column width */
    display: flex;
    justify-content: center; /* Center images horizontally */
    align-items: center; /* Center images vertically */
    overflow: hidden; /* Hide any overflow from absolutely positioned images */
}

/* Randomized positioning for images */
.rounded-circle {
    position: absolute; /* Allow images to be positioned absolutely within the container */
    border-radius: 50%; /* Makes images round */
    width: 110px; /* Default image size */
    height: 110px; /* Default image size */
    object-fit: cover;
}

.img-1 { top: 10%; left: 5%; }
.img-2 { top: 20%; left: 40%; }
.img-3 { top: 50%; left: 30%; }
.img-4 { top: 30%; left: 60%; }
.img-5 { top: 60%; left: 20%; }

/* Responsive adjustments for images */
@media (max-width: 768px) {
    .image-container {
        height: auto; /* Allow container height to adjust for smaller screens */
    }

    .rounded-circle {
        width: 60px; /* Adjust image size for smaller screens */
        height: 60px; /* Adjust image size for smaller screens */
    }
}

@media (max-width: 576px) {
    .rounded-circle {
        width: 50px; /* Further adjust image size */
        height: 50px; /* Further adjust image size */
    }
}

.text-content {
    position: relative;
    padding-left: 2rem;
    border-left: 5px solid rgb(23, 194, 23); /* Pink line on the left */
}

.text-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-paragraph {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.text-list {
    list-style: disc;
    padding-left: 1.5rem;
}

.text-list li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for text */
@media (max-width: 768px) {
    .text-heading {
        font-size: 1.5rem; /* Adjust font size for smaller screens */
    }

    .text-paragraph {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }

    .text-list li {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }
}

@media (max-width: 576px) {
    .text-heading {
        font-size: 1.25rem; /* Further adjust font size */
    }

    .text-paragraph {
        font-size: 0.8rem; /* Further adjust font size */
    }

    .text-list li {
        font-size: 0.8rem; /* Further adjust font size */
    }
}

/*====speaker-home==*/
.image {
    border-radius: 15px; /* Rounded corners for the entire block */
    overflow: hidden; /* Hide overflow to maintain rounded shape */
    background-color: #f4f4f4; /* Background color for the container */
    text-align: center; /* Center text and image within the container */
    padding: 1rem; /* Space around the content */
    max-width: 500px; /* Limit the width of the container */
    margin: auto; /* Center the container */
}

.image img {
    width: 100px; /* Small but not too small */
    height: 100px; /* Small but not too small */
    border-radius: 50%; /* Round the image */
    object-fit: cover; /* Ensure the image covers the circle without distortion */
    display: block; /* Remove bottom space caused by inline display */
    margin: 0 auto; /* Center the image horizontally */
}

.image h5 {
    font-size: 1rem; /* Adjust font size for the heading */
    margin: 0.5rem 0; /* Space above and below the heading */
    font-weight: bold; /* Make the heading bold */
}

.image p {
    font-size: 0.875rem; /* Slightly smaller font size for the paragraph */
    margin: 0; /* Remove default margin */
    color: #555; /* Subtle color for better readability */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image {
        max-width: 500px; /* Adjust width for smaller screens */
    }

    .image img {
        width: 130px; /* Adjust image size */
        height: 120px; /* Adjust image size */
    }

    .image h5 {
        font-size: 0.875rem; /* Adjust font size */
    }

    .image p {
        font-size: 0.75rem; /* Adjust font size */
    }
}

@media (max-width: 576px) {
    .image {
        max-width: 500px; /* Further adjust width for very small screens */
    }

    .image img {
        width: 120px; /* Further adjust image size */
        height: 120px; /* Further adjust image size */
    }

    .image h5 {
        font-size: 0.75rem; /* Further adjust font size */
    }

    .image p {
        font-size: 0.65rem; /* Further adjust font size */
    }
}

/*==============banners of the other pages==*/
#avcbanner {
    position: relative;
    height: 50vh; /* Adjust height as necessary */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure content does not overflow */
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire section */
    z-index: -1; /* Place the image behind the text */
}

.banner-title {
    font-size: 3rem; /* Adjust font size as necessary */
    font-weight: bold;
    color: white; /* Text color for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9); /* Optional: adds a shadow to improve readability */
    margin-top: 10%;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay with 50% opacity */
    z-index: -1; /* Place the overlay above the image but behind the text */
}

/*===========about page styling=*/
/* General styling for the section */
#about-avc1 {
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-4 {
    flex: 1;
    padding: 1rem;
    box-sizing: border-box;
}

.column-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.paragraph {
    margin-bottom: 1.5rem;
}

.paragraph h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
}

.paragraph h2 .icon-img {
    width: 24px; /* Adjust size as necessary */
    height: 24px; /* Adjust size as necessary */
    margin-right: 0.5rem;
}

.paragraph p {
    font-size: 1rem;
    margin: 0;
}

/* Ensure video height matches the columns */
video {
    height: 100%;
}
/* General section styling */
#learn-connect {
    padding: 3rem 0;
    background-color: #f8f9fa; /* Light background color */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-md-4 {
    flex: 1;
    padding: 1rem;
    box-sizing: border-box;
}

.learn {
    font-size: 2.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
}

/* Image styling */
.img-fluid {
    max-width: 100%;
    height: 60px;
    border-radius: 8px; /* Slight rounding of image corners */
    margin-right: 20%;
}

/* Responsive design */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 100%;
        margin-bottom: 2rem;
    }
}
/* General section styling */
#stats {
    background-color: #007BFF; /* Blue background color */
    padding: 3rem 0;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.col-md-3 {
    flex: 1;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
}

.stat-box h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.25rem;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .col-md-3 {
        flex: 100%;
        margin-bottom: 2rem;
    }
}


/*===========speaker page===*/
.image {
    position: relative;
    width: 100%;
    text-align: center;
  }

  .image img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }

  .image:hover img {
    transform: scale(1.1);
  }

  .plus-sign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .image:hover .plus-sign {
    opacity: 1;
  }

  .speaker-popup {
    margin-top: 3%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }

  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
  }

  .speaker-popup img {
    width: 50%;
    height: 150px;
    border-radius: 10px;
  }

  .close-popup {
    cursor: pointer;
    margin-top: 20px;
    background-color: orange;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
  }

.sp-content{
    padding: 0 35px 35px;
    width: 75%;
}
.sp-content h5{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #716e6e; 
}
.cleaned-popup{
    max-width: 1080px;
    align-items: flex-start;
}
.cleaned-popup img{
    width: 100% !important;
    max-width: 300px !important;
}

.speaker-block{
    border: 1px solid #f4f4f4;
    border-radius: .25rem;
    height: 100%;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.speaker-block .image{
    
}
.speaker-block .speaker-details{
    padding: 25px 15px 30px;
    position: relative;
}
.speaker-details h5{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}
.speaker-details p{
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    color: #716e6e;    
}
.speaker-details p span{
    color: #716e6e;    
    font-style: italic;
    display: inline;
    border-bottom: 1px solid;
}
.speaker-details .company{
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

.speaker-block .speaker-presentation-link{
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

/*=========programm==========*/
.program-tab {
    padding: 40px 20px;
    background-color: #f9f9f9;
    /* background-color: #363e425b; */
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
  }
  h2 {
    text-align: center;
    margin-bottom: 20px;
  }
  .description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
  }
  .day-buttons button {
    margin: 5px;
  }
  .content {
    margin-top: 20px;
  }
  .timeline {
    margin-bottom: 40px;
  }
  ul:not(.programe-list) {
    list-style-type: none;
    padding: 0;
  }
  ul li {
    margin-bottom: 10px;
  }

  .speaker-popup {
    margin-top: 3%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    width: 80%; /* Increase width */
    max-height: 80vh; /* Set maximum height */
    overflow-y: auto; /* Enable scrolling */
}

/* Adjustments for mobile view */
@media (max-width: 768px) {
    .speaker-popup {
        width: 90%; /* Make popup wider on mobile */
        max-height: 60vh; /* Reduce the height for smaller screens */
    }
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.speaker-popup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-popup {
    cursor: pointer;
    margin-top: 20px;
    background-color: orange;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    display: block;
    width: 100%; /* Ensure button is responsive */
}


  /*======tickets==========page==*/

  .ticket-page {
    padding: 50px 20px;
    background-color: #f7f7f7;
}
h2, h3 {
    margin-bottom: 30px;
}
.ticket-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.ticket-card h4, .ticket-card h5 {
    margin-bottom: 15px;
}
.ticket-card p {
    margin-bottom: 20px;
}
.ticket-card button {
    background-color: #ff7f00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}
.ticket-card button:hover {
    background-color: #e06c00;
}


/*====past events===*/

#tables
{
    margin-top: 40px;
}
.image-table img{
    width: 17rem;
    height: 17rem;
    border: 5px solid white;
    object-fit: cover;
}
.section-title{
    font-size: 40px;
}
/*==testimonials===*/

.testiM{
    color: black;
}

.testimonial
{
    background: #fff;
    padding: 50px;
}
.testimonial img{
    width:100px;
    height: 100px;
    justify-content: center;
    border-radius: 50%;
    margin-left: -15%;
}
.name{
    font-size: 30px;
    text-transform: uppercase;
    margin-top: 40%;
}

.social-icons-row {
    display: flex;
    gap: 20px; /* Adjust the spacing between icons */
    justify-content: center;
}

.social-icon {
    justify-content: center;
    font-size: 24px; /* Adjust the icon size */
}

/*=====contact ==============*/
.contact-info {
    margin-top: 30px;
}
.contact-info h2 {
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 10px;
}
.icon-links a {
    font-size: 24px;
    margin-right: 15px;
    color: #007bff;
}
.contact-section {
    margin-top: 40px;
}
.contact-section .contact-detail {
    margin-bottom: 20px;
}
.contact-section h3 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.schedule-wrapper{
    text-align: left;
    max-width: 1000px;
    margin: auto;
}
.schedule-wrapper h2{
    text-align: left;
    font-size: 24px;
    background-color: #ffd07a;
    padding: 10px;
}
.schedule-wrapper .sw-row{
   border-bottom: 1px solid #ddd; 
   padding: 5px 10px;   
}
.sw-break{
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
    text-align: center;  
}
.sw-lunch{
    background-color: #ffd07a;
    font-weight: bold;
    text-align: center;
}
.sw-row .row{
    align-items: center;
}
.sw-row .col-md-3{
    padding: 5px 15px;
    text-align: left;
}

.programme-presentation-link{
    display: block;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
}

/* BORNMAKER TAKEOVER */
img{
    display: inline-block;
    max-width: 100%;
}

.speakers-section{
    padding-bottom: 55px;
}
.sponsors-section, #past-events{
    padding-top: 55px;
    padding-bottom: 55px;
    border-top: 1px dashed #ddd;
}

/* .sponsors-section h2{
    margin-bottom: 55px;
    font-weight: bolder;
    font-size: 2.5rem;
} */

.logo-block{
    /* background-color: #f1f1f1; */
    padding: 15px;
    border: 1px solid #f1f1f1;
    text-align: center;
    height: 100%;
}
.lb-img{
    height: 150px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-block img{
    max-height: 100%;
}
.logo-block .lb-type{
    font-size: 13px;
    font-weight: 600;
    color: #17c217;
    padding-top: 25px;
    max-width: 200px;
    margin: auto;
}

.organizing-partners-section{
    padding-top: 55px;
    padding-bottom: 55px;
    background-color: #f1f1f1;
}
/* .organizing-partners-section h2, .participating-companies-section h2{
    margin-bottom: 55px;
    font-weight: bolder;
    font-size: 2.5rem;
} */

/* .swiper{
    overflow: initial !important;
} */
/* .swiper-wrapper{
    overflow: hidden;
} */
.swiper-button-next{
    right: -25px !important;
}
.swiper-button-prev{
    left: -25px !important;
}

.companies-slider{
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
.companies-slider .swiper-slide {
    height: calc((100% - 30px) / 2) !important;

    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

.participating-companies-section{
    padding-top: 55px;
    padding-bottom: 55px;
    border-bottom: 1px dashed #ddd;
}
.sponsors-section h2, .organizing-partners-section h2, .participating-companies-section h2{
    margin-bottom: 55px;
    font-weight: bolder;
    font-size: 2.5rem;
}

.venue-section{
    border-top: 1px dashed #ddd;
    padding-top: 55px;
    padding-bottom: 55px;
    text-align: center;
}
.venue-section h2{
    font-weight: bolder;
    font-size: 2.5rem;
}
.venue-section p{
    margin-bottom: 55px;
}

/* PAST EVENTS */
#past-events{}
#past-events h2{
    margin-bottom: 35px;
}
.pe-block{
    display: flex;
    align-items: flex-end;
    padding: 25px;
    border-radius: 10px;
    background-color: #000;
    min-height: 170px;
    text-decoration: none;
}
.pe-block h3{
    color: #fff;
    margin-bottom: 0;
}
.pe-block.pe-yellow{ background-color: #f6c279; }
.pe-block.pe-purple{ background-color: #6c82c0; }

section{
    padding-top: 55px;
    padding-bottom: 55px;
}

/* PHOTO GALLERY */
.gallery-block{
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}
.gallery-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gallery-block img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.gallery-block span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-grid a.view-more-photos-btn{
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    background-color: #2c3e50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.gallery-grid a.view-more-photos-btn:hover{
    background-color: #70ba61;
}