/* Base styling for legacy content wrapped in the new template */
.page-content {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
}

/* Slider / Banner images from old pages */
.slider_main, .containor_main {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 40px auto;
}

.slide-pc, .slide-mob, .slider_main img, .containor_main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

/* Services Intro Section */
.services_intro, .containor_main .contant-cont {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    align-items: center;
}

.intro_text, .intro {
    flex: 1;
    min-width: 300px;
}

.intro_text h1, .intro h1, .intro h2, .intro h3 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.intro_text ul, .intro ul {
    list-style-type: none;
    padding: 0;
}

.intro_text ul li, .intro ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-light);
}

.intro_text ul li::before, .intro ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.intro_img, .cont_img {
    flex: 1;
    min-width: 300px;
}

.intro_img img, .cont_img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.intro_img img:hover, .cont_img img:hover {
    transform: translateY(-5px);
}

/* Sections */
.introduction {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.heading_intro {
    text-align: center;
    margin-bottom: 30px;
}

.heading_intro h3 {
    font-size: 2.5rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.heading_intro h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

.introduction_text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.introduction_text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.introduction_text ul li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Sub Navigation inside pages */
.second_nav {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 20px;
}

.second_nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.second_nav ul li a {
    text-decoration: none;
    color: var(--primary-dark);
    background: #eef7fc;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.second_nav ul li a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 171, 255, 0.2);
}

.second_nav_toggle {
    display: none; /* Hide dropdown nav on PC */
}

/* FAQs */
.faq {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eef7fc;
}

.faq-question .arrows {
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
    color: var(--text-light);
    background: #f8fafc;
}

.faq.active .faq-answer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Call to action */
.book_app {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.book_app:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 171, 255, 0.3);
}

@media (max-width: 768px) {
    .second_nav ul { display: none; }
    .second_nav_toggle {
        display: block;
        width: 100%;
        padding: 12px;
        border-radius: 10px;
        border: 1px solid var(--primary);
        font-family: 'Poppins', sans-serif;
        font-size: 1.1rem;
        background: var(--white);
        color: var(--primary-dark);
    }
}
