/* Created by TopStyle Trial - www.topstyle4.com */
/*=========================
    RESET
=========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fb;
    color:#333;
    line-height:1.6;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

section{
    padding:80px 10%;
}

h2{
    text-align:center;
    font-size:2.2rem;
    margin-bottom:50px;
    color:#0d3b66;
}

/*=========================
    BUTTON
=========================*/

.btn{
    display:inline-block;
    background:#0066ff;
    color:#fff;
    padding:14px 28px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#004dcc;
    transform:translateY(-3px);
}

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

header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.navbar{
    width:90%;
    max-width:1200px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    color:#0066ff;
    font-size:30px;
}

.logo span{
    color:#ff6600;
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:#333;
    font-weight:bold;
    transition:.3s;
}

.nav-links a:hover{
    color:#0066ff;
}

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

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background:linear-gradient(rgba(0,0,0,.6),
    rgba(0,0,0,.6)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80");
    background-size:cover;
    background-position:center;
}

.hero h2{
    color:#fff;
    font-size:3rem;
    margin-bottom:20px;
}

.hero h3{
    font-size:1.5rem;
    margin-bottom:20px;
    color:#ddd;
}

.hero p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    font-size:1.1rem;
}

/*=========================
    FEATURES
=========================*/

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:25px;
}

.feature{
    background:#fff;
    padding:35px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.feature:hover{
    transform:translateY(-10px);
}

.feature i{
    font-size:45px;
    color:#0066ff;
    margin-bottom:20px;
}

.feature h3{
    margin-bottom:15px;
}

/*=========================
    SERVICES
=========================*/

.services{
    background:#eef3ff;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:#fff;
    border-radius:15px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card i{
    font-size:50px;
    color:#0066ff;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

.card p{
    margin-bottom:25px;
}

.card button{
    background:#0066ff;
    color:#fff;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.card button:hover{
    background:#004dcc;
}

/*=========================
    PORTFOLIO
=========================*/

.projects{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.project{
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.4s;
}

.project:hover{
    transform:scale(1.03);
}

.project h3{
    color:#0066ff;
    margin-bottom:10px;
}

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

.faq-item{
    background:#fff;
    margin-bottom:20px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.faq-question{
    width:100%;
    padding:20px;
    border:none;
    background:#0066ff;
    color:#fff;
    text-align:left;
    cursor:pointer;
    font-size:18px;
}

.faq-answer{
    display:none;
    padding:20px;
    background:#fff;
}

/*=========================
    CONTACT
=========================*/

.contact{
    background:#eef3ff;
}

form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    outline:none;
}

input:focus,
textarea:focus{
    border-color:#0066ff;
}

form button{
    background:#0066ff;
    color:#fff;
    border:none;
    padding:15px;
    cursor:pointer;
    font-size:18px;
    border-radius:8px;
    transition:.3s;
}

form button:hover{
    background:#004dcc;
}

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

footer{
    background:#0d3b66;
    color:#fff;
    text-align:center;
    padding:50px 20px;
}

footer h3{
    margin-bottom:15px;
}

footer p{
    margin:10px 0;
}

.social{
    margin:20px 0;
}

.social a{
    color:#fff;
    margin:0 12px;
    font-size:24px;
    transition:.3s;
}

.social a:hover{
    color:#4da3ff;
}

/*=========================
    ANIMATIONS
=========================*/

.card,
.feature,
.project{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

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

@media(max-width:992px){

.navbar{

flex-direction:column;
gap:20px;

}

.nav-links{

flex-wrap:wrap;
justify-content:center;

}

.hero h2{

font-size:2.4rem;

}

}

@media(max-width:768px){

section{

padding:60px 25px;

}

.hero{

padding:40px 20px;

}

.hero h2{

font-size:2rem;

}

.hero h3{

font-size:1.2rem;

}

.nav-links{

flex-direction:column;
gap:15px;

}

.btn{

padding:12px 22px;

}

}

@media(max-width:500px){

.logo{

font-size:24px;

}

h2{

font-size:1.8rem;

}

.card,
.feature,
.project{

padding:25px;

}

.hero h2{

font-size:1.7rem;

}

.hero p{

font-size:15px;

}

}