/* ============================================
   VSPARK FACILITIES - SUBPAGES BESPOKE STYLESHEET
   ============================================ */

/* === Subpage Hero Section === */
.subpage-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #F0EEFF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108,99,255,0.12), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0,191,166,0.1), transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.subpage-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 800;
}

/* === Breadcrumbs === */
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--text-body);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs .separator {
    color: var(--text-light);
    font-size: 11px;
}

.breadcrumbs .current {
    color: var(--primary);
    font-weight: 600;
}

/* === About Us Page Specific Styles === */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
}

.about-intro-text p strong {
    color: var(--text-dark);
}

.about-intro-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

/* Values Grid */
.values-section {
    background: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
    border-color: var(--primary);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(108,99,255,0.05));
    color: var(--primary);
    font-size: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-white);
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline/Milestones */
.timeline-section {
    background: var(--bg-main);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 35px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--bg-white);
    box-shadow: 0 0 10px rgba(108,99,255,0.5);
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* === Services Page Specific Styles === */
.services-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.service-detail-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-detail-card:nth-child(even) {
    grid-template-columns: 0.8fr 1.2fr;
}

.service-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent-pink));
}

.service-detail-card:nth-child(2n)::after {
    background: linear-gradient(180deg, var(--secondary), var(--primary-light));
}

.service-detail-card:nth-child(3n)::after {
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-coral));
}

.sd-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.sd-icon {
    width: 50px;
    height: 50px;
    background: rgba(108,99,255,0.1);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-card:nth-child(2n) .sd-icon {
    background: rgba(0,191,166,0.1);
    color: var(--secondary);
}

.service-detail-card:nth-child(3n) .sd-icon {
    background: rgba(255,140,66,0.1);
    color: var(--accent-orange);
}

.sd-header h3 {
    font-size: 24px;
    color: var(--text-dark);
}

.sd-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
}

.sd-features-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sd-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.sd-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-body);
}

.sd-features-list li i {
    color: var(--secondary);
    font-size: 12px;
}

.sd-meta-box {
    background: var(--bg-main);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border);
}

.sd-meta-item {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 8px;
}

.sd-meta-item:last-child {
    margin-bottom: 0;
}

.sd-meta-item strong {
    color: var(--text-dark);
}

.sd-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    background: var(--bg-main);
    padding: 10px;
}

/* Specialized Services Grid */
.specialized-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-white) 100%);
}

.special-intro-box {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    border-radius: var(--radius-xl);
    padding: 50px;
    color: var(--text-white);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.special-intro-box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108,99,255,0.2), transparent 70%);
    border-radius: 50%;
}

.special-intro-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.special-intro-badge {
    background: rgba(255,255,255,0.15);
    color: var(--text-white);
    padding: 6px 16px;
    font-size: 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: inline-block;
}

.special-intro-title {
    font-size: 28px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.special-intro-desc {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.special-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.special-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.special-card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(108,99,255,0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.special-card:nth-child(2) .special-card-badge {
    background: rgba(0,191,166,0.08);
    color: var(--secondary);
}

.special-card:nth-child(3) .special-card-badge {
    background: rgba(255,140,66,0.08);
    color: var(--accent-orange);
}

.special-card h3 {
    font-size: 19px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.special-list {
    margin-bottom: 24px;
}

.special-list li {
    display: block;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.5;
}

.special-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary);
    font-size: 11px;
}

.special-card:nth-child(2) .special-list li i {
    color: var(--secondary);
}

.special-card:nth-child(3) .special-list li i {
    color: var(--accent-orange);
}

/* === Contact Page Specific Styles === */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.cic-icon {
    width: 48px;
    height: 48px;
    background: rgba(108,99,255,0.1);
    color: var(--primary);
    font-size: 18px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cic-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.cic-content p, .cic-content a {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.5;
}

.cic-content a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-title {
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Response Messages */
.form-response {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
    align-items: center;
    gap: 12px;
}

.form-response.success {
    display: flex;
    background: rgba(0,191,166,0.1);
    color: var(--secondary-dark);
    border: 1px solid rgba(0,191,166,0.2);
}

.form-response.error {
    display: flex;
    background: rgba(255,107,107,0.1);
    color: var(--accent-coral);
    border: 1px solid rgba(255,107,107,0.2);
}

/* Map Section */
.map-section {
    padding: 0 0 100px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* === Legal Pages Specific Styles (Terms, Privacy) === */
.legal-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.legal-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    position: sticky;
    top: calc(var(--header-h) + 20px);
    box-shadow: var(--shadow-sm);
}

.legal-menu-title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.legal-menu-list li {
    margin-bottom: 12px;
}

.legal-menu-list li:last-child {
    margin-bottom: 0;
}

.legal-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
    transition: var(--transition);
}

.legal-menu-link:hover, .legal-menu-link.active {
    color: var(--primary);
    transform: translateX(4px);
}

.legal-menu-link i {
    font-size: 11px;
    opacity: 0;
    transition: var(--transition);
}

.legal-menu-link:hover i, .legal-menu-link.active i {
    opacity: 1;
}

.legal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.legal-text h2 {
    font-size: 22px;
    margin: 30px 0 16px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 20px;
}

.legal-text ul {
    list-style: disc;
    margin: 0 0 20px 20px;
    color: var(--text-body);
    font-size: 15px;
}

.legal-text ul li {
    margin-bottom: 8px;
}

.legal-update-date {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 30px;
    font-style: italic;
}

/* === Support Page Specific Styles === */
.support-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.support-portal-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.support-portal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.spc-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(108,99,255,0.08);
    color: var(--primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.support-portal-card:nth-child(2) .spc-icon {
    background: rgba(0,191,166,0.08);
    color: var(--secondary);
}

.support-portal-card:nth-child(3) .spc-icon {
    background: rgba(255,140,66,0.08);
    color: var(--accent-orange);
}

.support-portal-card:nth-child(4) .spc-icon {
    background: rgba(255,107,157,0.08);
    color: var(--accent-pink);
}

.support-portal-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.support-portal-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* FAQ Accordion Styling for subpages */
.subpage-faq {
    background: var(--bg-white);
}

/* === RESPONSIVE LAYOUT ADJUSTMENTS === */
@media (max-width: 991px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro-image {
        order: -1;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-detail-card, .service-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    .service-detail-card .sd-image {
        order: -1;
    }
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    .support-portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .values-grid, .special-grid, .support-portal-grid {
        grid-template-columns: 1fr;
    }
    .timeline-container::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .contact-form-box, .legal-content {
        padding: 24px;
    }
}
