/* SEARCH */
.w-20 {
    width: 20%;
}

.w-60 {
    width: 60%;
}

/* FORMATTING */

/* THREEJS */
.threejs-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1;
}

canvas {
    touch-action: pan-x pan-y; /* Allow scrolling */
}

/* LOGIN */
.login-logo {
    height: 80px;
}


/* CONTACT PAGE */
.contact-page-wrapper {
    padding: 2rem 0;
}

.contact-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-cards-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-section {
    flex: 1;
    max-width: 600px;
}

.contact-form-card {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.contact-form-card h2 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.form-row-group {
    display: flex;
    gap: 1rem;
}

.form-row-group .form-field {
    flex: 1;
}

.contact-card-container {
    display: flex;
    flex-direction: column;
    background: var(--secondary-bg);
    width: 100%;
    min-height: 280px;
    align-items: left;
    padding: 1.5rem;
    justify-content: space-between;
    border-radius: 10px;
    text-decoration: none;
}

.contact-card-icon {
    height: auto;
    font-size: 3.5rem;
    gap: 2rem;
}

.contact-card-title {
    font-size: 32px;
    font-weight: 500;
}

.contact-card-subtitle {
    font-size: 18px;
    font-weight: 400;
}

.contact-card-who {
    background: var(--primary-bg);
    border-radius: 10px;
    padding: 10px 10px;
    font-weight: 500;
    width: fit-content
}

@media (max-width: 968px) {
    .contact-layout {
        flex-direction: column;
    }
    
    .contact-form-section {
        max-width: 100%;
        width: 100%;
    }
    
    .contact-card-container {
        width: 100%;
    }
    
    .form-row-group {
        flex-direction: column;
    }
}

/* PAGE HEADER STYLES */
.page-header {
    padding: 30px 0;
    padding-left: 30px;
    background: var(--secondary-bg);
    text-align: left;
    border-radius: 30px;
    /* border-bottom: 1px solid var(--border); */
}

.page-header h1 {
    color: var(--primary-text);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--secondary-text);
    font-size: 1.3rem;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* HOME PAGE STYLES */
.hero-section {
    position: relative;
    height: 60vh;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll; /* Changed from fixed for better parallax control */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    border-radius: 40px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center; /* Center the images */
    background-attachment: scroll; /* Changed from fixed for better parallax control */
    opacity: 0;
    transition: opacit y 1.5s ease-in-out;
    will-change: transform; /* Optimize for animations */
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    border-radius: 40px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-button {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.slideshow-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Slide-specific background classes */
.hero-slide-1 {
    background-image: var(--slide-1-bg);
}

.hero-slide-2 {
    background-image: var(--slide-2-bg);
}

.hero-slide-3 {
    background-image: var(--slide-3-bg);
}

.hero-slide-4 {
    background-image: var(--slide-4-bg);
}

.hero-slide-5 {
    background-image: var(--slide-5-bg);
}

.stats-section {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-card {
    background: var(--primary-bg);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--secondary-text);
    font-weight: 500;
}

.trip-types-section {
    padding: 80px 0;
}

.trip-types-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.section-description {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto;
}

.trip-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trip-card {
    position: relative;
    background: var(--primary-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.trip-card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Height for background image area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.trip-card-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}

.trip-card-content {
    position: relative;
    padding: 20px 20px;
    z-index: 3;
}

.trip-card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white; /* Changed to white to stand out against background */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 4;
    position: relative;
}

.trip-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white; /* Changed to white to stand out against background */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    z-index: 4;
    position: relative;
}

.trip-card-description {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-top: 30px; /* Add space to account for background image */
    background: var(--primary-bg);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 4;
}

.trip-card-list {
    color: var(--tertiary-text);
    margin: 0;
    padding-left: 20px;
    background: var(--primary-bg);
    padding: 20px;
    padding-left: 36px;
    border-radius: 10px;
    position: relative;
    z-index: 4;
    margin-top: -10px; /* Slight overlap with description */
}

@media (max-width: 768px) {
    .trip-card-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 15px;
        color: white; /* Changed to white to stand out against background */
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        z-index: 4;
        position: relative;
    }

    .trip-types-container {
        padding: 0;
    }

    .trip-card-description {
        padding: 1rem 0;
    }
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-highlight-text), var(--c1));
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    background: white;
    color: var(--primary-text);
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* NAVBAR FIXES */
.navbar-wrapper {
    transform: translateX(-7.5px);
}

/* TRAVEL TYPE PAGES */
.travel-type-hero {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-type-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.travel-type-hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.travel-type-title {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.travel-type-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.travel-type-content {
    padding: 30px 0;
}

.travel-type-section {
    margin-bottom: 80px;
}

.travel-type-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-text);
}

.trip-blurb {
    width: 70%;
    /* background: var(--secondary-bg); */
    padding: 30px;
    /* border-radius: 15px; */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.1); */
}

.trip-highlights-wrapper {
    display: flex;
    width: 30%;
    justify-content: center;
}

.trip-highlights {
    width: fit-content;
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trip-highlights h3 {
    color: var(--primary-text);
    margin-bottom: 20px;
}

.highlight-list {
    list-style: none;
    padding: 0;
}

.highlight-list li {
    padding: 8px 0;
    color: var(--secondary-text);
}

.highlight-list i {
    color: var(--primary-highlight-text);
    margin-right: 10px;
    width: 20px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    background: var(--primary-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.activity-icon {
    font-size: 3rem;
    color: var(--primary-highlight-text);
    margin-bottom: 20px;
}

.activity-card h4 {
    color: var(--primary-text);
    margin-bottom: 15px;
}

.activity-card p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.past-trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mf-past-trips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.past-trip-card {
    background: var(--primary-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.past-trip-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.past-trip-content {
    padding: 25px;
}

.past-trip-content h4 {
    color: var(--primary-text);
    margin-bottom: 10px;
}

.trip-date {
    color: var(--primary-highlight-text);
    font-weight: 500;
    margin-bottom: 15px;
}

.past-trip-content p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.trip-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trip-stats span {
    color: var(--tertiary-text);
    font-size: 0.9rem;
}

.trip-stats i {
    color: var(--primary-highlight-text);
    margin-right: 5px;
}

.travel-type-cta {
    background: linear-gradient(135deg, var(--primary-highlight-text), var(--c1));
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.travel-type-cta h2 {
    color: white;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.travel-type-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .trip-blurb, .trip-highlights {
        width: 100%;
    }

    .trip-highlights-wrapper {
        width: 100%;
    }

    .past-trips-grid, .mf-past-trips-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* WHY WINGIT PAGE STYLES */
.why-wingit-hero {
    height: 70vh;
    background: linear-gradient(135deg, var(--primary-highlight-text), var(--secondary-highlight-text));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.why-wingit-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/world.jpg') center/cover;
    opacity: 0.3;
    z-index: 1;
}

.mission-section {
    padding: 60px 0;
    background: var(--primary-bg);
    margin-bottom: 0;
    border-radius: 20px;
}

.mission-section h2 {
    color: var(--primary-text);
    margin-bottom: 30px;
}

.founders-section {
    margin-bottom: 80px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.founder-card {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.founder-image {
    text-align: center;
    margin-bottom: 30px;
}

.founder-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-highlight-text);
}

.founder-info h3 {
    color: var(--primary-text);
    margin-bottom: 10px;
}

.founder-title {
    color: var(--primary-highlight-text);
    font-weight: 600;
    margin-bottom: 20px;
}

.photo-collage-section {
    margin-bottom: 80px;
}

.photo-collage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.collage-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.collage-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.02);
}

.collage-item.large {
    flex: 2;
    height: 300px;
}

.collage-item.medium {
    flex: 1.5;
    height: 250px;
}

.collage-item.small {
    flex: 1;
    height: 200px;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.collage-item:hover .collage-overlay {
    transform: translateY(0);
}

.values-section {
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--primary-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-highlight-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.value-card h4 {
    color: var(--primary-text);
    margin-bottom: 15px;
}

.goal-items {
    margin-top: 40px;
}

.goal-item {
    margin-bottom: 30px;
    padding: 30px;
    background: var(--secondary-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-highlight-text);
}

.goal-item h4 {
    color: var(--primary-text);
    margin-bottom: 15px;
}

.goal-item h4 i {
    color: var(--primary-highlight-text);
    margin-right: 10px;
}

.why-wingit-cta {
    background: linear-gradient(135deg, var(--primary-highlight-text), var(--secondary-highlight-text));
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    color: white;
}

.why-wingit-cta h2 {
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-highlight-text);
}

/* Responsive Design for Why Wingit */
@media (max-width: 768px) {
    .founder-card {
        padding: 30px 20px;
    }
    
    .collage-row {
        flex-direction: column;
    }
    
    .collage-item.large,
    .collage-item.medium,
    .collage-item.small {
        height: 200px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* SIGNUP PAGE STYLES */
.signup-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.signup-card {
    background: var(--primary-bg);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    padding: 50px;
    max-width: 500px;
    width: 100%;
}

.signin-card-wrapper {
    max-width: 1200px;
    padding: 0;
    overflow: hidden;
}

.signin-wrapper {
    display: flex;
    gap: 0;
    align-items: stretch;
    width: 100%;
}

.signin-form-section {
    flex: 1;
    padding: 50px;
}

.signin-image {
    flex: 1;
    max-width: 600px;
    overflow: hidden;
}

.signin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .signin-wrapper {
        flex-direction: column;
    }
    
    .signin-image {
        display: none;
    }
    
    .signin-form-section {
        padding: 40px 16px;
    }

    .signup-btn {
        padding-top: 24px;
    }
}

.signup-header {
    text-align: center;
    margin-bottom: 40px;
}

.signup-header h1 {
    color: var(--primary-text);
    margin-bottom: 15px;
    font-weight: 600;
}

.signup-header p {
    color: var(--secondary-text);
    line-height: 1.6;
}

.signup-form {
    margin-bottom: 30px;
}

.signup-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.signup-footer p {
    color: var(--secondary-text);
    margin: 0;
}

.login-link {
    color: var(--primary-highlight-text);
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    text-decoration: underline;
}

/* ACCOUNT PAGE */
.account-page-wrapper {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.account-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.account-card {
    background: var(--primary-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.account-card-header {
    background: var(--secondary-bg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.account-card-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.account-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-text);
}

.account-card-body {
    padding: 1.5rem;
}

.account-card-footer {
    padding: 1rem 1.5rem;
    background: var(--secondary-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.account-info-item:last-child {
    border-bottom: none;
}

.account-info-item label {
    font-weight: 600;
    color: var(--secondary-text);
    margin: 0;
}

.account-info-item span {
    color: var(--primary-text);
    text-align: right;
}

.account-info-item .text-muted {
    color: var(--secondary-text);
    opacity: 0.7;
    font-style: italic;
}

/* Toggle Switch */
.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.preference-info {
    flex: 1;
}

.preference-info strong {
    display: block;
    color: var(--primary-text);
    margin-bottom: 0.25rem;
}

.preference-desc {
    font-size: 0.875rem;
    color: var(--secondary-text);
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--secondary-bg);
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #FFF;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary-bg);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Payment History */
.payment-notice {
    background: var(--secondary-bg);
    padding: 1rem;
    border-radius: 8px;
    color: var(--secondary-text);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-item {
    background: var(--secondary-bg);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.payment-info strong {
    color: var(--primary-text);
}

.payment-date {
    font-size: 0.875rem;
    color: var(--secondary-text);
}

.payment-ip {
    font-size: 0.75rem;
    color: var(--secondary-text);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-text);
}

.empty-state i {
    color: rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.empty-state p {
    margin: 0.5rem 0;
    font-weight: 600;
    color: var(--primary-text);
}

.empty-state-subtext {
    font-size: 0.875rem;
}

/* Coming Soon Card */
.coming-soon-card {
    position: relative;
    border: 2px solid var(--accent);
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: rgb(0, 177, 3);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.webapp-preview {
    position: relative;
}

.webapp-screenshot {
    width: 100%;
    max-height: 200px;
    background: var(--secondary-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 1rem 0;
}

.webapp-screenshot img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.coming-soon-desc {
    color: var(--secondary-text);
    margin: 1rem 0;
}

.coming-soon-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-tag {
    background: var(--secondary-bg);
    color: var(--primary-text);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.feature-tag i {
    color: var(--accent);
    font-size: 0.7rem;
}

/* Quick Actions */
.action-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary-bg);
    border-radius: 8px;
    color: var(--primary-text);
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.action-button:last-child {
    margin-bottom: 0;
}

.action-button:hover {
    background: var(--secondary-bg-highlight);
}

.action-button i {
    font-size: 1.25rem;
    width: 25px;
    text-align: center;
}

.action-button.logout-btn:hover {
    background: #dc3545;
}

/* Status Items */
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.status-item:last-child {
    border-bottom: none;
}

.status-item label {
    font-weight: 600;
    color: var(--secondary-text);
    margin: 0;
}

.badge {
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--accent);
    color: rgb(0, 177, 3);
}

.badge-success {
    background: #28a745;
    color: white;
}

/* Profile Edit Form */
#profile-edit-mode .form-field {
    margin-bottom: 1rem;
}

#profile-edit-mode .form-field label {
    display: block;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

#profile-edit-mode .form-control {
    width: 100%;
    border-radius: 8px;
    color: var(--primary-text);
    font-size: 0.95rem;
}

#profile-edit-mode .form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

#profile-edit-mode .form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#profile-edit-mode .form-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--secondary-text);
}

#profile-edit-mode .form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

#profile-edit-mode .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: var(--secondary-bg);
}

#profile-edit-mode .btn-primary {
    background: var(--secondary-bg);
}

#profile-edit-mode .btn-primary:hover {
    background: var(--secondary-bg-highlight);
    transform: translateY(-2px);
}

/* Danger Button Styles */
.btn-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

.btn-danger i {
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .account-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
    
    .account-page-wrapper {
        padding: 1rem 0;
    }
    
    .account-info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .account-info-item label {
        min-width: auto;
        margin-right: 0;
    }
}

/* LEGAL PAGES */
.legal-wrapper {
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

.legal-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--primary-bg);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
}

.legal-sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-right: 1px solid var(--border);
}

.legal-toggle-btn {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    padding: 1rem 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.legal-toggle-btn i {
    font-size: 1.2rem;
    width: 24px;
}

.legal-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-text);
}

.legal-toggle-btn.active {
    color: var(--primary-highlight-text);
    background: rgba(255, 255, 255, 0.1);
}

.legal-toggle-btn.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-highlight-text);
}

.legal-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    max-height: 80vh;
}

.legal-section {
    display: none;
}

.legal-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-section h2 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.last-updated {
    color: var(--secondary-text);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.legal-text {
    color: var(--secondary-text);
    line-height: 1.8;
}

.legal-text h3 {
    color: var(--primary-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style: disc;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

@media (max-width: 968px) {
    .legal-container {
        flex-direction: column;
    }
    
    .legal-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    
    .legal-toggle-btn {
        padding: 0.75rem 1rem;
        white-space: nowrap;
    }
    
    .legal-toggle-btn.active::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 4px;
    }
    
    .legal-content {
        padding: 1.5rem;
        max-height: none;
    }
    
    .legal-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .card-container {
        width: auto;
        /* margin: 16pt; */
    }
    
    .contact-card-container {
        width: 100%;
    }
    
    .hero-section {
        background-attachment: scroll;
        height: 80vh;
    }
    
    .hero-slide {
        background-attachment: scroll;
        height: 100% !important; /* Reset height on mobile for performance */
        transform: none !important; /* Disable parallax on mobile for better performance */
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 1.1rem !important;
    }
    
    .slideshow-indicators {
        bottom: 20px;
    }
    
    .stats-section .row {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .stat-card {
        margin: 0 auto;
    }
    
    .trip-cards-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* DISCOUNTED BUNDLES PAGE STYLES */
.offers-hero {
    background: linear-gradient(135deg, var(--primary-highlight-text), var(--secondary-highlight-text));
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.offers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/img/world.jpg') center/cover;
    opacity: 0.2;
    z-index: 1;
}

.offers-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.offers-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.offers-hero p {
    font-size: 1.3rem;
    margin: 0;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    padding: 0px 0;
    /* background: var(--secondary-bg); */
}

.newsletter-card {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-content {
    flex: 1;
}

.newsletter-content h2 {
    color: var(--primary-text);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter-content p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--secondary-bg);
    color: var(--primary-text);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-highlight-text);
}

.newsletter-btn {
    padding: 15px 30px;
    white-space: nowrap;
}

.newsletter-note {
    color: var(--tertiary-text);
    font-size: 0.9rem;
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--primary-highlight-text);
    opacity: 0.3;
}

/* Offers Section */
.offers-section {
    padding: 80px 0;
}

.offers-section > .container > h2 {
    text-align: center;
    color: var(--primary-text);
    font-size: 3rem;
    margin-bottom: 60px;
    font-weight: 600;
}

.offers-category {
    margin-bottom: 80px;
}

.offers-category h3 {
    color: var(--primary-text);
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.offers-category h3 i {
    color: var(--primary-highlight-text);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.offer-card {
    background: var(--primary-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-highlight-text);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 3;
}

.flash-deal .offer-badge {
    background: #ff4757;
    animation: pulse 2s infinite;
}

.bundle-deal .offer-badge {
    background: #2ed573;
}

.seasonal-deal .offer-badge {
    background: #ffa502;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.offer-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.offer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
}

.offer-content {
    padding: 30px;
}

.offer-content h4 {
    color: var(--primary-text);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.offer-description {
    color: var(--secondary-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.offer-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.original-price {
    color: var(--tertiary-text);
    text-decoration: line-through;
    font-size: 1rem;
}

.sale-price {
    color: var(--primary-highlight-text);
    font-size: 1.5rem;
    font-weight: 700;
}

.savings {
    background: #2ed573;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.offer-expires {
    color: #ff4757;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-expires i {
    animation: tick 1s infinite;
}

@keyframes tick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.offer-btn {
    width: 100%;
    background: var(--secondary-bg);
    color: var(--primary-text);
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: 0.3s ease;
}

.offer-btn:hover {
    background: var(--secondary-bg);
    color: var(--primary-text);
    text-decoration: none;
    transform: scale(1.05);
    transition: 0.3s ease;
}

.bundle-includes {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--secondary-bg);
    border-radius: 10px;
}

.bundle-includes strong {
    color: var(--primary-text);
    display: block;
    margin-bottom: 10px;
}

.bundle-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bundle-includes li {
    color: var(--secondary-text);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bundle-includes li::before {
    content: '✓';
    color: #2ed573;
    font-weight: bold;
    font-size: 1.1rem;
}

.seasonal-note {
    background: var(--secondary-bg);
    padding: 15px;
    border-radius: 10px;
    color: var(--secondary-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--secondary-bg);
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-text);
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--primary-bg);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-highlight-text);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-item h4 {
    color: var(--primary-text);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-item p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Offers */
@media (max-width: 768px) {
    .offers-hero h1 {
        font-size: 2.5rem;
    }
    
    .offers-hero p {
        font-size: 1.1rem;
    }
    
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offer-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}