﻿/* Main Styles */
:root {
    --pp-primary: #0f3b6c; /* Primary color */
    --pp-secondary: #fa9128; /* Secondary color */
    --pp-light: #f8f9fa; /* Light background */
    --pp-dark: #2c3e50; /* Dark text */
    --pp-gray: #7f8c8d; /* Gray text */
}

.service-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

    .service-card .card-body {
        padding: 30px;
    }

    .service-card .card-title {
        color: var(--pp-dark);
        font-weight: 600;
        margin-bottom: 15px;
    }

    .service-card .card-text {
        color: var(--pp-gray);
        font-size: 0.95rem;
    }

.service-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    border: var(--pp-primary) 0.5px solid !important;
    color: var(--pp-primary);
    font-weight: 500;
    transition: all 0.3s;
}

    .btn-outline:hover {
        background-color: var(--pp-primary) !important;
        color: white;
    }

/* Carousel Styles */
.carousel-content {
    position: absolute;
    bottom: 20%;
    left: 5%;
    z-index: 20;
    color: white;
    max-width: 45%;
}

.carousel-form {
    position: absolute;
    top: 15%;
    right: 5%;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
    filter: brightness(0.7);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--pp-light);
}

.stats-box {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

    .stats-box h2 {
        color: var(--pp-secondary);
        font-weight: bold;
    }

.partner-logos img {
    max-height: 60px;
    margin: 15px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

    .partner-logos img:hover {
        filter: grayscale(0);
        opacity: 1;
    }

/* FAQ Section */
.faq-section {
    background-color: var(--pp-light);
    padding: 80px 0;
}

.faq-card {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-header {
    background-color: #fff;
    border-radius: 10px !important;
}

/* Enhanced About Section */
.about-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-header {
    position: relative;
}

    .section-header .subtitle {
        color: var(--pp-secondary);
        font-weight: 600;
        letter-spacing: 1px;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 10px;
    }

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--pp-primary), var(--pp-secondary));
    margin: 20px 0;
    border-radius: 2px;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vision-mission-box {
    background-color: var(--pp-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.about-image-grid .image-box {
    position: relative;
    height: 200px;
    transition: all 0.3s ease;
}

    .about-image-grid .image-box img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .about-image-grid .image-box:hover img {
        transform: scale(1.05);
    }

    .about-image-grid .image-box .overlay-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        padding: 15px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .about-image-grid .image-box:hover .overlay-content {
        opacity: 1;
    }

/* FAQ Accordion Styles */
.faq-section {
    background-color: var(--pp-light);
}

.accordion-button {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: left;
    white-space: normal;
    padding-left: 10px;
}

    .accordion-button:not(.collapsed) {
        background-color: #fff;
        color: var(--pp-secondary);
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    }

    .accordion-button:focus {
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        border-color: rgba(0,0,0,0.1);
    }

.accordion-body {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    padding: 10px;
}

.accordion-item {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0.5rem !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-section {
        padding: 60px 0;
    }

    .vision-mission-box {
        padding: 20px;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-content, .carousel-form {
        position: relative;
        max-width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        padding: 20px;
        background: #2c3e50;
        color: white;
    }

    .carousel-form {
        margin-top: 20px;
    }
}

/* Additional Styles for P.P. Solutions Branding */
.btnbg {
    background-color: var(--pp-primary) !important;
    color: white !important;
}

    .btnbg:hover {
        background-color: #0c2d52 !important;
    }

.btn-outline-success {
    border-color: var(--pp-primary) !important;
    color: var(--pp-primary) !important;
}

    .btn-outline-success:hover {
        background-color: var(--pp-primary) !important;
        color: white !important;
    }

/* Navbar active link */
.nav-link.active {
    color: var(--pp-secondary) !important;
}

/* FAQ plus icons */
.faq-section .fa-plus {
    color: var(--pp-primary) !important;
}

/* Why Partner section icons */
.why-partner-section .fas {
    color: var(--pp-secondary) !important;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem; /* Space between images */
}

.rounded {
    border-radius: 0.5rem !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
