/* ==========================================================================
   Groups Hero Section
   ========================================================================== */

.group-hero {
    position: relative;
    width: 100%;
    height: 541px;
    background-image: url('Assets/DestinationsPackages/DestinationsPackagesPage-hero-bg-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.50) 50%, rgba(0, 0, 0, 0.30) 100%);
    z-index: 1;
}

.group-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Breadcrumb Styling */
.group-breadcrumb {
    margin-bottom: 24px;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 20px;
}

.group-breadcrumb a {
    color: #FFF;
    font-weight: 300;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.group-breadcrumb a:hover {
    opacity: 1;
}

.group-breadcrumb .current {
    font-weight: 500;
}

/* Hero Title Styling */
.group-hero-title {
    margin-bottom: 24px;
}

.group-hero-title .light-text {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 75px;
    letter-spacing: 0.264px;
}

.group-hero-title .bold-text {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.264px;
}

/* Hero Description Styling */
.group-hero-desc {
    width: 100%;
    max-width: 800px;
    color: rgba(255, 255, 255, 0.90);
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 32.5px;
    letter-spacing: -0.449px;
}

/* ==========================================================================
   Responsive Design for Groups Hero
   ========================================================================== */

/* Laptops & Tablets */
@media (max-width: 1024px) {
    .group-hero {
        height: auto;
        min-height: 500px;
        align-items: center;
        padding: 120px 20px 60px 20px;
    }

    .group-hero-content {
        padding-top: 60px;
    }

    .group-hero-title .light-text,
    .group-hero-title .bold-text {
        font-size: 32px;
        line-height: 1.4;
    }

    .group-hero-desc {
        font-size: 18px;
        line-height: 28px;
        padding: 0 20px;
    }
}

/* Small Tablets & Large Phones */
@media (max-width: 768px) {
    .group-hero {
        min-height: 800px;
        height: auto;
        align-items: center;
        padding-top: 400px;
        padding-bottom: 50px;
        background-position: center center;
    }

    .group-hero-content {
        padding-top: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .group-hero-title .light-text,
    .group-hero-title .bold-text {
        font-size: 28px;
        line-height: 1.3;
    }

    .group-hero-title .light-text {
        line-height: 40px;
    }

    .group-hero-desc {
        font-size: 16px;
        line-height: 26px;
        padding: 0;
    }
}

/* Small Phones */
@media (max-width: 480px) {
    .group-hero {
        min-height: 550px;
        height: auto;
        align-items: center;
        padding-top: 350px;
        padding-bottom: 40px;
    }

    .group-hero-title .light-text,
    .group-hero-title .bold-text {
        font-size: 23px;
        line-height: 34px;
    }

    .group-hero-desc {
        font-size: 15px;
        line-height: 24px;
    }
}

/* ==========================================================================
   Section 2: Groups Content
   ========================================================================== */

.section-2-group {
    padding: 80px 0;
    background-color: #FFF;
}

.group-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.group-page-title {
    color: #2A2A2A;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 0.369px;
    margin-bottom: 16px;
}

.group-page-desc {
    color: #4A5565;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.439px;
    width: 100%;
    max-width: 800px;
}

/* Month Filter Tabs */
.group-months-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.group-month-btn {
    color: #4A5565;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
    display: flex;
    padding: 13.5px 24px 12.5px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-month-btn:hover {
    background-color: #F3F4F6;
}

.group-month-btn.active {
    border-radius: 12px;
    background: #1A4D2E;
    color: #FFF;
    border-color: #1A4D2E;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.group-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Sidebar Filter */
.group-sidebar {
    width: 318px;
    height: auto;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid rgba(26, 77, 46, 0.16);
    background: #FFF;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.group-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.group-filter-title {
    color: #1A4D2E;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.07px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.group-filter-title img {
    width: 20px;
    height: 20px;
}

.group-filter-reset {
    color: #4A5565;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.312px;
    text-decoration: underline;
}

.group-filter-line {
    width: 100%;
    height: 1px;
    background: rgba(26, 77, 46, 0.16);
    margin-bottom: 24px;
    margin-top: 8px;
}

.group-filter-group-title {
    color: #C9A961;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.07px;
    margin-top: 0;
    margin-bottom: 16px;
}

/* Search Box */
.group-filter-search {
    display: inline-flex;
    padding: 10px 12px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(26, 77, 46, 0.16);
    margin-bottom: 16px;
    box-sizing: border-box;
}

.group-filter-search input {
    border: none;
    outline: none;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.312px;
    width: calc(100% - 24px);
    background: transparent;
}

.group-filter-search img {
    width: 16px;
    height: 16px;
}

/* Checkboxes */
.group-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    color: #1A4D2E;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.07px;
    position: relative;
    user-select: none;
}

.group-filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.group-filter-checkbox .group-checkmark {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid #C9A961;
    background: #FAF9F6;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.group-filter-checkbox:hover input~.group-checkmark {
    background-color: #f0ebd8;
}

.group-filter-checkbox input:checked~.group-checkmark {
    background-color: #C9A961;
}

.group-filter-checkbox .group-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 3.5px;
    top: 1px;
    width: 3px;
    height: 6px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.group-filter-checkbox input:checked~.group-checkmark:after {
    display: block;
}

/* Main Content Area */
.group-main-content {
    flex: 1;
}

.group-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
    gap: 24px;
}

/* Card Styling */
.group-card {
    width: 318px;
    height: 462px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
}

.group-card-img {
    width: 318px;
    height: 208px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.group-duration-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    padding: 3px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 99px;
    background: #1A4D2E;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.31px;
}

.group-duration-badge img {
    width: 14px;
    height: 14px;
}

.group-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.group-card-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.449px;
    width: 270px;
    height: 56px;
    margin-top: 0;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: auto;
}

.group-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.group-meta-item img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.group-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 16px;
}

.group-price-left {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.group-price-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.group-price-right .group-price-symbol {
    color: #C9A961;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.449px;
}

.group-price-right .group-price-val {
    color: #C9A961;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.449px;
}

.group-btn-details {
    display: flex;
    width: 100%;
    padding: 11px 22px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #1A4D2E;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    color: #FFF;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    text-decoration: none;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.group-btn-details:hover {
    background: #143d24;
}

/* Pagination */
.group-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.group-page-btn {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 3px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 0.8px solid rgba(26, 77, 46, 0.16);
    background: #FAF9F6;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-page-btn:hover {
    background: #E5E7EB;
}

.group-page-btn.active {
    background: #C9A961;
    color: #FFF;
    border-color: #C9A961;
}

/* Layout Responsiveness */
@media (max-width: 1024px) {
    .group-layout {
        flex-direction: column;
    }

    .group-sidebar {
        width: 100%;
    }

    .group-cards-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .group-card {
        width: 100%;
        max-width: 350px;
    }

    .group-card-img {
        width: 100%;
    }

    .group-card-title {
        width: 100%;
    }
}

/* ==========================================================================
   Group Bottom Group Finder
   ========================================================================== */

.group-bottom-finder {
    background: #FFF;
    border-radius: 24px;
    border: 1px solid #F3F4F6;
    padding: 32px 48px;
    margin-top: 120px;
    margin-bottom: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.10);
    height: auto;
    min-height: 222px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    box-sizing: border-box;
}

.group-finder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-finder-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.group-finder-title {
    color: #2A2A2A;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    letter-spacing: 0.396px;
    margin: 0;
}

.group-finder-subtitle {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.312px;
    margin: 0;
}

.group-finder-style {
    display: flex;
    align-items: center;
    gap: 16px;
}

.group-style-label {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.group-style-toggle {
    position: relative;
    display: flex;
    height: 56px;
    padding: 4px;
    align-items: center;
    border-radius: 8px;
    background: #F5F2ED;
    box-sizing: border-box;
}

.group-style-toggle input[type="radio"] {
    display: none;
}

.group-btn-style {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    cursor: pointer;
    transition: color 0.3s ease;
    flex: 1;
}

.group-switch-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

#group-style-standard:checked~.group-style-toggle .group-btn-style[for="group-style-standard"] {
    color: #1A4D2E;
}

#group-style-luxury:checked~.group-style-toggle .group-btn-style[for="group-style-luxury"] {
    color: #1A4D2E;
}

#group-style-luxury:checked~.group-style-toggle .group-switch-indicator {
    transform: translateX(100%);
}

.group-finder-form {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.group-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.group-input-label {
    color: #4A5565;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.group-btn-group {
    flex: none;
}

.group-input-field {
    width: 100%;
    color: #364153;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.15px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #F5F2ED;
    height: 58px;
    padding: 0 16px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.group-input-field::placeholder {
    color: #4A5565;
    opacity: 0.8;
}

.group-input-field:focus {
    border-color: #1A4D2E;
}

.group-btn-send {
    display: inline-flex;
    padding: 16px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #1A4D2E;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.312px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
    border: none;
    cursor: pointer;
    height: 58px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.group-btn-send:hover {
    background: #143d24;
}

@media (max-width: 1024px) {
    .group-finder-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .group-finder-form {
        flex-wrap: wrap;
    }

    .group-input-group {
        min-width: calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .group-bottom-finder {
        padding: 24px;
        margin-top: 60px;
        margin-bottom: 40px;
    }

    .group-finder-form {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .group-input-group {
        flex: none;
        width: 100%;
        min-width: 100%;
    }

    .group-input-field {
        height: 58px;
        min-height: 58px;
    }

    .group-btn-send {
        flex: none;
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .group-finder-style {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}