.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: inherit;
    background-color: goldenrod;
    border-color: white;
    padding: 0.5rem 1rem; /* added padding for better touch target size */
    font-size: 1rem; /* adjusted font-size for better readability on mobile */
    border-radius: 0.25rem; /* adjusted border-radius for better look on mobile */
}

/* Navbar Start */
.sticky-top {
    transition: 0.5s;
    background: var(--bs-white);
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 20px;
    transition: .5s;
}

.nav-item.nav-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top.bg-white .navbar .navbar-nav .nav-link:hover,
.sticky-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: goldenrod !important;
}

/* Make carousel responsive */
@media (max-width: 767px) {
    .video-container {
        position: relative;
        width: 100%;
        height: auto;
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
        color: white;
        cursor: pointer;
    }
}

/* Wedding Date Start */
.wedding-date-bg .wedding-date {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(235, 232, 207, 0.5), rgba(255, 255, 255, 0.5)),  center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 36%;
}

.wedding-date-bg .wedding-date::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 3;
    margin-top: 150px;
}

.wedding-date-bg .wedding-date .wedding-date-content {
    font-family: 'Merriweather', serif;
    position: relative;
    z-index: 9;
    color: white;
}

.custom-btn {
    color: gold;
    border-color: gold;
}
.custom-btn:hover {
    background-color: gold;
    color: black;
}
.btn-primary {
    color: white;
    font-size: 20px;
}

.header1 {
    font-family: 'Merriweather', serif;
    color: gold;
    font-size: 60px;
}

.header1caption {
    font-family: 'Merriweather', serif;
    font-weight: 100%;
    margin-top: 25px;
}
/* Wedding Timeline Start */
@media (max-width: 576px) {
    .wedding-timeline .wedding-content .heart-circle {
        display: none;
    }
}

/* Gallery Start */
.gallery-item {
    height: 400px; /* Set a fixed height for all gallery items */
    width: 100%; /* Set a fixed width for all gallery items */
    overflow: hidden;
    position: relative; /* Ensure relative positioning for absolute elements */
}

.gallery-item .gallery-img {
    position: relative;
    overflow: hidden;
    height: 100%; /* Ensure the gallery image takes the full height of its parent */
}

.gallery-item .gallery-img img {
    width: 100%; /* Ensure the image fills the container horizontally */
    height: 100%; /* Ensure the image fills the container vertically */
    object-fit: cover; /* Maintain aspect ratio and cover the entire container */
}

.gallery-item .hover-style {
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 1s;
}

.gallery-item .gallery-img:hover .hover-style {
    width: auto;
    height: auto;
    border: 30vw solid rgba(255, 255, 255, 0.3); /* Adjust according to your design */
    opacity: 1;
}

.gallery-item .search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
}

.gallery-item .gallery-img:hover .search-icon {
    opacity: 1;
}

/* Adjust caption styles */
.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Adjust background color and opacity */
    padding: 10px;
    text-align: center;
}




/* Footer Start */
.footer {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.952)),  center center;
    background-size: cover;
    background-repeat: no-repeat;
    /* margin-top: 10px; */
}

.footer .footer-item a.btn-link,
.footer .footer-item p {
    line-height: 35px;
    font-size: 17px;
    color: var(--bs-light);
    transition: 0.5s;
}

.footer .footer-item a.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .footer .text-start,
    .footer .text-center,
    .footer .text-end {
        text-align: center !important;
    }
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}



.position-absolute.top-right {
    position: absolute;
    top: -95px;
    right: 0;
    margin-top: 120px;
}

.position-absolute.top-left {
    position: absolute;
    top: -80px;
    left: 0;
    transform: rotate(150deg);
    margin-top: 120px;
}

.carousel-control {
    padding-top: 10%;
    width: 5%;
}

.thumbnail {
    width: 100px;
    height: 100px;
    background-color: skyblue;
    text-align: center;
    color: white;
    font-size: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .position-absolute.top-right,
    .position-absolute.top-left {
        margin-top: 60px; /* Adjust margin for smaller screens */
    }

    .carousel-control {
        padding-top: 15%; /* Adjust padding for smaller screens */
    }

    .thumbnail {
        width: 70px; /* Adjust width for smaller screens */
        height: 70px; /* Adjust height for smaller screens */
        font-size: 20px; /* Adjust font size for smaller screens */
    }

    .clients .slick-slide {
        flex: 0 0 calc(33.333% - 20px); /* Adjust width for smaller screens */
    }

    .participants .slick-slide {
        flex: 0 0 calc(33.333% - 20px); /* Adjust width for smaller screens */
    }
}

.about {
    background-color: rgba(184, 133, 4, 0.925);
}

.aboutTitle {
    color: whitesmoke;
    font-size: 25px;
}

.wedTitle {
    font-family: 'Merriweather', serif;
    letter-spacing: 4px;
    color: rgb(255, 255, 255);
}

.wedding {
    background-color: rgba(184, 133, 4, 0.925);
}

.galTitle {
    font-family: 'Merriweather', serif;
    color: gold;
}

.sec-heading1 {
    margin-bottom: 10px;
}

.sec-heading1 h2 {
    text-align: center;
    font-family: 'Merriweather', serif;
    font-size: 50px;
}

.participants {
    padding: 30px 0;
    width: 100%;
    overflow: hidden; /* Hide any overflowing content */
}

.participants .slick-list {
    width: 100%;
}

.participants .slick-track {
    display: flex;
    justify-content: space-between;
    width: calc(100% + 20px); /* Compensate for negative margin of slick-slide */
    margin-left: -10px; /* Compensate for negative margin of slick-slide */
}

.participants .slick-slide {
    flex: 0 0 calc(25% - 20px); /* Adjust width here */
    margin: 0 10px; /* Adjust margin as needed */
    padding: 0;
}

.exhibitors-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: bold;
    color: #4d4d4d;
    margin-top: 30px;
    margin-bottom: 20px;
}

.sponsors-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: bold;
    color: #4d4d4d;
    margin-top: 30px;
    margin-bottom:30px;
}

.sponsor-item {
    padding: 10px;
    overflow: hidden;
}

.sponsor-item img {
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.video-container {
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.play-button:hover {
    opacity: 1;
}