/* CSS Custom Properties for Dynamic vCard Colors */
.template6 .main-section{
    /* Main Background */
    background: var(--background-color, #272B40);
}

/* General Styling */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.template6 .top-section {
    background-color: var(--second-background-color, #191B28);
    position: relative;
}

.template6 .banner-image {
    width: 100%;
    height: 300px;
}

@media screen and (max-width: 768px) {
    .template6 .banner-image {
        height: 200px;
    }
}

.template6 .profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--background-color, #272b40);
    margin-top: -80px;
    margin-left: 15px;
    object-fit: cover;
    position: absolute;
}
.template6 .share-icons {
    position: relative;
}

.template6 .share-icons a {
    margin: 0 5px;
    color: var(--description-color, #6c757d);
    font-size: 1.5rem;
    text-decoration: none;
}

.template6 .middle-section {
    background-color: var(--background-color, #ffffff);
    /* Adjust height based on top and bottom sections */
    overflow-y: auto;
}

.template6 .bottom-section {
    background-color: var(--second-button-color, #8cc8b2);
    color: var(--second-button-text-color, white);
    text-align: center;
    padding: 20px;
}

.template6 .name-designation h2 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--label-color, #FFFFFF);
    font-family: 'Montserrat',sans-serif;
    font-weight: bold;
}

.template6 .name-designation h5 {
    margin: 0;
    font-size: 1.4rem;  
    font-weight: 600;
    color: var(--label-color, #FFFFFF);
    font-family: 'Montserrat',sans-serif ;
}

.template6 .name-designation p {
    margin: 0;
    color: var(--label-color, #FFFFFF);
    font-family: 'Montserrat',sans-serif;
    font-weight: 200;
}
.template6 .bg-color {
   background-color: var(--background-color, #272B40);
}

.template6 .font-family {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px ;
    font-weight: 600px;
}

.template6 .font-family-social {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--second-background-color, #312742);
    font-size: 1.67rem;
}

.template6 .share-image {
    width: 80px;
}

.template6 .share-ImageW {
    width: 82px;
}

.template6 .social-image {
    width: 80px;
}
.template6 .custom-social-icon {
    width: 80px; 
    border-radius: 20px;
}

@media (max-width: 991px) {
    .template6 .share-image {
        width: 60px;
    }
    .template6 .share-ImageW {
        width: 62px;
    }
    .template6 .social-image {
        width: 60px;
    }
    .template6 .custom-social-icon {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .template6 .share-image {
        width: 75px;
    }
    .template6 .share-ImageW {
        width: 77px;
    }
    .template6 .social-image {
        width: 75px;
    }
    .template6 .custom-social-icon {
        width: 75px;
    }
}
@media (max-width: 400px) {
    .template6 .share-image {
        width: 60px;
    }
    .template6 .share-ImageW {
        width: 62px;
    }
    .template6 .social-image {
        width: 60px;
    }
    .template6 .custom-social-icon {
        width: 60px;
    }
}

.template6 .qr-image {
    width: 50px;
    height: 50px;
}

.template6 .qr1-image {
    width: 45px;
    height: 50px;
}

.template6 .save-tab .btn {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    border-radius: 30px; /* More rounded corners */
    padding: 12px 24px;
    border: none;
    white-space: nowrap;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.template6 .text-blue {
    color: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
    font-size: 50px;
}
.template6 .btn-gradient-blue {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
    color: var(--second-button-text-color, #fff);
}

.template6 .btn-gradient-gray {
    background: linear-gradient(45deg, var(--button-color, #8084AD), var(--button-lighter-color, #CBCBCC));
    color: var(--button-text-color, #fff);
}

.template6 .cancelButton {
    background: linear-gradient(45deg, var(--button-color, #8084AD), var(--button-lighter-color, #CBCBCC));
    color: var(--button-text-color, #fff);
}

.template6 .btn-gradient-blue:hover {
    background: linear-gradient(45deg, var(--second-button-lighter-color, #2E4BFF), var(--second-button-lighter-color, #5FA0FF));
    color: var(--second-button-text-color, #fff);
}

.template6 .btn-gradient-gray:hover {
    background: linear-gradient(45deg, var(--button-lighter-color, #6A6E99), var(--button-lighter-color, #AFAFB3));
    color: var(--button-text-color, #fff);
}

.template6 .checkout-container {
    color: var(--button-text-color, #fff);
}

.template6 .icon-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(to bottom, var(--button-lighter-color, #7193b9), var(--button-color, #1c3856));
    color: var(--button-text-color, white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 40px;
}
.template6 .icon-label {
    font-size: 14px;
    margin-top: 5px;
    color: var(--label-color, #1C1C1C);
    font-weight: 500;
}

.template6 .social-section {
    background-color: var(--second-background-color, #191B28);
}

.template6 .social-container {
    display: flex;
    gap: 0;
    align-items: center;
}

.template6 .social-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
    font-weight: bold;
}

.template6 .telegram {
    background: #24A1DE;
}

.template6 .linkedin {
    background: #0A66C2;
}

.template6 .instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.template6 .tiktok {
    background: black;
    position: relative;
    border-radius: 15px;
}

.template6 .tiktok-icon {
    position: relative;
    display: inline-block;
    font-size: 32px;
    /* Adjust size */
    padding: 10px;
    /* Space around icon */
    border-radius: 50%;
    /* Rounded shape */
}

.template6 .tiktok-icon::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0050, #00f2ea);
    z-index: -1;
}

.template6 .social-label {
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
    color: var(--label-color, #1C1C1C);
}

.template6 .font-family-product {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.67rem;
    color: var(--label-color, #FFFFFF);
}
.template6 .product-section {
    background: linear-gradient(45deg, var(--background-color, #272B40), var(--background-darker-color, #191B28));
}

.template6 .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media screen and (max-width: 400px) {
    .template6 .product-grid {
        grid-template-columns: repeat(2, minmax(175px, 1fr));
    }
}

.template6 .product-img {
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
    object-fit: contain;
}

.template6 .product-card {
    padding: 1px;
    text-align: left;
}

.template6 .product-card:hover {
    transform: translateY(-5px);
}

.template6 .product-card img {
    height: 235px;
    width: 235px;
    border-radius: 20px;
    object-fit: contain;
    background: var(--card-color, #fff);
    border: 1px solid var(--image-border-color, #ccc);
}
@media (max-width:1200px) {
    .template6 .product-card img {
        height: 190px;
        width: 190px;
    }
}

@media (max-width:1000px) {
    .template6 .product-card img {
        height: 130px;
        width: 130px;
    }
}

/* Media Query for Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .template6 .product-card img {
        height: 215px;
        width: 215px;
    }
}

@media (max-width: 540px) {
    .template6 .product-card img {
        height: 165px;
        width: 165px;
    }
}

/* Media Query for Mobile Screens (max-width: 768px) */
@media screen and (max-width: 400px) {
    .template6 .product-card img {
        height: 145px;
        width: 145px;
    }    
}
.template6 .product-title {
    font-weight: 400;
    font-size: 1rem;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 0px;
    color: var(--label-color, #FFFFFF);
    font-family: 'Montserrat', sans-serif;
    height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template6 .product-tag {
    font-size: 12px;
    color: var(--description-color, #555);
    font-weight: 500;
    background: var(--card-color, #f8f9fa);
}

.template6 .product-rating {
    font-size: 12px;
    color: #FFD700;
}

.template6 .product-price {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--second-button-color, #4B6BFC);
    margin-top: 0px;
    text-align: right;
}

.template6 .product-price2 {
    font-weight: 700;
    font-size: 20px;
    color: var(--label-color, #000);
    margin-top: 0px;
    text-align: right;
}
@media (min-width: 768px) {
    .template6 .px-md-10 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
}

.template6 .services-section {
    padding: 30px 20px;
    background-color: var(--second-background-color, #191B28);
}

.template6 .services-section2 {
    padding: 30px 20px;
    background-color: var(--second-background-color, #BDD1D3);
}

.template6 .service-card {
    background: linear-gradient(45deg, var(--card-color, #272B40), var(--card-color, #191B28));
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    border: 1px solid var(--image-border-color, transparent);
}

.template6 .service-card img {
    width: 140px;
    height: 140px;
    border-radius: 15px;
    object-fit: contain;
    background: var(--card-color, #fff);
    border: 1px solid var(--image-border-color, transparent);
}
.template6 .service-info {
    flex: 1;
}

.template6 .service-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--label-color, #333333);
}

.template6 .service-title2 {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Montserrat',sans-serif;
    margin-bottom: 5px;
    color: var(--second-button-color, #4B6BFC);
}

.template6 .service-title2 a {
    color: var(--second-button-color, #4B6BFC);
}

.template6 .service-description {
    font-size: 13px;
    color: var(--description-color, #555);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease-in-out;
}

.template6 .service-description2 {
    font-weight: 400;
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 0px;
    font-family: 'Montserrat',sans-serif;
    color: var(--label-color, #ffffff);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease-in-out;
}
.template6 .service-description.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.template6 .service-price {
    color: var(--label-color, #000);
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
    margin-bottom: 0;
}

.template6 .service-price2 {
    color: var(--second-button-color, #4B6BFC);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 5px;
    text-align: right;
    margin-bottom: 0;
}

.template6 .service-price span {
    font-weight: 700;
    font-size: 18px;
}

.template6 .service-icon {
    font-size: 18px;
    color: var(--label-color, #000);
    cursor: pointer;
}

.template6 .plus-icon {
    width: 20px;
    height: 20px;
    border: 1px solid var(--second-button-color, #4B6BFC);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    cursor: pointer;
    margin-left: 20px;
    color: var(--second-button-color, #4B6BFC);
    font-weight: 900;
}
.template6 .hidden {
    display: none;
}

.template6 .service-expand {
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    left: 48%;
    position: relative;
    background: var(--card-color, #fff);
    padding: 5px;
    width: 30px;
    border-radius: 50%;
    border: 1px solid var(--image-border-color, #ccc);
}

.template6 .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.template6 .gallery-expand {
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    left: 48%;
    position: relative;
    background: var(--card-color, #fff);
    padding: 5px;
    width: 30px;
    border-radius: 50%;
    border: 1px solid var(--image-border-color, #ccc);
}

.template6 .product-expand {
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    left: 48%;
    position: relative;
    background: var(--card-color, #fff);
    padding: 5px;
    width: 30px;
    border-radius: 50%;
    border: 1px solid var(--image-border-color, #ccc);
}
.template6 .save-tab {
    display: flex;
    width: 100%;
    justify-content: center; /* Center content horizontally */
    align-items: center;
    padding: 15px 30px; /* Add padding to wrap around content */
    margin: auto;
}

.template6 .save-tab .btn {
    flex: 1;
    font-size: 22px;
    border-radius: 15px;
    text-align: center;
}

/* Testimonials Section */
.template6 .testimonials-section {
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
    background-color: var(--second-background-color, #191B28);
}

.template6 .testimonials-section2 {
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
    background-color: var(--background-color, #BDD1D3);
}

.template6 .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--label-color, #333333);
}

/* Swiper Container */
.template6 .testimonials-slider {
    position: relative;
    padding-bottom: 40px;
    height: 450px;
}
/* Testimonial Card */
.template6 .testimonial-card {
    background: linear-gradient(45deg, var(--background-color, #272B40), var(--background-lighter-color, #8084AD));
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    margin: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    position: relative;
    border: 1px solid var(--image-border-color, transparent);
}

.template6 .testimonial-card p {
    font-size: 16px;
    margin: 10px 0;
    height: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    color: var(--button-text-color, #fff);
}

/* Profile Image */
.template6 .profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--button-color, #8084AD);
    margin-top: -60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* Name & Text */
.template6 .testimonial-card-h4 {
    margin-top: 40px;
    font-weight: 600;
    height: 55px;
    color: var(--label-color, #FFFFFF);
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
}

/* Star Ratings */
.template6 .stars {
    font-size: 1.2rem;
    color: #FFD700;
    margin-bottom: 5px;
}

/* Location */
.template6 .location {
    font-size: 0.8rem;
    font-family: 'Montserrat',sans-serif;
    color: var(--label-color, #FFFFFF);
}

.template6 .testimonials-section .swiper-wrapper {
    margin-top: 70px;
}

.template6 .testimonials-section2 .swiper-wrapper {
    margin-top: 70px;
}

/* Active Slide (Middle One) */
.template6 .testimonials-section .swiper-slide-active {
    z-index: 3 !important;
}

.template6 .testimonials-section2 .swiper-slide-active {
    z-index: 3 !important;
}
/* Side Slides */
.template6 .testimonials-section .swiper-slide:not(.swiper-slide-active) {
    z-index: 1;
}

.template6 .testimonials-section2 .swiper-slide:not(.swiper-slide-active) {
    z-index: 1;
}

/* Swiper Navigation */
.template6 .swiper-button-next,
.template6 .swiper-button-prev {
    color: var(--label-color, black) !important;
}

/* Swiper Pagination */
.template6 .swiper-pagination-bullet-active {
    background: var(--label-color, black) !important;
}

.template6 .swiper-button-next,
.template6 .swiper-button-prev {
    color: var(--label-color, black) !important;
    background: var(--card-color, #fff);
    padding: 10px;
    border-radius: 50%;
    width: 25px !important;
    height: 25px !important;
    border: 1px solid var(--image-border-color, #ccc);
}

.template6 .swiper-button-next:after,
.template6 .swiper-button-prev:after {
    font-size: 15px !important
}
.template6 .testimonials-section .star-rating {
    font-size: 15px;
    /* Adjust size */
    color: var(--card-color, #F6F5F8);
    /* Default star color */
}

.template6 .testimonials-section2 .star-rating {
    font-size: 15px;
    /* Adjust size */
    color: #EDA804;
}

.template6 .testimonials-section .star-rating .fa-star {
   color: #EDA804;
}

.template6 .testimonials-section2 .star-rating .fa-star {
    color: #EDA804;
    display: inline-block;
}

.template6 .testimonials-section .star-rating .empty {
    color: transparent !important;
    /* Make the empty star light grey */
}

.template6 .blog-section {
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
    background-color: var(--background-color, #272B40);
}

.template6 .blog-slider {
    padding: 50px 0;
    height: 400px;
}
.template6 .blog-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    margin-top: 15px;
}

.template6 .blog-card {
    background: var(--second-background-color, #191B28);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 600px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    border: 1px solid var(--image-border-color, transparent);
}

.template6 .blog-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 10px;
    margin-right: 0;
    padding: 0;
    border: 1px solid var(--image-border-color, transparent);
}

.template6 .blog-content {
    flex: 1;
    text-align: left;
}

.template6 .blog-description {
    font-family: 'Montserrat',sans-serif;
    font-size: 1rem;
    font-weight: lighter;
    transition: all 0.3s ease-in-out;
}
.template6 .blog-description.expanded {
    -webkit-line-clamp: unset;
    max-height: none;
}

.template6 .blog-card {
    transition: all 0.3s ease-in-out;
}

.template6 .expanded-card {
    height: auto !important;
}

.template6 .plus-icon-blog {
    cursor: pointer;
    font-size: 1.2em;
    transition: 0.3s;
    color: var(--button-text-color, #fff) !important;
    border-color: var(--button-text-color, #fff) !important;
}

.template6 .blog-title {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
    color: var(--button-text-color, #fff);
}

.template6 .blog-description {
    margin-top: 15px;
    font-size: 18px;
    color: var(--button-text-color, #fff);
}

.template6 .blog-icon {
    font-size: 20px;
    cursor: pointer;
    color: var(--label-color, #333);
}
.template6 .blog-description-little {
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 1000px;
    color: var(--description-color, #a506cdf4);
}

/* Initially hide full description */
.template6 .full-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    color: var(--description-color, #a506cdf4);
}

/* Expand full description */
.template6 .full-description.show {
    max-height: 800px;
    /* Adjust as needed */
}

.template6 .blog-slider .swiper-button-next,
.template6 .swiper-button-prev {
    background: var(--card-color, #fff) !important;
}

/* Swiper Navigation */
.template6 .blog-slider .swiper-button-next,
.template6 .blog-slider .swiper-button-prev {
    color: var(--label-color, black) !important;
}
/* Swiper Pagination */
.template6 .blog-slider .swiper-pagination-bullet-active {
    background: var(--label-color, black) !important;
}

.template6 .blog-slider .swiper-button-next,
.template6 .blog-slider .swiper-button-prev {
    color: var(--label-color, black) !important;
    background: var(--card-color, #fff) !important;
    padding: 10px;
    border-radius: 50%;
    width: 25px !important;
    height: 25px !important;
}

.template6 .blog-slider .swiper-button-next:after,
.template6 .blog-slider .swiper-button-prev:after {
    font-size: 15px !important;
}

.template6 .swiper-button-prev::after,
.template6 .swiper-button-next::after {
    font-family: 'Font Awesome 6 Pro' !important; /* Ensure this matches your FontAwesome setup */
    color: var(--label-color, #333); /* Change color as needed */
    font-weight: 100;
}

.template6 .swiper-button-prev::after {
    content: "\f060" !important; /* Unicode for left arrow */
}

.template6 .swiper-button-next::after {
    content: "\f061" !important; /* Unicode for right arrow */
}
.template6 .legal-section {
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
    background-color: var(--second-background-color, #191B28);
}

.template6 .legal-content {
    font-size: 1rem;
    font-weight: lighter;
    font-family: 'Montserrat',sans-serif;
    color: var(--button-text-color, #fff);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0;
    margin: 0;
}

.template6 .legal-item.expanded .legal-content {
    max-height: 500px;
    /* Adjust based on content */
    padding-top: 10px;
}

.template6 .toggle-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: var(--button-text-color, #fff) !important;
    border-color: var(--button-text-color, #fff) !important;
}

.template6 .legal-item.expanded .toggle-icon i {
    transform: rotate(180deg);
}

.template6 .section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--label-color, #333333);
}
.template6 .section-title2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--button-text-color, white);
}

.template6 .legal-item {
    padding: 15px 0;
}

.template6 .legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.template6 .legal-title {
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif;
}

.template6 .instagram-feed {
    text-align: center;
    padding: 20px;
    background: var(--background-color, #272B40);
}

.template6 .instagram-feed .toggle-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.template6 .instagram-feed .toggle-btn {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif;
    transition: background 0.3s ease;
    width: 100%;
}

.template6 .instagram-feed .toggle-btn.active {
    background: linear-gradient(45deg, var(--button-color, #4B6BFC), var(--button-lighter-color, #75B3FF));
    color: var(--button-text-color, #fff);
}

/* Instagram Feed Container */
.template6 .feed-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.template6 .feed-content {
    display: none;
    width: 100%;
}

.template6 .feed-content img {
    width: 100%;
    border-radius: 10px;
}

/* Show active content */
.template6 .feed-content.active {
    display: block;
}
.template6 .business-hours-section {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: var(--second-background-color, #191B28);
}

.template6 .business-hours2 {
    text-align: left;
    margin: auto;
    padding: 20px;
    background-color: var(--card-color, #BDD1D3);
}

.template6 .hours-list {
    list-style: none;
    max-width: 300px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.template6 .hours-list2 {
    list-style: none;
    max-width: 400px;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.template6 .hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat',sans-serif;
}
.template6 .hours-list2 li {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--button-text-color, white);
}

.template6 .hours-list .day {
    font-weight: 500;
}

.template6 .hours-list2 .day {
    font-weight: 500;
}

.template6 .hours-list li:nth-child(odd) {
    background-color: var(--card-color, #fff);
    /* Light Gray */
}

.template6 .hours-list2 li:nth-child(odd) {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
}

.template6 .hours-list li:nth-child(even) {
    background-color: var(--card-color, #fff);
    /* Slightly Darker Gray */
}

.template6 .inquiry-form {
    margin: auto;
    padding: 20px;
    background-color: var(--background-color, #272B40);
}
.template6 .form-group {
    margin-bottom: 15px;
}

.template6 label {
    display: block;
    font-size: 1rem;
    font-weight: 500px;
    margin-bottom: 5px;
    font-family: 'Montserrat',sans-serif;
    color: var(--button-text-color, #ffffff);
}

.template6 .required {
    color: red;
}

.template6 input,
.template6 textarea {
    
    padding: 10px;
    border: 1px solid var(--image-border-color, #ccc);
    border-radius: 5px;
    font-size: 14px;
}

.template6 textarea {
    min-height: 100px;
    resize: none;
    width: 100%;
}

.template6 .submit-btn {
    width: auto;
    padding: 5px 70px;
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: auto;
    margin-right: auto;
    color: var(--second-button-text-color, white);
}
.template6 .submit-btn1 {
    width: 100%;
    padding: 10px 50px;
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
    color: var(--second-button-text-color, white);
    font-size: 1.3rem;
    font-weight: 600px;
    font-family: 'Montserrat',sans-serif;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.template6 .connect-save-btn:hover,
.template6 .submit-btn:hover,
.template6 .submit-btn1:hover {
    background: linear-gradient(45deg, var(--second-button-lighter-color, #2E4BFF), var(--second-button-lighter-color, #5FA0FF)) !important;
}

.template6 .map-section {
    background-color: var(--background-color, #272B40);
    padding-top: 20px;
    padding-bottom: 50px;
    overflow: hidden;
}

.template6 .appointment-section {
    background-color: var(--background-color, #272B40);
    padding-bottom: 20px;
    border-radius: 15px;
}

.template6 .appointment-header {
    background: linear-gradient(45deg, var(--button-color, #8084AD), var(--button-lighter-color, #CBCBCC));
    border-radius: 15px;
}
.template6 .appointment-header2 {
    background: linear-gradient(45deg, var(--button-color, #8084AD), var(--button-lighter-color, #CBCBCC));
    border-radius: 15px;
}

.template6 .appointment-header i {
    font-size: 20px;
    padding: 0;
    margin: 0;
}

@media (max-width: 991px) {
    .template6 .save-tab .btn {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .template6 .save-tab .btn {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .template6 .save-tab .btn {
        font-size: 18px;
    }
}

/* all changes for 1400+ screen */
@media (min-width: 1400px) {
    .template6 .share-image {
        width: 100px;
    }
    .template6 .share-imageW {
        width: 102px;
    }
    .template6 .social-image {
        width: 100px;
    }
    .template6 .custom-social-icon {
        width: 100px;
    }
    .template6 .save-tab .btn {
        font-size: 26px
    }
    .template6 .btn-custom-save {
        font-size: 26px;
    }
    .template6 .btn-custom-connect {
        font-size: 26px;
    }
    .template6 .appointment-header2 h5 {
        font-size: 26px
    }
    .template6 .appointment-header2 i {
        font-size: 26px
    }
    .template6 .social-h {
        font-size: 35px !important; 
    }
    .template6 .gallery-section h2 {
        font-size: 35px !important; 
    }

    .template6 .section-title2 {
        font-size: 35px !important; 
    }

    .template6 .section-title {
        font-size: 35px !important; 
    }
}

/* css for dynamic changes */
.template6 .connect-form .connect-save-btn {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
}

.template6 .appointment-body {
    background-color: var(--background-color, #272B40) !important;
}

.template6 .appointment-body h6 {
    color: var(--button-text-color, #fff) !important;
}
.template6 .btn-danger {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF));
    border-color: var(--second-button-color, #4B6BFC);
    color: var(--second-button-text-color, #fff);
}

.template6 .btn-danger:hover {
    background: linear-gradient(45deg, var(--second-button-lighter-color, #2E4BFF), var(--second-button-lighter-color, #5FA0FF));
    color: var(--second-button-text-color, #fff);
    border-color: var(--second-button-lighter-color, #2E4BFF);
}

.template6 .btn-danger.disabled, 
.template6 .btn-danger:disabled {
    background: var(--second-button-lighter-color, #5FA0FF);
    border-color: var(--second-button-lighter-color, #5FA0FF);
    color: var(--second-button-text-color, #fff);
}

.template6 .social-container {
    display: flex;
    flex-wrap: wrap;
}

.template6 .social-container > div {
    flex: 1 1 calc(25% - 10px); /* 20% width per item (5 in a row) */
    max-width: calc(25% - 10px);
    text-align: center; /* Center the icon */
    margin-bottom: 20px;
}

.template6 .datepicker td.active {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF)) !important;
    color: var(--second-button-text-color, #fff);
}
.template6 .time-option.active {
    background: linear-gradient(45deg, var(--second-button-color, #4B6BFC), var(--second-button-lighter-color, #75B3FF)) !important;
    color: var(--second-button-text-color, #fff);
}

.template6 .text-color {
    color: var(--button-text-color, #fff);
}

.template6 .gallery-item img {
    border-radius: 30px;
    transition: transform 0.3s ease-in-out;
    height: 260px;
    width: 260px;
    object-fit: contain;
}
.template6 .gallery-item video {
    border-radius: 30px;
    transition: transform 0.3s ease-in-out;
    height: 260px;
    width: 260px;
    object-fit: contain;
}

.template6 .gallery-item iframe {
    border-radius: 30px;
    height: 260px;
    width: 260px !important;
    object-fit: contain;
}

@media (max-width: 768px) {
    .template6 .gallery-item img {
        height: 210px;
        width: 210px
    }
    .template6 .gallery-item video {
        height: 210px;
        width: 210px
    }
    
    .template6 .gallery-item iframe {
        height: 210px;
        width: 210px
    }
}

@media (max-width: 550px) {
    .template6 .gallery-item img {
        height: 190px;
        width: 190px
    }

    .template6 .gallery-item video {
        height: 190px;
        width: 190px
    }
    
    .template6 .gallery-item iframe {
        height: 190px;
        width: 190px
    }
}

@media (max-width: 400px) {
    .template6 .gallery-item img {
        height: 165px !important;
        width: 165px !important;
    }

    .template6 .gallery-item video {
        height: 165px !important;
        width: 165px !important;
    }
    
    .template6 .gallery-item iframe {
        height: 165px !important;
        width: 165px !important;
    }
}
.template6 input:checked+.red-slider {
    background-color: var(--second-background-color, #312742);
}

.template6 .link-info {
    color: var(--second-button-color, #5267da);
}

.template6 .fa-calendar-days {
    font-size: 22px;
}