/* Terms & Privacy Policy Styles */

/********** Page Background **********/
body {
    background-color: #065369ff !important;
}

/********** Container **********/
.terms-container {
    padding: 60px 24px;
    max-width: 900px;
    margin: 0 auto;
}

/********** Header Section **********/
.terms-header {
    text-align: center;
    margin-bottom: 48px;
}

.terms-title {
    font-family: 'Avenir', sans-serif !important;
    color: #282828;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
}

.terms-subtitle {
    font-family: 'Avenir', sans-serif !important;
    color: #666666;
    font-size: 20px;
    font-weight: 400;
}

/********** Navigation Tabs **********/
.terms-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 0;
}

.terms-tab {
    font-family: 'Avenir', sans-serif !important;
    background: none;
    border: none;
    color: #666666;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.terms-tab:hover {
    color: #282828;
}

.terms-tab.active {
    color: #9BD3DD;
}

.terms-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #9BD3DD;
}

/********** Content Sections **********/
.terms-content-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.terms-content-section.active {
    display: block;
}

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

/********** Section Header **********/
.section-header {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-family: 'Avenir', sans-serif !important;
    color: #282828;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.last-updated {
    font-family: 'Avenir', sans-serif !important;
    color: #999999;
    font-size: 14px;
    font-style: italic;
}

/********** Content Styles **********/
.terms-content {
    background-color: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-block {
    margin-bottom: 48px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h3 {
    font-family: 'Avenir', sans-serif !important;
    color: #282828;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.content-block h4 {
    font-family: 'Avenir', sans-serif !important;
    color: #282828;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-block p {
    font-family: 'Avenir', sans-serif !important;
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    margin-left: 24px;
    margin-top: 12px;
    margin-bottom: 16px;
}

.content-block ul li {
    font-family: 'Avenir', sans-serif !important;
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    list-style-type: disc;
}

/********** Special Text Styles **********/
.uppercase-text {
    font-size: 14px !important;
    letter-spacing: 0.5px;
}

.contact-info {
    background-color: #f8f8f8;
    padding: 24px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px !important;
}

.contact-info p:last-child {
    margin-bottom: 0 !important;
}

/********** Links **********/
.terms-content a {
    color: #9BD3DD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: #7bc5d2;
    text-decoration: underline;
}

/********** Responsive Design **********/
@media (max-width: 768px) {
    .terms-container {
        padding: 40px 16px;
    }
    
    .terms-title {
        font-size: 36px;
    }
    
    .terms-subtitle {
        font-size: 18px;
    }
    
    .terms-nav {
        gap: 8px;
    }
    
    .terms-tab {
        font-size: 16px;
        padding: 10px 16px;
    }
    
    .section-header {
        padding: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .terms-content {
        padding: 32px 24px;
    }
    
    .content-block h3 {
        font-size: 20px;
    }
    
    .content-block p,
    .content-block ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .terms-title {
        font-size: 28px;
    }
    
    .terms-subtitle {
        font-size: 16px;
    }
    
    .terms-nav {
        flex-direction: column;
        gap: 0;
    }
    
    .terms-tab {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .terms-tab.active::after {
        display: none;
    }
    
    .terms-tab.active {
        background-color: #f0f9fa;
    }
    
    .terms-content {
        padding: 24px 16px;
    }
    
    .content-block {
        margin-bottom: 32px;
    }
}