/* Terms and Conditions Page Specific Styles */

/* Main Wrapper */
.main-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    max-width: 100%;
    background-color: white;
    min-height: auto;
    padding: 70px 20px 30px; /* Updated top padding to match main CSS */
    box-sizing: border-box;
}

/* Terms Container */
.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0 50px;
    box-sizing: border-box;
}

/* Terms Header */
.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px; /* Add padding to account for fixed navbar */
}

.terms-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: #283848;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.terms-subtitle {
    color: #666;
    font-size: 16px;
    margin-top: 15px;
}

.terms-divider {
    width: 80px;
    height: 4px;
    background-color: #d9a442;
    margin: 0 auto;
}

/* Terms Content */
.terms-content {
    padding: 20px 0;
}

.terms-intro {
    margin-bottom: 40px;
    padding: 0 15px;
}

.terms-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.terms-section {
    margin-bottom: 40px;
    padding: 15px 20px;
    border-left: 4px solid #d9a442;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.terms-section:hover {
    border-left: 8px solid #d9a442;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.terms-section:hover h2 {
    color: #d9a442;
}

.terms-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #283848;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: color 0.3s ease;
}

.terms-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #283848;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.terms-section p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: color 0.3s ease;
}

.terms-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-section li {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.terms-section a {
    color: #d9a442;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    text-decoration: underline;
}

/* Contact Information Section */
.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    border-left: 3px solid #d9a442;
    transition: all 0.3s ease;
}

.contact-info:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-left: 5px solid #d9a442;
}

.contact-details {
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
    color: #d9a442;
}

/* Animation Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Text Animation */
.text-animation {
    position: relative;
    display: inline-block;
}

.text-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d9a442;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.text-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .terms-container {
        padding: 80px 20px 50px;
    }
}

@media (max-width: 992px) {
    .terms-header h1 {
        font-size: 32px;
    }
    
    .terms-section h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .terms-container {
        padding: 60px 15px 40px;
    }
    
    .terms-header h1 {
        font-size: 28px;
    }
    
    .terms-section {
        padding: 12px 15px;
    }
    
    .terms-section h2 {
        font-size: 20px;
    }
    
    .terms-section p, 
    .terms-section li, 
    .terms-intro p {
        font-size: 15px;
    }
    
    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .terms-container {
        padding: 50px 10px 30px;
    }
    
    .terms-header h1 {
        font-size: 24px;
    }
    
    .terms-subtitle {
        font-size: 14px;
    }
    
    .terms-section h2 {
        font-size: 18px;
    }
    
    .terms-section p, 
    .terms-section li, 
    .terms-intro p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .contact-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .terms-header h1 {
        font-size: 22px;
    }
    
    .terms-section {
        padding: 10px 12px;
        margin-bottom: 25px;
    }
}
