/*=====================================
    PRIMEAIHUB BMI CALCULATOR
    bmi.css
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#eef6ff;

    color:#222;

    line-height:1.6;

}

/*================ HERO ================*/

.hero{

    background:linear-gradient(135deg,#0f4c81,#0d6efd,#00b4ff);

    color:#fff;

    text-align:center;

    padding:80px 10%;

}

.hero h1{

    font-size:3rem;

    margin-bottom:15px;

}

.hero p{

    font-size:1.1rem;

    max-width:750px;

    margin:auto;

}

/*================ MAIN ================*/

.calculator-section{

    width:90%;

    max-width:1200px;

    margin:60px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}

/*================ CARD ================*/

.calculator-card,
.result-card{

    background:#fff;

    border-radius:20px;

    padding:35px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

/*================ HEADER ================*/

.card-header{

    text-align:center;

    margin-bottom:30px;

}

.card-header i{

    font-size:55px;

    color:#0d6efd;

    margin-bottom:15px;

}

.card-header h2{

    color:#0f4c81;

}

/*================ INPUT ================*/

.input-group{

    margin-bottom:25px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.input-group input{

    width:100%;

    padding:15px;

    border:2px solid #d8e7ff;

    border-radius:12px;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.input-group input:focus{

    border-color:#0d6efd;

    box-shadow:0 0 12px rgba(13,110,253,.2);

}

/*================ BUTTONS ================*/

.button-group{

    display:flex;

    gap:15px;

    margin-top:10px;

}

.button-group button{

    flex:1;

    padding:15px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

#calculateBtn{

    background:linear-gradient(90deg,#0d6efd,#00b4ff);

    color:#fff;

}

#calculateBtn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(13,110,253,.25);

}

#resetBtn{

    background:#eef3ff;

    color:#0d6efd;

}

#resetBtn:hover{

    background:#dfe9ff;

}

/*================ RESULT ================*/

.result-card{

    text-align:center;

}

.result-card h2{

    color:#0f4c81;

    margin-bottom:20px;

}

.bmi-number{

    font-size:65px;

    font-weight:700;

    color:#0d6efd;

    margin:15px 0;

}

.bmi-status{

    display:inline-block;

    padding:10px 25px;

    border-radius:30px;

    font-weight:600;

    background:#eef6ff;

    color:#0d6efd;

    margin-bottom:25px;

}

/*================ PROGRESS ================*/

.progress-container{

    width:100%;

    height:18px;

    background:#dce8ff;

    border-radius:30px;

    overflow:hidden;

    margin:30px 0;

}

.progress-bar{

    width:0%;

    height:100%;

    background:linear-gradient(90deg,#0d6efd,#00b4ff);

    transition:.8s;

}

/*================ TIP ================*/

#healthTip{

    margin-top:20px;

    color:#555;

    font-size:15px;

    line-height:1.8;

}

/*================ TABLE ================*/

.bmi-table-section{

    width:90%;

    max-width:900px;

    margin:70px auto;

}

.bmi-table-section h2{

    text-align:center;

    color:#0f4c81;

    margin-bottom:30px;

}

table{

    width:100%;

    border-collapse:collapse;

    overflow:hidden;

    border-radius:15px;

    background:#fff;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

th{

    background:#0d6efd;

    color:#fff;

    padding:18px;

}

td{

    padding:18px;

    text-align:center;

    border-bottom:1px solid #eee;

}

tr:hover{

    background:#f7fbff;

}

/*================ DISCLAIMER ================*/

.disclaimer{

    width:90%;

    max-width:900px;

    margin:60px auto;

    padding:25px;

    background:#fff8e6;

    border-left:6px solid orange;

    border-radius:15px;

    display:flex;

    gap:18px;

    align-items:flex-start;

}

.disclaimer i{

    font-size:26px;

    color:orange;

    margin-top:4px;

}

.disclaimer p{

    color:#555;

}

/*================ FOOTER ================*/

footer{

    background:#071c34;

    color:#fff;

    text-align:center;

    padding:40px 20px;

    margin-top:70px;

}

footer h3{

    margin-bottom:10px;

}

/*================ RESPONSIVE ================*/

@media(max-width:900px){

.calculator-section{

grid-template-columns:1fr;

}

.hero h1{

font-size:2.3rem;

}

}

@media(max-width:600px){

.hero{

padding:60px 25px;

}

.hero h1{

font-size:2rem;

}

.button-group{

flex-direction:column;

}

.bmi-number{

font-size:50px;

}

table{

font-size:14px;

}

.disclaimer{

flex-direction:column;

text-align:center;

}

}