/* General Styles */
body {
    font-family: 'Roboto', sans-serif; /* You might want to use a similar font */
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Header Styles */
.header {
    background: #efb04c;
    color: white;
    padding: 30px 20px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    /* Assuming you have an image for Kas Go logo */
}

.app-name {
    font-size: 24px;
    font-weight: bold;
}

.main-title {
    font-size: 28px;
    margin: 0;
    font-weight: 500;
}

/* Loan Section Styles */
.loan-section {
    background-color: white;
    margin: -50px 15px 20px 15px; /* Negative margin to overlap with header */
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.instruction-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

.amount-display {
    font-size: 48px;
    font-weight: bold;
    color: #efb04c;
    margin-bottom: 30px;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.loan-slider {
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    cursor: pointer;
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    outline: none;
    margin-top: 20px; /* Space for the thumb */
}

/* Slider Thumb (the circle) */
.loan-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #efb04c;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px; /* Adjust to center vertically */
    border: 2px solid white; /* Optional: add a border */
    box-shadow: 0 0 0 2px #efb04c; /* Outline effect */
}

.loan-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #efb04c;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #efb04c;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

/* Duration Options Styles */
.duration-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.duration-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px; /* Rounded buttons */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.duration-btn.active {
    background-color: #fbc02d; /* Yellow color */
    color: #333;
    font-weight: bold;
}

.duration-btn:not(.active) {
    background-color: #e0e0e0; /* Light gray for inactive */
    color: #555;
}

/* Call to Action Button */
.cta-button {
    background-color: #efb04c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px; /* Rounded button */
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 300px; /* Limit width */
}

.cta-button:hover {
    background-color: #c62828; /* Darker red on hover */
}

/* Footer Styles */
.footer {
    background-color: #f8f8f8;
    padding: 30px 20px;
    text-align: center;
    color: #666;
    border-top: 1px solid #eee;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.phone-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: invert(50%); /* Make icon gray */
}

.regulatory-info {
    font-size: 14px;
}

.logos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.regulatory-logo {
    height: 40px; /* Adjust height as needed */
    width: auto;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .header {
        padding: 20px 15px;
    }
    .main-title {
        font-size: 24px;
    }
    .loan-section {
        margin: -40px 10px 15px 10px;
        padding: 25px 15px;
    }
    .amount-display {
        font-size: 40px;
    }
    .duration-options {
        gap: 10px;
    }
    .cta-button {
        font-size: 18px;
        padding: 12px 25px;
    }
    .footer {
        padding: 20px 15px;
    }
    .contact-info {
        font-size: 16px;
    }
}