/* ----------------------------------------------- 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-Cards -----------------------------------------------*/
.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);
    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;
}

/* ----------------------------------------------- Product-Category-Images -----------------------------------------------*/
  .slide-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(var(--ptn-black-rgb), 0.08);
    transition: box-shadow 0.3s;
    background: var(--white);
  }
  
  .slide-card:hover {
    box-shadow: 0 20px 30px rgba(var(--ptn-black-rgb), 0.15);
  }
  
  .slide-card a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }
  
  .slide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
  }
  
  .slide-card:hover img {
    transform: scale(1.08);
  }
  
  .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(var(--ptn-black-dark-rgb), 0.9), transparent);
    color: var(--white);
    padding: 24px 16px 16px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transform: translateY(0);
    transition: background 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
/*   
  .slide-card:hover .slide-caption {
    background: linear-gradient(to top, rgba(var(--ptn-red-rgb), 0.85), rgba(var(--ptn-black-dark-rgb), 0.3));
  } */
  


/* ----------------------------------------------- Why-us -----------------------------------------------*/
.why-us-new {
    background: #f8fafc;
    padding: 30px 0;
    margin: 0;
}

.why-us-new .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Features Timeline */
.features-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 60px;
    position: relative;
    padding-top: 10px;
}

.features-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #e63946 20%, #e63946 80%, transparent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid white;
}

.timeline-item:nth-child(odd) {
    grid-column: 1;
}

.timeline-item:nth-child(even) {
    grid-column: 2;
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.08);
    border: 1px solid #e63946;

}

.timeline-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background: #e63946;
}

.timeline-icon svg {
    width: 25px;
    height: 25px;
    stroke: #e63946;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon svg {
    stroke: white;
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}


/* ----------------------------------------------- Recent-Projects -----------------------------------------------*/
.recent-projects {
    display: flex;
    flex-direction: column;
}

.projects-text {
    padding: 0px 100px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-default);
    transition: transform 0.3s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);

}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-default);
    border-color: transparent;
}

.project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 2rem;
    position: relative;
    background-color: var(--white);
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition);
}

.project-card:hover .project-content h3 {
    color: var(--color-primary);
}

.project-content .text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--ptn-black-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-card:hover .project-location {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.project-location .emoji {
    width: 16px;
    height: 16px;
}
/* ===== Home Contact Section ===== */
.home-contact-section {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* ===== Get In Touch ===== */
.home-contact-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.form-heading {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.form-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e63946;
}

.contact-form {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    gap: 20px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 14px 30px;
    background: #e63946;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.submit-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* ===== FAQ ===== */
.home-faq {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 15px;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 18px 20px;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #e63946;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(0deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* ===== Urgent Section ===== */
.urgent-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-top: 20px;
}

.urgent-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.urgent-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.urgent-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #e63946;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.urgent-btn:hover {
    background: transparent;
    border-color: #e63946;
    color: #e63946;
    transform: translateY(-2px);
}


/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 992px) {
    .home-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .home-contact-form,
    .home-faq {
        padding: 30px;
    }
    
    .form-heading {
        font-size: 1.6rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .home-contact-section {
        padding: 50px 0;
    }
    
    .home-contact-form,
    .home-faq {
        padding: 25px;
    }
    
    .urgent-section {
        padding: 30px 20px;
    }
    
    .urgent-title {
        font-size: 1.6rem;
    }
    
    .urgent-text {
        font-size: 1rem;
    }
    
    .urgent-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .form-heading {
        font-size: 1.4rem;
    }
    
    .home-contact-form,
    .home-faq {
        padding: 20px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
}


/* ===== Responsive-Commitment ===== */
@media (max-width: 992px) {
    .commitment, .services, .recent-projects{
        width: 100%;
    }
    .projects-grid{
        padding: 0px 40px;
    }
}

@media (max-width: 1140px) {
    .commitment, .services, .recent-projects{
        width: 100%;
    }
    .projects-grid{
        padding: 0px 40px;
    }
}

/* ===== Responsive-Why-Us ===== */

/* Tablet */
@media (max-width: 992px) {
    .features-timeline {
        gap: 30px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .why-us-new .section-title {
        font-size: 2.2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .features-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-timeline::before {
        display: none;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        grid-column: auto;
    }
    
    .timeline-item {
        padding: 15px;
    }
    
    .why-us-new {
        padding: 50px 0;
    }
    
    .why-us-new .section-title {
        font-size: 2rem;
    }
    
    .why-us-new .section-description {
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .why-us-new .section-title {
        font-size: 1.8rem;
    }
}


/* RESPONSIVE */

@media (max-width: 768px) {
    .about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .about {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .about-img,
    .about-text {
        width: 100%;
        gap: 3px;
    }

    /* Commitment-Services Section */
    .commitment-card,
    .service-card {
        width: 100%;
    }

    .cards-container,
    .services {
        flex-direction: row;
        flex-wrap: wrap;
        /* align-items: center;
        justify-content: center; */
        padding: 0;
    }

    /* Recent-Projects */

    .projects-text {
        padding: 0px 0px;
    }

}