/* style.css */
:root {
    --gold: #D4AF37;
    --dark-gold: #B8860B;
    --black: #0A0A0A;
    --light-black: #1A1A1A;
    --spa-green: #2F4F4F;
    --light-spa: #E8F4F4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--gray-100);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-user-select: none;
  user-select: none;
}

.gold-text {
    color: var(--gold);
}

.gold-bg {
    background-color: var(--gold);
}

.black-bg {
    background-color: var(--black);
}

.spa-bg {
    background-color: var(--spa-green);
}

.spa-light-bg {
    background-color: var(--light-spa);
}

.border-gold {
    border-color: var(--gold);
}

.spa-gradient {
    background: linear-gradient(135deg, var(--spa-green) 0%, var(--black) 100%);
}



/* Terms & Conditions Page Specific Styles */
.terms-hero {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(47, 79, 79, 0.8)), url('https://images.unsplash.com/photo-1580281657527-4e13b61ddb7e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.terms-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--gold);
}

.section-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    font-size: 1.5rem;
}

.terms-nav {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gold);
}

.terms-nav-link {
    display: block;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--spa-green);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.terms-nav-link:hover,
.terms-nav-link.active {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 20px;
}

.legal-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legal-point:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.point-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    background: linear-gradient(45deg, var(--spa-green) 0%, var(--black) 100%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.highlight-box {
    background: linear-gradient(135deg, var(--light-spa) 0%, #ffffff 100%);
    border-left: 5px solid var(--gold);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.warning-box {
    background: linear-gradient(135deg, #FFF3CD 0%, #ffffff 100%);
    border-left: 5px solid #FFC107;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-box {
    background: linear-gradient(135deg, #D1ECF1 0%, #ffffff 100%);
    border-left: 5px solid #17A2B8;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.definition-list {
    margin: 20px 0;
}

.definition-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5e7eb;
}

.definition-term {
    font-weight: bold;
    color: var(--spa-green);
    margin-bottom: 5px;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fees-table th {
    background: linear-gradient(135deg, var(--spa-green) 0%, var(--black) 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.fees-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.fees-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.fees-table tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.print-btn {
    background: linear-gradient(45deg, var(--spa-green) 0%, var(--black) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.print-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(47, 79, 79, 0.3);
}

.update-badge {
    background: linear-gradient(45deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.accept-terms {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gold);
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    accent-color: var(--gold);
}

/* Footer Styles */
.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-icon {
    transition: all 0.3s ease;
}

.footer-link:hover .footer-icon {
    transform: scale(1.2);
}

/* ===========================================
   RESPONSIVE DESIGN - ALL SCREEN SIZES
   =========================================== */

/* Large Desktops (1600px and above) */
@media (min-width: 1600px) {
    .terms-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 60px;
    }
    
    .terms-hero {
        padding: 120px 0;
    }
    
    .section-card {
        padding: 35px;
        margin-bottom: 35px;
    }
    
    .terms-nav {
        padding: 35px;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 30px;
        margin: 35px 0;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 20px;
        font-size: 1.05rem;
    }
}

/* Standard Desktops (1200px to 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .terms-container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 50px;
    }
    
    .section-card {
        padding: 30px;
    }
}

/* Small Desktops and Tablets Landscape (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .terms-container {
        padding: 35px;
    }
    
    .terms-hero {
        padding: 80px 0;
    }
    
    .terms-nav {
        padding: 20px;
    }
    
    .section-card {
        padding: 25px;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 20px;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 15px 12px;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Tablets Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .terms-hero {
        padding: 70px 0;
        background-attachment: scroll;
    }
    
    .terms-container {
        padding: 30px;
        margin: 0 15px;
    }
    
    .section-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .terms-nav {
        position: static;
        margin-bottom: 30px;
    }
    
    .terms-nav-link {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 18px;
        margin: 20px 0;
    }
    
    .fees-table {
        display: block;
        overflow-x: auto;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 12px 10px;
        font-size: 0.95rem;
    }
    
    .legal-point {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .point-number {
        margin-bottom: 10px;
    }
    
    .accept-terms {
        padding: 20px;
    }
    
    .print-btn {
        width: 100%;
        padding: 15px;
    }
    
    .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

/* Large Mobile Phones (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .terms-hero {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .terms-container {
        padding: 25px 20px;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .section-card {
        padding: 18px;
        margin-bottom: 18px;
        border-radius: 12px;
    }
    
    .section-card h2 {
        font-size: 1.5rem;
    }
    
    .section-card h3 {
        font-size: 1.3rem;
    }
    
    .section-card h4 {
        font-size: 1.1rem;
    }
    
    .terms-nav {
        position: static;
        margin-bottom: 25px;
        padding: 20px;
    }
    
    .terms-nav h3 {
        font-size: 1.4rem;
    }
    
    .terms-nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 16px;
        margin: 18px 0;
    }
    
    .fees-table {
        font-size: 0.9rem;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 10px 8px;
        min-width: 120px;
    }
    
    .definition-item {
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .update-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .accept-terms {
        padding: 18px;
        margin: 25px 0;
    }
    
    .checkbox-container {
        flex-wrap: wrap;
    }
    
    .checkbox-container label {
        font-size: 0.95rem;
    }
    
    .print-btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
}

/* Small Mobile Phones (320px to 575px) */
@media (max-width: 575px) {
    .terms-hero {
        padding: 50px 0;
        background-attachment: scroll;
        background-size: cover;
    }
    
    .terms-hero h1 {
        font-size: 1.8rem;
    }
    
    .terms-hero p {
        font-size: 1rem;
    }
    
    .terms-container {
        padding: 20px 15px;
        margin: 0;
        border-radius: 12px;
    }
    
    .section-card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    
    .section-card h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .section-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .section-card h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .section-card p,
    .section-card li {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .terms-nav {
        position: static;
        margin-bottom: 20px;
        padding: 18px;
    }
    
    .terms-nav h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .terms-nav-link {
        padding: 8px 10px;
        font-size: 0.88rem;
        margin-bottom: 8px;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 14px;
        margin: 16px 0;
        border-left-width: 4px;
    }
    
    .fees-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 8px 6px;
        min-width: 110px;
    }
    
    .legal-point {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
        margin-bottom: 12px;
    }
    
    .point-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .definition-item {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    
    .definition-term {
        font-size: 0.95rem;
    }
    
    .definition-def {
        font-size: 0.9rem;
    }
    
    .update-badge {
        font-size: 0.8rem;
        padding: 5px 10px;
        margin-bottom: 15px;
    }
    
    .accept-terms {
        padding: 16px;
        margin: 20px 0;
    }
    
    .accept-terms h3 {
        font-size: 1.2rem;
    }
    
    .checkbox-container {
        flex-wrap: wrap;
        margin-bottom: 15px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .checkbox-container label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .print-btn {
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
        margin-top: 10px;
    }
    
    .section-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    /* Footer Text Color */
    footer p,
    footer .text-gray-300 {
        color: #e5e7eb !important;
    }
    
    /* Make sure all text in footer is readable */
    footer * {
        color: #e5e7eb !important;
    }
}

/* Extra Small Devices (Below 320px) */
@media (max-width: 319px) {
    .terms-container {
        padding: 15px 10px;
    }
    
    .section-card {
        padding: 12px;
    }
    
    .section-card h2 {
        font-size: 1.3rem;
    }
    
    .section-card h3 {
        font-size: 1.1rem;
    }
    
    .terms-nav-link {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
    
    .print-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .fees-table {
        font-size: 0.8rem;
    }
    
    .fees-table th,
    .fees-table td {
        padding: 6px 4px;
        min-width: 100px;
    }
}

/* Print Styles */
@media print {
    .terms-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .terms-nav,
    .print-btn,
    .accept-terms {
        display: none;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-card {
        box-shadow: none;
        border: 1px solid #eee;
        page-break-inside: avoid;
    }
}

/* Footer Text Color Fix */
footer p,
footer .text-gray-300,
footer .footer-text {
    color: #e5e7eb !important;
}

/* Ensure paragraph text in footer maintains color */
footer p {
    color: #e5e7eb;
}

/* Additional utility classes for better responsive handling */
.responsive-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.responsive-heading {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.responsive-subheading {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    line-height: 1.4;
}

/* Make images responsive */
.responsive-img {
    max-width: 100%;
    height: auto;
}

/* Container padding adjustment for mobile */
.p-responsive {
    padding-left: clamp(15px, 5vw, 50px);
    padding-right: clamp(15px, 5vw, 50px);
}