﻿
:root {
    --primary: #1565C0; /* Material Blue 800 */
    --primary-light: #42A5F5; /* Material Blue 400 */
    --on-surface: #212121;
    --surface: #FFFFFF;
    --elevation-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --elevation-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --primary-blue: #002366; /* Darker blue */
    --secondary-blue: #0038a8;
    --accent-gold: #ffc72c;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #ffffff;
    --border-color: #e2e8f0;
    --warning-bg: #fff3cd;
    --bs-primary: #0056B3; /* Deep Blue - Trust (Standard Bank Blue) */
    --bs-info: #007B8C; /* Teal - Modern Accent */
    --bs-warning: #FFD700; /* Gold - Subtle Premium */
    --bs-dark: #333333;
    --bs-light: #F8F8F8;
    --bs-white: #FFFFFF;
    --bs-body-color: var(--bs-dark); /* Default text color */
    --bs-body-bg: var(--bs-white); /* Default background */
    --bs-dark-blue-btn: #003366; /* Specific dark blue for buttons if needed */
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');


/* Custom Header specific styles (beyond Bootstrap navbar) */
.custom-navbar {
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 40vh; /* Adjust as needed */
    background: src('/img/sbn-background.png'); /* Placeholder image */
    background-image: url('/img/sbn-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex; /* Ensure content is vertically centered */
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 86, 179, 0.65); /* Primary blue with transparency */
    z-index: 0; /* Below content but above background */
}

/* --- Your custom button styling from old code, adapted for Bootstrap layout --- */
.mdc-button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space out content and arrow */
    padding: 20px 25px; /* Generous padding */
    background-color: #003366; /* Dark blue background, similar to Standard Bank */
    color: white;
    border-radius: 8px; /* Slightly rounded corners */
    text-decoration: none; /* Remove underline for links */
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 80px; /* Ensure consistent height for buttons */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    cursor: pointer;
}

    .mdc-button:hover {
        background-color: var(--bs-primary); /* Lighter blue on hover */
        transform: translateY(-3px); /* Slight lift effect */
        color: white; /* Keep text white on hover */
    }

.button-content {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icon and text */
}

.button-icon {
    font-size: 2.2em; /* Larger icon size */
    color: var(--bs-warning); /* Gold icon color */
}

.button-text {
    font-size: 1.2em;
    font-weight: 600;
}

.button-arrow {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--bs-warning); /* Gold arrow color */
}

/* --- Contact Info Grid Styling --- */
.contact-card {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for cards */
    backdrop-filter: blur(5px); /* Optional: subtle blur effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }

.contact-item {
    margin-bottom: 15px;
}

.contact-label {
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7); /* Lighter label text */
}

.contact-value {
    font-size: 1.1em;
    color: var(--bs-white);
    word-wrap: break-word; /* Ensure long emails wrap */
}

    .contact-value a {
        color: inherit; /* Ensure links inside values keep white color */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-value a:hover {
            color: var(--bs-warning); /* Gold on hover */
        }


/* FAQ Accordion Customizations */
.accordion-button:not(.collapsed) {
    color: var(--bs-white);
    background-color: var(--bs-primary);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
        transform: rotate(-180deg);
    }

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230056B3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Footer Social Icons */
.social-icons img:hover {
    opacity: 1 !important;
}

/* Responsive adjustments for hero section margin */
@media (max-width: 991.98px) {
    .hero-section {
        margin-top: 66px; /* Adjust if navbar height changes on smaller screens */
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        margin-top: 56px; /* Adjust if navbar height changes on smaller screens */
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1em;
    }

    h2 {
        font-size: 2em;
    }

    .mdc-button {
        padding: 15px 20px;
        min-height: 70px;
    }

    .button-icon {
        font-size: 1.8em;
    }

    .button-text {
        font-size: 1.1em;
    }

    .button-arrow {
        font-size: 1.5em;
    }

    .contact-card {
        margin-bottom: 20px; /* Add space between stacked cards */
    }

    .footer-bottom {
        text-align: center;
    }

    .social-icons {
        margin-top: 15px;
    }
}
