/* ================================
   PRIMEAIHUB HEALTH TOOLS
   health-tools.css
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f4f9ff;
    color:#222;
    line-height:1.6;
}

/*================ HERO ================*/

.hero{

    min-height:45vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:80px 8%;

    background:linear-gradient(135deg,#0f4c81,#0d6efd,#00b4ff);

    color:#fff;

}

.hero-content{

    max-width:850px;

}

.hero h1{

    font-size:3rem;

    margin-bottom:20px;

    font-weight:700;

}

.hero p{

    font-size:1.1rem;

    opacity:.95;

}

/*================ SECTION ================*/

.tools{

    padding:80px 8%;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.3rem;

    color:#0f4c81;

    margin-bottom:15px;

}

.section-title p{

    color:#666;

    font-size:1rem;

}

/*================ GRID ================*/

.tool-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

/*================ CARD ================*/

.tool-card{

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(15px);

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    border:1px solid rgba(255,255,255,.4);

}

.tool-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(13,110,253,.18);

}

.tool-card i{

    font-size:55px;

    color:#0d6efd;

    margin-bottom:20px;

}

.tool-card h3{

    margin-bottom:15px;

    color:#0f4c81;

    font-size:1.35rem;

}

.tool-card p{

    color:#666;

    margin-bottom:25px;

    min-height:60px;

}

/*================ BUTTON ================*/

.tool-btn{

    border:none;

    outline:none;

    cursor:pointer;

    background:linear-gradient(90deg,#0d6efd,#00b4ff);

    color:#fff;

    padding:13px 28px;

    border-radius:40px;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.tool-btn:hover{

    transform:scale(1.05);

    box-shadow:0 10px 25px rgba(13,110,253,.3);

}

/*================ CTA ================*/

.cta{

    padding:80px 8%;

    background:linear-gradient(135deg,#0f4c81,#0d6efd);

    color:#fff;

    text-align:center;

}

.cta h2{

    font-size:2.2rem;

    margin-bottom:20px;

}

.cta p{

    max-width:700px;

    margin:auto;

    margin-bottom:35px;

    opacity:.95;

}

.cta-btn{

    display:inline-block;

    text-decoration:none;

    color:#0d6efd;

    background:#fff;

    padding:15px 35px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.cta-btn:hover{

    transform:translateY(-4px);

}

/*================ FOOTER ================*/

footer{

    background:#071c34;

    color:#fff;

    text-align:center;

    padding:50px 8%;

}

footer h3{

    margin-bottom:15px;

}

.footer-links{

    display:flex;

    justify-content:center;

    gap:25px;

    margin:25px 0;

    flex-wrap:wrap;

}

.footer-links a{

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.footer-links a:hover{

    color:#64b5ff;

}

footer p{

    opacity:.85;

}

/*================ RESPONSIVE ================*/

@media(max-width:992px){

.hero h1{

font-size:2.5rem;

}

.section-title h2{

font-size:2rem;

}

}

@media(max-width:768px){

.hero{

padding:60px 25px;

}

.hero h1{

font-size:2rem;

}

.hero p{

font-size:1rem;

}

.tool-card{

padding:28px;

}

.cta h2{

font-size:1.8rem;

}

}

@media(max-width:480px){

.hero h1{

font-size:1.8rem;

}

.section-title h2{

font-size:1.7rem;

}

.tool-card{

padding:24px;

}

.tool-card i{

font-size:45px;

}

.tool-btn{

width:100%;

}

.footer-links{

flex-direction:column;

gap:12px;

}

.tool-btn{
    display:inline-block;
    text-decoration:none;
    text-align:center;
}

}