/*
==========================================================
INKRAH Web Design
WHOIS Lookup CSS
Navy Blue Theme
==========================================================
*/


*{

    box-sizing:border-box;

}



html{

    scroll-behavior:smooth;

}



body{

    margin:0;

    font-family:
    Arial,
    Helvetica,
    sans-serif;

    background:#f5f8fc;

    color:#222;

    line-height:1.7;

}



.container{

    width:min(1100px,92%);

    margin:auto;

}





/*
==========================================================
PREMIUM HEADER
==========================================================
*/


header{

    background:

    linear-gradient(
        135deg,
        #06162d,
        #0B2545,
        #13315C
    );

    padding:18px 0;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:

    0 5px 20px

    rgba(0,0,0,.25);

}



.logo{

    display:flex;

    align-items:center;

    gap:14px;

    text-decoration:none;

}



.logo img{

    width:55px;

    height:55px;

    object-fit:contain;

    filter:

    drop-shadow(
        0 3px 6px
        rgba(0,0,0,.4)
    );

}



.logo span{

    color:#ffffff;

    font-size:26px;

    font-weight:700;

    letter-spacing:.5px;

}



nav{

    display:flex;

    align-items:center;

    gap:28px;

}



nav a{

    position:relative;

    color:white;

    text-decoration:none;

    font-weight:500;

    transition:.3s;

}



nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#d4af37;

    transition:.3s;

}



nav a:hover{

    color:#d4af37;

}



nav a:hover::after{

    width:100%;

}





/*
==========================================================
HERO
==========================================================
*/


.hero{

    padding:60px 0;

    background:

    linear-gradient(

    135deg,

    #0B2545,

    #13315C

    );

    color:white;

}



.hero h1{

    font-size:42px;

    margin-bottom:15px;

}



.hero p{

    max-width:900px;

    font-size:17px;

}





/*
==========================================================
FORM
==========================================================
*/


form{

    margin-top:35px;

    background:white;

    padding:25px;

    border-radius:12px;

    color:#222;

}



label{

    display:block;

    font-weight:bold;

    margin-bottom:8px;

}



input{

    width:100%;

    padding:14px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:16px;

}



button{

    margin-top:15px;

    padding:12px 22px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    background:#0B2545;

    color:white;

    font-size:15px;

}



button:hover{

    opacity:.85;

}





/*
==========================================================
RESULT
==========================================================
*/


.result{

    margin-top:35px;

    background:white;

    color:#222;

    padding:30px;

    border-radius:12px;

    box-shadow:

    0 5px 20px

    rgba(0,0,0,.08);

}



.result h2{

    color:#0B2545;

}





.summary{

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

}



.summary th,

.summary td{

    border:1px solid #ddd;

    padding:12px;

    text-align:left;

}



.summary th{

    width:35%;

    background:#eef3f8;

    color:#0B2545;

}



#nameservers{

    background:#f1f5fa;

    padding:20px 40px;

    border-radius:8px;

}



#nameservers li{

    margin-bottom:8px;

    font-family:monospace;

}





/*
==========================================================
MESSAGE
==========================================================
*/


.error{

    margin-top:20px;

    padding:15px;

    background:#ffe5e5;

    color:#9b0000;

    border-radius:8px;

}



.success{

    margin-top:20px;

    padding:15px;

    background:#e5f5ec;

    color:#075e2b;

    border-radius:8px;

}





.mt-30{

    margin-top:30px;

}





/*
==========================================================
ABOUT FAQ
==========================================================
*/


.about,

.faq{

    padding:50px 0;

}



.about h2,

.faq h2{

    color:#0B2545;

}



.faq h3{

    color:#13315C;

}





/*
==========================================================
PREMIUM FOOTER
==========================================================
*/


footer{

    position:relative;

    background:

    linear-gradient(
        135deg,
        #06162d,
        #0B2545
    );

    color:white;

    padding:55px 0 35px;

    text-align:center;

    overflow:hidden;

}



footer::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:3px;

    background:

    linear-gradient(
        90deg,
        #d4af37,
        #ffffff,
        #d4af37
    );

}



footer p{

    margin:10px 0;

}



footer p:first-child{

    font-size:18px;

    font-weight:bold;

}



footer a{

    color:#d4af37;

    text-decoration:none;

    font-weight:600;

}



footer a:hover{

    color:white;

}





/*
==========================================================
BACK TO TOP
==========================================================
*/


#backTop{

    display:none;

    position:fixed;

    right:20px;

    bottom:20px;

    width:45px;

    height:45px;

    border-radius:50%;

    background:#0B2545;

    color:white;

    z-index:999;

}





/*
==========================================================
RESPONSIVE
==========================================================
*/


@media(max-width:768px){


header .container{

    flex-direction:column;

    gap:15px;

}


nav{

    flex-wrap:wrap;

    justify-content:center;

}



.hero h1{

    font-size:32px;

}



.summary th,

.summary td{

    display:block;

    width:100%;

}



.summary tr{

    display:block;

    margin-bottom:15px;

}



}