/*** Add any additional styles for the home section here
*/

.txt-title{
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 800;
}

.txt-description{
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 25px;
    margin-right: 20px;
    color: grey;
}

#home .home-container {
    margin-left: 20px;
    margin-right: 20px;
}

#home .row {
    align-items: center;
    margin-left: 40px;   
    margin-right: 40px;
    margin-top: 0;
}

#home {
    background: linear-gradient(105deg, white 50%, #007bff 50%);
    padding-top: 0;
}


#home .container {
    padding-left: 0;
    padding-right: 0;
}

#home .col-md-6 {
    padding: 20px;
}

#home .txt-title {
    margin-top: 20px;
}


/*** Buttn styles
*/

#home .btn-hot-sales,
#home .btn-apparel,
#home .btn-customize {
    margin-top: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: blue;
    color: white;
    border: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
}

#home .btn-shop-now,
#home .btn-send-your-design {
    border-radius: 10px;
    margin-right: 10px;
}

#home .btn-shop-now i,
#home .btn-send-your-design i {
    margin-left: 8px;
}

.btn-shop-now{
    background-color: blue;
}

.btn-send-your-design{
    background-color: black;
}


/* Thumbnail Gallery Styles */
.thumbnail-stack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 60px;
    position: relative;
    padding: 10px 0;
}

.thumbnail-gallery {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
}

.thumbnail-gallery:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-gallery.active {
    border: 3px solid #007bff;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Dot Pagination Styles */
.thumbnail-stack.dots {
    gap: 8px;
}

.thumbnail-stack.dots .thumbnail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #999;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0 4px;
}

.thumbnail-stack.dots .thumbnail-dot:hover {
    background-color: #777;
    transform: scale(1.1);
}

.thumbnail-stack.dots .thumbnail-dot.active {
    background-color: #666;
    width: 14px;
    height: 14px;
}




/*** Add any additional styles for the service section here
*/


.container-fluid h2 {
    font-family: "Times New Roman", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.container-fluid .txt-p {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: grey;
    margin-bottom: 30px;
}


#services .row {
    align-items: center;
    margin-top: 0;
}

#services .product-card h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 23px;
}

#services .product-card .badge {
    width: 120px;
    font-family: "Montserrat", sans-serif;
    font-size: 23px;
}

#services .product-card h4 {
    font-family: "Times New Roman", serif;
    font-size: 23px;
}

#services .btn{
    width: 100%;
    background-color: #007bff;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: white;
    border: none;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: #0056b3;
        color: white;
    }
}


/*** Add any additional styles for the service section here
*/

#about .card-r-1{
    align-items: center;
}

#about .icon{
    filter: invert(47%) sepia(550%) saturate(800%) hue-rotate(185deg);
    width: 40px;
    height: 40px;
}

.card-text {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(0, 0, 0);
    padding: 20px;
}

/* About Section - Card icon positioning */
#about .card-body {
    padding: 15px;
}

#about .icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#about .col-md-4 {
    margin-bottom: 0;
}

#about .card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#about .header-3 {
    margin-top: 80px;
    margin-bottom: 30px;
    margin-left: 400px;
    margin-right: 400px;
}

#about .team-header {
    margin-top: 80px;
    margin-left: 400px;
    margin-right: 400px;
}

#about .our-story {
    background-color: black;
    margin-top: 30px;
    margin-bottom: 30px;
}

#about .header-4 {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 100px;
    margin-left: 20px;
}

#about .Customer-header {
    color: white;
    font-family: "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 100px;
    margin-left: 20px;
}

#about .Customer-p {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-left: 20px;
}

#about .card-txt-p {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    margin-left: 20px;
}

#about .ready-order {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#about .img-fluid{
    margin: 50px;
    width: 80%;
    height: auto;
    border-radius: 20px;
}

#about .ratings-container {
    justify-content: center;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
}

#about .rating-card {
    min-height: 270px;
    height: auto;
    border-radius: 10px;
    padding: 15px;
}

#about .rating-time {
    font-size: 0.8rem;
    color: grey;
    margin-left: auto;
    margin-top: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

#about .rating-card .col {
    min-width: 0;
}

#about .rating-card .card-title,
#about .rating-card .card-text {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.customer-rating {
    background-color: #FC5353;
    margin-top: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: grey;
}

#about .ready-order {
    background-color: #387ec9;
    margin-top: 30px;
    margin-bottom: 30px;
}

#about .ready-header {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 20px;
}

#about .ready-p {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: 0;
}

#about .ready-order .order-btn{
    background-color: white;
    width: 300px;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: rgb(0, 0, 0);
    border: none;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: #f0f0f0;
        color: black;
    }
}

#about .ready-order .inquire-btn{
    background-color: rgb(0, 0, 0);
    width: 300px;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: rgb(255, 255, 255);
    border: none;
    transition: background-color 0.3s ease;

    &:hover {
        background-color: #f0f0f0;
        color: black;
    }
}

/* Services Slider Styles */
.services-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.service-card-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    padding: 0;
    box-sizing: border-box;
}

.service-card-item .product-card {
    width: 100%;
    height: auto;
    min-height: 550px;
}

/* Slider Bullets */
.slider-bullets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px;
    width: 100%;
}

.slider-bullets .bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-bullets .bullet:hover {
    background-color: #999;
}

.slider-bullets .bullet.active {
    background-color: #007bff;
    transform: scale(1.2);
}

@media (max-width: 375px) {
    .thumbnail-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

}

@media (max-width: 992px) {
    .service-card-item {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .service-card-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .services-carousel-container {
        padding: 10px 0;
    }

    .services-carousel {
        gap: 10px;
    }

    /* Mobile Carousel Specific Styles */
    .mobile-devices .services-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
    }

    .mobile-devices .services-carousel-container {
        width: 100%;
        overflow:hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-devices .service-card-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 0; /* remove horizontal padding */
    }

    .mobile-devices .product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Mobile Services Section */
    .mobile-devices #services {
        padding: 20px 10px;
    }

    .mobile-devices #services .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100%;
    }

    .mobile-devices .services-carousel-container.col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ==================== Device-Specific Wrapper Styles ==================== */

/* Desktop Devices - Visible on lg (992px) and above */
.desktop-devices {
    width: 100%;
    display: block;
}

/* Tablet Devices - Visible on md (768px to 991px) */
.tablet-devices {
    width: 100%;
    display: block;
}

/* Mobile Devices - Visible below 768px */
.mobile-devices {
    width: 100%;
    display: block;
}

/* ==================== Tablet Devices Specific Styles (768px - 991px) ==================== */
@media (min-width: 768px) and (max-width: 991px) {
    /* Adjust title size for tablet */
    .tablet-devices .txt-title {
        font-size: 2.5rem;
    }
    
    .tablet-devices .txt-description {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    /* Adjust button sizes for tablet */
    .tablet-devices .btn-hot-sales,
    .tablet-devices .btn-apparel,
    .tablet-devices .btn-customize {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Adjust service card size for tablet */
    .tablet-devices #services .product-card {
        height: auto;
        min-height: 450px;
    }
    
    .tablet-devices #services .product-card h2 {
        font-size: 20px;
    }
    
    /* Adjust about section for tablet */
    .tablet-devices #about .header-3,
    .tablet-devices #about .team-header {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .tablet-devices #about .header-3 h2,
    .tablet-devices #about .team-header {
        font-size: 1.5rem;
    }
    
    .tablet-devices #about .our-story {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .tablet-devices #about .img-fluid {
        margin: 20px;
        width: 90%;
    }
    
    .tablet-devices #about .header-4,
    .tablet-devices #about .Customer-header {
        font-size: 1.5rem;
        margin-top: 40px;
        margin-left: 10px;
    }
    
    .tablet-devices #about .Customer-p,
    .tablet-devices #about .card-txt-p {
        font-size: 0.9rem;
        margin-left: 10px;
    }
    
    /* Adjust ratings for tablet */
    .tablet-devices #about .rating-card {
        height: auto;
        min-height: 200px;
    }
    
    /* Adjust ready order section for tablet */
    .tablet-devices #about .ready-header {
        font-size: 24px;
    }
    
    .tablet-devices #about .ready-p {
        font-size: 18px;
    }
    
    .tablet-devices #about .ready-order .order-btn,
    .tablet-devices #about .ready-order .inquire-btn {
        width: 200px;
        font-size: 20px;
    }
    
    /* Adjust profile images for tablet */
    .tablet-devices .profile img {
        width: 180px !important;
        height: 180px !important;
    }
    
    /* Adjust footer for tablet */
    .tablet-devices .footer {
        padding: 15px;
    }
    
    .tablet-devices .footer .col-md-3 {
        margin-bottom: 15px;
    }
}

/* ==================== Mobile Devices Specific Styles (below 768px) ==================== */
@media (max-width: 767px) {
    /* Home section mobile adjustments */
    .mobile-devices #home {
        background: linear-gradient(180deg, white 60%, #007bff 60%);
        padding: 0;
        margin-top: 0;
    }
    
    .mobile-devices #home .container-fluid {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
    }
    
    .mobile-devices #home .row {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .mobile-devices .txt-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .mobile-devices .txt-description {
        font-size: 0.9rem;
        text-align: center;
        margin-right: 0;
        margin-top: 15px;
    }
    
    /* Button styles mobile */
    .mobile-devices .btn-hot-sales,
    .mobile-devices .btn-apparel,
    .mobile-devices .btn-customize {
        padding: 8px 14px;
        font-size: 0.75rem;
        margin: 3px;
    }
    
    /* Button container for mobile - centered and wrapping */
    .mobile-devices .justify-content-center.gap-2 {
        gap: 10px !important;
    }
    
    /* Mobile button badges - ensure they're inline-block */
    .mobile-devices .btn-hot-sales,
    .mobile-devices .btn-apparel,
    .mobile-devices .btn-customize {
        display: inline-block;
        vertical-align: middle;
    }
    
    /* Remove left and right margins for mobile */
    .mobile-devices #home {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .mobile-devices #home .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .mobile-devices #home .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove padding for mobile device-content */
    .mobile-devices.device-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Mobile service cards - show only one card */
    .mobile-devices #services .row,
    .mobile-devices #services .services-carousel-container {
        display: block;
        width: 100%;
    }
    
    .mobile-devices #services .col-12,
    .mobile-devices #services .col-md-4,
    .mobile-devices .service-card-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 15px;
    }
    
    .mobile-devices #services .product-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Mobile carousel - show only one card with pagination dots */
    .mobile-devices .services-carousel-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 10px 0;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-devices .services-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-devices .service-card-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        scroll-snap-align: start;
        padding: 0;
        box-sizing: border-box;
    }
    
    .mobile-devices .service-card-item .product-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-devices .service-card-item .product-card .card-body {
        width: 100%;
        align-items: center;
    }
    
    .mobile-devices .service-card-item .product-card .text-center {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile slider bullets */
    .mobile-devices .slider-bullets {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
        position: relative;
        z-index: 100;
    }
    
    .mobile-devices .slider-bullets .bullet {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: #999;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        padding: 0;
        margin: 0 5px;
        display: inline-block;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .mobile-devices .slider-bullets .bullet:hover {
        background-color: #666;
    }
    
    .mobile-devices .slider-bullets .bullet.active {
        background-color: #333;
        transform: scale(1.3);
    }
    
    .mobile-devices #home .btn-shop-now,
    .mobile-devices #home .btn-send-your-design {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Thumbnail mobile */
    .mobile-devices .main-image {
        max-width: 100% !important;
        max-height: 250px !important;
    }
    
    .mobile-devices .thumbnail-gallery {
        width: 50px;
        height: 50px;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
    
    /* Services section mobile */
    .mobile-devices #services {
        padding: 15px;
    }
    
    .mobile-devices #services h2 {
        font-size: 1.5rem;
    }
    
    .mobile-devices #services .txt-p {
        font-size: 1rem;
    }
    
    .mobile-devices #services .product-card {
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .mobile-devices #services .product-card h4 {
        font-size: 1.2rem;
    }
    
    .mobile-devices #services .product-card .badge {
        width: auto;
        font-size: 0.8rem;
    }
    
    .mobile-devices #services .product-card img {
        max-height: 200px !important;
        width: 100% !important;
    }
    
    .mobile-devices #services .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* About section mobile */
    .mobile-devices #about {
        padding: 15px;
    }
    
    .mobile-devices #about h2 {
        font-size: 1.5rem;
    }
    
    .mobile-devices #about .txt-p {
        font-size: 1rem;
    }
    
    .mobile-devices #about .header-3,
    .mobile-devices #about .team-header {
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 40px;
    }
    
    .mobile-devices #about .header-3 h2,
    .mobile-devices #about .team-header {
        font-size: 1.3rem;
    }
    
    .mobile-devices #about .card-r-1 {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .mobile-devices #about .card {
        margin-bottom: 10px;
    }
    
    .mobile-devices #about .icon {
        width: 40px;
        height: 40px;
    }
    
    .mobile-devices #about .icon img {
        width: 20px;
        height: 20px;
    }
    
    .mobile-devices #about .card-title {
        font-size: 1rem;
    }
    
    .mobile-devices #about .card-text {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    /* Our story mobile */
    .mobile-devices #about .our-story {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .mobile-devices #about .header-4 {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-left: 10px;
    }
    
    .mobile-devices #about .card-txt-p {
        font-size: 0.85rem;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .mobile-devices #about .img-fluid {
        margin: 15px;
        width: 100%;
    }
    
    /* Team section mobile */
    .mobile-devices .profile {
        margin-bottom: 15px;
    }
    
    .mobile-devices .profile img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .mobile-devices .profile h5 {
        font-size: 0.9rem;
    }
    
    .mobile-devices .profile p {
        font-size: 0.75rem;
    }
    
    /* Ratings mobile */
    .mobile-devices .customer-rating {
        padding: 15px;
    }
    
    .mobile-devices .customer-rating h4 {
        font-size: 1.2rem;
    }
    
    .mobile-devices .rating-card {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .mobile-devices .rating-card .d-flex {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        min-width: 0;
    }
    
    .mobile-devices .rating-card .rounded-circle {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0;
    }
    
    .mobile-devices .rating-card h6 {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .mobile-devices .rating-card .card-text {
        font-size: 0.8rem;
    }

    .mobile-devices .rating-card .col {
        min-width: 0;
        flex: 1 1 auto;
    }

    .mobile-devices .rating-card .rating-time {
        margin-left: 8px;
        font-size: 0.75rem;
        align-self: flex-start;
    }
    
    /* Ready order mobile */
    .mobile-devices .ready-order {
        padding: 15px;
    }
    
    .mobile-devices .ready-header {
        font-size: 1.3rem;
        margin-top: 20px;
    }
    
    .mobile-devices .ready-p {
        font-size: 0.9rem;
    }
    
    .mobile-devices .ready-order .order-btn,
    .mobile-devices .ready-order .inquire-btn {
        width: 100% !important;
        font-size: 1rem;
        padding: 10px;
    }
    
    /* Footer mobile */
    .mobile-devices .footer {
        padding: 15px 10px;
    }
    
    .mobile-devices .footer h5,
    .mobile-devices .footer h6 {
        font-size: 0.9rem;
    }
    
    .mobile-devices .footer .list-unstyled li a {
        font-size: 0.8rem;
    }
    
    .mobile-devices .footer p {
        font-size: 0.75rem;
    }
    
    .mobile-devices .footer .fab {
        font-size: 1.2rem;
    }
    
    .mobile-devices .hr-white {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}
