:root{
    --primary:#0b3c6f;         /* UNILAK BLUE */
    --primary-dark:#082a4d;
    --primary-soft:#114d8d;
    --accent:#f4b400;          /* GOLD */
    --accent-dark:#d99a00;
    --accent-light:#fff4cc;
    --light:#f4f7fb;
    --light-alt:#edf3fa;
    --white:#ffffff;
    --text:#1f2937;
    --muted:#6b7280;
    --border:#e5e7eb;
    --shadow:0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg:0 20px 45px rgba(11, 60, 111, 0.16);
    --radius:14px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--light);
    color:var(--text);
    line-height:1.6;
}

a{
    text-decoration:none;
    color:var(--primary);
    transition:0.3s ease;
}

img{
    max-width:100%;
}

.container{
    width:92%;
    max-width:1200px;
    margin:0 auto;
}

/* Header */
.site-header{
    background:#ffffff;
    border-bottom:3px solid var(--primary);
    position:sticky;
    top:0;
    z-index:1000;
}

.top-bar{
    background:var(--primary);
    color:#fff;
    padding:8px 0;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    padding:14px 0;
}

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

.brand-logo{
    width:70px;
    height:70px;
    object-fit:contain;
    border-radius:10px;
    background:#fff;
}

.brand-text h1{
    margin:0;
    color:var(--primary);
    font-size:24px;
    line-height:1.2;
}

.brand-text p{
    margin:3px 0 0;
    color:var(--muted);
    font-size:14px;
}

.main-nav{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.main-nav a{
    font-weight:700;
    color:var(--text);
    position:relative;
}

.main-nav a:hover{
    color:var(--primary);
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--accent);
    transition:0.3s;
}

.main-nav a:hover::after{
    width:100%;
}

/* Hero */
.hero{
    position:relative;
    background:linear-gradient(135deg, #0b3c6f 0%, #0a2f57 55%, #082a4d 100%);
    color:#fff;
    padding:80px 0;
    overflow:hidden;
}

.home-hero::before{
    content:"";
    position:absolute;
    top:-80px;
    right:-80px;
    width:320px;
    height:320px;
    background:rgba(244, 180, 0, 0.12);
    border-radius:50%;
    filter:blur(0);
}

.home-hero::after{
    content:"";
    position:absolute;
    bottom:-120px;
    left:-100px;
    width:280px;
    height:280px;
    background:rgba(255, 255, 255, 0.05);
    border-radius:50%;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
        radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 35%);
    pointer-events:none;
}

.hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.08fr 0.92fr;
    gap:34px;
    align-items:center;
}

.hero-badge,
.tag,
.section-badge,
.search-mini-badge{
    display:inline-block;
    background:var(--accent-light);
    color:#8a5c00;
    border:1px solid rgba(244,180,0,0.65);
    padding:7px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    letter-spacing:0.2px;
}

.section-badge.alt{
    background:rgba(255,255,255,0.14);
    color:#fff;
    border-color:rgba(255,255,255,0.22);
}

.hero-left h2{
    font-size:46px;
    font-weight:800;
    line-height:1.15;
    margin:18px 0 16px;
}

.hero-lead,
.hero-left p{
    color:#e5e7eb;
    font-size:17px;
    max-width:680px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:28px 0 24px;
}

.btn-primary,
.btn-outline,
.btn-light,
.btn-ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 20px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
    text-align:center;
    transition:0.3s ease;
    border:none;
}

.btn-primary{
    width:100%;
    background:var(--primary);
    color:#fff;
    font-size:16px;
    padding:14px;
    box-shadow:0 8px 20px rgba(11,60,111,0.2);
}

.btn-primary:hover{
    background:var(--primary-dark);
    color:#fff;
    transform:translateY(-1px);
}

.btn-inline{
    width:auto;
    min-width:220px;
}

.btn-outline{
    border:1px solid var(--primary);
    color:var(--primary);
    background:#fff;
}

.btn-outline:hover{
    background:var(--primary);
    color:#fff;
}

.btn-light{
    background:#fff;
    color:var(--primary);
    box-shadow:var(--shadow);
}

.btn-light:hover{
    background:var(--accent);
    color:#111827;
    transform:translateY(-2px);
}

.btn-ghost{
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,0.28);
}

.btn-ghost:hover{
    background:rgba(255,255,255,0.12);
    color:#fff;
}

.hero-highlights{
    display:grid;
    gap:14px;
    margin-top:18px;
}

.highlight-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    background:rgba(255,255,255,0.09);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:14px 16px;
    backdrop-filter:blur(3px);
}

.highlight-icon{
    width:42px;
    height:42px;
    min-width:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(244,180,0,0.15);
    border-radius:12px;
    font-size:20px;
}

.highlight-item strong{
    display:block;
    font-size:15px;
    color:#fff;
    margin-bottom:2px;
}

.highlight-item p{
    margin:0;
    color:#dbe5f1;
    font-size:14px;
}

/* Search Box */
.search-box,
.filter-box,
.result-card,
.record-card,
.details-card,
.feature-card,
.empty-box,
.intro-strip-card,
.about-card{
    background:#fff;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.search-box{
    padding:28px;
    border-radius:20px;
    box-shadow:var(--shadow-lg);
    background:#ffffff;
    border:1px solid rgba(255,255,255,0.55);
}

.search-box-home{
    position:relative;
}

.search-box-top{
    margin-bottom:16px;
}

.search-box h3{
    color:var(--primary);
    font-size:24px;
    margin:10px 0 8px;
}

.search-box p{
    color:var(--muted);
    margin:0 0 10px;
    font-size:14px;
}

.form-group{
    margin-bottom:16px;
}

.form-group label{
    display:block;
    margin-bottom:7px;
    font-weight:700;
    color:#111827;
}

.form-group input,
.form-group select{
    width:100%;
    padding:13px 14px;
    border:1px solid var(--border);
    border-radius:12px;
    font-size:15px;
    outline:none;
    background:#fff;
    color:var(--text);
    transition:0.25s ease;
}

.form-group input:focus,
.form-group select:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(11,60,111,0.08);
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.quick-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:16px;
    font-size:13px;
    color:var(--muted);
}

.quick-links span{
    font-weight:700;
    color:var(--muted);
}

.quick-links a{
    background:#f7f9fc;
    border:1px solid var(--border);
    padding:7px 10px;
    border-radius:999px;
    color:var(--primary);
    font-weight:700;
}

.quick-links a:hover{
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

/* Intro strip */
.home-intro-strip{
    padding:28px 0 10px;
    background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.55));
}

.intro-strip-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

.intro-strip-card{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:22px;
    border:1px solid rgba(11,60,111,0.06);
}

.intro-icon{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:14px;
    background:linear-gradient(135deg, var(--primary), var(--primary-soft));
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    box-shadow:0 10px 18px rgba(11,60,111,0.16);
}

.intro-strip-card h3{
    margin:0 0 6px;
    color:var(--primary);
    font-size:18px;
}

.intro-strip-card p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}

/* Generic sections */
.features,
.recent-records,
.search-results-section,
.details-section,
.about-catalogue{
    padding:58px 0;
}

.home-features{
    background:linear-gradient(180deg, transparent, #f8fbff 25%, transparent);
}

.feature-grid,
.cards-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
}

.feature-card,
.record-card,
.result-card{
    padding:24px;
}

.feature-card{
    background:#ffffff;
    border-radius:16px;
    box-shadow:var(--shadow);
    border-left:5px solid var(--primary);
    transition:0.3s ease;
}

.feature-card.enhanced{
    border-left:none;
    border-top:4px solid var(--primary);
    position:relative;
    overflow:hidden;
}

.feature-card.enhanced::before{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:80px;
    height:80px;
    background:radial-gradient(circle, rgba(244,180,0,0.12), transparent 65%);
}

.feature-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(0,0,0,0.08);
}

.feature-icon{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    border-radius:14px;
    background:linear-gradient(135deg, rgba(11,60,111,0.12), rgba(244,180,0,0.18));
    margin-bottom:14px;
}

.feature-card h3{
    margin:0 0 10px;
    color:var(--primary);
    font-size:20px;
}

.feature-card p{
    margin:0;
    color:var(--muted);
}

.section-title{
    margin-bottom:28px;
}

.section-title.center{
    text-align:center;
    max-width:800px;
    margin:0 auto 32px;
}

.section-title h2{
    margin:12px 0 8px;
    color:var(--primary);
    font-size:34px;
    line-height:1.2;
}

.section-title p{
    margin:0;
    color:var(--muted);
    font-size:16px;
}

.record-card,
.result-card{
    border-radius:16px;
    background:#ffffff;
    box-shadow:var(--shadow);
    transition:0.3s ease;
    border:1px solid rgba(11,60,111,0.05);
}

.record-card:hover,
.result-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(11,60,111,0.10);
}

.record-card h3,
.result-card h3{
    margin:14px 0 14px;
    font-size:20px;
    line-height:1.35;
}

.record-card h3 a,
.result-card h3 a{
    color:var(--primary);
}

.record-card p,
.result-card p{
    margin:0 0 10px;
    font-size:14px;
    color:#374151;
}

.section-cta{
    margin-top:28px;
    text-align:center;
}

/* About */
.about-catalogue{
    background:linear-gradient(180deg, #ffffff, #f7fbff);
}

.about-grid{
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:28px;
    align-items:start;
}

.about-left h2{
    color:var(--primary);
    font-size:34px;
    margin:14px 0 16px;
    line-height:1.2;
}

.about-left p{
    color:#374151;
    margin:0 0 14px;
}

.about-points{
    display:grid;
    gap:12px;
    margin-top:20px;
}

.about-point{
    display:flex;
    gap:12px;
    align-items:flex-start;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:14px 16px;
}

.about-point span{
    width:28px;
    height:28px;
    min-width:28px;
    border-radius:50%;
    background:var(--primary);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:14px;
}

.about-point p{
    margin:0;
}

.about-card{
    padding:26px;
    border-top:4px solid var(--accent);
}

.about-card h3{
    margin:0 0 16px;
    color:var(--primary);
    font-size:22px;
}

.tips-list{
    margin:0;
    padding-left:18px;
}

.tips-list li{
    margin-bottom:10px;
    color:#374151;
}

/* Search / details pages */
.page-head{
    background:#fff;
    border-bottom:1px solid var(--border);
    padding:28px 0;
}

.search-layout{
    display:grid;
    grid-template-columns:300px 1fr;
    gap:24px;
}

.filter-box{
    padding:22px;
    align-self:start;
    position:sticky;
    top:100px;
}

.result-card{
    margin-bottom:18px;
}

.details-card{
    padding:28px;
}

.details-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin:24px 0;
}

.content-block{
    margin-top:24px;
}

/* CTA */
.final-cta{
    padding:20px 0 70px;
}

.final-cta-box{
    background:linear-gradient(135deg, var(--primary), var(--primary-dark));
    color:#fff;
    padding:36px;
    border-radius:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    box-shadow:var(--shadow-lg);
}

.final-cta-box h2{
    margin:12px 0 10px;
    font-size:32px;
    line-height:1.2;
}

.final-cta-box p{
    margin:0;
    color:#dbe5f1;
    max-width:760px;
}

/* Footer */
.site-footer{
    background:#0b3c6f;
    color:#fff;
    padding:50px 0 20px;
}

.footer-grid h3{
    color:var(--accent);
    margin-top:0;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.15);
    margin-top:24px;
    padding-top:16px;
    text-align:center;
}

.empty-box{
    padding:30px;
    text-align:center;
}

mark{
    background:#fff3b0;
    padding:2px 4px;
    border-radius:4px;
}

/* Chatbot */
.chatbot-float{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
}

.chatbot-toggle{
    background:var(--primary);
    color:#fff;
    border:none;
    padding:14px 20px;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
    box-shadow:var(--shadow-lg);
}

.chatbot-toggle:hover{
    background:var(--accent);
    color:#111827;
}

.chatbot-panel{
    width:360px;
    max-width:92vw;
    height:520px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,0.18);
    overflow:hidden;
    display:none;
    flex-direction:column;
    border:1px solid rgba(11,60,111,0.08);
}

.chatbot-header{
    background:linear-gradient(135deg, var(--primary), var(--primary-dark));
    color:#fff;
    padding:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.chatbot-header strong{
    display:block;
    font-size:16px;
}

.chatbot-header span{
    font-size:12px;
    opacity:0.92;
}

.chatbot-close{
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    line-height:1;
}

.chatbot-body{
    flex:1;
    overflow:auto;
    padding:16px;
    background:#f8fafc;
}

.chat-msg{
    max-width:85%;
    padding:10px 14px;
    border-radius:14px;
    margin-bottom:12px;
    font-size:14px;
    line-height:1.5;
    word-wrap:break-word;
}

.chat-msg.bot{
    background:#e8f0fb;
    color:#0f172a;
}

.chat-msg.user{
    background:var(--primary);
    color:#fff;
    margin-left:auto;
}

.chatbot-contact{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    padding:12px 14px 0;
    background:#fff;
}

.chatbot-contact input{
    width:100%;
    padding:10px 12px;
    border:1px solid var(--border);
    border-radius:10px;
    outline:none;
}

.chatbot-form{
    display:flex;
    gap:8px;
    padding:14px;
    background:#fff;
    border-top:1px solid var(--border);
}

.chatbot-form input{
    flex:1;
    padding:12px;
    border:1px solid var(--border);
    border-radius:10px;
    outline:none;
}

.chatbot-form button{
    background:var(--primary);
    color:#fff;
    border:none;
    padding:12px 16px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

.chatbot-form button:hover{
    background:var(--accent);
    color:#111827;
}

/* Responsive */
@media (max-width: 1100px){
    .hero-grid,
    .about-grid{
        grid-template-columns:1fr;
    }

    .hero-left h2{
        font-size:40px;
    }
}

@media (max-width: 992px){
    .feature-grid,
    .cards-grid,
    .search-layout,
    .footer-grid,
    .intro-strip-grid{
        grid-template-columns:1fr;
    }

    .filter-box{
        position:static;
    }

    .final-cta-box{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width: 768px){
    .header-inner,
    .brand{
        flex-direction:column;
        align-items:flex-start;
    }

    .main-nav{
        width:100%;
    }

    .form-row,
    .details-grid{
        grid-template-columns:1fr;
    }

    .hero{
        padding:60px 0;
    }

    .hero-left h2{
        font-size:30px;
    }

    .section-title h2,
    .about-left h2,
    .final-cta-box h2{
        font-size:26px;
    }

    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .btn-light,
    .btn-ghost{
        width:100%;
    }

    .chatbot-panel{
        width:95vw;
        right:0;
        bottom:0;
        height:70vh;
    }
}