/* ==========================================================================
   SENTINEL BANK — Official Responsive Design System
   Logo Palette: Executive Navy Blue (#0C2340, #1D3D6F) & Pure Crisp White (#FFFFFF)
   Mobile & Tablet Ultra-Optimized Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sentinel Logo Color System */
    --brand-blue: #0C2340;          /* Deep Executive Navy */
    --brand-blue-deep: #061324;     /* Midnight Navy */
    --brand-blue-accent: #1D3D6F;   /* Royal Navy Accent */
    --brand-blue-light: #2A528F;    /* Bright Navy Accent */
    
    --pure-white: #ffffff;
    --off-white: #f4f7fa;
    --surface-light: #eef2f7;

    --text-dark: #09172a;
    --text-muted-dark: #3a4d66;
    --text-light: #ffffff;
    --text-muted-light: #94a3b8;

    --accent-blue-gradient: linear-gradient(135deg, #0C2340 0%, #1D3D6F 100%);

    --border-subtle: #dbe3ed;
    --border-medium: #cbd5e1;
    --border-navy: rgba(12, 35, 64, 0.15);

    --success: #10b981;
    --success-bg: #ecfdf5;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --danger: #ef4444;
    --danger-bg: #fef2f2;
    --info: #1d3d6f;
    --info-bg: #eff6ff;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    --shadow-card: 0 10px 30px rgba(12, 35, 64, 0.06);
    --shadow-hover: 0 20px 45px rgba(12, 35, 64, 0.15);
    --shadow-button: 0 6px 20px rgba(12, 35, 64, 0.25);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-primary);
    background-color: var(--off-white);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--brand-blue-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    width: 100%;
    overflow: hidden;
}

.top-bar {
    background: #040c17;
    padding: 8px 1.5rem;
    font-size: 12px;
    color: var(--text-muted-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.top-bar-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-center span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--pure-white);
    letter-spacing: 0.3px;
}

.established-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--pure-white);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

/* Continuous Moving Marquee Ticker */
.ticker-bar {
    background: #08172c;
    color: var(--pure-white);
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
}

.ticker-label {
    color: var(--text-muted-light);
    font-weight: 600;
}

.ticker-val {
    font-weight: 800;
    color: var(--pure-white);
}

.ticker-up {
    color: var(--success);
}

.ticker-down {
    color: var(--danger);
}

.nav-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Brand Logo Image */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--pure-white);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pure-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted-light);
    transition: all 0.25s ease;
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--pure-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--pure-white);
    border-radius: 2px;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    font-size: 13px;
    min-height: 40px;
}

.nav-mobile-btn {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--pure-white);
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-blue-deep);
    z-index: 2000;
    padding: 2rem 1.5rem;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-nav-list a {
    font-size: 17px;
    font-weight: 700;
    color: var(--pure-white);
    display: block;
    padding: 6px 0;
}

.mobile-nav-list a.active {
    color: #4a90e2;
}

/* Sentinel Blue & White Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.6rem;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    min-height: 48px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--brand-blue-accent);
    color: var(--pure-white);
    box-shadow: var(--shadow-button);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: #254b85;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 61, 111, 0.45);
}

.btn-secondary {
    background: var(--brand-blue);
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--brand-blue-accent);
    transform: translateY(-2px);
    border-color: var(--pure-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 16px;
    min-height: 52px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-video-wrapper {
    position: relative;
    padding: 5.5rem 1.5rem 4.5rem;
    overflow: hidden;
    background: var(--brand-blue-deep);
    color: var(--pure-white);
    width: 100%;
    box-sizing: border-box;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
    filter: brightness(0.5) contrast(1.1);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(12, 35, 64, 0.6) 0%, rgba(6, 19, 36, 0.97) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--pure-white);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--pure-white);
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted-light);
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.hero-video-container {
    margin-top: 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    background: #000;
    width: 100%;
}

.hero-video-container video {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

/* Page Hero */
.page-hero {
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    background: var(--brand-blue);
    color: var(--pure-white);
    width: 100%;
    box-sizing: border-box;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted-light);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section Containers & Spacing */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.8rem;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted-dark);
    font-size: 1.08rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.card-with-img {
    background: var(--pure-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.card-with-img:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-blue-accent);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #08172c;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-with-img:hover .card-img-wrapper img {
    transform: scale(1.06);
}

.card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.8rem;
}

.card-body p {
    color: var(--text-muted-dark);
    font-size: 0.96rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    flex: 1;
}

/* Split Showcase Feature */
.showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
}

.showcase-img-box {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-hover);
    width: 100%;
    background: #08172c;
}

.showcase-img-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.feature-card {
    background: var(--pure-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-blue-accent);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(12, 35, 64, 0.07);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-blue);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-muted-dark);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Stat Cards in About Us */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.stat-card {
    background: var(--pure-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.stat-title {
    font-size: 11px;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

/* Footer */
.site-footer {
    background: var(--brand-blue-deep);
    color: var(--pure-white);
    padding: 4.5rem 1.8rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.footer-col h4 {
    color: var(--pure-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted-light);
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--pure-white);
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--pure-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: var(--brand-blue-accent);
    transform: translateY(-3px);
    border-color: var(--pure-white);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted-light);
    font-size: 13px;
    text-align: center;
    width: 100%;
}

/* Auth Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.2rem;
    background: var(--brand-blue-deep);
    width: 100%;
    box-sizing: border-box;
}

.auth-card {
    background: var(--pure-white);
    border-radius: var(--radius-xl);
    padding: 3rem 2.2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    color: var(--text-dark);
    box-sizing: border-box;
}

.auth-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--surface-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 15px;
    outline: none;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--brand-blue-accent);
    background: var(--pure-white);
    box-shadow: 0 0 0 4px rgba(12, 35, 64, 0.12);
}

/* App Dashboard Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
    background: var(--off-white);
    width: 100%;
}

.sidebar {
    width: 280px;
    background: var(--brand-blue-deep);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    transition: transform 0.3s ease;
    color: var(--pure-white);
}

.sidebar-brand {
    padding: 1.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    overflow-y: auto;
}

.sidebar-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-light);
    padding: 1rem 0.8rem 0.4rem;
    font-weight: 800;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-muted-light);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.sidebar-nav a svg {
    width: 18px;
    height: 18px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--brand-blue);
    color: var(--pure-white);
}

.sidebar-nav a.active {
    border-left: 4px solid var(--pure-white);
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 2.5rem;
    max-width: 1380px;
    width: calc(100% - 280px);
    box-sizing: border-box;
}

.table-card {
    background: var(--pure-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

th {
    background: var(--surface-light);
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

td {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 14px;
    color: var(--text-dark);
}

.mobile-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--brand-blue-accent);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLETS & MOBILE SMARTPHONES)
   ========================================================================== */

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
    .nav-mobile-btn {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 2rem 1.2rem;
    }
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    .top-bar {
        padding: 6px 1rem;
        justify-content: center;
    }
    .top-bar-info {
        justify-content: center;
        gap: 1rem;
    }
    .nav-container {
        padding: 0.6rem 1rem;
    }
    .header-cta .btn-nav {
        display: none;
    }
    .hero-video-wrapper {
        padding: 4rem 1rem 3rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: -0.3px;
    }
    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.8rem;
    }
    .showcase-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .auth-card {
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .section-container {
        padding: 3.5rem 1rem;
    }
    .section-header h2 {
        font-size: 1.7rem;
    }
    .brand-logo {
        font-size: 18px;
    }
    .brand-logo-img {
        height: 34px;
    }
    .btn-lg {
        padding: 0.85rem 1.4rem;
        font-size: 15px;
        min-height: 48px;
    }
}