/* =========================================================
   UNISCERT - Front-end custom styles
   Color palette: Navy (#0b3d91) + Gold accent (#f2b134)
   ========================================================= */
:root{
    --uc-primary:#0b3d91;
    --uc-primary-dark:#082c6b;
    --uc-accent:#f2b134;
    --uc-dark:#101828;
    --uc-light:#f5f7fb;
}

body{
    font-family:"Poppins", sans-serif;
    color:#333;
}

a{ text-decoration:none; }

.btn-primary{
    background:var(--uc-primary);
    border-color:var(--uc-primary);
}
.btn-primary:hover{
    background:var(--uc-primary-dark);
    border-color:var(--uc-primary-dark);
}
.btn-outline-primary{
    color:var(--uc-primary);
    border-color:var(--uc-primary);
}
.btn-outline-primary:hover{
    background:var(--uc-primary);
    border-color:var(--uc-primary);
}

/* Top info bar */
.top-bar{
    background:var(--uc-dark);
    color:#cfd6e4;
    font-size:.85rem;
}
.top-bar a{ color:#cfd6e4; }
.top-bar a:hover{ color:var(--uc-accent); }
.top-bar-item i{ margin-right:6px; color:var(--uc-accent); }

/* Main nav */
.main-navbar{
    box-shadow:0 2px 12px rgba(0,0,0,.06);
    padding:.6rem 0;
}
.main-navbar .navbar-brand img{ max-height:46px; }
.brand-text{ font-weight:700; font-size:1.35rem; color:var(--uc-primary); }
.main-navbar .nav-link{
    font-weight:500;
    color:#333;
    margin:0 .4rem;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover{ color:var(--uc-primary); }
.btn-cta{ border-radius:30px; padding:.5rem 1.3rem; font-weight:600; }

/* Hero */
.hero-slider{ position:relative; }
.hero-slide{
    height:600px;
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
}
.hero-slide-default{ background:linear-gradient(135deg, var(--uc-primary), var(--uc-primary-dark)); }
.hero-overlay{
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(8,20,50,.82) 0%, rgba(8,20,50,.45) 60%, rgba(8,20,50,.2) 100%);
}
.hero-caption{ position:relative; z-index:2; color:#fff; max-width:680px; }
.hero-eyebrow{ text-transform:uppercase; letter-spacing:2px; color:var(--uc-accent); font-weight:600; font-size:.85rem; }
.hero-caption h1{ font-size:2.6rem; font-weight:700; line-height:1.25; }

.info-strip{
    background:#fff;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    position:relative; z-index:5;
    margin-top:-40px;
    border-radius:10px;
    max-width:1140px;
    margin-left:auto; margin-right:auto;
}
.info-item{
    display:flex; align-items:center; gap:14px;
    padding:22px 20px;
}
.info-item i{ font-size:1.8rem; color:var(--uc-primary); }
.info-item h6{ margin-bottom:2px; font-weight:600; }
.info-item p{ margin:0; font-size:.85rem; color:#666; }

/* Sections */
.section-tag{
    display:inline-block;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:.78rem;
    font-weight:700;
    color:var(--uc-primary);
    background:rgba(11,61,145,.08);
    padding:6px 16px;
    border-radius:20px;
    margin-bottom:14px;
}
.section-tag-light{ background:rgba(255,255,255,.12); color:var(--uc-accent); }
.section-title{
    font-weight:700;
    font-size:2rem;
    margin-bottom:1rem;
}
.section-lead{ max-width:760px; color:#555; margin-bottom:1.5rem; }

/* Partner cards */
.partner-card{
    background:#fff;
    border-radius:12px;
    padding:30px 20px;
    box-shadow:0 6px 20px rgba(0,0,0,.05);
    height:100%;
    transition:.3s;
}
.partner-card:hover{ transform:translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,.1); }
.partner-card img{ max-height:70px; margin-bottom:14px; }

/* Service cards */
.service-card{
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    height:100%;
    transition:.3s;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:0 16px 34px rgba(0,0,0,.12); }
.service-card-img{
    height:190px;
    background-size:cover;
    background-position:center;
    background-color:#e9edf5;
}
.service-card-body{ padding:22px; }
.service-card-body h5{ font-weight:700; margin-bottom:10px; }
.service-card-body p{ color:#666; font-size:.92rem; margin-bottom:14px; }
.service-link{ font-weight:600; color:var(--uc-primary); font-size:.85rem; letter-spacing:1px; }
.service-link:hover{ color:var(--uc-accent); }

/* Process steps */
.section-process{ background:var(--uc-dark); }
.process-step{ padding:20px 10px; }
.process-number{
    width:60px; height:60px;
    border-radius:50%;
    background:var(--uc-accent);
    color:var(--uc-dark);
    font-weight:800; font-size:1.4rem;
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 16px;
}

/* News cards */
.news-card{
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    background:#fff;
    height:100%;
}
.news-card-img{ height:180px; background-size:cover; background-position:center; background-color:#e9edf5; }
.news-card-body{ padding:20px; }
.news-date{ color:var(--uc-primary); font-weight:600; font-size:.78rem; text-transform:uppercase; }
.news-card-body h5{ font-weight:700; margin-top:8px; }

/* Page header (inner pages) */
.page-header{
    background:linear-gradient(135deg, var(--uc-primary), var(--uc-primary-dark));
    color:#fff;
    padding:70px 0 40px;
}
.page-header h1{ font-weight:700; margin-bottom:8px; }
.page-header .breadcrumb{ margin:0; }
.page-header .breadcrumb a{ color:rgba(255,255,255,.75); }
.page-header .breadcrumb-item.active{ color:var(--uc-accent); }

/* About page */
.about-media-placeholder{
    background:var(--uc-light);
    border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    font-size:4rem; color:var(--uc-primary);
}
.about-media img{ width:100%; height:100%; object-fit:cover; border-radius:12px; }

/* Service detail */
.service-detail-img{ width:100%; height:100%; object-fit:cover; }
.service-detail-content{ line-height:1.8; color:#444; }
.sidebar-card{
    background:var(--uc-light);
    border-radius:12px;
    padding:22px;
}
.related-services li{ padding:8px 0; border-bottom:1px solid #e3e6ee; }
.related-services a{ color:var(--uc-primary); font-weight:500; }
.related-services a:hover{ color:var(--uc-accent); }

/* Gallery */
.gallery-item{ position:relative; display:block; border-radius:10px; overflow:hidden; }
.gallery-item img{ width:100%; height:220px; object-fit:cover; transition:.3s; }
.gallery-item:hover img{ transform:scale(1.06); }
.gallery-caption{
    position:absolute; left:0; right:0; bottom:0;
    background:linear-gradient(0deg, rgba(0,0,0,.7), transparent);
    color:#fff; padding:10px 12px; font-size:.85rem;
}

/* Contact */
.contact-info-list li{ padding:10px 0; border-bottom:1px solid #eee; }
.contact-info-list i{ color:var(--uc-primary); margin-right:10px; width:18px; }
.contact-form{ background:var(--uc-light); padding:30px; border-radius:14px; }

/* Certificate check */
.cert-check-box{ background:var(--uc-light); padding:30px; border-radius:14px; }

/* Footer */
.site-footer{ background:var(--uc-dark); color:#c7cede; }
.footer-brand{ color:#fff; font-weight:700; }
.footer-heading{ color:#fff; font-weight:600; margin-bottom:16px; }
.footer-list{ list-style:none; padding:0; margin:0; }
.footer-list li{ margin-bottom:12px; font-size:.9rem; }
.footer-social a{
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:50%;
    background:rgba(255,255,255,.08); color:#fff; margin-right:8px;
}
.footer-social a:hover{ background:var(--uc-accent); color:var(--uc-dark); }
.footer-bottom{ background:#0a1220; color:#8f97ab; font-size:.85rem; }

@media (max-width: 991px){
    .hero-slide{ height:520px; }
    .hero-caption h1{ font-size:1.9rem; }
    .info-strip{ margin-top:0; border-radius:0; }
}
