/* IPD Services Specific Styles */

.ipd-hero-section {
    position: relative;
    overflow: hidden;
}

.ipd-hero-image {
    height: 400px;
    object-fit: cover;
    filter: brightness(0.8);
}

.ipd-intro-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.ipd-intro-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.ipd-intro-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--hover-color);
    border-radius: 0 15px 15px 0;
}

.ipd-stats-section {
    background: var(--primary-color);
    color: white;
    padding: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--hover-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.9;
}

.ipd-features-section {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--hover-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white !important;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.feature-icon i {
    color: white !important;
}

.feature-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.ipd-departments-section {
    padding: 80px 0;
    background: white;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.department-card-ipd {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.department-card-ipd:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.department-header {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--hover-color)
    );
    color: white;
    padding: 20px;
    text-align: center;
}

.department-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.department-icon i {
    color: white !important;
}

.department-body {
    padding: 25px;
}

.department-features {
    list-style: none;
    padding: 0;
}

.department-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.department-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--hover-color);
    font-weight: bold;
}

.department-features li:last-child {
    border-bottom: none;
}

.ipd-facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.facility-timeline {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.facility-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--hover-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

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

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

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 60px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-content::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(40, 167, 69, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 10px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-icon {
    position: absolute;
    top: 15px;
    left: 58px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.timeline-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    z-index: 3;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.timeline-icon i {
    color: white !important;
}

.ipd-process-section {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e9ecef;
    z-index: 1;
}

.process-step {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 0 15px;
    border-top: 4px solid var(--hover-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.step-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.ipd-team-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6f42c1, #563d7c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white !important;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    transition: all 0.3s ease;
}

.team-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.team-icon i {
    color: white !important;
}

/*.ipd-contact-section {*/
/*    padding: 60px 0;*/
/*    background: #f8f9fa;*/
/*}*/

/*.contact-info-card {*/
/*    background: white;*/
/*    border-radius: 15px;*/
/*    padding: 30px;*/
/*    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);*/
/*    text-align: center;*/
/*    height: 100%;*/
/*}*/

/*.contact-info-card .contact-icon {*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    background: linear-gradient(135deg, #17a2b8, #138496);*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    margin: 0 auto 20px;*/
/*    color: white !important;*/
/*    font-size: 1.5rem;*/
/*    box-shadow: 0 3px 12px rgba(23, 162, 184, 0.3);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.contact-icon:hover {*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.4);*/
/*}*/

/*.contact-icon i {*/
/*    color: white !important;*/
/*}*/

/* Responsive Design */
@media (max-width: 768px) {
    .ipd-hero-image {
        height: 250px;
    }

    .ipd-intro-content {
        padding: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .facility-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item .timeline-content::after {
        display: none;
    }

    .timeline-icon {
        top: 15px !important;
        left: 15px !important;
        transform: none !important;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        margin: 0;
    }

    .department-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}
