/* =========================================
   PACKAGES SECTION
   ========================================= */
 
.packages {
    width: 100%;
    padding: var(--section-padding-y) var(--section-padding-x);
    background: var(--bg-light);
}
 
/* Tab Navigation */
.tab_nav_sec {
    max-width: 1200px;
    margin: 0 auto 48px;
}
 
.nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}
 
.nav-item {
    margin: 0;
}
 
.nav-link {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    display: inline-block;
}
 
.nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
 
.nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}
 
/* Tab Content */
.tab-content {
    max-width: 1620px;
    margin: 0 auto;
}
 
.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
 
.tab-pane.active {
    display: block;
    opacity: 1;
}
 
.tab-pane.fade.show.active {
    display: block;
    opacity: 1;
}
 
/* Swiper Slider */
.swiper-container {
    position: relative;
    width: 100%;
    padding: 20px 0 40px;
}
 
.swiper {
    width: 100%;
    padding: 10px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.swiper-wrapper {
    display: flex;
    height: auto;
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.swiper-slide > * {
    width: 100%;
}
 
/* Package Card */
.package-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    width: 100%;
}
 
.package-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 71, 255, 0.12);
}
 
.package-header {
    margin-bottom: 8px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
 
.package-name {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.4;
}
 
.package-price {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 16px;
}
 
.package-price span {
    font-size: 16px;
    color: var(--gray-400);
}
 
.package-subtitle {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-align: center;
}
 
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    flex: 1;
    max-height: 340px;
    overflow-y: auto;
}
 
.package-features::-webkit-scrollbar {
    width: 4px;
}
 
.package-features::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 2px;
}
  
.package-features::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}
 
.package-features li {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}
 
.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}
 
/* Order Now Button Container */
.package-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}
 
.package-cta {
    font-family: var(--font-mono);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    width: 100%;
    margin-bottom: 16px;
}
 
.package-cta:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 71, 255, 0.3);
}

.package-view-more {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    background: transparent;
    color: var(--gray-500);
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
    width: 100%;
    letter-spacing: 0.3px;
}

.package-view-more:hover {
    color: var(--primary-color);
}
 
.package-cta .btn-dots {
    display: flex;
    gap: 2px;
}
 
.package-cta .btn-dots span {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
}
 
.view_detail {
    text-align: center;
}
 
.view_detail a {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
 
.view_detail a:hover {
    color: var(--primary-color);
}
 
/* =========================================
   SWIPER NAVIGATION BUTTONS
   ========================================= */
 
.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 71, 255, 0.3);
}
 
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}
 
.swiper-button-next {
    right: -60px;
}
 
.swiper-button-prev {
    left: -60px;
}
 /* Hide arrows when Swiper disables scrolling (≤4 slides) */
.swiper-button-next.swiper-button-lock,
.swiper-button-prev.swiper-button-lock {
    display: none !important;
}
 
/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */
 
/* Large desktops: 1400px–1600px */
@media (min-width: 1400px) {
    .swiper-button-next {
        right: -25px;
    }

    .swiper-button-prev {
        left: -25px;
    }
}

/* Tablets landscape / small desktops: 1200px–1400px */
@media (max-width: 1400px) {
    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev {
        left: 10px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .packages {
        padding: 80px 32px 110px;
    }

    .packages-title h2 {
        font-size: 36px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}
 
/* Tablets portrait: 768px–992px */
@media (max-width: 992px) {
    .packages {
        padding: var(--section-padding-y-mobile) 32px;
    }
 
    .tab_nav_sec {
        margin-bottom: 36px;
    }
 
    .nav-link {
        padding: 12px 22px;
        font-size: 14px;
    }
 
    .package-card {
        padding: 28px 20px;
        
    }
 
    .package-name {
        font-size: 18px;
    }
 
    .package-price {
        font-size: 28px;
    }
 
    .swiper-wrapper {
        height: auto;
    }
 
    .swiper-container {
        padding: 12px 0 30px;
    }
}
 
/* Mobile landscape / small tablets: 576px–768px */
 @media (max-width: 768px) {
    .packages {
        padding: 60px 24px 90px;
    }

    .packages-title {
        text-align: left;
        margin-bottom: 22px;
        text-align: center;
    }

    .packages-title h2 {
        text-align: center;
        font-size: 28px;
        letter-spacing: -0.6px;
        line-height: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    .packages-title p {
        text-align: center;
        line-height: 20px;
        font-size: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .nav-tabs {
        gap: 8px;
    }

    .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
}
 
/* Mobile portrait: up to 576px */
@media (max-width: 576px) {
    .packages {
        padding: var(--section-padding-y-mobile) 16px 64px;
    }
 
    .packages-title h2 {
        font-size: 24px;
        letter-spacing: -0.4px;
    }
 
    .packages-title p {
        font-size: 14px;
    }
 
    .nav-tabs {
        gap: 6px;
    }
 
    .nav-link {
        padding: 9px 14px;
        font-size: 12px;
    }
 
    .package-card {
        padding: 20px 16px;
        border-radius: 10px;
        height: auto;
        min-height: 500px;
    }
 
    .package-name {
        font-size: 16px;
    }
 
    .package-price {
        font-size: 24px;
        margin-top: 12px;
    }
 
    .package-price span {
        font-size: 13px;
    }
 
    .package-subtitle {
        font-size: 11px;
        letter-spacing: 0.3px;
        margin-bottom: 12px;
    }
 
    .package-features li {
        font-size: 13px;
        padding-left: 20px;
        margin-bottom: 8px;
    }
 
    .package-actions {
        margin-top: 16px;
        padding-top: 16px;
    }
 
    .package-cta {
        padding: 12px 16px;
        font-size: 11px;
        gap: 8px;
        margin-bottom: 12px;
    }
 
    .view_detail a {
        font-size: 13px;
    }
}
 
/* Extra small: up to 375px */
@media (max-width: 375px) {
    .packages {
        padding: var(--section-padding-y-mobile) 12px 56px;
    }
 
    .nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }
 
    .package-card {
        padding: 18px 14px;
    }
 
    .package-name {
        font-size: 15px;
    }
 
    .package-price {
        font-size: 22px;
    }
}
 