:root {
    --primary-color: #001f3f; /* Deep Navy Blue */
    --secondary-color: #001329; /* Darker Blue */
    --accent-color: #ffcc00; /* Gold */
    --text-main: #ffffff; /* White */
    --text-dim: #cbd5e0; /* Light Gray/White */
    --gold: #d4af37; /* Metallic Gold */
    --danger: #e53e3e; /* Patriotic Red */
    --success: #38a169; /* Green (keeping for success status) */
    --glass: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

@keyframes pageFadeIn {
    from { opacity: 0; filter: blur(5px); }
    to { opacity: 1; filter: blur(0); }
}

body {
    background-color: var(--primary-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    animation: pageFadeIn 0.8s ease-out;
}

/* Global Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeInUp 0.8s forwards;
}

/* Typography */
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 700;
}

.text-gold { color: var(--gold); }
.text-accent { color: var(--accent-color); }

/* Components */
.fbi-card {
    background: var(--secondary-color);
    border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold border */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}

.fbi-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px -10px rgba(212, 175, 55, 0.15);
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-number {
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.btn-fbi {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
}

.btn-fbi:hover {
    background: rgba(255, 204, 0, 0.1);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}

.btn-fbi-solid {
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
}

.btn-fbi-solid:hover {
    background: #e6b800;
}

.btn-fbi-danger {
    background: var(--danger);
    color: #fff;
    border: none;
}

.btn-fbi-danger:hover {
    background: #c53030;
}

/* Responsive Navbar */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.translator-bar {
    background: transparent;
    padding: 5px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 12px;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active-link {
    background-color: yellow;
    color: #000;
    font-weight: bold;
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 120px; /* Adjusting for both navbar and translator bar */
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: 0.4s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0;
    }
}

/* Hero Slider */
.slider-container {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 31, 63, 0.6) 0%, rgba(0, 19, 41, 0.9) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 10%;
    max-width: 1000px;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s 0.5s ease-out;
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    transform: translateY(30px);
    opacity: 0;
    transition: 0.8s 0.7s ease-out;
}

.slide.active .slide-content h1,
.slide.active .slide-content p {
    transform: translateY(0);
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    border: 1px solid var(--glass);
    border-radius: 4px;
    color: #fff;
    outline: none;
    transition: var(--transition), box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
    background: rgba(0, 31, 63, 0.8);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.fbi-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.fbi-table th {
    background: rgba(255, 255, 255, 0.05);
    text-align: left;
    padding: 1.2rem 1rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    white-space: nowrap;
}

.fbi-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--glass);
    color: #e6f1ff;
}

.fbi-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Footer */
footer {
    padding: 4rem 5%;
    background: #020c1b;
    border-top: 1px solid var(--glass);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Badges */
.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-warning { background: rgba(212, 175, 55, 0.2); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.3); }
.badge-success { background: rgba(56, 161, 105, 0.2); color: #38a169; border: 1px solid rgba(56, 161, 105, 0.3); }
.badge-danger { background: rgba(229, 62, 62, 0.2); color: var(--danger); border: 1px solid rgba(229, 62, 62, 0.3); }
.badge-info { background: rgba(49, 130, 206, 0.2); color: #3182ce; border: 1px solid rgba(49, 130, 206, 0.3); }

/* Container System */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Dashboard Layout Shared */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: var(--secondary-color);
    border-right: 1px solid var(--glass);
    padding: 2rem 1.5rem;
    width: 280px;
    position: fixed;
    height: 100vh;
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
}

/* Custom Sidebar Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--glass);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

.sidebar-brand {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: block;
    text-decoration: none;
    color: #fff;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    color: var(--text-dim);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255, 204, 0, 0.1);
    color: var(--accent-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-header {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 280px);
    z-index: 1000;
    transition: var(--transition);
}

.top-navbar {
    height: 70px;
    background: rgba(0, 31, 63, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
}

.main-content {
    margin-left: 280px;
    margin-top: 106px; /* 70px navbar + 36px translator */
    padding: 3rem;
    background: #020c1b;
    width: 100%;
    min-height: calc(100vh - 106px);
}

.initials-avatar {
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    border: 2px solid var(--accent-color);
}

/* Responsive Dashboard & Grid Layouts */
@media (max-width: 1024px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.active {
        left: 0;
    }

    .dash-header {
        width: 100%;
    }

    .top-navbar {
        padding: 0 1.5rem;
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

    /* Force single column layout on tablet and mobile for all grids */
    .stats-grid,
    .fbi-grid-2,
    .fbi-grid-2-1,
    .contact-grid,
    .contact-form-grid,
    .leadership-grid,
    .responsive-grid-2,
    .footer-grid,
    .responsive-chat-layout {
        grid-template-columns: 1fr !important;
    }
    
    .responsive-chat-layout {
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .fbi-table {
        width: 100%;
        min-width: 600px;
    }
    
    .responsive-chat-list {
        height: 300px;
    }
    
    .responsive-chat-window {
        height: 500px;
    }
    
    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 0.09in;
    }
    .fbi-card {
        padding: 1.25rem 0.85rem;
    }
    .profile-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }
    .leader-card {
        height: 350px !important;
    }
}

.dash-toggle {
    display: none;
    background: var(--gold);
    border: none;
    color: var(--primary-color);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.dash-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

@media (max-width: 1024px) {
    .dash-toggle {
        display: block;
    }
}

/* Custom Scrollbar for Containers */
.custom-scrollbar::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #e6b800;
}

/* Floating Chatbot */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chatbot-btn {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.chatbot-btn:hover {
    transform: scale(1.1);
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: 90vw;
    height: 500px;
    background: var(--secondary-color);
    border: 1px solid var(--glass);
    border-radius: 15px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.chatbot-header {
    background: var(--gold);
    padding: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-bubble {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-ai {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-user {
    background: var(--gold);
    color: var(--primary-color);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chatbot-input {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--glass);
}

.chatbot-input input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
}

.chatbot-input button {
    background: transparent;
    color: var(--gold);
    border: none;
    cursor: pointer;
}

.support-form input, .support-form textarea {
    width: 100%;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass);
    padding: 0.5rem;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Leadership Cards */
.leadership-section {
    padding: 6rem 10%;
    text-align: center;
}

/* Leadership Profiles */
.profile-section {
    padding: 5rem 10%;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 5rem;
    row-gap: 0;
    align-items: start;
}

.profile-bio-text {
    grid-column: 1;
    grid-row: 1;
}

.profile-buttons {
    grid-column: 1;
    grid-row: 2;
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
}

.profile-grid > .fbi-card {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

/* Profile Hero Header */
.profile-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
}

.profile-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 10% 4rem;
    width: 100%;
}

.profile-hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.profile-hero-subtitle {
    color: var(--gold);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.leader-card {
    position: relative;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.leader-card:hover {
    transform: scale(1.02);
}

.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img {
    transform: scale(1.1);
}

.leader-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.2rem 1.2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 60%);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.leader-role {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin-bottom: 0.3rem;
}

.leader-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}



/* Contact Page Grid */
.contact-container {
    padding: 8rem 10%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-container {
        padding: 5rem 5%;
    }
}

/* Reusable Utilities */
.fbi-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* 2:1 Layout Utility */
.fbi-grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* --- Google Translate Dynamic Gold Styling --- */
#google_translate_element { 
    display: inline-block; 
    overflow: hidden; 
    height: 28px; 
}
.goog-te-gadget img, .goog-te-gadget span, .goog-logo-link { display: none !important; }
.goog-te-gadget .goog-te-combo {
    color: #000000 !important;
    background-color: #d4af37 !important; /* Solid Gold */
    font-weight: bold !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    border: 1px solid #b5952f !important;
    border-radius: 4px !important; /* Squared look */
    padding: 4px 8px !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    max-width: 145px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.goog-te-gadget .goog-te-combo:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
    background-color: #ffd700 !important; /* Brighter gold on hover */
    transform: translateY(-2px);
}

/* Aggressively Hide Google Translate Popups & Banners */
.goog-te-banner-frame.skiptranslate, .goog-te-banner-frame { display: none !important; }
body { top: 0px !important; position: static !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.skiptranslate > iframe { display: none !important; }

/* Enforce Single Column Layout on Tablet/Mobile overrides */
@media (max-width: 1024px) {
    .stats-grid,
    .fbi-grid-2,
    .fbi-grid-2-1,
    .contact-grid,
    .contact-form-grid,
    .responsive-grid-2,
    .footer-grid,
    .responsive-chat-layout,
    .profile-grid {
        grid-template-columns: 1fr !important;
    }
    
    .profile-grid {
        gap: 3rem !important;
    }

    .profile-bio-text {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .profile-grid > .fbi-card {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .profile-buttons {
        grid-column: auto !important;
        grid-row: auto !important;
        margin-top: 0 !important;
    }
    
    .profile-section {
        padding: 4rem 5% !important;
    }
    
    .profile-hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .profile-hero-content {
        padding: 0 5% 2.5rem;
    }

    .credentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    }

    .blog-container {
        padding: 4rem 5% !important;
    }

    .blog-controls {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
    }

    .blog-search {
        max-width: 100% !important;
    }
}

/* Blog Styles */
.blog-hero {
    padding: 10rem 10% 4rem;
    text-align: center;
    background: linear-gradient(rgba(0, 19, 41, 0.85), rgba(0, 19, 41, 1)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    border-bottom: 1px solid var(--glass);
}

.blog-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.blog-container {
    padding: 5rem 10%;
    background: var(--secondary-color);
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.blog-filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.25);
}

.blog-search {
    position: relative;
    max-width: 350px;
    width: 100%;
}

.blog-search input {
    width: 100%;
    padding: 0.8rem 1.2rem 0.8rem 2.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-search input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}

.blog-search i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.95rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 204, 0, 0.05);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 19, 41, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.blog-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    display: flex;
    gap: 15px;
}

.blog-card-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
    transition: var(--transition);
}

.blog-card:hover .blog-card-title {
    color: var(--accent-color);
}

.blog-card-excerpt {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-btn {
    align-self: flex-start;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.blog-card-btn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
}

/* FBI Swal Modal Custom Styles */
.fbi-swal-popup {
    border: 1px solid rgba(255, 204, 0, 0.3) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7) !important;
    border-radius: 12px !important;
    background-color: var(--secondary-color) !important;
}

.fbi-swal-title {
    color: var(--accent-color) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.fbi-swal-content {
    color: var(--text-dim) !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
    text-align: left !important;
}

/* Blog Detail Page */
.blog-detail-container {
    padding: 8rem 10% 4rem;
    background: var(--secondary-color);
}

.blog-detail-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.blog-article {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.blog-article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-article-meta {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.blog-article-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
}

.blog-article-body {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.9;
}

.blog-article-body strong {
    color: #fff;
}

.blog-article-body code {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
}

.blog-article-body em {
    color: var(--gold);
    font-style: italic;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.8rem;
}

.sidebar-section h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.sidebar-post {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.sidebar-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.sidebar-post-title {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-title:hover {
    color: var(--accent-color);
}

.sidebar-post-date {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .blog-detail-container {
        padding: 4rem 5% !important;
    }
    
    .blog-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .blog-article {
        padding: 1.8rem !important;
    }
    
    .blog-article-img {
        height: 280px !important;
    }
}

/* Terms & Legal Pages */
.terms-hero {
    padding: 10rem 10% 4rem;
    text-align: center;
    background: linear-gradient(rgba(0, 19, 41, 0.85), rgba(0, 19, 41, 1)), url('https://images.unsplash.com/photo-1450133064473-71024230f91b?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
    border-bottom: 1px solid var(--glass);
}

.terms-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.terms-container {
    padding: 5rem 10%;
    background: var(--secondary-color);
}

.terms-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.terms-sidebar h3 {
    font-size: 0.95rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.terms-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.terms-nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border-left: 2px solid transparent;
}

.terms-nav-link:hover, .terms-nav-link.active {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.02);
    border-left-color: var(--accent-color);
    padding-left: 1rem;
}

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.terms-section {
    scroll-margin-top: 120px;
}

.terms-section h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h2 span {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-family: monospace;
}

.terms-section p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dim);
}

.terms-section li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .terms-container {
        padding: 4rem 5% !important;
    }
    
    .terms-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .terms-sidebar {
        position: static !important;
        width: 100% !important;
    }
}


