/* service-detail.css - Premium shared styling for individual service pages */

/* ==========================================
   1. Detail Hero Section
   ========================================== */
.service-detail-hero {
    position: relative;
    min-height: 60vh;
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 4px solid var(--color-professional-purple);
}

.service-detail-hero.hero-ai-assessment {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/ai-assessment.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-ai-proctoring {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/ai-proctoring.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-virtual-labs {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/virtual-labs.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-lms {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/lms.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-career-counselling {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/career-counselling.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-placement-services {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/placement-services.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-industry-training {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/industry-training.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-entrepreneurship-programs {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/entrepreneurship-programs.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-institutional-consulting {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/institutional-consulting.webp') no-repeat center center/cover;
}
.service-detail-hero.hero-international-education {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%), url('../../assets/images/hero-section/international-education.webp') no-repeat center center/cover;
}

.service-detail-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.12) 0%, transparent 60%);
    pointer-events: none;
}


.service-badge-tag {
    background-color: rgba(124, 206, 250, 0.15);
    border: 1px solid var(--color-professional-purple);
    color: var(--color-sky-blue);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   2. Core Information Grid
   ========================================== */
.detail-main-section {
    padding: var(--spacing-xxl) 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.detail-grid.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.detail-text h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
}

.detail-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.feature-bullets-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-bullet-item {
    display: flex;
    gap: var(--spacing-sm);
}

.bullet-icon {
    width: 28px;
    height: 28px;
    background-color: var(--color-bg-light-violet);
    color: var(--color-accent-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.bullet-desc strong {
    color: var(--color-primary-blue);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.bullet-desc span {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* ==========================================
   3. Premium Interactive Mockups
   ========================================== */
.mockup-container {
    background-color: var(--color-bg-very-light-grey);
    border: 1px solid var(--color-light-blue);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mockup-window-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background-color: #f1f3f9;
    border-bottom: 1px solid var(--color-light-blue);
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-sm);
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }

.mockup-content {
    width: 100%;
    margin-top: 24px;
    padding: var(--spacing-sm);
    text-align: center;
}

/* Specific Simulated Visual Interfaces */
.proctor-simulator {
    border: 2px dashed var(--color-accent-main);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    background-color: rgba(0, 194, 203, 0.05);
    font-family: monospace;
    color: var(--color-accent-hover);
    position: relative;
}

.scanning-radar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent-main);
    animation: radarSwipe 2s linear infinite;
}

@keyframes radarSwipe {
    0% { top: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.lab-simulator-terminal {
    background-color: #0f172a;
    color: #38bdf8;
    font-family: monospace;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    text-align: left;
    width: 100%;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
}

.stats-card-simulator {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-blue);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    width: 100%;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.simulator-bar {
    width: 100%;
    height: 12px;
    background-color: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.simulator-bar-fill {
    height: 100%;
    background-color: var(--color-accent-main);
    border-radius: 6px;
    width: 75%;
}

.simulator-bar-fill.green { background-color: var(--color-success-green); width: 90%; }
.simulator-bar-fill.orange { background-color: var(--color-warning-orange); width: 50%; }

/* ==========================================
   4. Call-To-Action (Bottom)
   ========================================== */
.detail-cta-section {
    background-color: var(--color-bg-very-light-grey);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 1px solid var(--color-light-blue);
}

.detail-cta-box h3 {
    font-size: 1.85rem;
    margin-bottom: var(--spacing-xs);
}

.detail-cta-box p {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
}

.detail-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ==========================================
   5. Responsive Adaptations
   ========================================== */
@media (max-width: 991px) {
    .service-detail-hero {
        min-height: auto;
        padding: 140px 0 60px;
    }
    .service-detail-hero .hero-caption {
        padding: 30px 25px;
        max-width: 100%;
        border-radius: 12px;
    }
    .service-detail-hero h1 {
        font-size: 2.4rem;
    }
    .service-detail-hero p {
        font-size: 1rem;
    }
    .detail-grid, .detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .service-detail-hero {
        padding: 120px 0 50px;
    }
    .service-detail-hero .hero-caption {
        padding: 25px 20px;
    }
    .service-detail-hero h1 {
        font-size: 2rem;
    }
    .service-detail-hero p {
        font-size: 0.95rem;
    }
    .detail-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 575px) {
    .service-detail-hero {
        padding: 90px 0 40px;
    }
    .service-detail-hero .hero-caption {
        padding: 20px 15px;
        border-radius: 10px;
    }
    .service-detail-hero h1 {
        font-size: 1.6rem;
    }
    .service-detail-hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .service-badge-tag {
        font-size: 0.7rem;
        padding: 5px 14px;
    }
}
