.hero-personal {
    background-image: url('/Static/images/personal_banking_hero.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: normal;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    background: var(--green-primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--green-hover);
}

.btn-primary {
    background: var(--green-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-hover);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--green-primary);
}

.btn-outline {
    background-color: var(--green-primary);
    color: #fff;
    border: none;
}

.btn-outline:hover {
    background-color: var(--green-hover);
}

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

.service-overview {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--background);
}

.service-overview h2 {
    font-size: 2em;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.overview-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1em;
    color: var(--text-primary);
    line-height: 1.6;
}

.overview-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.overview-item {
    flex: 0 0 350px;
    background-color: var(--white);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    max-width: 350px;
    margin: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.overview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.overview-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}
.overview-content{
  display: flex;
  flex-direction: column;
  flex: 1;
}

.overview-content .btn{
  margin-top: auto;
}

.overview-content h3 {
    font-size: 1.5em;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.overview-content p {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}

.feature-list li {
    padding: 3px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    font-size: 0.9em;
}

.feature-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.calculator-section {
    padding: 40px 20px;
    background-color: var(--green-primary);
    color: #fff;
    text-align: center;
}

.calculator-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.calculator-section p {
    font-size: 1em;
    margin-bottom: 30px;
}

.calculator-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.calculator-inputs {
    flex: 1;
    min-width: 300px;
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 1em;
    margin-bottom: 8px;
    font-weight: normal;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: none;
}

.input-value {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.calculator-result {
    flex: 1;
    min-width: 300px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px 20px;
}

.calculator-result h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.payment-amount {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.payment-note {
    font-size: 0.85em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.features {
    padding: 40px 20px;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2em;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 30px 20px;
    background: var(--surface-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2em;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

.related-services {
    padding: 40px 20px;
    background-color: var(--background);
    text-align: center;
}

.related-services h2 {
    font-size: 2em;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    max-width: 350px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    text-align: center;
}

.service-content h3 {
    font-size: 1.3em;
    color: var(--green-primary);
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95em;
}

.faq-section {
    padding: 40px 20px;
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    font-size: 2em;
    color: var(--green-primary);
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: var(--surface-secondary);
    border: none;
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    color: var(--green-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8f0e9;
}

.faq-toggle {
    font-size: 1.2em;
    color: var(--green-primary);
}

.faq-answer {
    display: none;
    padding: 15px 20px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

.faq-item.active .faq-question {
    background-color: var(--green-primary);
    color: #fff;
}

.faq-item.active .faq-toggle {
    color: #fff;
}

.faq-item.active .faq-answer {
    display: block;
}

.cta {
    background-color: var(--green-primary);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: var(--radius-md);
}

.cta h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1em;
    margin-bottom: 25px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }
    
    .calculator-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .overview-container {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        flex-direction: column;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-personal {
        padding: 40px 15px;
    }
    
    .service-overview,
    .calculator-section,
    .features,
    .related-services,
    .faq-section,
    .cta {
        padding: 30px 15px;
    }
    
    .calculator-result {
        padding: 20px 15px;
    }
    
    .payment-amount {
        font-size: 2em;
    }
}