.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

.page-terms-conditions .terms-hero-section {
    background: linear-gradient(135deg, #FFD700, #000080);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions .terms-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-terms-conditions .terms-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions .terms-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #eee;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #FFD700; /* Primary color */
    color: #000080; /* Dark blue text for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions .cta-button:hover {
    background-color: #e0b800; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions .cta-button.secondary {
    background-color: #000080; /* Dark blue */
    color: #FFD700; /* Gold text */
    margin-left: 15px;
}

.page-terms-conditions .cta-button.secondary:hover {
    background-color: #000066; /* Darker blue on hover */
}

.page-terms-conditions .terms-content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-terms-conditions .terms-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions .terms-article h2 {
    font-size: 2.2em;
    color: #000080; /* Dark blue for main headings */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700; /* Gold underline */
    padding-bottom: 10px;
}

.page-terms-conditions .terms-article h3 {
    font-size: 1.6em;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-terms-conditions .terms-article p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
}

.page-terms-conditions .terms-article ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #555;
}

.page-terms-conditions .terms-article ul li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-terms-conditions .terms-article .internal-link, 
.page-terms-conditions .terms-article a {
    color: #000080; /* Dark blue for links */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions .terms-article .internal-link:hover, 
.page-terms-conditions .terms-article a:hover {
    color: #FFD700; /* Gold on hover */
    text-decoration: none;
}

.page-terms-conditions .contact-buttons {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* FAQ Section Styling */
.page-terms-conditions .faq-list {
    margin-top: 30px;
}

.page-terms-conditions .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-terms-conditions .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-terms-conditions .faq-question:hover {
    background-color: #eee;
}

.page-terms-conditions .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #000080; /* Dark blue for FAQ questions */
    font-weight: bold;
}

.page-terms-conditions .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease;
}

.page-terms-conditions .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #000080;
}

.page-terms-conditions .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background-color: #fff;
}

.page-terms-conditions .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 18px 25px;
    border-top: 1px solid #eee;
}

.page-terms-conditions .faq-answer p {
    margin: 0;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-terms-conditions .terms-hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions .terms-hero-subtitle {
        font-size: 1.1em;
    }
    .page-terms-conditions .terms-article h2 {
        font-size: 2em;
    }
    .page-terms-conditions .terms-article h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions .terms-hero-section {
        padding: 60px 15px;
    }
    .page-terms-conditions .terms-hero-title {
        font-size: 2.2em;
    }
    .page-terms-conditions .terms-hero-subtitle {
        font-size: 1em;
    }
    .page-terms-conditions .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-terms-conditions .cta-button.secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-terms-conditions .contact-buttons a {
        display: block;
        margin-bottom: 15px;
    }
    .page-terms-conditions .terms-content-section {
        padding: 40px 0;
    }
    .page-terms-conditions .terms-container {
        padding: 0 15px;
    }
    .page-terms-conditions .terms-article h2 {
        font-size: 1.8em;
    }
    .page-terms-conditions .terms-article h3 {
        font-size: 1.2em;
    }
    .page-terms-conditions .faq-question {
        padding: 15px 20px;
    }
    .page-terms-conditions .faq-question h3 {
        font-size: 1.1em;
    }
    .page-terms-conditions .faq-toggle {
        font-size: 1.5em;
    }
    .page-terms-conditions .faq-answer {
        padding: 0 20px;
    }
    .page-terms-conditions .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}