/* =========================================================
   Brand theme for the public site — matches the user dashboard
   (deep green #2D5A52, Plus Jakarta Sans). Loaded after style.css.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --brand: #2D5A52;
    --brand-deep: #1b3d36;
    --brand-ink: #102a24;
    --brand-soft: #e8f3ef;
    --brand-line: #d5e8e0;
}

body, p, a, li, input, textarea, select, button,
h1, h2, h3, h4, h5, h6, .btn {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.015em; color: var(--brand-ink); }
body { color: #3f5550; }

/* Buttons — same shape as the dashboard */
.btn.style1, .btn.style3, .btn.style2 {
    border-radius: 14px !important;
    font-weight: 600 !important;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease !important;
}
.btn.style1 { background: var(--brand) !important; color: #fff !important; }
.btn.style1:hover { background: var(--brand-deep) !important; box-shadow: 0 10px 22px -12px rgba(27, 61, 54, .7); }
.btn.style1::before, .btn.style1::after { background: var(--brand-deep) !important; }
.btn.style3 { background: var(--brand-ink) !important; color: #fff !important; }
.btn.style3:hover { background: #0b1f1a !important; }

/* Top bar and header */
.header-top { background: var(--brand-ink) !important; }
.header-wrap .navbar .navbar-nav .nav-item .nav-link.active,
.header-wrap .navbar .navbar-nav .nav-item .nav-link:hover { color: var(--brand) !important; }

/* Hero: soft green glow instead of pink / lilac */
.hero-wrap, .hero-slider-two, .hero-slide-item {
    background-color: transparent;
}
.hero-wrap {
    background: radial-gradient(circle at 80% 30%, rgba(45, 90, 82, .12), rgba(45, 90, 82, 0) 55%),
                linear-gradient(180deg, #f3faf7 0%, #ffffff 100%) !important;
}

/* Decorative shapes: tint the template's teal / pink art to the brand green */
.hero-shape-one, .hero-shape-two, .hero-shape-three, .hero-shape-four,
.about-shape-one, .about-shape-two, .about-shape-three,
.cta-shape-one, .cta-shape-two,
.footer-shape-one, .footer-shape-two,
img[src*="-shape-"] {
    filter: hue-rotate(-12deg) saturate(.55) brightness(.85);
}

/* Section labels ("About …", "Why Bank With Us") */
.section-title span, .section-title .subtitle, .hero-content > span {
    color: var(--brand) !important;
    font-weight: 600;
}

/* Cards & images: rounder, like the dashboard */
.feature-card, .service-card, .about-img-wrap img, .blog-card, .pricing-card, .contact-item, .faq-wrap .accordion-item {
    border-radius: 20px !important;
}

/* Footer */
.footer-wrap { background-color: var(--brand-ink) !important; }

/* Links */
a:hover { color: var(--brand); }

/* ---------- New photography ---------- */
/* Hero: framed photo instead of a cut-out */
.hero-img-wrap .hero-photo {
    display: block;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 4 / 5;
    margin-left: auto;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: 0 30px 60px -28px rgba(16, 42, 36, .45);
    border: 8px solid #fff;
}
@media (max-width: 991px) {
    .hero-img-wrap .hero-photo { max-width: 460px; margin: 32px auto 0; aspect-ratio: 5 / 4; }
}

/* About: two overlapping photos */
.about-collage { position: relative; padding: 0 0 70px 0; max-width: 560px; }
.about-collage img { display: block; object-fit: cover; border-radius: 28px; }
.about-collage .ac-main { width: 78%; aspect-ratio: 4 / 5; box-shadow: 0 24px 48px -24px rgba(16, 42, 36, .4); }
.about-collage .ac-sub {
    position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1 / 1;
    border: 8px solid #fff; box-shadow: 0 24px 48px -20px rgba(16, 42, 36, .45);
}
@media (max-width: 575px) { .about-collage { padding-bottom: 50px; } }

/* Section photos: rounded, consistent */
.service-wrap img, .blog-card .blog-img img { border-radius: 24px; object-fit: cover; }

/* ---------- Inner page banner (same on every page) ---------- */
.page-header {
    position: relative; overflow: hidden;
    padding: 64px 0 56px; text-align: center;
    background: radial-gradient(circle at 85% 20%, rgba(45, 90, 82, .10), rgba(45, 90, 82, 0) 50%),
                linear-gradient(180deg, #f3faf7 0%, #ffffff 100%);
    border-bottom: 1px solid #e7eeeb;
}
.page-header h1 { font-size: 44px; font-weight: 800; color: var(--brand-ink); margin: 10px 0 12px; letter-spacing: -.02em; }
.page-header p { font-size: 17px; color: #5b6f69; max-width: 680px; margin: 0 auto; line-height: 1.6; }
.ph-crumbs { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #e2ece8; font-size: 13px; font-weight: 600; color: #6b7f79; }
.ph-crumbs a { color: var(--brand); text-decoration: none; }
.ph-crumbs a:hover { color: var(--brand-deep); }
.ph-crumbs .sep { color: #b6c4bf; }
@media (max-width: 767px) { .page-header { padding: 44px 0 40px; } .page-header h1 { font-size: 32px; } .page-header p { font-size: 15px; padding: 0 8px; } }

/* Light theme only: show the regular logo, hide the dark-mode variant */
.logo-dark { display: none !important; }
.logo-light { display: inline-block !important; }

/* A quiet photo backdrop behind the existing hero slides. */
.hero-wrap {
    background: linear-gradient(rgba(245,250,247,.94), rgba(255,255,255,.96)),
                url('../images/hero-couple-shopping.jpg') center / cover no-repeat !important;
}
