/* ==========================
   RESET
========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f9ff;
color:#333;
overflow-x:hidden;
}

/* ==========================
   HEADER
========================== */

header{
min-height:100vh;
background:linear-gradient(135deg,#0f4c81,#1f6feb,#38bdf8);
color:white;
padding:25px 8%;
position:relative;
overflow:hidden;
}

/* Floating circles */

header::before{
content:"";
position:absolute;
width:350px;
height:350px;
background:rgba(255,255,255,.08);
border-radius:50%;
top:-100px;
right:-100px;
animation:float 8s ease-in-out infinite;
}

header::after{
content:"";
position:absolute;
width:250px;
height:250px;
background:rgba(255,255,255,.08);
border-radius:50%;
bottom:-100px;
left:-70px;
animation:float 6s ease-in-out infinite;
}

@keyframes float{

0%{transform:translateY(0);}
50%{transform:translateY(20px);}
100%{transform:translateY(0);}

}

/* ==========================
NAVBAR
========================== */

nav{

display:flex;
justify-content:space-between;
align-items:center;

padding:15px 30px;

background:rgba(255,255,255,.12);

backdrop-filter:blur(12px);

border-radius:15px;

position:sticky;

top:20px;

z-index:1000;

}

.logo{

font-size:34px;

font-weight:700;

letter-spacing:2px;

}

.logo-link{

color:white;

text-decoration:none;

}

.logo-link:hover{

color:#f0f0f0;

text-decoration:underline;

}

nav ul{

display:flex;

list-style:none;

}

nav ul li{

margin-left:30px;

}

nav ul li a{

color:white;

text-decoration:none;

font-weight:600;

transition:.4s;

}

nav ul li a:hover{

color:#FFD700;

}

/* ==========================
HERO
========================== */

.hero{

display:flex;

justify-content:space-between;

align-items:center;

margin-top:70px;

gap:50px;

flex-wrap:wrap;

}

.hero-text{

flex:1;

}

.hero-text h1{

font-size:60px;

line-height:1.2;

margin-bottom:20px;

}

.hero-text span{

color:#FFD700;

}

.hero-text p{

font-size:20px;

margin-bottom:35px;

max-width:600px;

}

.buttons{

display:flex;

gap:20px;

flex-wrap:wrap;

}

.btn{

display:inline-block;

padding:15px 35px;

background:#FFD700;

color:#000;

border-radius:40px;

text-decoration:none;

font-weight:bold;

transition:.4s;

border:none;

cursor:pointer;

}

.btn:hover{

transform:translateY(-5px);

background:white;

}

.btn2{

display:inline-block;

padding:15px 35px;

border:2px solid white;

border-radius:40px;

color:white;

text-decoration:none;

transition:.4s;

}

.btn2:hover{

background:white;

color:#0f4c81;

}

/* Hero Image */

.hero-image{

flex:1;

text-align:center;

}

.hero-image img{

width:100%;

max-width:520px;

animation:float 5s ease-in-out infinite;

}

/* ==========================
SECTIONS
========================== */

section{

padding:90px 8%;

}

section h2{

text-align:center;

font-size:40px;

margin-bottom:20px;

color:#0f4c81;

}

section p{

text-align:center;

max-width:900px;

margin:auto;

}
/* ==========================
CARDS
========================== */

.cards{
display:flex;
justify-content:center;
align-items:stretch;
gap:30px;
flex-wrap:wrap;
margin-top:50px;
}

.card{
background:white;
width:320px;
padding:30px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,.12);
transition:.4s;
}

.card:hover{
transform:translateY(-12px);
}

.card i{
font-size:50px;
color:#1f6feb;
margin-bottom:20px;
}

.card h3{
margin-bottom:15px;
color:#0f4c81;
}

.card img{
width:120px;
height:120px;
border-radius:50%;
object-fit:cover;
margin-bottom:20px;
border:5px solid #1f6feb;
}

/* ==========================
WHY SECTION
========================== */

.why{
background:#eef6ff;
}

/* ==========================
STATISTICS
========================== */

.stats{
display:flex;
justify-content:space-around;
align-items:center;
background:linear-gradient(135deg,#0f4c81,#1f6feb);
color:white;
text-align:center;
flex-wrap:wrap;
gap:30px;
}

.stats h2{
font-size:55px;
color:white;
margin-bottom:10px;
}

.stats p{
font-size:18px;
}

/* ==========================
TEAM
========================== */

.team{
background:white;
}

.team .card p{
font-weight:600;
color:#666;
}

/* ==========================
TESTIMONIALS
========================== */

.testimonials{
background:#f8fbff;
}

.testimonials .card{
font-style:italic;
}

/* ==========================
CONTACT
========================== */

.contact{
background:white;
}

.contact form{
max-width:700px;
margin:40px auto 0;
}

.contact input,
.contact textarea{
width:100%;
padding:18px;
margin-bottom:20px;
border:none;
outline:none;
border-radius:12px;
background:#eef4ff;
font-size:16px;
}

.contact textarea{
height:170px;
resize:none;
}

/* ==========================
FOOTER
========================== */

footer{
background:#081b33;
color:white;
text-align:center;
padding:60px 20px;
}

.footer-content h2{
font-size:35px;
margin-bottom:15px;
}

.footer-content p{
margin:15px auto;
max-width:700px;
}

.socials{
margin:30px 0;
}

.socials a{
display:inline-flex;
justify-content:center;
align-items:center;
width:50px;
height:50px;
background:white;
color:#1f6feb;
border-radius:50%;
margin:10px;
text-decoration:none;
font-size:22px;
transition:.4s;
}

.socials a:hover{
background:#FFD700;
transform:rotate(360deg) scale(1.1);
}

.copyright{
margin-top:20px;
font-size:15px;
opacity:.8;
}

/* ==========================
BACK TO TOP BUTTON
========================== */

#topBtn{
position:fixed;
bottom:30px;
right:30px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#1f6feb;
color:white;
font-size:20px;
cursor:pointer;
box-shadow:0 8px 20px rgba(0,0,0,.3);
transition:.3s;
}

#topBtn:hover{
background:#FFD700;
color:black;
transform:scale(1.1);
}

/* ==========================
ANIMATIONS
========================== */

.card,
.hero-text,
.hero-image{
animation:fadeUp 1s ease;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(50px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* ==========================
RESPONSIVE DESIGN
========================== */

@media(max-width:992px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-text h1{
font-size:45px;
}

.hero-text p{
margin:auto;
margin-bottom:30px;
}

.buttons{
justify-content:center;
}

nav{
flex-direction:column;
}

nav ul{
margin-top:20px;
flex-wrap:wrap;
justify-content:center;
}

nav ul li{
margin:10px 15px;
}

}

@media(max-width:768px){

.hero-text h1{
font-size:35px;
}

section h2{
font-size:30px;
}

.stats{
flex-direction:column;
padding:60px 20px;
}

.stats h2{
font-size:40px;
}

.card{
width:100%;
max-width:350px;
}

.logo{
font-size:28px;
}

}