* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #F4F9FF 0%, #FFFFFF 65%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo {
    text-align: center;
}

.logo-image {
    max-height: 100px;
    width: auto;
    display: inline-block;
}

/* Main Content */
main {
    padding: 60px 0;
}

.content-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.left-section {
    flex: 1;
    max-width: 500px;
}

.right-section {
    flex: 1;
    position: relative;
    min-height: 500px;
}

/* Left Section */
h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight {
    color: #00cc66;
}

.subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.form-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.currency {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
}

input[type="text"] {
    width: 100%;
    padding: 15px 15px 15px 35px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #005BD1;
}

.or-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.amount-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-btn:hover {
    border-color: #005BD1;
    color: #005BD1;
    background: #F4F9FF;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #005BD1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background: #004aad;
}

.info-section {
    margin-top: 25px;
    text-align: center;
}

.apr-info {
    font-size: 13px;
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

.security-info {
    font-size: 13px;
    color: #b8b8b8;
    line-height: 1.6;
}

.disclosure-link {
    color: #005BD1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.disclosure-link:hover {
    color: #004aad;
    text-decoration: underline;
}

/* Right Section */
.image-placeholder {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.background-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: linear-gradient(135deg, #b3d9ff 0%, #6eb5e0 50%, #5aa3d6 100%);
    border-radius: 45% 55% 60% 40% / 50% 60% 40% 50%;
    z-index: 1;
    opacity: 0.4;
}

.background-shape::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(225deg, rgba(135, 206, 250, 0.3) 0%, rgba(100, 180, 240, 0.2) 100%);
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
    z-index: -1;
}

.background-shape::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 70%;
    height: 70%;
    background: linear-gradient(45deg, rgba(173, 216, 230, 0.25) 0%, rgba(135, 206, 250, 0.15) 100%);
    border-radius: 50% 60% 40% 50% / 60% 40% 60% 40%;
    z-index: -1;
}

/* Animation keyframes */
@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

.info-card {
    position: absolute;
    background: #FFFFFF;
    padding: 18px 25px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.top-card {
    top: 60px;
    left: -80px;
    max-width: 280px;
    animation: floatUp 4s ease-in-out infinite;
}

.bottom-card {
    bottom: 60px;
    right: -80px;
    max-width: 320px;
    animation: floatDown 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.icon {
    font-size: 28px;
    background: #00cc66;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.green-icon {
    background: #00cc66;
    color: white;
}

.card-text {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.card-text strong {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 17px;
}

/* Responsive */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .left-section,
    .right-section {
        max-width: 100%;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .top-card,
    .bottom-card {
        position: static;
        margin: 20px auto;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-content h2 {
    color: #005BD1;
    font-size: 32px;
    margin-bottom: 25px;
    padding-right: 40px;
}

.modal-body h3 {
    color: #1a1a1a;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-body h4 {
    color: #005BD1;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 600;
}

.modal-body p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    font-size: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
    line-height: 1;
    padding: 0;
}

.close-btn:hover {
    background: #005BD1;
    color: white;
    transform: rotate(90deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .modal-body h3 {
        font-size: 16px;
    }
    
    .modal-body p {
        font-size: 14px;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}

/* Loan Types Section */
.loan-types-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.loan-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.loan-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.loan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.loan-icon {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.loan-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Responsive for Loan Types */
@media (max-width: 768px) {
    .loan-types-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .loan-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .loan-card {
        padding: 25px 15px;
    }
    
    .loan-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .loan-card h3 {
        font-size: 16px;
    }
}

/* Three Steps Section */
.three-steps-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.steps-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.steps-image {
    flex: 1.2;
}

.steps-img {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    object-fit: cover;
}

.steps-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    background: #FFFFFF;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-card:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.step-2 {
    margin-left: 60px;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: #00cc66;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 5px;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 5px;
}

.step-info p {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Three Steps */
@media (max-width: 968px) {
    .three-steps-section {
        padding: 50px 0;
    }
    
    .steps-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-placeholder-steps {
        height: 300px;
    }
    
    .step-card {
        padding: 20px 25px;
    }
    
    .step-2 {
        margin-left: 0;
    }
    
    .step-number {
        font-size: 36px;
    }
    
    .step-info h3 {
        font-size: 18px;
    }
    
    .step-info p {
        font-size: 14px;
    }
}

/* Repayment Plan Section */
.repayment-section {
    background: linear-gradient(135deg, #F4F9FF 0%, #FFFFFF 65%);
    padding: 80px 0;
}

.representative-text {
    text-align: center;
    color: #005BD1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.repayment-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.repayment-table th {
    background: #0F172A;
    color: #FFFFFF;
    font-weight: 600;
    padding: 20px 25px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.repayment-table thead th {
    font-size: 16px;
}

.repayment-table td {
    background: #FFFFFF;
    color: #000000;
    padding: 20px 25px;
    text-align: left;
    font-size: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.repayment-table tbody tr:last-child th,
.repayment-table tbody tr:last-child td {
    border-bottom: none;
}

.disclaimer-text {
    text-align: center;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive for Repayment Table */
@media (max-width: 968px) {
    .repayment-section {
        padding: 50px 0;
    }
    
    .table-wrapper {
        margin: 30px -20px;
    }
    
    .repayment-table th,
    .repayment-table td {
        padding: 15px 12px;
        font-size: 13px;
    }
    
    .disclaimer-text {
        font-size: 12px;
        padding: 0 20px;
    }
}

/* FAQ Section */
.faq-section {
    background: #FFFFFF;
    padding: 80px 0;
}

.faq-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-left {
    flex: 0 0 350px;
}

.faq-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-left p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.faq-right {
    flex: 1;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: #FFFFFF;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-icon {
    font-size: 12px;
    color: #005BD1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for FAQ */
@media (max-width: 968px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .faq-left {
        flex: 1;
    }
    
    .faq-left h2 {
        font-size: 28px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px 20px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #F4F9FF 0%, #FFFFFF 65%);
    padding: 80px 0;
}

.cta-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-left {
    flex: 1;
    background: #005BD1;
    border-radius: 20px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-left h2 {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-left p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    background: #00cc66;
    color: #FFFFFF;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.cta-button:hover {
    background: #00b359;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 204, 102, 0.3);
}

.cta-right {
    flex: 1;
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Responsive for CTA */
@media (max-width: 968px) {
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .cta-left {
        padding: 40px 30px;
    }
    
    .cta-left h2 {
        font-size: 36px;
    }
    
    .cta-left p {
        font-size: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .cta-image-placeholder {
        min-height: 300px;
    }
}

/* Footer */
.footer {
    background: #2563eb;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.footer-wrapper {
    display: flex;
    gap: 80px;
}

.footer-left {
    flex: 0 0 280px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #FFFFFF;
}

.footer-right {
    flex: 1;
}

.footer-content p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-content a {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-small-text {
    font-size: 11px !important;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Responsive for Footer */
@media (max-width: 968px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left {
        flex: 1;
    }
    
    .footer-content p {
        font-size: 12px;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    .footer-small-text {
        font-size: 10px !important;
    }
}
