/*========================================
  DUE DILIGENCE PAGE - COMPREHENSIVE CSS
  Orange-White Theme | Modern Fintech Design
  ========================================*/

:root {
    --primary: #FF6B35;
    --secondary: #E93C05;
    --tertiary: #555555;
    --light: #FFF4F0;
    --dark: #1A1A1A;
}


/* ========================================
   KEYFRAME ANIMATIONS (7 per specifications)
   ======================================== */

@keyframes ddFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes ddFloatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-15px) translateX(10px); }
    50% { transform: translateY(-20px) translateX(0px); }
    75% { transform: translateY(-15px) translateX(-10px); }
}

@keyframes ddPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes ddShimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes ddFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes ddScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ddBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/* ========================================
   HERO SECTION
   ======================================== */

.dd-hero-section {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 180, 120, 0.03) 100%);
    overflow: hidden;
    margin-top: 110px;
}

.dd-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 107, 53, 0.08) 0%, transparent 50%, rgba(255, 107, 53, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
}

.dd-floating-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.dd-circle-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    animation: ddFloat 8s ease-in-out infinite;
}

.dd-circle-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(233, 60, 5, 0.12) 0%, transparent 70%);
    bottom: 15%;
    left: 8%;
    animation: ddFloatSlow 9s ease-in-out infinite;
    animation-delay: 1s;
}

.dd-hero-graffiti {
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.08);
    transform: rotate(-8deg);
    letter-spacing: 3px;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

.dd-hero-content {
    position: relative;
    z-index: 2;
}

.dd-hero-pill {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    animation: ddScaleIn 0.8s ease-out both;
    transition: all 0.3s ease;
}

.dd-hero-pill:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.2);
}

.dd-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin: 20px 0;
}

.dd-hero-subtitle {
    font-size: 1.1rem;
    color: var(--tertiary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.dd-btn-ripple {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dd-btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dd-btn-ripple:hover::after {
    width: 300px;
    height: 300px;
}

.dd-btn-ripple:hover {
    transform: translateY(-3px);
}

.dd-hero-image {
    position: relative;
    height: 350px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 180, 120, 0.05) 100%);
    border: 2px dashed var(--primary);
    overflow: hidden;
    animation: ddFadeInUp 0.8s ease-out 0.3s both;
}

.dd-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.dd-hero-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.dd-hero-image-inner i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: ddPulse 2s ease-in-out infinite;
}

.dd-hero-image-inner h5 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.dd-hero-image-inner p {
    color: var(--tertiary);
    font-size: 0.9rem;
    margin-bottom: 0;
}


/* ========================================
   SECTION STYLES
   ======================================== */

.dd-section-light {
    background: linear-gradient(135deg, #FFF4F0 0%, #FFFFFF 50%, #FFF4F0 100%);
    position: relative;
}

.dd-section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dd-section-light > .container {
    position: relative;
    z-index: 1;
}


/* ========================================
   INFO CARDS
   ======================================== */

.dd-info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary);
}

.dd-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
}

.dd-info-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.dd-info-card p {
    color: var(--tertiary);
    line-height: 1.7;
    margin-bottom: 12px;
}


/* ========================================
   CHECKLISTS
   ======================================== */

.dd-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dd-checklist li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    animation: ddFadeInUp 0.6s ease-out both;
    animation-delay: calc(0.05s * var(--i));
}

.dd-checklist li:hover {
    transform: translateX(8px);
    color: var(--primary);
}

.dd-checklist i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.1rem;
    animation: ddPulse 2s ease-in-out infinite;
    animation-delay: calc(0.1s * var(--i));
}


/* ========================================
   PROCESS CARDS
   ======================================== */

.dd-process-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.dd-process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.dd-process-card:hover::before {
    transform: scaleX(1);
}

.dd-process-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: var(--primary);
}

.dd-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.dd-process-card:hover .dd-num {
    transform: scale(1.15) rotate(5deg);
}

.dd-process-card h3 {
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.dd-process-card p {
    color: var(--tertiary);
    margin-bottom: 0;
    line-height: 1.6;
}


/* ========================================
   BENEFIT CARDS
   ======================================== */

.dd-benefit-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.dd-benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.15);
    border-color: var(--primary);
}

.dd-benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
    animation: ddBounce 2s ease-in-out infinite;
}

.dd-benefit-card:hover i {
    transform: scale(1.3) rotate(10deg);
    animation: none;
}

.dd-benefit-card h3 {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.dd-benefit-card p {
    color: var(--tertiary);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* ========================================
   PROBLEM SECTION
   ======================================== */

.dd-problem-media {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 180, 120, 0.05) 100%);
    border: 2px dashed var(--primary);
    border-radius: 20px;
    padding: 50px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dd-problem-media i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: ddPulse 2s ease-in-out infinite;
}

.dd-problem-media h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.dd-problem-media p {
    color: var(--tertiary);
    margin-bottom: 0;
}

.dd-problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dd-problem-list li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    animation: ddFadeInUp 0.6s ease-out both;
}

.dd-problem-list li:last-child {
    border-bottom: none;
}

.dd-problem-list li:hover {
    transform: translateX(8px);
    color: var(--primary);
}

.dd-problem-list i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.dd-problem-list li:hover i {
    transform: scale(1.3);
}


/* ========================================
   FAQ SECTION
   ======================================== */

.dd-faq {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.dd-faq .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    background: white;
    transition: all 0.3s ease;
}

.dd-faq .accordion-item:last-child {
    border-bottom: none;
}

.dd-faq .accordion-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, transparent 100%);
}

.dd-faq .accordion-header {
    margin-bottom: 0;
}

.dd-faq .accordion-button {
    padding: 20px;
    font-weight: 600;
    color: var(--dark);
    background: transparent;
    border: none;
    box-shadow: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.dd-faq .accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.dd-faq .accordion-button:not(.collapsed) {
    background: rgba(255, 107, 53, 0.05);
    color: var(--primary);
}

.dd-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FF6B35' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-color: transparent;
    filter: brightness(0) saturate(100%) invert(45%) sepia(76%) saturate(1445%) hue-rotate(7deg) brightness(105%) contrast(105%);
}

.dd-faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FF6B35' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.dd-faq .accordion-body {
    padding: 20px;
    background: white;
    color: var(--tertiary);
    border: none;
    line-height: 1.7;
}


/* ========================================
   CTA CARD
   ======================================== */

.dd-cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    animation: ddFadeInUp 0.8s ease-out;
}

.dd-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dd-cta-card h2 {
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.dd-cta-card p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.dd-cta-card .btn {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .dd-hero-section {
        padding: 80px 0 100px;
    }

    .dd-hero-title {
        font-size: 2.5rem;
    }

    .dd-hero-graffiti {
        font-size: 2.5rem;
        top: 15%;
        left: 2%;
    }

    .dd-cta-card {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .dd-hero-section {
        padding: 60px 0 80px;
        margin-top: 80px;
    }

    .dd-hero-title {
        font-size: 2rem;
    }

    .dd-hero-subtitle {
        font-size: 1rem;
    }

    .dd-hero-image {
        height: 250px;
        margin-top: 30px;
    }

    .dd-circle-1, .dd-circle-2 {
        display: none;
    }

    .dd-process-card,
    .dd-benefit-card,
    .dd-info-card {
        padding: 25px;
    }

    .dd-cta-card {
        padding: 30px;
    }

    .dd-cta-card h2 {
        font-size: 1.8rem;
    }
}
