/* ==================================
   RESPONSIVE.CSS
   TopGrade Innovation Verification Portal
================================== */

/* ---------- 1024px ---------- */
@media (max-width:1024px){

.container{width:94%;}

.heroGrid{
grid-template-columns:1fr;
text-align:center;
gap:50px;
}

.heroButtons{
justify-content:center;
flex-wrap:wrap;
}

.heroRight{
max-width:520px;
margin:auto;
}

.secondCard{
margin-left:0;
margin-top:20px;
}

.featureGrid{
grid-template-columns:repeat(2,1fr);
}

.steps{
grid-template-columns:1fr;
}

.resultGrid{
grid-template-columns:1fr 1fr;
}

.footerContact,
.footerSocial{
justify-content:center;
}

}

@media (max-width:768px){

nav{

    position:relative;

    flex-direction:row;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    height:auto;

}

.menuToggle{

    display:flex;

}

nav ul{

    position:absolute;

    top:100%;

    left:0;

    width:100%;

    background:#fff;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:0;

    border-radius:0 0 20px 20px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.08);

    overflow:hidden;

    max-height:0;

    transition:.4s ease;

}

nav ul.active{

    max-height:400px;

    padding:20px 0;

}

nav ul li{

    width:100%;

    text-align:center;

}

nav ul li a{

    display:block;

    padding:16px;

}
}

/* ---------- 576px ---------- */
@media (max-width:576px){

.logoBox{
flex-direction:column;
text-align:center;
}

.logoBox img{
width:52px;
height:52px;
}

.logoBox h2{
font-size:19px;
}

.heroLeft h1{
font-size:36px;
}

.sectionTitle h2{
font-size:30px;
}

.badge{
font-size:13px;
padding:10px 16px;
}

.floatingCard{
padding:20px;
}

.floatingCard p{
font-size:20px;
}

.resultItem{
padding:16px;
}

.resultItem h4{
font-size:16px;
word-break:break-word;
}

.statusIcon{
width:60px;
height:60px;
font-size:26px;
}

.step{
padding:24px;
}

.faqItem{
padding:20px;
}

}

/* ---------- 375px ---------- */
@media (max-width:375px){

.container{
width:95%;
}

.heroLeft h1{
font-size:30px;
}

.heroLeft p{
font-size:14px;
}

.sectionTitle h2{
font-size:26px;
}

.verifyCard{
padding:18px;
}

.verifyCard input{
font-size:14px;
padding:0 14px;
}

.verifyCard button{
font-size:15px;
}

.documentTag{
width:100%;
text-align:center;
}

.resultCard{
padding:18px;
}

.footerContact a,
.footerSocial a{
font-size:14px;
text-align:center;
word-break:break-word;
}

}

/* ---------- 320px ---------- */
@media (max-width:320px){

.heroLeft h1{
font-size:26px;
}

.logoBox h2{
font-size:17px;
}

nav ul li a{
font-size:13px;
}

.badge{
font-size:12px;
}

.verifyCard{
padding:15px;
}

.verifyCard input{
height:52px;
}

.verifyCard button{
height:52px;
}

.resultItem h4{
font-size:15px;
}

.statusIcon{
width:55px;
height:55px;
font-size:22px;
}

footer{
padding:35px 15px;
}

}

/* ---------- Large Desktop ---------- */
@media (min-width:1400px){

.container{
max-width:1320px;
}

.heroLeft h1{
font-size:72px;
}

.heroLeft p{
font-size:20px;
}

}
