/* HERO SECTION */

.hero-section{
background:linear-gradient(135deg,#f5fbff,#ffffff);
padding:30px 0;
}

.hero-container{
width:92%;
max-width:1300px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

/* TEXT SIDE */

.hero-text{
flex:1;
transition-delay:0.2s;
}

.hero-text h1{
font-size:38px;
font-weight:700;
color:#0f4c81;
line-height:1.3;
margin-bottom:15px;
}

.hero-text h2{
font-size:26px;
color:#1fb6a6;
margin-bottom:20px;
}

.hero-text p{
font-size:16px;
color:#555;
line-height:1.7;
max-width:520px;
margin-bottom:30px;
}

/* BUTTONS */

.hero-buttons{
display:flex;
gap:15px;
margin-bottom:25px;
}

.btn-primary{
background:#1fb6a6;
color:#fff;
padding:12px 22px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.btn-primary:hover{
background:#0f4c81;
}

.btn-outline{
border:2px solid #0f4c81;
padding:10px 20px;
border-radius:30px;
text-decoration:none;
color:#0f4c81;
font-weight:600;
transition:0.3s;
}

.btn-outline:hover{
background:#0f4c81;
color:#fff;
}

/* BADGES */

.hero-badges{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.hero-badges span{
background:#eef7ff;
padding:6px 12px;
border-radius:20px;
font-size:13px;
color:#0f4c81;
}

/* IMAGE SIDE */

.hero-image{
flex:1;
text-align:center;
    transition-delay:0.4s;
}

.hero-image img{
width:100%;
max-width:450px;
border-radius:20px;
/*box-shadow:0 10px 40px rgba(0,0,0,0.12);*/
}

/* RESPONSIVE */

@media (max-width:900px){

.hero-container{
flex-direction:column;
text-align:center;
}

.hero-text p{
margin:auto;
}

.hero-buttons{
justify-content:center;
}

.hero-badges{
justify-content:center;
}

.hero-text h1{
font-size:30px;
}

}
    
    /* INITIAL STATE (hidden before scroll) */

.animate-left,
.animate-right{
opacity:0;
transition:all 0.8s ease;
}

/* LEFT ANIMATION */
.animate-left{
transform:translateX(-60px);
}

/* RIGHT ANIMATION */
.animate-right{
transform:translateX(60px);
}

/* ACTIVE CLASS (jab scroll me aaye) */

.animate-active{
opacity:1;
transform:translateX(0);
}
    
    .typing-main span,
.typing-sub span{
border-right:3px solid #0f4c81;
padding-right:5px;
}

/* blinking cursor */
.blink{
animation: blink 0.7s infinite;
}
    
    
/* desktop only */
@media (min-width:768px){
.typing-main span{
white-space:nowrap;
}
}    
    

@keyframes blink{
0%{border-color:#0f4c81;}
50%{border-color:transparent;}
100%{border-color:#0f4c81;}
}
