/*
Theme Name: AllYourHelp
Author: Tony
Version: 1.0
Text Domain: allyourhelp
*/

:root{

--primary:#0F4CFF;
--secondary:#18B979;
--dark:#0F172A;
--text:#334155;
--light:#F8FAFC;
--border:#E5E7EB;
--shadow:0 20px 45px rgba(15,76,255,.08);
--radius:18px;

}

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Inter',sans-serif;
background:#F5F7FB;
color:var(--text);
font-size:16px;
line-height:1.7;
overflow-x:hidden;

}

a{

text-decoration:none;
transition:.3s;

}

img{

max-width:100%;
display:block;

}

.container{

max-width:1320px;

}

/****************************************
HEADER
****************************************/

.ayh-header{

position:sticky;
top:0;
z-index:9999;
background:rgba(255,255,255,.90);
backdrop-filter:blur(16px);
border-bottom:1px solid rgba(0,0,0,.05);

}

.navbar{

min-height:88px;

}

.ayh-logo img{

height:100px;
transition:4s;

}

.navbar-nav{

gap:10px;

}

.nav-link{

font-size:15px;
font-weight:600;
color:#334155 !important;
padding:10px 18px !important;
border-radius:12px;

}

.nav-link:hover{

background:#EEF4FF;
color:var(--primary)!important;

}

.icon-btn{

width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
background:white;
border-radius:50%;
box-shadow:0 8px 20px rgba(0,0,0,.08);
font-size:18px;

}

.icon-btn:hover{

transform:translateY(-3px);

}

.btn{

border-radius:50px;
padding:12px 28px;
font-weight:600;

}

.btn-primary{

background:linear-gradient(135deg,#0F4CFF,#3B82F6);
border:none;
box-shadow:0 18px 40px rgba(15,76,255,.25);

}

.btn-primary:hover{

transform:translateY(-3px);

}

.btn-outline-primary{

border:2px solid var(--primary);

}

/****************************************
SECTION
****************************************/

section{

padding:90px 0;

}

.section-title{

font-size:42px;
font-weight:800;
color:var(--dark);

}

.section-subtitle{

color:#64748B;
font-size:18px;

}

/****************************************
CARDS
****************************************/

.card{

border:none;
border-radius:22px;
box-shadow:var(--shadow);
transition:.35s;
overflow:hidden;

}

.card:hover{

transform:translateY(-10px);

}

/****************************************
SEARCH
****************************************/

.search-box{

background:white;
padding:18px;
border-radius:18px;
box-shadow:var(--shadow);

}

.search-box input{

border:none;
outline:none;
width:100%;

}

/****************************************
SERVICE CARD
****************************************/

.service-card{

background:white;
border-radius:20px;
padding:30px;
text-align:center;
box-shadow:var(--shadow);
transition:.35s;

}

.service-card:hover{

transform:translateY(-8px);

}

.service-icon{

width:70px;
height:70px;
margin:auto;
display:flex;
align-items:center;
justify-content:center;
border-radius:20px;
background:#EEF4FF;
font-size:34px;

}

.service-title{

margin-top:18px;
font-size:18px;
font-weight:700;

}

/****************************************
FOOTER
****************************************/

footer{

background:#081224;
color:white;
padding:80px 0;

}

footer a{

color:#CBD5E1;

}

footer a:hover{

color:white;

}

/****************************************
RESPONSIVE
****************************************/

@media(max-width:991px){

.navbar-nav{

margin-top:20px;

}

.nav-link{

padding:14px 0!important;

}

.ayh-logo img{

height:54px;

}

}

@media(max-width:768px){

.section-title{

font-size:32px;

}

.btn{

width:100%;
margin-top:12px;

}

.d-flex.gap-3{

flex-wrap:wrap;

}

}

/*==================================================
HERO
==================================================*/

.hero-section{

padding:90px 0 120px;
background:
linear-gradient(180deg,#ffffff 0%,#f5f9ff 100%);
overflow:hidden;
position:relative;

}

.hero-section::before{

content:"";
position:absolute;
right:-180px;
top:-120px;
width:550px;
height:550px;
background:#0F4CFF;
opacity:.05;
border-radius:50%;

}

.hero-section h1{

font-size:64px;
font-weight:800;
line-height:1.1;
color:#0F172A;

}

.hero-section .lead{

font-size:20px;
max-width:580px;
color:#64748B;

}

.hero-section .badge{

font-size:14px;
padding:10px 18px;

}

.hero-section img{

animation:floatHero 4s ease-in-out infinite;
filter:drop-shadow(0 35px 60px rgba(0,0,0,.15));

}

@keyframes floatHero{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0px);

}

}

/*==================================================
SEARCH BAR
==================================================*/

.search-box{

padding:22px;
border-radius:22px;
background:white;
box-shadow:
0 30px 60px rgba(15,76,255,.08);

}

.search-box input{

height:58px;
border-radius:14px;
border:1px solid #E5E7EB;
padding-left:18px;
font-size:15px;

}

.search-box input:focus{

box-shadow:none;
border-color:#0F4CFF;

}

/*==================================================
SERVICE CARD
==================================================*/

.service-card{

padding:35px 20px;
border-radius:24px;
background:white;
transition:.35s;
cursor:pointer;

}

.service-card:hover{

transform:translateY(-10px);
box-shadow:
0 25px 45px rgba(15,76,255,.12);

}

.service-icon{

width:82px;
height:82px;
margin:auto;
border-radius:22px;
display:flex;
align-items:center;
justify-content:center;
background:#EEF4FF;
font-size:40px;

}

.service-title{

margin-top:20px;
font-weight:700;
font-size:18px;

}

/*==================================================
PROFESSIONAL CARD
==================================================*/

#professionals .card{

border-radius:24px;
padding:25px;
transition:.35s;

}

#professionals .card:hover{

transform:translateY(-12px);

}

#professionals img{

width:110px;
height:110px;
object-fit:cover;
border:4px solid white;
box-shadow:0 15px 35px rgba(0,0,0,.12);

}

/*==================================================
STATS
==================================================*/

.hero-section h2{

font-size:40px;
font-weight:800;

}

/*==================================================
SECTION GAP
==================================================*/

section{

padding:100px 0;

}

/*==================================================
MOBILE
==================================================*/

@media(max-width:991px){

.hero-section{

padding:70px 0;

}

.hero-section h1{

font-size:42px;
text-align:center;

}

.hero-section .lead{

text-align:center;

}

.hero-section .badge{

display:block;
width:max-content;
margin:auto auto 25px;

}

.hero-section .search-box{

margin-top:30px;

}

.hero-section .btn{

width:100%;

}

.hero-section img{

margin-top:40px;

}

}

.whatsapp-float{

position:fixed;
right:25px;
bottom:25px;
width:65px;
height:65px;
background:#25D366;
color:#fff;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:30px;
z-index:99999;
box-shadow:0 15px 40px rgba(0,0,0,.2);

}

.whatsapp-float:hover{

transform:scale(1.08);

}