/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e63946;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ===================================
   Commitment Section
   =================================== */
   .commitment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cards-container,
.services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.commitment-card,
.service-card {
    flex: 1 1 280px;
    max-width: 350px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: var(--transition-slow);
    position: relative;
    /* overflow: hidden; */
}

.commitment-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--ptn-blue));
    border-radius: var(--radius-xl);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.commitment-card:hover,.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-default);
    border-color: transparent;
}

.commitment-card:hover::before, .service-card:hover::before {
    transform: scaleX(1);
}

.center-text {
    text-align: center;
    margin-top: -15px;
}


.commitment-card .commitment-svg {
    width: 30px;
    height: 30px;
    fill: var(--color-primary);
    transition: var(--transition);
}
.commitment-card:hover .commitment-svg {
    transform: scale(1.1) rotate(5deg);
}


/* ===================================
   Services Section
   =================================== */
   .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--white);
    transition: var(--transition);
}

.service-card:hover .img-wrapper {
    transform: scale(1.05);
    padding: 5px;
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
}

.service-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .img-wrapper img {
    transform: scale(1.15);
}

.service-card h3 {
    text-align: center;
    font-weight: 500;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover h3::after {
    opacity: 1;
    width: 60px;
}

.service-card .text {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-primary);
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--ptn-green-light);
    color: var(--ptn-green);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}


/* ===== Stats Section - New Design ===== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}

.stats-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats-section svg{
    width: 40px;
    height: 50px;
    color: #e63946;
}
.commitment-svg{
    fill: #e63946;
}

.stat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 20px 150px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    /* box-shadow: 0 30px 15px rgba(230, 57, 70, 0.15); */
    border-color: #e63946;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: #495057;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.stat-bar {
    width: 0;
    height: 3px;
    background: #e63946;
    margin: 15px auto 0;
    transition: width 0.4s ease;
    border-radius: 3px;
}

.stat-card:hover .stat-bar {
    width: 60px;
}

/* ===== Process Section - New Design (Timeline) ===== */
.process-section-new {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e63946;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 50px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e63946 20%, #e63946 80%, transparent);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.timeline-marker {
    position: relative;
    margin-bottom: 20px;
}

.marker-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: #e63946;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 50%;
    line-height: 70px;
    text-align: center;
    box-shadow: 0 10px 15px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.timeline-item:hover .marker-number {
    transform: scale(1.1);
    box-shadow: 0 15px 15px rgba(230, 57, 70, 0.4);
}

.marker-line {
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100% - 70px);
    height: 2px;
    background: #e63946;
    transform: translateY(-50%);
    opacity: 0.3;
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #e63946;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: transparent;
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-3px);
}

/* ===== Responsive ===== */



/* Tablet Landscape */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .commitment-card, .service-card{ max-width: 100%;}
    
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        flex-direction: column;
        align-items: center;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .timeline-item {
        width: 100%;
        max-width: 500px;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 0;
    }
    
    .timeline-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .marker-line {
        display: none;
    }
    
    .timeline-content {
        flex: 1;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .stats-grid-new {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .marker-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        line-height: 60px;
    }
}

