/* home.css - Extracted and modernized styles from Unify theme for ERBCS homepage */
/* Replaces: one.style.css, one.dark.css, footer-v7.css, custom.css, line-icons */

/* ===== Base / Dark Theme ===== */
body.dark {
    background: #151515;
    color: #777;
}
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 {
    color: #ccc;
    font-weight: 200;
}
body.dark p, body.dark li, body.dark li a {
    color: #777;
}

/* ===== Navbar ===== */
.one-page-header {
    border-bottom: none;
    background: rgba(0,0,0,.4);
    transition: background 0.3s, box-shadow 0.3s;
    padding: 0;
}
.one-page-header .navbar-brand {
    font-size: 22px;
    font-weight: 300;
    color: #fff !important;
    font-family: 'Open Sans', sans-serif;
}
.one-page-header .navbar-brand span {
    color: #72c02c !important;
}
.one-page-header .navbar-toggler {
    border: none;
    padding-right: 0;
}
.one-page-header .navbar-toggler:focus {
    box-shadow: none;
}
.one-page-header .navbar-toggler-icon {
    filter: invert(1);
}
.one-page-header .navbar-nav > li > a {
    color: #eee;
    font-size: 14px;
    padding: 8px 12px;
}
.one-page-header .navbar-nav > li > a:hover {
    color: #72c02c;
}
.one-page-header .navbar-nav > li > a:focus {
    color: #fff;
}
.one-page-header .navbar-nav > .active > a {
    color: #72c02c !important;
    background: transparent;
}

/* Scrolled navbar */
.one-page-header.top-nav-collapse {
    background: #fff;
    box-shadow: 0 0 3px #b5b5b5;
}
.one-page-header.top-nav-collapse .navbar-brand,
.one-page-header.top-nav-collapse .navbar-nav > li > a {
    color: #777;
}
.one-page-header.top-nav-collapse .navbar-toggler-icon {
    filter: none;
}

/* Dark theme scrolled navbar */
body.dark .top-nav-collapse {
    box-shadow: none;
    background: rgba(0,0,0,.3);
}
body.dark .top-nav-collapse .navbar-brand {
    color: #eee !important;
}
body.dark .top-nav-collapse .navbar-nav > li > a {
    color: #fff;
}
body.dark .top-nav-collapse .navbar-nav > .active > a {
    color: #72c02c;
}

#blkNavLogo {
    padding-top: 10px;
}

/* ===== Hero / Swiper Slider ===== */
.intro-section {
    background: #222;
    position: relative;
}
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.hero-slide .slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}
.hero-slide .slide-title {
    color: #fff;
    font-size: 36px;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-slide .slide-desc {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    font-weight: 200;
    line-height: 1.6;
    margin-bottom: 30px;
}
.hero-slide .slide-buttons .btn {
    margin: 5px;
}

/* Swiper navigation/pagination */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: #72c02c;
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: #fff;
}

/* Dotted overlay on slider (subtle scanline effect) */
.swiper-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.08) 2px,
        rgba(0,0,0,0.08) 4px
    );
}

/* ===== Buttons ===== */
.btn-u {
    color: #fff;
    background: #72c02c;
    border: 1px solid #72c02c;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.btn-u:hover {
    color: #fff;
    background: #5fb61c;
    border-color: #5fb61c;
}
.btn-brd {
    background: transparent;
}
.btn-brd:hover {
    background: #72c02c;
    border-color: #72c02c;
}
.btn-u-light {
    color: #fff;
    border-color: #fff;
}
.btn-u-light:hover {
    color: #fff;
    background: #72c02c;
    border-color: #72c02c;
}

/* ===== Content Sections ===== */
.content-lg {
    padding: 60px 0;
}
.section-first {
    padding-top: 0;
}

/* Block v1 */
.block-v1 {
    padding: 50px 0 10px;
}

/* Title v1 */
.title-v1 {
    text-align: center;
    margin-bottom: 40px;
}
.title-v1 h1, .title-v1 h2 {
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}
.title-v1 h1::after, .title-v1 h2::after {
    content: "";
    width: 70px;
    height: 2px;
    background: #72c02c;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -35px;
}
.title-v1 p {
    font-size: 16px;
    margin-top: 15px;
}

/* Content Boxes v3 (About icons) */
.content-boxes-v3 {
    text-align: center;
}
.content-boxes-v3 .col-md-4 {
    text-align: center;
}
.content-boxes-v3 i.icon-custom {
    margin-bottom: 10px;
}
.content-boxes-v3 h2 {
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content boxes inline (features) */
.clearfix .icon-custom {
    float: left;
    margin-right: 15px;
}
.content-boxes-in-v3 {
    overflow: hidden;
}

/* ===== Icons ===== */
.icon-custom {
    width: 60px;
    height: 60px;
    font-size: 28px;
    line-height: 60px;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
}
.icon-md {
    width: 50px;
    height: 50px;
    font-size: 22px;
    line-height: 50px;
}
.icon-lg {
    width: 70px;
    height: 70px;
    font-size: 32px;
    line-height: 70px;
}
.icon-bg-dark {
    color: #fff;
    background: #555;
}
body.dark i.icon-bg-dark {
    color: #ccc;
    background: #222;
}
.icon-bg-u {
    color: #fff;
    background: #72c02c;
}
.rounded-x {
    border-radius: 50% !important;
}

/* ===== Headings ===== */
.heading-sm {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}
.heading-md {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== About Image Section ===== */
.about-section .about-image {
    padding-top: 60px;
}
.about-image.bg-grey {
    background: #f7f7f7;
    padding-bottom: 40px;
}
body.dark .about-section .about-image {
    background: #111;
    border-top-color: #171717;
    border-bottom-color: #171717;
}
.img-center {
    text-align: center;
}
.img-center img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* ===== Parallax Sections (CSS-based) ===== */
.parallax-quote,
.parallax-counter {
    padding: 60px 0;
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.parallax-quote {
    background-image: url("../img/home/bg2.jpg");
}
.parallax-counter {
    background-image: url("../img/home/bg3.jpg");
}

.parallax-quote::before,
.parallax-counter::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.parallax-quote-in {
    position: relative;
    text-align: center;
    z-index: 1;
}
.parallax-quote-in p {
    color: #ccc;
    font-size: 22px;
    font-weight: 200;
    line-height: 1.6;
}
.parallax-quote-in small {
    color: #999;
    font-size: 14px;
    display: block;
    margin-top: 10px;
}

/* ===== Counters ===== */
.counters {
    position: relative;
    text-align: center;
    z-index: 1;
    padding: 15px 0;
}
.counters .counter {
    color: #fff;
    font-size: 42px;
    font-weight: 300;
}
.counters span {
    color: #fff;
    font-size: 28px;
    font-weight: 300;
}
.counters h4 {
    color: #ccc;
    font-size: 14px;
    font-weight: 200;
    text-transform: uppercase;
    margin-top: 5px;
}

/* ===== Service Blocks ===== */
.service-box-v1 {
    text-align: center;
}
.service-box-v1 .service-block {
    background: #fff;
    padding: 30px 20px 20px;
    margin-bottom: 20px;
}
.service-block-default {
    background: #fafafa;
    border: solid 1px #eee;
    transition: box-shadow 0.3s;
}
.service-block-default:hover {
    box-shadow: 0 0 8px #eee;
}
.service-block-default p,
.service-block-default h2 {
    color: #555;
}
.service-box-v1 p {
    position: relative;
    margin-bottom: 30px;
}
.service-box-v1 p::after {
    content: "";
    left: 50%;
    height: 1px;
    width: 50px;
    bottom: -15px;
    position: absolute;
    margin-left: -25px;
    background: #72c02c;
}
.service-box-v1 ul {
    padding: 0 30px;
    text-align: left;
}
.service-box-v1 li {
    margin: 8px 0;
    font-size: 15px;
    padding-top: 8px;
    border-top: dotted 1px #72c02c;
}

body.dark .service-box-v1 .service-block {
    background: #171717;
    border-color: #171717;
}
body.dark .service-box-v1 .service-block:hover {
    box-shadow: 0 0 8px #111;
}

/* ===== Contact Section ===== */
.contacts-section {
    color: #fff;
    position: relative;
    background: url("../img/home/contact-bg.jpg") center fixed #333;
    background-size: cover;
}
.contacts-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/home/gridtile.png") repeat;
    z-index: 0;
}
.contacts-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 0;
}
.contacts-in {
    z-index: 1;
    color: #fff;
    position: relative;
}
.contacts-in ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}
.contacts-in li {
    color: #fff;
    margin: 15px 0;
    font-size: 16px;
    font-weight: 200;
}
.contacts-in li a {
    color: #fff;
}
.contacts-in li a:hover {
    color: #72c02c;
}
.contacts-in li i {
    width: 35px;
    padding: 8px;
    font-size: 18px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    background: rgba(255,255,255,.1);
}

/* ===== Copyright / Footer ===== */
.copyright-section {
    z-index: 1;
    background: #fff;
    position: relative;
    text-align: center;
    padding: 25px 0 20px;
}
body.dark .copyright-section {
    background: #151515;
}
.copyright-section p {
    font-size: 14px;
    color: #555;
}
body.dark .copyright-section p {
    color: #777;
}

/* Social Icons */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}
.social-icons li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 50%;
    color: #999;
    border: 1px solid #555;
    background: transparent;
    transition: color 0.3s, border-color 0.3s;
    text-decoration: none;
}
.social-icons li a:hover {
    color: #72c02c;
    border-color: #72c02c;
}

/* Back to top */
.back-to-top {
    color: #555;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}
.back-to-top:hover {
    color: #72c02c;
}

/* ===== Color Utilities ===== */
.color-green {
    color: #72c02c;
}

/* ===== Spacing Utilities ===== */
.margin-bottom-30 {
    margin-bottom: 30px;
}
.margin-bottom-40 {
    margin-bottom: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .md-margin-bottom-30 {
        margin-bottom: 30px;
    }
    .md-margin-bottom-40 {
        margin-bottom: 40px;
    }
    .one-page-header .navbar-collapse {
        background: rgba(0,0,0,0.9);
        padding: 10px 15px;
    }
    .hero-slide .slide-title {
        font-size: 24px;
    }
    .hero-slide .slide-desc {
        font-size: 15px;
    }
    /* Disable parallax fixed attachment on mobile (not supported on iOS) */
    .parallax-quote,
    .parallax-counter,
    .contacts-section {
        background-attachment: scroll;
    }
}
@media (max-width: 767.98px) {
    .hero-slide {
        height: 70vh;
    }
    .hero-slide .slide-title {
        font-size: 20px;
    }
    .counters .counter {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    #blkNavLogo {
        display: inline-block;
    }
}
