/*==============================
 GOOGLE FONT
===============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f8fafc;
    color:#222;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

section{
    padding:90px 8%;
}

/*==============================
 LOADER
===============================*/

#loader{
    position:fixed;
    inset:0;
    background:#0f172a;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    color:#fff;
    z-index:99999;
}

.spinner{
    width:70px;
    height:70px;
    border:7px solid rgba(255,255,255,.2);
    border-top:7px solid #3b82f6;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin-bottom:20px;
}

@keyframes spin{

100%{
transform:rotate(360deg);
}

}

/*==============================
 HEADER
===============================*/

header{

position:fixed;
top:0;
left:0;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
background:white;
box-shadow:0 5px 20px rgba(0,0,0,.08);
z-index:999;

}

.logo h2{

font-size:34px;
font-weight:800;

}

.logo span{

color:#2563eb;

}

nav ul{

display:flex;
gap:35px;

}

nav ul li a{

color:#222;
font-weight:500;
transition:.3s;

}

nav ul li a:hover{

color:#2563eb;

}

.btn{

background:#2563eb;
padding:14px 32px;
color:#fff;
border-radius:8px;
transition:.3s;

}

.btn:hover{

background:#1d4ed8;

}

.menu{

display:none;
font-size:28px;
cursor:pointer;

}

/*==============================
 HERO
===============================*/

.hero{

display:grid;
grid-template-columns:repeat(2,1fr);
align-items:center;
gap:60px;
min-height:100vh;
padding-top:120px;

}

.hero h4{

color:#2563eb;
font-size:18px;
margin-bottom:15px;

}

.hero h1{

font-size:60px;
font-weight:800;
line-height:1.2;
margin-bottom:25px;

}

.hero span{

color:#2563eb;

}

.hero p{

font-size:18px;
line-height:1.8;
color:#666;
margin-bottom:35px;

}

.hero-buttons{

display:flex;
gap:20px;

}

.btn2{

padding:14px 32px;
border:2px solid #2563eb;
color:#2563eb;
border-radius:8px;
transition:.3s;

}

.btn2:hover{

background:#2563eb;
color:white;

}

.hero-right img{

width:100%;
animation:float 4s ease-in-out infinite;

}

@keyframes float{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-20px);
}

100%{
transform:translateY(0);
}

}

/*==============================
 COUNTER
===============================*/

.hero-counter{

display:flex;
gap:40px;
margin-top:40px;

}

.hero-counter h2{

font-size:40px;
color:#2563eb;

}

.hero-counter p{

font-size:15px;
margin-top:5px;

}

/*==============================
 ABOUT
===============================*/

.about{

display:grid;
grid-template-columns:repeat(2,1fr);
align-items:center;
gap:70px;

}

.about-image img{

border-radius:20px;
box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.about-content h5{

color:#2563eb;
font-size:18px;
margin-bottom:10px;

}

.about-content h2{

font-size:45px;
margin-bottom:20px;

}

.about-content p{

color:#666;
line-height:1.8;
margin-bottom:25px;

}

.about-box{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
margin-bottom:35px;

}

.about-box div{

background:#fff;
padding:15px;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,.08);

}

.about-box i{

color:#2563eb;
margin-right:10px;

}

/*==============================
 RESPONSIVE
===============================*/

@media(max-width:991px){

.hero,
.about{

grid-template-columns:1fr;

}

.hero{

text-align:center;

}

.hero-buttons,
.hero-counter{

justify-content:center;

}

nav{

display:none;

}

.menu{

display:block;

}

}

@media(max-width:768px){

.hero h1{

font-size:42px;

}

.about h2{

font-size:34px;

}

.hero-counter{

flex-direction:column;
gap:20px;

}

.about-box{

grid-template-columns:1fr;

}

}

@media(max-width:500px){

section{

padding:70px 20px;

}

header{

padding:15px 20px;

}

.logo h2{

font-size:28px;

}

.hero h1{

font-size:34px;

}

.btn,
.btn2{

padding:12px 22px;

}

}
/*=========================================
    SERVICES SECTION
=========================================*/

.services{
    background:#ffffff;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h5{
    color:#2563eb;
    font-size:18px;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:10px;
}

.section-title h2{
    font-size:42px;
    color:#0f172a;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#64748b;
    line-height:1.8;
}

.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:20px;
    padding:35px 30px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.35s;
    border:1px solid #eef2f7;
}

.service-card:hover{
    transform:translateY(-12px);
    box-shadow:0 25px 45px rgba(37,99,235,.15);
}

.service-card i{
    width:80px;
    height:80px;
    line-height:80px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-size:32px;
    margin-bottom:20px;
}

.service-card h3{
    font-size:24px;
    margin-bottom:15px;
}

.service-card p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:20px;
}

.service-card a{
    color:#2563eb;
    font-weight:600;
}

.service-card a:hover{
    text-decoration:underline;
}

/*=========================================
    COUNTER SECTION
=========================================*/

.counter-section{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    text-align:center;
    color:#fff;
}

.counter-box{
    padding:25px;
}

.counter-box h2{
    font-size:52px;
    margin-bottom:10px;
    font-weight:700;
}

.counter-box p{
    font-size:18px;
    opacity:.9;
}

/*=========================================
    PORTFOLIO
=========================================*/

.portfolio{
    background:#f8fafc;
}

.portfolio-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.portfolio-card{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.portfolio-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.5s;
}

.portfolio-card:hover img{
    transform:scale(1.12);
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.overlay h3{
    color:#fff;
    font-size:28px;
}

.portfolio-card:hover .overlay{
    opacity:1;
}

/*=========================================
    E-COMMERCE PRODUCTS
=========================================*/

.products{
    background:#fff;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
    border:1px solid #edf2f7;
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.product-info{
    padding:20px;
}

.product-info h3{
    font-size:22px;
    margin-bottom:10px;
}

.product-info p{
    color:#64748b;
    line-height:1.7;
    margin-bottom:15px;
}

.price{
    color:#2563eb;
    font-size:26px;
    font-weight:700;
    margin-bottom:15px;
}

.buy-btn{
    display:inline-block;
    padding:12px 24px;
    background:#2563eb;
    color:#fff;
    border-radius:8px;
    transition:.3s;
}

.buy-btn:hover{
    background:#1d4ed8;
}

/*=========================================
    RESPONSIVE
=========================================*/

@media(max-width:768px){

.section-title h2{
    font-size:34px;
}

.service-card{
    padding:30px 20px;
}

.counter-box h2{
    font-size:42px;
}

.overlay h3{
    font-size:22px;
}

.product-card img{
    height:220px;
}

}
/*=========================================
            TEAM SECTION
=========================================*/

.team{
    background:#f8fafc;
}

.team-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.team-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.team-card:hover{
    transform:translateY(-12px);
}

.team-card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.team-info{
    padding:25px;
}

.team-info h3{
    font-size:24px;
    color:#0f172a;
    margin-bottom:8px;
}

.team-info span{
    color:#2563eb;
    font-weight:600;
}

.team-social{
    margin-top:18px;
    display:flex;
    justify-content:center;
    gap:12px;
}

.team-social a{
    width:42px;
    height:42px;
    background:#2563eb;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.3s;
}

.team-social a:hover{
    background:#1d4ed8;
    transform:scale(1.1);
}

/*=========================================
          TESTIMONIALS
=========================================*/

.testimonials{
    background:#ffffff;
}

.testimonial-wrapper{
    max-width:1000px;
    margin:auto;
}

.testimonial-card{
    background:#fff;
    padding:40px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.testimonial-card img{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
    margin-bottom:20px;
}

.testimonial-card p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:20px;
}

.testimonial-card h4{
    font-size:22px;
    color:#0f172a;
}

.testimonial-card span{
    color:#2563eb;
}

.stars{
    color:#fbbf24;
    margin-top:15px;
    font-size:18px;
}

/*=========================================
            PRICING
=========================================*/

.pricing{
    background:#f8fafc;
}

.pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

.price-card{
    background:#fff;
    border-radius:20px;
    text-align:center;
    padding:45px 30px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.price-card:hover{
    transform:translateY(-12px);
}

.price-card.active{
    background:#2563eb;
    color:#fff;
}

.price-card.active ul li{
    color:#fff;
}

.price-card h3{
    font-size:28px;
    margin-bottom:15px;
}

.price{
    font-size:55px;
    font-weight:700;
    margin-bottom:20px;
}

.price span{
    font-size:18px;
}

.price-card ul{
    margin:30px 0;
}

.price-card ul li{
    margin:15px 0;
    color:#64748b;
}

.price-btn{
    display:inline-block;
    padding:14px 34px;
    border-radius:8px;
    background:#2563eb;
    color:#fff;
    transition:.3s;
}

.price-card.active .price-btn{
    background:#fff;
    color:#2563eb;
}

.price-btn:hover{
    opacity:.9;
}

/*=========================================
            CONTACT
=========================================*/

.contact{
    background:#fff;
}

.contact-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-info h3{
    font-size:35px;
    margin-bottom:20px;
}

.contact-info p{
    color:#64748b;
    line-height:1.8;
    margin-bottom:20px;
}

.contact-info i{
    color:#2563eb;
    margin-right:10px;
}

.contact-form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact-form input,
.contact-form textarea{
    padding:16px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    font-size:16px;
}

.contact-form textarea{
    resize:none;
    height:180px;
}

.contact-form button{
    padding:16px;
    border:none;
    background:#2563eb;
    color:#fff;
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#1d4ed8;
}

/*=========================================
              FOOTER
=========================================*/

footer{
    background:#0f172a;
    color:#fff;
    padding:70px 8% 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-col h3{
    margin-bottom:20px;
}

.footer-col p{
    color:#cbd5e1;
    line-height:1.8;
}

.footer-col ul li{
    margin:12px 0;
}

.footer-col ul li a{
    color:#cbd5e1;
    transition:.3s;
}

.footer-col ul li a:hover{
    color:#3b82f6;
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.footer-social a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
}

.copyright{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:40px;
    padding-top:20px;
    color:#94a3b8;
}

/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:991px){

.contact-container{
    grid-template-columns:1fr;
}

.price{
    font-size:45px;
}

}

@media(max-width:768px){

.team-card img{
    height:280px;
}

.testimonial-card{
    padding:25px;
}

.contact-info h3{
    font-size:28px;
}

.footer-grid{
    gap:30px;
}

}

@media(max-width:576px){

.price-card{
    padding:30px 20px;
}

.testimonial-card img{
    width:70px;
    height:70px;
}

.team-info h3{
    font-size:20px;
}

.contact-form input,
.contact-form textarea{
    font-size:14px;
}

}
