/* Responsive styles for all devices */

/* Base styles */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .container-fluid {
        padding: 0.5rem !important;
    }

    main {
        margin-top: 132px;
    }

    /* Swiper slider adjustments */
    .swiper-container {
        height: 300px;
    }

    .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }

    /* Feature cards */
    .feature-card {
        margin-bottom: 1rem;
    }

    /* Birthday section */
    .birthday-container {
        padding: 1rem;
    }
}

/* Small devices (tablets, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container-fluid {
        padding: 1rem !important;
    }

    .swiper-container {
        height: 350px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid {
        padding: 1.5rem !important;
    }

    .swiper-container {
        height: 400px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container-fluid {
        padding: 2rem !important;
    }

    .swiper-container {
        height: 450px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container-fluid {
        padding: 2.5rem !important;
    }

    .swiper-container {
        height: 500px;
    }
}

/* Common responsive utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-responsive {
    font-size: calc(14px + (18 - 14) * ((100vw - 300px) / (1600 - 300)));
}

/* Flex utilities */
.flex-responsive {
    display: flex;
    flex-wrap: wrap;
}

/* Grid system enhancements */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

[class*='col-'] {
    padding-right: 15px;
    padding-left: 15px;
}