/* Top Hill Bank - Sky Blue Enterprise Design System */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ===== COLOR PALETTE ===== */
:root {
    /* Primary Sky Blue Theme */
    --brand-primary: #4A90E2;
    /* Sky Blue */
    --brand-secondary: #2E5C8A;
    /* Deep Blue */
    --brand-accent: #7CB3E9;
    /* Light Sky Blue */
    --brand-dark: #1A2332;
    /* Dark Navy */
    --brand-light: #E8F4F8;
    /* Very Light Blue */

    /* Neutral Colors */
    --gray-50: #F8FAFB;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFB;
    --bg-tertiary: #E8F4F8;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* ===== HEADER / NAVIGATION ===== */
.top-header-bar {
    background: var(--brand-dark);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-header-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.top-header-bar a:hover {
    color: var(--brand-accent);
}

.main-nav-bar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--brand-primary) !important;
    letter-spacing: -0.5px;
}

.nav-link-enterprise {
    color: var(--gray-700) !important;
    font-weight: 500;
    padding: 1rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-enterprise:hover,
.nav-link-enterprise.active {
    color: var(--brand-primary) !important;
}

.nav-link-enterprise::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--brand-primary);
    transition: width 0.3s ease;
}

.nav-link-enterprise:hover::after,
.nav-link-enterprise.active::after {
    width: 80%;
}

/* ===== BUTTONS ===== */
.btn-primary-blue {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    color: white;
}

.btn-outline-blue {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-enterprise {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,100 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(74,144,226,0.1)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ===== LOGIN WIDGET ===== */
.login-widget {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-top: 4px solid var(--brand-primary);
}

.login-widget h3 {
    color: var(--brand-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.login-widget .form-control {
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.login-widget .form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* ===== CARDS ===== */
.card-enterprise {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.card-enterprise:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.15);
    border-color: var(--brand-accent);
}

.card-enterprise h4 {
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.card-enterprise .icon {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer-enterprise {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-enterprise h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-accent);
    padding-left: 5px;
}

/* ===== SECTIONS ===== */
.section-enterprise {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== UTILITIES ===== */
.text-primary-blue {
    color: var(--brand-primary) !important;
}

.bg-light-blue {
    background-color: var(--brand-light) !important;
}

.border-primary-blue {
    border-color: var(--brand-primary) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .login-widget {
        padding: 1.5rem;
    }
}