:root {
    --cead-navy: #04073f;
    --cead-blue: #064dac;
    --cead-sky: #0b88d1;
    --cead-gold: #f9b900;
    --cead-red: #c80016;
    --cead-ink: #17213b;
    --cead-muted: #64708b;
    --cead-soft: #f4f7fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--cead-ink);
    background: #fff;
}
h1,h2,h3,h4,h5,h6,.navbar-brand strong { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; }

.topbar {
    background: var(--cead-navy);
    color: rgba(255,255,255,.82);
    padding: .55rem 0;
}
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--cead-gold); }

.main-navbar { min-height: 84px; }
.brand-logo {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(4,7,63,.16);
}
.brand-copy { line-height: 1.05; }
.brand-copy strong { display:block; color: var(--cead-navy); font-size: 1.25rem; letter-spacing: .04em; }
.brand-copy small { color: var(--cead-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.navbar .nav-link { color: #253253; font-weight: 600; padding: .75rem .65rem !important; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--cead-blue); }
.btn-ministerial {
    color: #fff;
    background: linear-gradient(135deg, var(--cead-blue), var(--cead-navy));
    border: 0;
    border-radius: 14px;
    padding: .78rem 1rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(6,77,172,.24);
}
.btn-ministerial:hover { color:#fff; transform: translateY(-1px); }

.hero-wrap {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 22%, rgba(11,136,209,.35), transparent 28%),
        radial-gradient(circle at 12% 80%, rgba(249,185,0,.12), transparent 24%),
        linear-gradient(135deg, #03052f 0%, #071b70 55%, #063e97 100%);
    color: #fff;
}
.hero-wrap::after {
    content:"";
    position:absolute;
    width: 420px;
    height:420px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    right:-180px;
    top:-160px;
}
.hero-inner { min-height: 650px; padding: 88px 0; display:flex; align-items:center; }
.hero-no-media .hero-inner { min-height: 560px; }
.hero-badge {
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.55rem .85rem;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    font-size:.83rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.hero-title { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; margin: 1.2rem 0; }
.hero-title span { color: var(--cead-gold); }
.hero-text { color: rgba(255,255,255,.82); max-width: 650px; font-size: 1.08rem; line-height:1.8; }
.hero-logo-card {
    max-width: 430px;
    margin-inline: auto;
    padding: 20px;
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(255,255,255,.17), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 34px 80px rgba(0,0,0,.34);
    backdrop-filter: blur(16px);
}
.hero-logo-card img { width:100%; border-radius: 28px; display:block; }
.hero-actions .btn { padding: .9rem 1.2rem; border-radius: 14px; font-weight:700; }
.btn-gold { background: var(--cead-gold); color: #1d2445; border:0; }
.btn-gold:hover { background:#ffc82d; color:#111932; }
.btn-glass { color:#fff; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.07); }
.btn-glass:hover { color:#fff; background:rgba(255,255,255,.14); }

.home-carousel-section {
    background: linear-gradient(180deg, #03052f 0%, #071449 46%, #fff 46%, #fff 100%);
    padding: 0 0 34px;
}
.home-image-carousel {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(23,33,59,.22);
    background: #071449;
}
.home-image-carousel .carousel-item {
    height: clamp(260px, 42vw, 520px);
}
.home-image-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-link { display: block; color: inherit; }
.home-image-carousel .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,5,47,.76), rgba(3,5,47,.18) 62%, rgba(3,5,47,.34));
    pointer-events: none;
}
.home-image-carousel .carousel-caption {
    left: 7%;
    right: auto;
    bottom: 12%;
    z-index: 2;
    max-width: min(620px, 78vw);
    text-align: left;
}
.home-image-carousel .carousel-caption span {
    display: inline-flex;
    margin-bottom: .7rem;
    color: var(--cead-gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.home-image-carousel .carousel-caption h2 {
    color: #fff;
    font-size: clamp(1.55rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.03;
    margin: 0;
}
.home-image-carousel .carousel-caption p {
    color: rgba(255,255,255,.84);
    font-size: 1rem;
    line-height: 1.55;
    margin: .75rem 0 0;
}
.home-image-carousel .carousel-control-prev,
.home-image-carousel .carousel-control-next {
    width: 9%;
}

.quick-access { margin-top:-58px; position:relative; z-index:5; }
.quick-access-normal { margin-top: 0; padding-top: 18px; }
.quick-card {
    height:100%;
    background:#fff;
    border:1px solid rgba(4,7,63,.06);
    border-radius:22px;
    padding:1.45rem;
    box-shadow:0 18px 55px rgba(23,33,59,.10);
    transition:.25s ease;
}
.quick-card:hover { transform:translateY(-6px); box-shadow:0 24px 60px rgba(23,33,59,.15); }
.quick-icon {
    width:54px; height:54px; border-radius:17px;
    display:grid; place-items:center;
    color:#fff; font-size:1.35rem;
    background:linear-gradient(135deg,var(--cead-blue),var(--cead-sky));
    margin-bottom:1rem;
}
.quick-card h5 { font-size:1rem; color:var(--cead-navy); }
.quick-card p { color:var(--cead-muted); font-size:.88rem; margin:0; }

.section-pad { padding: 88px 0; }
.section-soft { background: var(--cead-soft); }
.section-kicker { color:var(--cead-blue); font-weight:800; text-transform:uppercase; font-size:.78rem; letter-spacing:.14em; }
.section-title { color:var(--cead-navy); font-size:clamp(2rem,3vw,3rem); font-weight:800; letter-spacing:-.03em; }
.section-lead { color:var(--cead-muted); max-width:650px; line-height:1.8; }

.event-card, .news-card, .video-card, .board-card {
    background:#fff;
    border:0;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 14px 45px rgba(23,33,59,.09);
    height:100%;
    transition:.25s ease;
}
.event-card:hover, .news-card:hover, .video-card:hover, .board-card:hover { transform:translateY(-5px); }
.card-cover { height:220px; width:100%; object-fit:cover; background:linear-gradient(135deg,#071449,#0b88d1); }
.card-placeholder { height:220px; display:grid; place-items:center; background:linear-gradient(135deg,#071449,#0b88d1); color:rgba(255,255,255,.75); font-size:3rem; }
.event-date {
    display:inline-flex; flex-direction:column; align-items:center; justify-content:center;
    min-width:68px; height:68px; border-radius:18px;
    background:var(--cead-soft); color:var(--cead-navy); font-weight:800;
}
.event-date strong { font-size:1.35rem; line-height:1; }
.event-date span { font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; }
.badge-soft { background:#eaf2ff; color:var(--cead-blue); }
.card-title-link { color:var(--cead-navy); }
.card-title-link:hover { color:var(--cead-blue); }

.president-section {
    position:relative;
    overflow:hidden;
    background:linear-gradient(135deg,#03052f,#0a2e85);
    color:#fff;
}
.president-section::before {
    content:""; position:absolute; inset:0;
    background:radial-gradient(circle at 100% 0, rgba(11,136,209,.38), transparent 36%);
}
.president-card {
    position:relative;
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.08);
    border-radius:30px;
    padding:2rem;
    backdrop-filter:blur(12px);
}
.president-placeholder {
    min-height:360px;
    border-radius:24px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.05));
    color:rgba(255,255,255,.7);
    font-size:5rem;
}
.president-photo {
    width: 100%;
    min-height: 360px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    display: block;
}

.stats-strip {
    background:#fff;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(23,33,59,.09);
    padding:1.6rem;
}
.stat-number { font-size:2rem; font-weight:800; color:var(--cead-blue); font-family:'Montserrat',sans-serif; }
.stat-label { color:var(--cead-muted); font-size:.86rem; }

.suggestion-box {
    border-radius:30px;
    overflow:hidden;
    background:linear-gradient(135deg,#f6f9ff,#edf4ff);
    border:1px solid #e1e9f8;
}
.form-control,.form-select { border-radius:13px; padding:.82rem .95rem; border-color:#dfe6f2; }
.form-control:focus,.form-select:focus { border-color:var(--cead-sky); box-shadow:0 0 0 .25rem rgba(11,136,209,.12); }

.page-hero {
    background:linear-gradient(135deg,#03052f,#0a3f99);
    color:#fff;
    padding:72px 0;
    position:relative;
    overflow:hidden;
}
.page-hero::after { content:""; position:absolute; width:330px;height:330px;border-radius:50%;right:-110px;top:-170px;background:rgba(255,255,255,.06); }
.page-content { line-height:1.85; font-size:1.02rem; }
.legal-document {
    color: var(--cead-ink);
}
.legal-document .legal-intro {
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--cead-gold);
    background: #f8fbff;
    border-radius: 10px;
    color: var(--cead-navy);
}
.legal-document h2 {
    margin: 2.2rem 0 1rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #e3eaf5;
    color: var(--cead-navy);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
}
.legal-document h3 {
    margin: 1.7rem 0 .8rem;
    color: var(--cead-blue);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
}
.legal-document p {
    margin-bottom: .95rem;
}
.legal-document .legal-article {
    padding: .85rem 1rem;
    border-radius: 10px;
    background: #f9fbff;
    border: 1px solid #e7edf7;
}
.legal-document .legal-article strong,
.legal-document .legal-paragraph strong {
    color: var(--cead-navy);
}
.legal-list {
    margin: .5rem 0 1.3rem;
    padding-left: 1.3rem;
}
.legal-list li {
    margin-bottom: .55rem;
    padding-left: .25rem;
}

.auth-page { min-height:calc(100vh - 84px); background:linear-gradient(135deg,#f4f7fc,#eaf2ff); padding:60px 0; }
.auth-card { border:0; border-radius:26px; box-shadow:0 22px 70px rgba(23,33,59,.12); overflow:hidden; }
.auth-side { background:linear-gradient(135deg,#03052f,#0a3f99); color:#fff; padding:2.4rem; }
.auth-logo { width:120px; border-radius:24px; box-shadow:0 18px 45px rgba(0,0,0,.28); }
.btn-google { border:1px solid #dbe2ef; background:#fff; border-radius:13px; padding:.8rem 1rem; font-weight:700; }

.site-footer { background:#03052f; color:rgba(255,255,255,.82); }
.footer-logo { width:72px; height:72px; object-fit:cover; border-radius:18px; }
.site-footer h6 { color:#fff; margin-bottom:1rem; }
.footer-muted { color:rgba(255,255,255,.62); }
.footer-links { list-style:none; margin:0; padding:0; }
.footer-links li { margin:.6rem 0; }
.footer-links a,.contact-list a { color:rgba(255,255,255,.72); }
.footer-links a:hover,.contact-list a:hover { color:var(--cead-gold); }
.contact-list { list-style:none; margin:0; padding:0; display:grid; gap:.8rem; }
.contact-list li { display:flex; gap:.7rem; align-items:flex-start; }
.contact-list i { color:var(--cead-gold); margin-top:.1rem; }
.footer-divider { border-color:rgba(255,255,255,.12); margin:2rem 0 1.25rem; }
.social-circle { width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.09);color:#fff; }
.social-circle:hover { background:var(--cead-gold); color:var(--cead-navy); }
.whatsapp-float {
    position:fixed; right:20px; bottom:20px; width:58px; height:58px;
    border-radius:50%; display:grid;place-items:center; color:#fff; background:#25d366;
    font-size:1.6rem; box-shadow:0 16px 35px rgba(37,211,102,.38); z-index:1050;
}
.whatsapp-float:hover { color:#fff; transform:translateY(-3px); }

@media (max-width: 991.98px) {
    .main-navbar { min-height:74px; }
    .navbar-collapse { padding: 1rem 0 1.25rem; }
    .navbar .nav-link { padding: .65rem 0 !important; }
    .brand-logo { width:52px;height:52px;border-radius:14px; }
    .hero-inner, .hero-no-media .hero-inner { min-height:auto; padding:70px 0 96px; text-align:center; }
    .hero-text { margin-inline:auto; }
    .hero-actions { justify-content:center; }
    .hero-logo-card { max-width:330px; margin-top:2rem; }
    .quick-access { margin-top:-75px; }
    .quick-access-normal { margin-top: 0; padding-top: 16px; }
    .section-pad { padding:68px 0; }
    .president-photo, .president-placeholder { min-height: 300px; }
}

@media (max-width: 575.98px) {
    .hero-inner { padding-top:52px; }
    .hero-title { font-size:2.35rem; line-height: 1.04; }
    .hero-text { font-size:.98rem; }
    .hero-actions .btn { width: 100%; }
    .hero-logo-card { max-width:280px; border-radius:28px; }
    .hero-logo-card img { border-radius:21px; }
    .home-carousel-section { padding-bottom: 24px; }
    .home-image-carousel { border-radius: 18px; }
    .home-image-carousel .carousel-item { height: 300px; }
    .home-image-carousel .carousel-caption {
        left: 1.1rem;
        right: 1.1rem;
        bottom: 2.8rem;
        max-width: none;
    }
    .home-image-carousel .carousel-caption p { display: none; }
    .home-image-carousel .carousel-control-prev,
    .home-image-carousel .carousel-control-next { width: 14%; }
    .quick-card { padding:1.2rem; }
    .quick-card h5 { font-size: .95rem; overflow-wrap: anywhere; }
    .section-pad { padding:56px 0; }
    .section-title { font-size: 1.9rem; }
    .card-cover,.card-placeholder { height:190px; }
    .stats-strip { padding: 1.1rem .75rem; }
    .stat-number { font-size: 1.45rem; }
    .stat-label { font-size: .75rem; }
    .whatsapp-float { width:54px;height:54px;right:14px;bottom:14px; }
}
