:root {
    --brand-blue: #1452c7;
    --brand-blue-dark: #0a347f;
    --brand-navy: #071f4f;
    --brand-red: #ef1458;
    --brand-purple: #6941c6;
    --ink: #182236;
    --muted: #65728a;
    --line: #dfe6f1;
    --surface: #f5f8fd;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(13, 49, 110, .12);
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand { font-family: "Manrope", "Inter", sans-serif; }
a { text-decoration: none; }
img { max-width: 100%; }

.topbar {
    color: rgba(255,255,255,.86);
    background: var(--brand-navy);
    font-size: .78rem;
    padding: .42rem 0;
}
.topbar i { color: #ff5e8f; margin-right: .35rem; }

.navbar { min-height: 82px; transition: all .25s ease; }
.navbar.scrolled { min-height: 70px; }
.navbar-brand img { width: 222px; height: auto; display: block; }
.navbar .nav-link {
    color: #26334c;
    font-size: .93rem;
    font-weight: 600;
    padding: .7rem .72rem !important;
    border-radius: .6rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--brand-blue); background: #eef4ff; }
.navbar-toggler { border: 0; box-shadow: none !important; }

.btn { border-radius: .75rem; font-weight: 700; padding: .72rem 1.15rem; }
.btn-lg { padding: .9rem 1.35rem; font-size: 1rem; }
.btn-brand {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-blue), #245fd3 60%, var(--brand-purple));
    box-shadow: 0 12px 30px rgba(20, 82, 199, .24);
}
.btn-brand:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.05); }
.btn-outline-light { border-width: 1.5px; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
      radial-gradient(circle at 86% 18%, rgba(239,20,88,.32), transparent 26%),
      radial-gradient(circle at 64% 75%, rgba(105,65,198,.34), transparent 33%),
      linear-gradient(125deg, #061c49 0%, #0b3e96 56%, #123b7c 100%);
    overflow: hidden;
    padding: 96px 0;
}
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto -12% -45% 38%;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    transform: rotate(-10deg);
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to right, #000, transparent 88%);
}
.eyebrow, .section-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .78rem;
    font-weight: 800;
}
.eyebrow {
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: .55rem .85rem;
    margin-bottom: 1.2rem;
}
.hero h1 { max-width: 880px; font-size: clamp(2.55rem, 5vw, 4.7rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.hero-lead { max-width: 760px; color: rgba(255,255,255,.78); font-size: 1.13rem; line-height: 1.8; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.35rem 2.3rem; }
.hero-trust > div { display: flex; align-items: center; gap: .8rem; }
.hero-trust i { font-size: 1.6rem; color: #ff5f90; }
.hero-trust span { display: flex; flex-direction: column; }
.hero-trust strong { font-size: .9rem; }
.hero-trust small { color: rgba(255,255,255,.58); font-size: .74rem; }

.platform-preview {
    position: relative;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 1.35rem;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    padding: 1.35rem;
    box-shadow: 0 34px 90px rgba(1, 14, 48, .4);
    backdrop-filter: blur(18px);
}
.platform-preview::before {
    content: "";
    position: absolute;
    inset: -14px 40px auto;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
    filter: blur(18px);
}
.preview-header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.preview-kicker { color: var(--brand-blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.preview-header h2 { margin: .2rem 0 0; font-size: 1.22rem; }
.status-pill { display: flex; align-items: center; gap: .4rem; color: #187b45; background: #e9f8ef; border-radius: 999px; padding: .42rem .66rem; font-size: .66rem; font-weight: 700; white-space: nowrap; }
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #27a85d; box-shadow: 0 0 0 4px rgba(39,168,93,.13); }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.15rem 0; }
.preview-stat { border: 1px solid #e4e9f2; border-radius: .9rem; padding: .9rem; background: #fff; }
.preview-stat span, .preview-stat small { display: block; color: var(--muted); font-size: .67rem; }
.preview-stat strong { display: block; color: var(--brand-navy); font-size: 1.45rem; line-height: 1.25; margin: .28rem 0; }
.preview-stat small i { color: #20a05a; }
.preview-chart { border-radius: .9rem; padding: 1rem; background: #f4f7fc; }
.chart-title { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; }
.chart-title strong { color: var(--brand-blue); }
.bars { height: 126px; display: flex; align-items: end; gap: .55rem; padding-top: 1rem; }
.bars span { flex: 1; min-height: 18px; border-radius: .3rem .3rem .1rem .1rem; background: linear-gradient(180deg, var(--brand-red), var(--brand-blue)); box-shadow: inset 0 -10px 20px rgba(0,0,0,.08); }
.preview-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: .9rem; }
.preview-modules > div { display: flex; gap: .55rem; align-items: center; border: 1px solid #e6ebf4; border-radius: .8rem; padding: .7rem; background: #fff; }
.preview-modules i { color: var(--brand-blue); }
.preview-modules span { font-size: .7rem; font-weight: 800; line-height: 1.2; }
.preview-modules small { display: block; color: var(--muted); font-size: .56rem; font-weight: 500; margin-top: .18rem; }

.section { padding: 100px 0; }
.section-light { background: var(--surface); }
.section-heading { max-width: 790px; }
.section-label { color: var(--brand-blue); margin-bottom: .8rem; }
.section-heading h2, .section h2 { color: var(--brand-navy); font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 800; }
.section-heading p, .section > .container > .row p { color: var(--muted); }

.solution-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 15px 45px rgba(13,49,110,.06);
    transition: .28s ease;
}
.solution-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: #c5d5f5; }
.solution-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; right: -65px; top: -68px; background: linear-gradient(135deg, rgba(20,82,199,.12), rgba(239,20,88,.1)); }
.solution-icon { width: 58px; height: 58px; border-radius: 1rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); font-size: 1.5rem; box-shadow: 0 12px 25px rgba(20,82,199,.22); }
.solution-number { position: absolute; right: 1.7rem; top: 1.6rem; color: #d5deef; font-family: "Manrope"; font-size: 2rem; font-weight: 800; }
.solution-card h3 { color: var(--brand-navy); margin: 1.35rem 0 .7rem; font-size: 1.33rem; font-weight: 800; }
.solution-card p { color: var(--muted); font-size: .94rem; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.55rem; font-size: .87rem; color: #344159; }
.check-list li::before { content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #19a05a; font-weight: 700; }
.card-link { color: var(--brand-blue); font-size: .87rem; font-weight: 800; }
.card-link i { transition: .2s; }
.card-link:hover i { margin-left: .25rem; }

.platform-section {
    position: relative;
    color: #fff;
    background: linear-gradient(135deg, #071b46, #0b3e92 56%, #45236d);
    overflow: hidden;
}
.platform-section::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.04); }
.platform-points { display: grid; gap: 1.15rem; margin-top: 2rem; }
.platform-points > div { display: flex; gap: .85rem; }
.platform-points i { color: #ff6798; font-size: 1.35rem; }
.platform-points span { display: flex; flex-direction: column; }
.platform-points strong { font-size: .96rem; }
.platform-points small { color: rgba(255,255,255,.58); }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.module-card { position: relative; min-height: 190px; padding: 1.45rem; border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; background: rgba(255,255,255,.09); backdrop-filter: blur(9px); transition: .25s; }
.module-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.module-card i { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: .8rem; background: rgba(255,255,255,.13); color: #ff77a4; font-size: 1.3rem; }
.module-card h3 { margin: 1rem 0 .5rem; font-size: 1.03rem; }
.module-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .86rem; }

.process-line { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; }
.process-line::before { content: ""; position: absolute; top: 29px; left: 9%; right: 9%; height: 2px; background: linear-gradient(90deg, var(--brand-blue), var(--brand-red)); opacity: .28; }
.process-step { position: relative; text-align: center; padding: 0 .4rem; }
.process-step > span { position: absolute; right: calc(50% - 35px); top: -7px; width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--brand-red); border-radius: 50%; font-size: .65rem; font-weight: 800; z-index: 2; }
.process-step > i { position: relative; z-index: 1; width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 1rem; border: 6px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); box-shadow: 0 8px 25px rgba(20,82,199,.2); font-size: 1.25rem; }
.process-step h3 { font-size: .98rem; font-weight: 800; color: var(--brand-navy); }
.process-step p { color: var(--muted); font-size: .8rem; line-height: 1.6; }

.impact-section { background: linear-gradient(180deg, #fff, #f8faff); }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.benefit-grid > div { border: 1px solid var(--line); border-radius: 1rem; background: #fff; padding: 1.4rem; box-shadow: 0 12px 32px rgba(13,49,110,.05); }
.benefit-grid i { color: var(--brand-red); font-size: 1.4rem; }
.benefit-grid h3 { margin: .8rem 0 .4rem; font-size: 1rem; color: var(--brand-navy); font-weight: 800; }
.benefit-grid p { margin: 0; font-size: .83rem; color: var(--muted); }

.about-visual { position: relative; min-height: 450px; border-radius: 1.5rem; background: linear-gradient(145deg, #eef4ff, #f9f3fa); overflow: hidden; box-shadow: inset 0 0 0 1px #e1e8f5; }
.about-visual::before, .about-visual::after { content: ""; position: absolute; border-radius: 50%; }
.about-visual::before { width: 260px; height: 260px; right: -70px; top: -60px; background: rgba(20,82,199,.12); }
.about-visual::after { width: 210px; height: 210px; left: -65px; bottom: -65px; background: rgba(239,20,88,.1); }
.about-logo { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 64%; background: #fff; border-radius: 1rem; padding: 1.3rem; box-shadow: var(--shadow); z-index: 2; }
.about-card { position: absolute; z-index: 3; display: flex; gap: .75rem; align-items: center; min-width: 240px; padding: .9rem 1rem; border-radius: .9rem; background: rgba(255,255,255,.94); border: 1px solid #e4eaf4; box-shadow: 0 14px 35px rgba(13,49,110,.1); }
.about-card i { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: .65rem; background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple)); }
.about-card span { display: flex; flex-direction: column; line-height: 1.3; }
.about-card strong { font-size: .78rem; }
.about-card small { color: var(--muted); font-size: .62rem; }
.about-card-one { left: 1.2rem; top: 2rem; }
.about-card-two { right: 1rem; bottom: 2rem; }
.about-card-three { left: 2rem; bottom: 5.7rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.1rem; margin-top: 1.5rem; }
.about-values span { color: #344159; font-size: .9rem; }
.about-values i { color: #20a05a; margin-right: .4rem; }

.faq-section .accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: none; }
.accordion-item { border-radius: .8rem !important; overflow: hidden; margin-bottom: .8rem; }
.accordion-button { color: var(--brand-navy); font-family: "Manrope"; font-weight: 800; padding: 1.2rem 1.3rem; }
.accordion-button:not(.collapsed) { color: var(--brand-blue); background: #eef4ff; box-shadow: none; }
.accordion-body { color: var(--muted); font-size: .9rem; }

.contact-section { padding: 100px 0; background: #f4f7fc; }
.contact-shell { overflow: hidden; border-radius: 1.35rem; background: #fff; box-shadow: var(--shadow); }
.contact-info { position: relative; color: #fff; background: linear-gradient(145deg, #071d4a, #0b3d91 62%, #342160); padding: 3rem; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -120px; bottom: -120px; background: rgba(255,255,255,.07); }
.contact-info h2 { color: #fff; font-size: 2.4rem; }
.contact-info > p { color: rgba(255,255,255,.68); }
.contact-detail { position: relative; z-index: 1; display: flex; gap: .85rem; align-items: flex-start; margin-top: 1.4rem; }
.contact-detail i { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: .7rem; color: #ff7aa7; background: rgba(255,255,255,.12); }
.contact-detail span { font-size: .88rem; }
.contact-detail small { display: block; color: rgba(255,255,255,.52); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-note { position: relative; z-index: 1; margin-top: 2rem; padding: .9rem; border-radius: .75rem; background: rgba(255,255,255,.08); color: rgba(255,255,255,.67); font-size: .72rem; }
.contact-form-wrap { padding: 3rem; }
.form-label { color: #36435a; font-size: .82rem; font-weight: 700; }
.form-control, .form-select { min-height: 48px; border-color: #d7dfeb; border-radius: .7rem; font-size: .92rem; }
.form-control:focus, .form-select:focus { border-color: #7fa4ef; box-shadow: 0 0 0 .22rem rgba(20,82,199,.1); }
textarea.form-control { min-height: 140px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.footer { color: rgba(255,255,255,.66); background: #061633; padding: 70px 0 25px; font-size: .86rem; }
.footer-logo { width: 215px; background: #fff; padding: .35rem; border-radius: .45rem; margin-bottom: 1rem; }
.footer h3 { color: #fff; font-size: .9rem; margin-bottom: 1rem; }
.footer a { display: block; color: rgba(255,255,255,.63); margin-bottom: .55rem; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.3rem; padding-top: 1.2rem; font-size: .75rem; }

.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: .75rem; color: #fff; background: var(--brand-blue); box-shadow: 0 10px 25px rgba(20,82,199,.28); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1199.98px) {
    .hero { min-height: auto; }
    .hero h1 { font-size: 3.4rem; }
    .preview-modules { grid-template-columns: 1fr; }
    .process-line { gap: .5rem; }
}

@media (max-width: 991.98px) {
    .navbar-brand img { width: 190px; }
    .navbar-collapse { padding: 1rem 0 1.3rem; }
    .hero { padding: 76px 0; }
    .hero h1 { font-size: clamp(2.45rem, 8vw, 4rem); }
    .platform-preview { max-width: 680px; }
    .process-line { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .process-line::before { display: none; }
    .process-step:last-child { grid-column: 1 / -1; max-width: 320px; margin-inline: auto; }
    .about-visual { min-height: 400px; }
}

@media (max-width: 767.98px) {
    .section, .contact-section { padding: 76px 0; }
    .hero { padding: 68px 0; }
    .hero h1 { font-size: 2.65rem; }
    .hero-lead { font-size: 1rem; }
    .hero-trust { display: grid; gap: 1rem; }
    .preview-stats, .module-grid, .benefit-grid, .about-values { grid-template-columns: 1fr; }
    .process-line { grid-template-columns: 1fr; }
    .process-step:last-child { grid-column: auto; }
    .contact-info, .contact-form-wrap { padding: 2rem; }
    .about-card { min-width: 205px; }
    .about-card-three { display: none; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
    .navbar { min-height: 72px; }
    .navbar-brand img { width: 165px; }
    .hero h1 { font-size: 2.25rem; }
    .hero .btn { width: 100%; }
    .platform-preview { padding: 1rem; }
    .preview-header { flex-direction: column; }
    .solution-card { padding: 1.55rem; }
    .about-visual { min-height: 360px; }
    .about-logo { width: 82%; }
    .about-card-one { left: .5rem; top: 1rem; }
    .about-card-two { right: .5rem; bottom: 1rem; }
    .contact-info h2 { font-size: 2rem; }
}

/* Solar products and Facebook links */
.topbar-social { color: rgba(255,255,255,.9); font-weight: 600; }
.topbar-social:hover { color: #fff; }
.topbar-social i { color: #74a7ff; }

.solar-section {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 12% 14%, rgba(255, 190, 42, .16), transparent 25%),
      linear-gradient(180deg, #fffdf6, #f4f9ff);
}
.solar-section::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    right: -180px;
    top: -210px;
    background: rgba(255, 193, 45, .11);
}
.solar-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn-facebook {
    color: #fff;
    border: 0;
    background: #1877f2;
    box-shadow: 0 12px 28px rgba(24,119,242,.22);
}
.btn-facebook:hover { color: #fff; background: #0f68dd; transform: translateY(-1px); }
.solar-showcase {
    position: relative;
    min-height: 520px;
    border: 1px solid #dbe6ef;
    border-radius: 1.45rem;
    overflow: hidden;
    background: linear-gradient(155deg, #0e4b83 0%, #148ec1 52%, #dff5ff 52%, #f8fcff 100%);
    box-shadow: var(--shadow);
}
.sun-orbit {
    position: absolute;
    right: 10%;
    top: 8%;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffd75a;
    background: rgba(255,255,255,.16);
    box-shadow: 0 0 0 18px rgba(255,216,90,.08), 0 0 45px rgba(255,216,90,.38);
    font-size: 3.2rem;
}
.solar-panel-visual {
    position: absolute;
    left: 8%;
    top: 14%;
    width: 52%;
    height: 190px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
    padding: 10px;
    border: 7px solid #263b55;
    border-radius: .55rem;
    background: #27415d;
    transform: perspective(700px) rotateX(55deg) rotateZ(-10deg);
    box-shadow: 0 30px 45px rgba(3,33,61,.35);
}
.solar-panel-visual span {
    border: 1px solid rgba(255,255,255,.25);
    border-radius: .18rem;
    background: linear-gradient(145deg, #1468a8, #092f64);
    box-shadow: inset 0 0 12px rgba(111,201,255,.18);
}
.solar-services {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem;
}
.solar-services article {
    display: flex;
    gap: .75rem;
    min-height: 116px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.74);
    border-radius: .9rem;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(5,61,96,.12);
    backdrop-filter: blur(10px);
}
.solar-services article > i {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: .7rem;
    color: #fff;
    background: linear-gradient(135deg, #f3ad20, #ef7d1a);
    font-size: 1.15rem;
}
.solar-services h3 { color: var(--brand-navy); margin: 0 0 .25rem; font-size: .88rem; font-weight: 800; }
.solar-services p { color: var(--muted); margin: 0; font-size: .72rem; line-height: 1.55; }
.contact-social { color: #fff; }
.contact-social:hover { color: #fff; }
.contact-social span { color: #fff; }

@media (max-width: 767.98px) {
    .solar-actions .btn { width: 100%; }
    .solar-showcase { min-height: 650px; }
    .solar-panel-visual { width: 70%; left: 5%; top: 8%; }
    .solar-services { grid-template-columns: 1fr; }
    .solar-services article { min-height: auto; }
}

@media (max-width: 575.98px) {
    .solar-showcase { min-height: 700px; }
    .solar-panel-visual { width: 76%; height: 160px; }
    .sun-orbit { width: 66px; height: 66px; font-size: 2.5rem; right: 5%; }
}

/* Home slideshow: Solar + CCTV */
.hero-showcase {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255,255,255,.18);
    background: #0b315d;
}
.hero-showcase .carousel-item { position: relative; }
.hero-showcase .carousel-item > img {
    height: 520px;
    object-fit: cover;
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,22,43,.04) 20%, rgba(4,22,43,.88) 100%);
}
.hero-showcase .carousel-caption {
    right: 9%;
    left: 9%;
    bottom: 3.4rem;
    z-index: 2;
}
.hero-showcase .carousel-caption h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    margin: .7rem 0 .5rem;
}
.hero-showcase .carousel-caption p { color: rgba(255,255,255,.88); max-width: 38rem; }
.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}
.hero-showcase .carousel-indicators { z-index: 3; }

.boss-video {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(11,60,145,.15);
    background: #f6f9ff;
}
.boss-video-title {
    padding: .75rem 1rem;
    font-weight: 800;
    color: #0b3c91;
    background: #eef4ff;
    border-bottom: 1px solid rgba(11,60,145,.12);
}
.boss-video iframe { border: 0; }

@media (max-width: 991.98px) {
    .hero-showcase .carousel-item > img { height: 430px; }
}
@media (max-width: 575.98px) {
    .hero-showcase .carousel-item > img { height: 390px; }
    .hero-showcase .carousel-caption { bottom: 2.5rem; }
    .hero-showcase .carousel-caption p { font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   2026 visual refresh - inspired by the strong visual hierarchy of the user's
   LGU System site while keeping R-APC's own identity and company-profile work.
   -------------------------------------------------------------------------- */
:root {
    --rapc-deep: #061b3f;
    --rapc-blue: #0b4e9c;
    --rapc-sky: #16a7e0;
    --rapc-cyan: #39d1e8;
    --rapc-gold: #f6b81a;
}
body { background: #fff; }
.navbar { min-height: 86px; transition: .25s ease; }
.navbar.scrolled { min-height: 74px; }
.nav-link { font-weight: 700; font-size: .88rem; }
.nav-link.active { color: var(--rapc-blue) !important; }

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(51,202,227,.28), transparent 24%),
        radial-gradient(circle at 18% 80%, rgba(80,89,204,.25), transparent 29%),
        linear-gradient(135deg, #041432 0%, #073f83 52%, #0e76a8 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2,15,43,.72), rgba(4,37,82,.25) 58%, rgba(0,0,0,.08));
}
.hero-grid { opacity: .2; }
.hero .container { z-index: 2; }
.hero h1 { max-width: 820px; font-size: clamp(3rem, 5.6vw, 5.35rem); line-height: .98; letter-spacing: -.045em; }
.hero-lead { max-width: 760px; font-size: 1.11rem; color: rgba(255,255,255,.78); }
.eyebrow { color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.17); backdrop-filter: blur(10px); }
.hero-trust > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); padding: .8rem .9rem; border-radius: .85rem; }
.hero-showcase {
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 35px 90px rgba(0,0,0,.34);
    transform: perspective(1100px) rotateY(-3deg);
}
.hero-showcase .carousel-item { min-height: 505px; }
.hero-showcase .carousel-item img { width: 100%; height: 505px; object-fit: cover; }
.hero-slide-overlay { background: linear-gradient(180deg, transparent 26%, rgba(1,15,39,.93)); }
.hero-showcase .carousel-caption { left: 8%; right: 8%; bottom: 3.2rem; }
.hero-showcase .carousel-caption h2 { font-size: 2rem; color: #fff; }

.expertise-strip { position: relative; z-index: 5; margin-top: -34px; padding-bottom: 18px; }
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 1.1rem;
    background: #fff;
    box-shadow: 0 25px 65px rgba(7,34,73,.16);
}
.expertise-grid article { position: relative; min-height: 170px; display: flex; gap: 1rem; align-items: flex-start; padding: 1.6rem; border-right: 1px solid #e8eef7; }
.expertise-grid article:last-child { border-right: 0; }
.expertise-grid article > span { position: absolute; right: 1rem; top: .75rem; color: #edf2f9; font: 800 2.1rem/1 Manrope, sans-serif; }
.expertise-grid i { position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: .8rem; color: #fff; background: linear-gradient(135deg, var(--rapc-blue), var(--rapc-sky)); box-shadow: 0 10px 24px rgba(11,78,156,.22); }
.expertise-grid h3 { position: relative; z-index: 1; margin: .1rem 0 .45rem; font-size: 1rem; }
.expertise-grid p { position: relative; z-index: 1; margin: 0; font-size: .78rem; color: var(--muted); }

.section-heading h2, .solar-section h2, .cctv-section h2, .projects-section h2 { letter-spacing: -.03em; }
.solution-card, .module-card, .benefit-grid > div { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.solution-card:hover, .module-card:hover, .benefit-grid > div:hover { transform: translateY(-7px); box-shadow: 0 20px 48px rgba(12,53,108,.13); }

.solar-section { background: linear-gradient(180deg, #fff 0%, #f4f9ff 100%); }
.feature-ticks { display: grid; gap: .7rem; margin: 1.5rem 0; }
.feature-ticks span { color: #33445c; font-weight: 650; }
.feature-ticks i { color: #0d9c5d; margin-right: .5rem; }
.project-carousel { overflow: hidden; border-radius: 1.25rem; background: #071d40; box-shadow: 0 28px 70px rgba(4,33,74,.18); }
.project-carousel .carousel-item { position: relative; height: 510px; }
.project-carousel img { width: 100%; height: 100%; object-fit: cover; }
.project-carousel .carousel-item::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(2,15,38,.93)); }
.project-caption { position:absolute; z-index:2; left:1.5rem; right:1.5rem; bottom:1.35rem; display:flex; flex-direction:column; color:#fff; }
.project-caption strong { font: 800 1.4rem/1.1 Manrope,sans-serif; }
.project-caption span { margin-top:.3rem; color:rgba(255,255,255,.72); font-size:.82rem; }

.cctv-section { background: #f5f8fc; }
.security-gallery { display: grid; grid-template-columns: 1.35fr .9fr; gap: .8rem; min-height: 560px; }
.security-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; box-shadow: 0 16px 38px rgba(10,43,83,.12); }
.security-gallery .security-main { grid-row: 1 / span 2; }
.security-panel { height: 100%; padding: 2rem; border-radius: 1.25rem; color: #fff; background: linear-gradient(145deg, #061832, #0b4e9c 68%, #0c8eb7); box-shadow: 0 22px 58px rgba(6,36,78,.2); }
.security-panel h3 { color:#fff; margin: 1rem 0 1.4rem; font-size:1.8rem; }
.security-icon { display:grid; place-items:center; width:62px; height:62px; border-radius:1rem; font-size:1.6rem; background:rgba(255,255,255,.12); }
.security-list { display:grid; gap:.85rem; }
.security-list > div { display:flex; gap:.8rem; padding-bottom:.8rem; border-bottom:1px solid rgba(255,255,255,.11); }
.security-list > div > i { color:#74e4ff; margin-top:.15rem; }
.security-list span { display:flex; flex-direction:column; }
.security-list strong { font-size:.9rem; }
.security-list small { color:rgba(255,255,255,.64); line-height:1.45; }

.projects-section { position:relative; overflow:hidden; background: linear-gradient(145deg, #041632, #072e69 58%, #0b5a8b); }
.projects-section::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; right:-190px; top:-260px; background:rgba(41,196,225,.09); }
.portfolio-grid { position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:250px; gap:1rem; }
.portfolio-card { position:relative; margin:0; overflow:hidden; border-radius:1rem; background:#102c54; }
.portfolio-card.wide { grid-column:span 2; }
.portfolio-card img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.portfolio-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 46%,rgba(2,14,33,.92)); }
.portfolio-card:hover img { transform:scale(1.045); }
.portfolio-card figcaption { position:absolute; z-index:2; left:1.15rem; right:1.15rem; bottom:1rem; display:flex; flex-direction:column; color:#fff; }
.portfolio-card figcaption strong { font-size:1.05rem; }
.portfolio-card figcaption span { color:rgba(255,255,255,.65); font-size:.74rem; }
.partner-note { position:relative; z-index:2; padding:1.2rem 1.35rem; border:1px solid rgba(255,255,255,.12); border-radius:1rem; background:rgba(255,255,255,.06); color:rgba(255,255,255,.65); }
.partner-note > span { display:block; margin-bottom:.75rem; font-size:.75rem; text-transform:uppercase; letter-spacing:.07em; }
.partner-note > div { display:flex; flex-wrap:wrap; gap:.5rem; }
.partner-note b { padding:.48rem .7rem; border-radius:.55rem; background:rgba(255,255,255,.1); color:#fff; font-size:.75rem; }

@media (max-width: 1199.98px) {
    .expertise-grid { grid-template-columns: repeat(2,1fr); }
    .expertise-grid article:nth-child(2) { border-right:0; }
    .expertise-grid article:nth-child(-n+2) { border-bottom:1px solid #e8eef7; }
}
@media (max-width: 991.98px) {
    .hero { min-height:auto; }
    .hero-showcase { transform:none; }
    .security-gallery { min-height:460px; }
    .portfolio-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 767.98px) {
    .expertise-strip { margin-top:0; padding-top:18px; }
    .expertise-grid { grid-template-columns:1fr; }
    .expertise-grid article { border-right:0; border-bottom:1px solid #e8eef7; min-height:auto; }
    .hero-showcase .carousel-item, .hero-showcase .carousel-item img { height:430px; min-height:430px; }
    .project-carousel .carousel-item { height:390px; }
    .security-gallery { grid-template-columns:1fr 1fr; min-height:auto; }
    .security-gallery .security-main { grid-column:1/-1; grid-row:auto; height:330px; }
    .security-gallery img:not(.security-main) { height:220px; }
    .portfolio-grid { grid-auto-rows:220px; }
}
@media (max-width: 575.98px) {
    .hero h1 { font-size:2.6rem; }
    .expertise-grid article { padding:1.25rem; }
    .security-gallery { grid-template-columns:1fr; }
    .security-gallery img:not(.security-main) { height:240px; }
    .portfolio-grid { grid-template-columns:1fr; grid-auto-rows:240px; }
    .portfolio-card.wide { grid-column:auto; }
}

/* --------------------------------------------------------------------------
   Hero slideshow update: large left slideshow (about 70%) + right intro panel
   -------------------------------------------------------------------------- */
.hero-layout {
    align-items: stretch !important;
}
.hero-showcase-wide {
    height: 100%;
    min-height: 590px;
    transform: perspective(1200px) rotateY(-2.5deg);
}
.hero-showcase-wide .carousel-item,
.hero-showcase-wide .carousel-item img {
    min-height: 590px;
    height: 590px;
}
.hero-indicators-wide {
    margin-bottom: 1rem;
}
.hero-caption-wide {
    left: 5.5% !important;
    right: 5.5% !important;
    bottom: 2.2rem !important;
}
.hero-caption-wide h2 {
    font-size: clamp(1.5rem, 2vw, 2.15rem) !important;
    margin-bottom: .7rem;
}
.hero-caption-wide p {
    max-width: 92%;
    font-size: .96rem;
}
.hero-aside-panel {
    height: 100%;
    min-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.75rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(4, 26, 64, .45);
    box-shadow: 0 28px 75px rgba(0,0,0,.22);
    backdrop-filter: blur(10px);
}
.hero-aside-panel h1 {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    line-height: 1.02;
    margin-bottom: 1rem;
}
.hero-aside-panel .hero-lead {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.4rem;
}
.hero-side-list {
    display: grid;
    gap: .9rem;
    margin-top: .35rem;
}
.hero-side-list > div {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: .9rem 1rem;
    border-radius: .95rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.hero-side-list i {
    color: #9ce8ff;
    font-size: 1rem;
    margin-top: .12rem;
}
.hero-side-list span {
    color: rgba(255,255,255,.9);
    font-weight: 600;
    line-height: 1.5;
    font-size: .95rem;
}
.hero-quick-contact {
    display: grid;
    gap: .8rem;
    margin-top: 1.45rem;
}
.hero-quick-contact > div {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .95rem 1rem;
    border-radius: .95rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
}
.hero-quick-contact i {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    background: linear-gradient(135deg, #139fdc, #7044cd);
}
.hero-quick-contact span {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
}
.hero-quick-contact small {
    color: rgba(255,255,255,.68);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 991.98px) {
    .hero-aside-panel,
    .hero-showcase-wide,
    .hero-showcase-wide .carousel-item,
    .hero-showcase-wide .carousel-item img {
        min-height: 460px;
        height: 460px;
    }
    .hero-aside-panel {
        height: auto;
        padding: 1.7rem;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .hero-caption-wide h2 {
        font-size: 1.35rem !important;
    }
    .hero-caption-wide p {
        font-size: .88rem;
        max-width: 100%;
    }
    .hero-aside-panel h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-showcase-wide,
    .hero-showcase-wide .carousel-item,
    .hero-showcase-wide .carousel-item img {
        min-height: 380px;
        height: 380px;
    }
    .hero-aside-panel {
        min-height: auto;
        padding: 1.35rem;
    }
}

/* Core expertise + autoplay video */
.expertise-video-section {
    margin-top: -34px;
    padding: 0 0 28px;
}
.expertise-video-row {
    position: relative;
    z-index: 6;
}
.expertise-grid-with-video {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 1.15rem;
    box-shadow: 0 25px 65px rgba(7,34,73,.16);
}
.expertise-grid-with-video article {
    min-height: 174px;
}
.expertise-grid-with-video article:nth-child(2) {
    border-right: 0;
}
.expertise-grid-with-video article:nth-child(-n+2) {
    border-bottom: 1px solid #e8eef7;
}
.expertise-video-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 1.15rem;
    border: 1px solid rgba(255,255,255,.16);
    background: linear-gradient(145deg, #061b3f, #0b4e9c 68%, #0d779f);
    box-shadow: 0 25px 65px rgba(7,34,73,.18);
}
.expertise-video-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    color: #fff;
}
.expertise-video-heading span {
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .02em;
}
.expertise-video-heading i {
    color: #7ce6ff;
    margin-right: .35rem;
}
.expertise-video-heading small {
    flex: 0 0 auto;
    padding: .3rem .55rem;
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.1);
    font-size: .65rem;
    font-weight: 700;
}
.expertise-video-frame {
    flex: 1 1 auto;
    min-height: 255px;
    background: #020a18;
}
.expertise-video-frame iframe {
    border: 0;
}
.expertise-video-note {
    padding: .75rem 1rem;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    line-height: 1.4;
}
.expertise-video-note i {
    color: #7ce6ff;
    margin-right: .3rem;
}

@media (max-width: 991.98px) {
    .expertise-video-section { margin-top: 0; padding-top: 18px; }
    .expertise-grid-with-video article { min-height: 155px; padding: 1.2rem; }
    .expertise-video-frame { min-height: 230px; }
}

@media (max-width: 767.98px) {
    .expertise-grid-with-video { grid-template-columns: 1fr; }
    .expertise-grid-with-video article {
        min-height: auto;
        border-right: 0 !important;
        border-bottom: 1px solid #e8eef7;
    }
    .expertise-grid-with-video article:last-child { border-bottom: 0; }
    .expertise-video-card { min-height: 0; }
    .expertise-video-frame { min-height: 0; }
}

/* --------------------------------------------------------------------------
   Final hero sizing adjustments: make slideshow occupy the whole left area
   -------------------------------------------------------------------------- */
.hero > .container {
    max-width: 1540px;
}
.hero-main-col,
.hero-side-col {
    display: flex;
}
.hero-main-col > *,
.hero-side-col > * {
    width: 100%;
}
.hero-showcase-wide {
    width: 100%;
    min-height: 640px;
}
.hero-showcase-wide .carousel-inner,
.hero-showcase-wide .carousel-item,
.hero-showcase-wide .carousel-item img {
    width: 100%;
    min-height: 640px;
    height: 640px;
}
.hero-showcase-wide .carousel-item img {
    object-fit: cover;
    object-position: center center;
}
.hero-aside-panel {
    width: 100%;
    min-height: 640px;
}

@media (min-width: 992px) {
    .hero-layout {
        display: flex;
        align-items: stretch !important;
    }
    .hero-main-col {
        width: 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }
    .hero-side-col {
        width: 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 1199.98px) {
    .hero > .container {
        max-width: 1320px;
    }
    .hero-showcase-wide,
    .hero-aside-panel,
    .hero-showcase-wide .carousel-inner,
    .hero-showcase-wide .carousel-item,
    .hero-showcase-wide .carousel-item img {
        min-height: 560px;
        height: 560px;
    }
}

@media (max-width: 991.98px) {
    .hero > .container {
        max-width: 960px;
    }
    .hero-main-col,
    .hero-side-col {
        display: block;
    }
    .hero-showcase-wide,
    .hero-showcase-wide .carousel-inner,
    .hero-showcase-wide .carousel-item,
    .hero-showcase-wide .carousel-item img {
        min-height: 460px;
        height: 460px;
    }
    .hero-aside-panel {
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .hero-showcase-wide,
    .hero-showcase-wide .carousel-inner,
    .hero-showcase-wide .carousel-item,
    .hero-showcase-wide .carousel-item img {
        min-height: 380px;
        height: 380px;
    }
}

/* --------------------------------------------------------------------------
   Increase expertise video size by about 1.5x
   -------------------------------------------------------------------------- */
.expertise-video-row {
    align-items: stretch !important;
}
.expertise-video-card-large {
    min-height: 100%;
}
@media (min-width: 992px) {
    .expertise-video-card-large {
        transform: scale(1);
    }
    .expertise-video-frame {
        min-height: 390px;
    }
    .expertise-video-card-large .expertise-video-frame {
        min-height: 390px;
    }
    .expertise-video-card-large .ratio {
        --bs-aspect-ratio: 63%;
    }
    .expertise-grid-with-video article {
        min-height: 160px;
    }
}
@media (min-width: 1200px) {
    .expertise-video-card-large .expertise-video-frame {
        min-height: 430px;
    }
    .expertise-video-card-large .ratio {
        --bs-aspect-ratio: 60%;
    }
}
@media (max-width: 991.98px) {
    .expertise-video-card-large .expertise-video-frame {
        min-height: 300px;
    }
}
@media (max-width: 575.98px) {
    .expertise-video-card-large .expertise-video-frame {
        min-height: 220px;
    }
}
