/*
 * Service Page Styles (service.css)
 * Used for test.php and similar service pages
 * =============================================
 */

/* =============================================
   COURSE HIGHLIGHTS SECTION
   ============================================= */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.highlight-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-content h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: var(--secondary);
    font-weight: 700;
}

.highlight-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   INDUSTRY INSIGHTS SECTION
   ============================================= */
.info-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.info-block h3 {
    color: var(--secondary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.info-block p {
    text-align: justify;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.full-width-block {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.full-width-block p {
    font-size: 1.1rem;
}

.eligibility-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary);
}

.eligibility-box p {
    font-size: 1.1rem;
}

.eligibility-box h5 {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 700;
}

.eligibility-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.eligibility-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.eligibility-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .info-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =============================================
   COURSE DURATION & SYLLABUS SECTION
   ============================================= */
.syllabus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.syllabus-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e4e8;
}

.syllabus-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.syllabus-header:hover {
    background: #1a3c61;
}

.syllabus-header h5 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.syllabus-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--secondary);
}

.syllabus-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.syllabus-content {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.syllabus-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.syllabus-content li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.syllabus-content li::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 0.8rem;
}

.syllabus-item.active .syllabus-body {
    max-height: 600px;
}

.syllabus-item.active .syllabus-toggle-icon {
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .syllabus-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   INDUSTRY TOOLS SECTION
   ============================================= */
.tools-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: #fff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tool-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tool-card .icon-wrapper i {
    color: #fff;
    transition: all 0.3s ease;
}

.tool-card h4 {
    color: var(--secondary);
    transition: color 0.3s ease;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tool-card ul {
    margin: 0;
    padding: 0 1rem;
    flex-grow: 1;
    list-style: none !important;
    font-size: 1rem;
}

.tool-card ul li {
    color: var(--text-dark);
    transition: color 0.3s ease;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.tool-card ul li i {
    color: var(--primary);
    transition: color 0.3s ease;
    margin-right: 12px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Tool Card Hover Effects */
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(10, 38, 71, 0.15);
    background: var(--secondary);
    border-color: var(--secondary);
    border-bottom: 5px solid var(--primary);
}

.tool-card:hover .icon-wrapper {
    background: #fff;
    transform: scale(1.1);
}

.tool-card:hover .icon-wrapper i {
    color: var(--secondary);
}

.tool-card:hover h4 {
    color: #fff;
}

.tool-card:hover ul li {
    color: rgba(255, 255, 255, 0.9);
}

.tool-card:hover ul li i {
    color: var(--primary);
}

/* Practical Exercises Box */
.practical-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f5;
    position: relative;
    overflow: hidden;
}

.practical-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .tools-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =============================================
   CURRICULUM MODULES SECTION
   ============================================= */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.module-card {
    background: var(--secondary);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.module-header h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.module-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    white-space: nowrap;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.module-list li i {
    color: #fff;
    margin-right: 12px;
    margin-top: 5px;
    font-size: 0.9em;
    flex-shrink: 0;
}

.module-description {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

.module-content p.mb-2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem !important;
    /* font-weight: 300; */
    color: #ffb800;
    line-height: 1.4;
    text-align: justify;
}

.module-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 1;
    margin-bottom: 0;
    color: #bbb9b9ff;
    text-align: justify;
}



@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   KEY BENEFITS SECTION (Why Choose PCRTI)
   ============================================= */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
}

.benefit-item i {
    color: var(--primary);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PLACEMENT SUPPORT SECTION
   ============================================= */
.placement-section {
    background-color: #f8fafc !important;
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

.placement-section .section-header h2 {
    color: var(--secondary);
    font-weight: 700;
}

.placement-section .section-subtitle {
    color: var(--text-dark);
    opacity: 0.8;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Process Boxes Grid Layout */
.placement-section .process-grid-box {
    background: #fff;
    padding: 2rem;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.placement-section .process-grid-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.placement-section .box-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 0;
    right: 15px;
    line-height: 1;
}

.placement-section .process-grid-box h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.placement-section .process-grid-box p {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Decorative line */
.placement-section .process-grid-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.placement-section .process-grid-box:hover::before {
    opacity: 1;
}

/* Content Boxes */
.placement-section .recruiters-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.placement-section .recruiters-box h4 {
    font-size: 1.5rem;
}

.placement-section .job-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #eee;
}

.placement-section .timeline-box {
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

/* Salary Header Banner */
.salary-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d0b42 100%);
    padding: 2.5rem 2rem;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.salary-header h3 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.salary-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin: 0;
}

/* Salary Compact Section */
.salary-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, #0d0b42 100%);
    padding: 1.25rem 2rem;
    border-radius: 0 0 12px 12px;
    border-top: 3px solid var(--primary);
    gap: 2rem;
}

.salary-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.salary-items {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    gap: 0;
}

.salary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0.5rem 1rem;
}

.salary-item .exp {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.salary-item .amount {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.salary-divider {
    width: 1px;
    height: 35px;
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .salary-compact {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .salary-items {
        justify-content: center;
    }
}

/* Journey Step Cards */
.placement-section .journey-step-card {
    flex: 1 1 calc(25% - 0.75rem);
    min-width: 200px;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.placement-section .journey-step-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.placement-section .journey-step-card .step-number {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.placement-section .journey-step-card h6 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.placement-section .journey-step-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Job Opportunities Cards */
.placement-section .job-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.placement-section .job-card-wrapper {
    flex: 1 1 45%;
    min-width: 300px;
}

.placement-section .job-card-hover {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-bottom: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.placement-section .job-card-hover:hover {
    border-bottom-color: var(--secondary);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.placement-section .job-card-hover h5 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.3rem;
}

.placement-section .job-card-hover ul li {
    list-style: none;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1f1f1f;
}

.placement-section .job-card-hover ul li i {
    margin-right: 0.75rem;
    color: var(--primary);
}

/* =============================================
   CIRCULAR INFOGRAPHIC (Placement Process)
   ============================================= */
.circular-process {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.process-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 115px;
    height: 115px;
    background: linear-gradient(135deg, var(--secondary) 0%, #0d0b42 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 4px solid #888;
}

.process-center span {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.process-center strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.process-step {
    position: absolute;
    width: 130px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.step-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.step-circle.color-1 {
    background: #FF6B6B;
}

.step-circle.color-2 {
    background: #4ECDC4;
}

.step-circle.color-3 {
    background: #45B7D1;
}

.step-circle.color-4 {
    background: #96CEB4;
}

.step-circle.color-5 {
    background: #FFEAA7;
    color: #333;
}

.step-circle.color-6 {
    background: #DDA0DD;
}

.step-circle.color-7 {
    background: #F39C12;
}

.process-step h6 {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.process-step p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

.process-step:hover .step-circle {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Step Positions (7 steps around circle) */
.process-step:nth-child(2) {
    top: 8%;
    left: 50%;
}

.process-step:nth-child(3) {
    top: 10%;
    left: 50%;
}

.process-step:nth-child(4) {
    top: 20%;
    left: 85%;
}

.process-step:nth-child(5) {
    top: 50%;
    left: 90%;
}

.process-step:nth-child(6) {
    top: 80%;
    left: 78%;
}

.process-step:nth-child(7) {
    top: 86%;
    left: 37%;
}

.process-step:nth-child(8) {
    top: 58%;
    left: 10%;
}

.process-step:nth-child(9) {
    top: 24%;
    left: 15%;
}

/* Connecting lines using SVG circle */
.process-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: 55%;
    border: 3px dashed #ccc;
    border-radius: 50%;
    z-index: 1;
}

@media (max-width: 768px) {
    .circular-process {
        max-width: 100%;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .process-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 1.5rem;
    }

    .process-ring {
        display: none;
    }

    .process-step {
        position: relative;
        top: auto !important;
        left: auto !important;
        transform: none;
        width: 100%;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
        background: #fff;
        padding: 1rem 1.25rem;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        border-left: 4px solid var(--primary);
    }

    .process-step .step-circle {
        margin: 0 1rem 0 0;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-step h6 {
        text-align: left;
        font-size: 1rem;
        margin: 0;
        flex: 1;
    }

    .process-step p {
        text-align: left;
        width: 100%;
        margin: 0.25rem 0 0 0;
        padding-left: 56px;
        font-size: 0.8rem;
    }
}