/*=====================================
   PRIMEAIHUB HEALTHCARE
   pregnancy-calculator.css
======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f9ff;
    color:#333;
    line-height:1.6;
}

/*================ HERO =================*/

.hero{

    background:linear-gradient(135deg,#ff6fa8,#8a5cff,#0d6efd);

    color:#fff;

    text-align:center;

    padding:80px 10%;

}

.hero h1{

    font-size:3rem;

    margin-bottom:15px;

}

.hero p{

    max-width:750px;

    margin:auto;

    font-size:1.1rem;

}

/*================ MAIN =================*/

.calculator-section{

    width:90%;

    max-width:1200px;

    margin:60px auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:35px;

}

/*================ CARDS =================*/

.calculator-card,
.result-card{

    background:#fff;

    padding:35px;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

/*================ HEADER =================*/

.card-header{

    text-align:center;

    margin-bottom:30px;

}

.card-header i{

    font-size:60px;

    color:#ff4f8b;

    margin-bottom:15px;

}

.card-header h2{

    color:#0f4c81;

}

/*================ INPUT =================*/

.input-group{

    margin-bottom:30px;

}

.input-group label{

    display:block;

    margin-bottom:10px;

    font-weight:600;

}

.input-group input{

    width:100%;

    padding:15px;

    border-radius:12px;

    border:2px solid #d8e7ff;

    font-size:16px;

    outline:none;

    transition:.3s;

}

.input-group input:focus{

    border-color:#ff4f8b;

    box-shadow:0 0 12px rgba(255,79,139,.25);

}

/*================ BUTTONS =================*/

.button-group{

    display:flex;

    gap:15px;

}

.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,#ff4f8b,#ff8a65);

    color:#fff;

}

#calculateBtn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(255,79,139,.3);

}

#resetBtn{

    background:#eef2ff;

    color:#0d6efd;

}

#resetBtn:hover{

    background:#dce7ff;

}

/*================ RESULT =================*/

.result-card h2{

    text-align:center;

    color:#0f4c81;

    margin-bottom:25px;

}

.result-box{

    background:#f7fbff;

    border-left:5px solid #ff4f8b;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

}

.result-box span{

    color:#666;

    font-size:14px;

}

.result-box h3{

    margin-top:8px;

    color:#0d6efd;

    font-size:1.4rem;

}

/*================ PROGRESS =================*/

.progress-container{

    width:100%;

    height:18px;

    background:#dde8ff;

    border-radius:30px;

    overflow:hidden;

    margin:30px 0;

}

.progress-bar{

    width:0;

    height:100%;

    background:linear-gradient(90deg,#ff4f8b,#0d6efd);

    transition:1s;

}

/*================ TIP =================*/

#pregnancyTip{

    text-align:center;

    color:#555;

    line-height:1.8;

}

/*================ TIMELINE =================*/

.timeline{

    width:90%;

    max-width:1200px;

    margin:70px auto;

}

.timeline h2{

    text-align:center;

    color:#0f4c81;

    margin-bottom:40px;

}

.timeline-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.timeline-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.timeline-card:hover{

    transform:translateY(-8px);

}

.timeline-card i{

    font-size:45px;

    color:#ff4f8b;

    margin-bottom:15px;

}

.timeline-card h3{

    color:#0f4c81;

    margin-bottom:10px;

}

/*================ TIPS =================*/

.tips{

    width:90%;

    max-width:1000px;

    margin:70px auto;

}

.tips h2{

    text-align:center;

    color:#0f4c81;

    margin-bottom:30px;

}

.tips ul{

    background:#fff;

    border-radius:18px;

    padding:35px 45px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.tips li{

    margin:18px 0;

    font-size:17px;

}

/*================ DISCLAIMER =================*/

.disclaimer{

    width:90%;

    max-width:1000px;

    margin:60px auto;

    padding:25px;

    display:flex;

    gap:18px;

    align-items:flex-start;

    background:#fff6e5;

    border-left:6px solid orange;

    border-radius:15px;

}

.disclaimer i{

    color:orange;

    font-size:28px;

    margin-top:4px;

}

.disclaimer p{

    color:#555;

}

/*================ FOOTER =================*/

footer{

    margin-top:70px;

    background:#071c34;

    color:#fff;

    text-align:center;

    padding:40px 20px;

}

footer h3{

    margin-bottom:12px;

}

/*================ RESPONSIVE =================*/

@media(max-width:900px){

.calculator-section{

grid-template-columns:1fr;

}

.timeline-grid{

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;

}

.result-box h3{

font-size:1.2rem;

}

.tips ul{

padding:25px;

}

.disclaimer{

flex-direction:column;

text-align:center;

}

}