/* BACKGROUND HERO */
body{
  font-family: 'Poppins', sans-serif;
}

*{
  font-family: 'Poppins', sans-serif;
}
.hero{
min-height:80vh;
height: 100vh;
/* background:
linear-gradient(rgba(255,255,255,0.85),rgba(255,255,255,0.85)),
url("../images/banner-home.webp");  */
background-size:cover;
background-image: url(../images/banner-home.webp);
background-position:center;
display:flex;
align-items:center;
}

/* NAVBAR */
.navbar{
background:white;
}

/* SEARCH CARD */
.search-card{
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
padding:40px;
}
@media(max-width:467px){
    .search-card{
        padding:28px;
    }
    .form-label{
        font-size: 3.9vw;
    }
}

/* BUTTON COLORS */
.btn-success{
background:#0d6b3c;
border:none;
}

.btn-outline-success{
border-color:#0d6b3c;
color:#0d6b3c;
}

/* RULES SECTION */
.rules-section{
background-color: #067240;
color:white;
padding:96px 0;
text-align:center;
}

/* CONTACT */
.contact{
padding:80px 0;
background:#F8F8F8;
}

.logo-img{
height:70px;
}
.navbar{
position:fixed;
top:0;
width:100%;
z-index:999;
background:transparent;
transition:background .3s ease, box-shadow .3s ease;
}

.navbar.scrolled{
background:rgba(255,255,255,0.9);
backdrop-filter:blur(10px);
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}
.btn-main{
    padding: 10px 38px;
    background-color: #067240;
    color: #fff;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #067240;
}
.btn-main:hover{
    background-color: #fff;
    color: #067240;
    transition: 0.2s;
border: 1px solid #067240;
}
.btn-outline{
   padding: 10px 38px;
    background-color: #fff;
    color: #067240;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #067240;
    transition: 0.2s;
}
.btn-outline:hover{
    /* background-color: rgb(206, 206, 206); */
    color: #3A3A3A;
    transition: 0.2s;
     border: 1px solid #afafaf;

}
input.form-control{
    font-size: 14px;
}
.navbar-nav{
    gap: 28px;
}
.nav-item .nav-link{
    font-size: 16px;
    font-weight: 600;
    color: #7B7B7B;
}
.nav-item .nav-link.active{
    color: #1E1E1E;
    position: relative;
}
.nav-item .nav-link.active::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    display: block;
    width: 90%;
    height: 2px;
    border-radius: 4px;
    background-color: #067240;
}
.contact svg{
    width:20px;
    height:20px;
    color:#0d6b3c;
}

.offcanvas-body .nav-link.active::after{
    display: none;
}
@media (max-width: 991px){
    .nav-link{
        border-bottom: 1px solid #afafaf;
    }
    .navbar-nav{
        gap: 4px !important;
    }
}
.bg-gradient{
    background-color: #F8F8F8;
}

.rules-hero{
background:#f8f8f8;
color:#1E1E1E;
padding:60px 0;
padding-top: 120px;
text-align:center;

}

/* RULE CARD */
.rule-card{
background:white;
padding:30px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
margin-bottom:20px;

}

.rule-number{
width:40px;
height:40px;
border-radius:50%;
background:#0d6b3c;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
margin-right:15px;
}

.rules-text-m p,li{
    font-size: 16px;
    color: #1E1E1E;
    font-weight: 500;
}
.rules-text-m h3{
    font-size: 17px;
    font-weight: 700;
    color: #067240;
}
.rules-text-m h4{
    font-size: 17px;
    font-weight: 700;
    color: #1E1E1E;
}
.contact a:hover{
color:#00BF62;
}


.rule-a4{
background:#f5f7fa;
min-height:100vh;
padding:60px 15px;
display:flex;
justify-content:center;
align-items:flex-start;
}

.rules-box{
width:794px; /* A4 width */
min-height:1123px; /* A4 height */
background:#fff;
padding:60px;
border-radius:10px;
box-shadow:0 10px 40px rgba(0,0,0,0.08);
border:1px solid #eee;
}



/* mobile responsive */
@media(max-width:768px){
.rules-box{
width:100%;
padding:25px;
min-height:auto;
}
}

/* modal box */
.premium-modal{
border-radius:18px;
border:none;
overflow:hidden;
box-shadow:0 30px 80px rgba(0,0,0,0.15);
}

/* gradient header */
.premium-header{
background:linear-gradient(135deg,#00BF62,#177B72);
color:#fff;
padding:20px 25px;
border:none;
}

/* title */
.scheme-title{
font-weight:600;
margin-bottom:25px;
}

/* table style */
.premium-table td{
padding:16px;
border-color:#eee;
}

.premium-table tr td:first-child{
color:#777;
width:40%;
}

/* status badge */
.status-badge{
padding:6px 14px;
border-radius:30px;
font-size:14px;
font-weight:600;
}

.status-badge.active{
background:#e6f7ef;
color:#00a651;
}

.status-badge.expired{
background:#e6f7ef;
color:#db0909;
}

.status-badge.cancelled{
background:#e6f7ef;
color:#db0909;
}


.status-badge.pending{
background:#e6f7ef;
color:#ddc80d;
}


/* previous list */
.previous-scheme ul{
padding-left:18px;
}

.previous-scheme li{
margin-bottom:6px;
color:#444;
}

/* gradient background */
.rules-wrap{
background:linear-gradient(135deg,#f8fbf9,#e9f5ef);

}

/* document card */
.rules-document{
padding: 60px 50px;
border-radius:18px;
background-color: #fff;
box-shadow:0 20px 60px rgba(0,0,0,0.08);
border: 1px solid #00BF62;
overflow:hidden;
}

/* header */
.rules-header{
background:linear-gradient(135deg,#00BF62,#177B72);
color:#fff;
padding:40px;
text-align:center;
}

.rules-header h2{
font-weight:600;
margin-bottom:5px;
}

/* body */
.rules-body{
padding:45px;
}

/* text styling */
.rules-text-m p{
line-height:1.8;
color:#444;
}

.rules-text-m h3{
margin-top:30px;
margin-bottom:15px;
font-weight:600;
color:#177B72;
}

.rules-text-m li{
margin-bottom:10px;
line-height:1.7;
}

@media(max-width: 576px){
    .rules-document{
       padding: 20px 12px;
       border: 0;
       background: none;
       box-shadow: none;
    }
    .rules-hero{
        padding: 20px 0;
            padding-top: 120px;
    }
}

.kmcc-card{
width:320px;
background:#fff;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,0.12);
font-family:Poppins, sans-serif;
margin: 0 auto;
}

/* header */
.kmcc-card-header{
background:#fff;
border-bottom: 1px solid #afafaf;
color: #1d1d1d;
padding:15px;
display:flex;
gap:12px;
align-items:center;
}

.kmcc-card-header .logo img{
width:60px;
}

.header-text h5{
font-size:16px;
margin:0;
line-height:1.2;
font-weight:600;
}

.header-text span{
font-size:13px;
color:#444;
}

/* body */
.kmcc-card-body{
padding:20px;
text-align:center;
}

.photo-box{
margin-bottom:15px;
}

.photo-box img{
width:120px;
height:120px;
object-fit:cover;
border:1px solid #ddd;
border-radius: 4px;
}

.member-id{
display:block;
margin-top:6px;
font-size:13px;
color:#666;
}

.info{
text-align:left;
font-size:14px;
}

.info p{
margin-bottom:8px;
}

/* footer */
.kmcc-card-footer{
background:linear-gradient(135deg,#00BF62);
padding:14px;
text-align:center;
color:#fff;
font-weight:600;
}
.btn-success{
    background-color: #00BF62;
}
@media(max-width: 378px){
    .kmcc-card{
        width: 100%;
    }
}
