/* Stonebridge Trust Bank Homepage */

.el-hero {
    background: #061428;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.el-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-ipad-man.jpg');
    background-size: cover;
    background-position: 72% 18%;
    background-repeat: no-repeat;
    filter: brightness(1.06) contrast(1.12) saturate(1.12);
    transform: scale(1.03);
    pointer-events: none;
    z-index: 0;
}

.el-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(6, 20, 40, 0.9) 0%, rgba(6, 20, 40, 0.68) 32%, rgba(12, 35, 64, 0.42) 55%, rgba(18, 58, 107, 0.18) 78%, rgba(18, 58, 107, 0.08) 100%),
        radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: 1;
}

.el-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.el-service-strip {
    margin-top: -4rem;
    position: relative;
    z-index: 20;
    padding-bottom: 2rem;
}

.el-service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.2);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.el-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px -15px rgba(15, 23, 42, 0.25);
}

.el-service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.el-hero-image {
    aspect-ratio: 4/5;
    max-height: 520px;
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.12);
}

.el-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.el-hero-image:hover img {
    transform: scale(1.03);
}

.el-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 20, 40, 0.25) 0%, transparent 40%);
    pointer-events: none;
}

.el-hero-image--wide {
    aspect-ratio: 16/10;
    max-height: none;
}

.el-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
}

.el-feature-card:hover {
    border-color: #10b981;
    box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

.el-feature-icon {
    width: 3.75rem;
    height: 3.75rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.el-rate-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.el-rate-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
}

.el-rate-card.featured {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2), 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.el-stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.el-stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #10b981;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.el-stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.el-process-step {
    text-align: center;
    position: relative;
}

.el-process-num {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.5);
}

.el-testimonial-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.1);
    height: 100%;
}

.el-testimonial-quote {
    font-size: 2.5rem;
    line-height: 1;
    color: #10b981;
    opacity: 0.3;
    margin-bottom: -0.5rem;
}

.el-client-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1d4ed8;
    font-size: 1rem;
}

.el-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.el-faq-q {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.el-faq-q:hover { background: #f8fafc; }

.el-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.25rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.el-faq-item.open .el-faq-a {
    max-height: 200px;
    padding: 0 1.25rem 1.1rem;
}

.el-faq-item.open .el-faq-chevron {
    transform: rotate(180deg);
}

.el-faq-chevron {
    transition: transform 0.3s ease;
    color: #10b981;
}

.el-captcha-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.el-captcha-code {
    font-family: ui-monospace, monospace;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    color: #0f172a;
    user-select: none;
}

.el-cta-banner {
    background: #061428;
    position: relative;
    overflow: hidden;
}

.el-cta-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/home-mobile-banking.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.85) saturate(1.05);
    pointer-events: none;
    z-index: 0;
}

.el-cta-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6, 20, 40, 0.88) 0%, rgba(12, 35, 64, 0.82) 50%, rgba(6, 78, 59, 0.75) 100%),
        radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.el-nav-top {
    background: rgba(6, 20, 40, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.el-nav-top .el-nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.el-nav-top .el-nav-link:hover,
.el-nav-top .el-nav-link.active {
    color: #34d399;
}

.el-nav-top.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: #e2e8f0;
    box-shadow: 0 4px 20px -8px rgba(15, 23, 42, 0.15);
}

.el-nav-top.scrolled .el-nav-link {
    color: #64748b;
}

.el-nav-top.scrolled .el-nav-link:hover,
.el-nav-top.scrolled .el-nav-link.active {
    color: #2563eb;
}

.el-nav-top.scrolled .el-brand-text {
    color: #0f172a !important;
}

.el-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 0.75rem;
}

.el-section-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.el-mission-card {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-left: 4px solid #2563eb;
    border-radius: 0 1rem 1rem 0;
    padding: 1.5rem;
}

.el-vision-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-left: 4px solid #10b981;
    border-radius: 0 1rem 1rem 0;
    padding: 1.5rem;
}

.el-footer {
    background: #061428;
    color: rgba(255, 255, 255, 0.65);
}

.el-footer h4 {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.el-footer a:hover {
    color: #34d399;
}

.el-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.el-home {
    background: #fff;
}
