/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
}

.swiper-wrapper {
    gap: 14px !important;
}

/* Container and Card Styles */
.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.learnmore-button-container {
    text-align: center;
}

/* Media Queries */
@media (min-width: 768px) {
    .learnmore-button-container {
        text-align: left;
        padding-bottom: 20px;
    }
}

/* Mobile Specific Styling */
@media (max-width: 768px) {
    .hero-image-container-mobile img {
        width: 100%;
        height: 400px;
        object-fit: cover;
    }

    .hero-text-block {
        text-align: center;
        padding: 0 15px;
    }

    .hero-text-block div {
        font-size: 6vw;
        line-height: 1.3;
    }

    .hero-text-block span {
        font-size: 10vw;
        font-weight: 700;
        display: block;
        margin-top: 0.5rem;
    }

    .btn-main {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }

    .btn-customize.btn-main {
        width: auto !important;
        margin-top: 1rem !important;
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 1rem;
    }

    .cardj {
        height: auto;
        padding: 1rem;
    }

    .cardj img {
        max-width: 100%;
        height: auto;
    }

    .card-big {
        height: auto;
        min-height: 210px;
    }

    .card-big-gap {
        margin-top: 2rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 991px) {
    .col-md-6 {
        width: 50%;
    }

    .card-big {
        height: 230px;
    }

    .hero-text-block div {
        font-size: 4vw;
        line-height: 1.4;
    }
}

/* Button Styles */
.btn-customize.btn-main {
    font-size: 4vw;
    padding: 0.75rem 1.5rem;
    width: auto;
}

.card-big {
    height: 260px;
}

.card-big-gap {
    margin-top: 100px;
}

/* Category Card Styles */
.categorycardtxt1 {
    position: absolute;
    z-index: 2;
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    padding: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.card-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
    transition: all 0.3s ease;
}

.card-img:hover:before {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.card-img:hover .categorycardtxt1 {
    opacity: 0;
}

/* Overlay and Animation Styles */
.overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.card-img:hover .overlay {
    opacity: 1;
}

.card_animation {
    transition: all 0.3s ease;
    filter: grayscale(0);
}

.cardline:hover .card_animation {
    filter: grayscale(100%);
    transform: scale(1);
}

.cardline:hover .card_animation:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Section Styles */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-container,
.mobile-hero {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    padding-left: 5%;
}

.explore-tag {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.explore-tag small {
    color: #12163c;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Hero Title and Description */
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-plan {
    background: #f67300;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.btn-plan:hover {
    background: #e66900;
    transform: translateY(-2px);
}

.btn-plan i {
    transition: transform 0.3s ease;
}

.btn-plan:hover i {
    transform: translateX(5px);
}

/* Main Cards Section */
.cardline {
    width: 100%;
}

.card_animation {
    transition: all 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cardhome1,
.cardhome2,
.cardhome3 {
    height: 100%;
    min-height: 210px;
}

.card-big {
    height: 100%;
    min-height: 210px;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    margin-bottom: 1rem;
}

.btn-main {
    background: #f67300;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(0.8rem, 1vw, 0.9rem);
}

.btn-main:hover {
    background: #e66900;
    transform: translateY(-2px);
    color: white;
}

/* Container Padding */
.px-10 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Responsive Breakpoints */
@media (min-width: 576px) {
    .px-10 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-section {
        padding: 60px 0;
    }
}

@media (min-width: 768px) {
    .px-10 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero-section {
        padding: 70px 0;
    }

    .card-body {
        padding: 1.25rem;
    }
}

@media (min-width: 992px) {
    .px-10 {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .hero-section {
        padding: 80px 0;
    }
}

@media (min-width: 1200px) {
    .px-10 {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 1400px) {
    .px-10 {
        padding-left: 7rem;
        padding-right: 7rem;
    }
}

/* Scale Support for 125% and 150% */
@media screen and (min-resolution: 120dpi) {
    .hero-title {
        font-size: clamp(1.8rem, 4.5vw, 3.5rem);
    }

    .hero-description {
        font-size: clamp(0.9rem, 1.3vw, 1rem);
    }

    .btn-plan {
        padding: 8px 16px;
        font-size: clamp(0.8rem, 1vw, 0.9rem);
    }

    .card-title {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }

    .card-text {
        font-size: clamp(0.75rem, 1vw, 0.9rem);
    }

    .btn-main {
        padding: 0.4rem 0.8rem;
        font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    }
}

@media screen and (min-resolution: 144dpi) {
    .hero-title {
        font-size: clamp(1.6rem, 4vw, 3rem);
    }

    .hero-description {
        font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    }

    .btn-plan {
        padding: 7px 14px;
        font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    }

    .card-title {
        font-size: clamp(0.85rem, 1.2vw, 1rem);
    }

    .card-text {
        font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    }

    .btn-main {
        padding: 0.35rem 0.7rem;
        font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 30px 0;
    }

    .mobile-hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .card-body {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .btn-main {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Fix for text wrapping on small screens */
@media (max-width: 350px) {
    .card-title,
    .card-text {
        white-space: normal !important;
    }
}

/* Middle Section Styles */
.middle-section {
    padding: 4rem 0;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

.section-title {
    color: #12163c;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Feature Cards - Desktop */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-content {
    padding: 2rem;
}

.feature-image {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #12163c;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Side Image */
.side-image-card {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Features */
.mobile-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mobile-feature-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mobile-feature-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-feature-image {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.mobile-feature-text {
    flex: 1;
}

.mobile-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #12163c;
    margin-bottom: 0.5rem;
}

.mobile-feature-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Learn More Button */
.learn-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-main {
    background: #f67300;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #e66900;
    transform: translateY(-2px);
    color: white;
}

/* Responsive Breakpoints */
@media (min-width: 920px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .section-title {
        font-size: 3rem;
    }

    .learn-more-container {
        text-align: left;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Modern Package Card Styles */
.modern-package-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-package-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.modern-package-card .card-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.modern-package-card .card-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-package-card:hover .card-background {
    transform: scale(1.05);
}

.modern-package-card .card-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-package-card .package-title-container {
    height: 46px; /* Fixed height for two lines of text */
    position: relative;
    margin-bottom: 4px;
    overflow: hidden;
}

.modern-package-card .package-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.modern-package-card .package-title.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modern-package-card .see-more-toggle {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: white;
    padding-left: 5px;
    color: #3366cc;
    cursor: pointer;
    font-size: 0.8rem;
}

.modern-package-card .package-location {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.modern-package-card .rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modern-package-card .rating-star {
    color: #ff5722;
    margin-right: 5px;
}

.modern-package-card .rating-value {
    font-weight: 600;
    color: #333;
}

.modern-package-card .action-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modern-package-card .btn-primary {
    background-color: #12163c;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
}

.modern-package-card .btn-primary:hover {
    background-color: #014365;
}

.modern-package-card .btn-secondary {
    background-color: transparent;
    color: #777;
    border: none;
    padding: 8px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    font-size: 0.9rem;
}

.modern-package-card .btn-secondary:hover {
    color: #333;
    background-color: #f5f5f5;
}

.modern-package-card .sold-out-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 2;
}

/* Add responsive font size for buttons on mobile */
@media (max-width: 576px) {
    .modern-package-card .btn-primary {
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .modern-package-card .btn-secondary {
        font-size: 0.8rem;
    }
}

@media (min-width: 1400px) {
    .container-fluid.px-10 {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

.swiper-button-disabled {
    display: none !important;
}

/* Section Animation Styles */
.animate-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-section.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation delays for sections */
.delay-100 {
    transition-delay: 50ms;
}
.delay-200 {
    transition-delay: 100ms;
}
.delay-300 {
    transition-delay: 150ms;
}
.delay-400 {
    transition-delay: 200ms;
}
.delay-500 {
    transition-delay: 250ms;
}
.delay-600 {
    transition-delay: 300ms;
}

/* Card animation from different directions */
.animate-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.animate-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.animate-left.animate,
.animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}
