/* ===== MODERN GRADIENT DESIGN FOR ALL LOAN PAGES ===== */

/* Scroll Animation */
.section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.content-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.content-section:first-of-type {
    padding-top: 150px;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #dbeafe 100%);
}

.content-section:first-of-type::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    border-radius: 50%;
    opacity: .15;
    z-index: 0;
}

.content-section:first-of-type::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    opacity: .15;
    z-index: 0;
}

.content-section:first-of-type .container {
    position: relative;
    z-index: 1;
}

.content-section:nth-of-type(even) {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.content-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #047857;
    margin: 30px 0 15px;
}

.content-section p, .content-section ul {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section ul {
    padding-left: 20px;
}

.content-section img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.box-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.box-section::before {
    content: "";
    position: absolute;
    left: -150px;
    top: 50%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #10b981, #34d399);
    border-radius: 50%;
    opacity: .08;
    z-index: 0;
}

.box-section .container {
    position: relative;
    z-index: 1;
}

.box-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 50px;
}

.box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.box-item {
    background: #fff;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateX(40px);
}

.section.show .box-item {
    opacity: 1;
    transform: translateX(0);
}

.section.show .box-item:nth-child(1) { transition-delay: 0.1s; }
.section.show .box-item:nth-child(2) { transition-delay: 0.2s; }
.section.show .box-item:nth-child(3) { transition-delay: 0.3s; }
.section.show .box-item:nth-child(4) { transition-delay: 0.4s; }

.box-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
    border-color: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.box-item:hover h3,
.box-item:hover p {
    color: #fff;
}

.box-item:hover i {
    color: #fff;
}

.box-item i {
    font-size: 50px;
    color: #06b6d4;
    margin-bottom: 20px;
    display: block;
}

.box-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #047857;
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.box-item p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    transition: color 0.4s ease;
}

.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    border-radius: 50%;
    opacity: .1;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.faq-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #047857;
    margin-bottom: 50px;
}

.faq-toc {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

.faq-toc h4 {
    color: #047857;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 20px;
}

.faq-toc a {
    display: block;
    padding: 12px 15px;
    color: #047857;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 8px;
    font-size: 15px;
    cursor: pointer;
    position: relative;
}

.faq-toc a:hover,
.faq-toc a.active {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #fff;
    padding-left: 20px;
}

.faq-toc a.active::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #06b6d4;
    font-size: 20px;
    animation: arrowBounce 1s infinite;
}

@keyframes arrowBounce {
    0%, 100% { right: -25px; }
    50% { right: -30px; }
}

.faq-answer {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #10b981;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer h3 {
    color: #047857;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-answer p {
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
}

/* Button Styles */
.btn-success {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4) !important;
    transition: all 0.3s !important;
}

.btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5) !important;
}

/* Info Table Styles */
.info-table {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-table tr {
    border-bottom: 1px solid #e9ecef;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 20px;
    font-size: 16px;
}

.info-table td:first-child {
    font-weight: 600;
    color: #047857;
    width: 40%;
}

.info-table td:last-child {
    color: #6c757d;
}
