/*======================================
        HT SOFTWARE SOLUTIONS
            STYLE.CSS
=======================================*/

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*======================================
            RESET
=======================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#f8f9fc;
    color:#222;
    line-height:1.7;

}

/*======================================
        ROOT COLORS
=======================================*/

:root{

    --primary:#0066ff;
    --secondary:#0b1c39;
    --white:#ffffff;
    --light:#f4f7fb;
    --dark:#111827;
    --gray:#666;
    --shadow:0 10px 25px rgba(0,0,0,.08);
    --radius:12px;

}

/*======================================
        COMMON
=======================================*/

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

section{

    padding:90px 0;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title h5{

    color:var(--primary);
    font-size:18px;
    margin-bottom:10px;

}

.section-title h2{

    font-size:42px;
    color:var(--secondary);

}

/*======================================
        BUTTONS
=======================================*/

.btn{

    display:inline-block;
    padding:14px 34px;
    background:var(--primary);
    color:#fff;
    border-radius:50px;
    transition:.4s;
    font-weight:600;

}

.btn:hover{

    background:var(--secondary);
    transform:translateY(-3px);

}

.btn-outline{

    display:inline-block;
    padding:14px 34px;
    border:2px solid var(--primary);
    border-radius:50px;
    color:var(--primary);
    margin-left:15px;
    transition:.4s;

}

.btn-outline:hover{

    background:var(--primary);
    color:#fff;

}

.btn-small{

    display:inline-block;
    margin-top:15px;
    color:var(--primary);
    font-weight:600;

}

/* ===========================
   Mobile Menu Button
========================

.menu-toggle{

    display:none;
    font-size:28px;
    background:none;
    border:none;
    cursor:pointer;
    color:#2563eb;

}

=== */


/*======================================
        HEADER
=======================================*/

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    z-index:999;
    box-shadow:0 2px 15px rgba(0,0,0,.08);

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    height:85px;

}

.logo h2{

    color:var(--secondary);
    font-size:30px;

}

.logo span{

    color:var(--primary);

}

nav ul{

    display:flex;
    gap:25px;

}

nav ul li a{

    color:#333;
    font-weight:500;
    transition:.3s;

}

nav ul li a:hover{

    color:var(--primary);

}

.active{

    color:var(--primary);

}

/*======================================
        HERO
=======================================*/

.hero{

    padding-top:150px;
    background:linear-gradient(135deg,#eef5ff,#ffffff);

}

.hero-content{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    align-items:center;
    gap:70px;

}

.hero-left h4{

    color:var(--primary);
    margin-bottom:15px;

}

.hero-left h1{

    font-size:58px;
    color:var(--secondary);
    line-height:1.2;
    margin-bottom:25px;

}

.hero-left h1 span{

    color:var(--primary);

}

.hero-left p{

    color:#666;
    font-size:18px;
    margin-bottom:35px;

}

.hero-buttons{

    display:flex;
    align-items:center;

}

.hero-right img{

    animation:float 4s ease-in-out infinite;

}

/*======================================
        STATS
=======================================*/

.stats{

    background:#fff;

}

.stats .container{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;

}

.stat-box{

    background:#fff;
    text-align:center;
    padding:40px 25px;
    border-radius:15px;
    box-shadow:var(--shadow);
    transition:.4s;

}

.stat-box:hover{

    transform:translateY(-10px);

}

.stat-box i{

    font-size:45px;
    color:var(--primary);
    margin-bottom:20px;

}

.stat-box h2{

    color:var(--secondary);
    font-size:36px;

}

.stat-box p{

    color:#666;

}

/*======================================
        ABOUT
=======================================*/

.about-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:center;

}

.about-text h5{

    color:var(--primary);

}

.about-text h2{

    font-size:42px;
    color:var(--secondary);
    margin:15px 0;

}

.about-text p{

    color:#666;
    margin-bottom:20px;

}

.about-image img{

    border-radius:20px;
    box-shadow:var(--shadow);

}

/*======================================
        SERVICES
=======================================*/

.services-home{

    background:#f8f9fc;

}

.service-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.service-card{

    background:#fff;
    border-radius:15px;
    padding:40px;
    text-align:center;
    transition:.4s;
    box-shadow:var(--shadow);

}

.service-card:hover{

    transform:translateY(-10px);

}

.service-card i{

    font-size:55px;
    color:var(--primary);
    margin-bottom:25px;

}

.service-card h3{

    color:var(--secondary);
    margin-bottom:15px;

}

.service-card p{

    color:#666;

}

/*======================================
        FLOAT ANIMATION
=======================================*/

@keyframes float{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0px);

}

}
/*======================================
        WHY CHOOSE US
=======================================*/

.why-us{
    background:#ffffff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:50px;
}

.why-card{
    background:#fff;
    padding:40px 30px;
    border-radius:15px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.4s;
    border-top:4px solid transparent;
}

.why-card:hover{
    transform:translateY(-10px);
    border-top:4px solid var(--primary);
}

.why-card i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:20px;
}

.why-card h3{
    color:var(--secondary);
    margin-bottom:15px;
    font-size:22px;
}

.why-card p{
    color:var(--gray);
    font-size:15px;
}


/*======================================
        FEATURED PROJECTS
=======================================*/

.projects{
    background:var(--light);
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
    margin-top:50px;
}

.project-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.project-content{
    padding:25px;
}

.project-content h3{
    color:var(--secondary);
    margin-bottom:15px;
}

.project-content p{
    color:var(--gray);
    margin-bottom:20px;
}

.project-content .btn-small{
    color:var(--primary);
    font-weight:600;
}

.project-content .btn-small:hover{
    color:var(--secondary);
}


/*======================================
        OUR PROCESS
=======================================*/

.process{
    background:#fff;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:60px;
}

.process-card{
    background:var(--light);
    border-radius:15px;
    padding:40px 25px;
    text-align:center;
    position:relative;
    transition:.4s;
    box-shadow:var(--shadow);
}

.process-card:hover{
    background:var(--primary);
    transform:translateY(-8px);
}

.process-card span{

    width:65px;
    height:65px;

    background:var(--primary);
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:auto;
    margin-bottom:25px;

    border-radius:50%;

    font-size:22px;
    font-weight:700;

}

.process-card:hover span{
    background:#fff;
    color:var(--primary);
}

.process-card h3{
    color:var(--secondary);
    margin-bottom:15px;
}

.process-card:hover h3{
    color:#fff;
}

.process-card p{
    color:var(--gray);
}

.process-card:hover p{
    color:#fff;
}


/*======================================
        SECTION SPACING
=======================================*/

.projects,
.process,
.why-us{

    padding:100px 0;

}


/*======================================
        CARD HOVER EFFECT
=======================================*/

.project-card,
.process-card,
.why-card{

    cursor:pointer;

}


/*======================================
        IMAGE EFFECTS
=======================================*/

.project-card img{

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}


/*======================================
        SCROLL ANIMATION READY
=======================================*/

.reveal{

    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;

}

.reveal.active{

    opacity:1;
    transform:translateY(0);

}


/*======================================
        SMOOTH TRANSITIONS
=======================================*/

.project-card,
.project-content,
.why-card,
.process-card{

    transition:all .4s ease;

}
/*======================================
        TESTIMONIALS SECTION
=======================================*/

.testimonials{
    background:#f8f9fc;
    padding:100px 0;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:50px;
}

.testimonial-card{

    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:var(--shadow);
    transition:.4s;
    position:relative;
    overflow:hidden;

}

.testimonial-card::before{

    content:"★★★★★";
    position:absolute;
    top:20px;
    right:25px;
    color:#f7b500;
    font-size:14px;

}

.testimonial-card:hover{

    transform:translateY(-10px);

}

.testimonial-card p{

    color:var(--gray);
    margin-bottom:30px;
    line-height:1.8;

}

.testimonial-card h4{

    color:var(--secondary);
    margin-bottom:5px;

}

.testimonial-card span{

    color:var(--primary);
    font-size:14px;

}


/*======================================
        CALL TO ACTION
=======================================*/

.cta{

    padding:90px 0;
    background:linear-gradient(135deg,var(--primary),#0048d8);
    color:#fff;
    text-align:center;

}

.cta h2{

    font-size:44px;
    margin-bottom:20px;

}

.cta p{

    max-width:700px;
    margin:0 auto 35px;
    font-size:18px;
    line-height:1.8;

}

.cta .btn{

    background:#fff;
    color:var(--primary);
    font-weight:600;

}

.cta .btn:hover{

    background:var(--secondary);
    color:#fff;

}


/*======================================
        NEWSLETTER
=======================================*/

.newsletter{

    padding:80px 0;
    background:#ffffff;

}

.newsletter-content{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;

}

.newsletter-text{

    flex:1;

}

.newsletter-text h2{

    color:var(--secondary);
    margin-bottom:15px;
    font-size:36px;

}

.newsletter-text p{

    color:var(--gray);
    max-width:550px;

}

.newsletter-form{

    flex:1;
    display:flex;
    justify-content:flex-end;

}

.newsletter-form form{

    width:100%;
    max-width:500px;
    display:flex;
    background:#fff;
    border-radius:60px;
    overflow:hidden;
    box-shadow:var(--shadow);

}

.newsletter-form input{

    flex:1;
    border:none;
    outline:none;
    padding:18px 25px;
    font-size:16px;

}

.newsletter-form button{

    border:none;
    border-radius:0;
    cursor:pointer;
    padding:0 35px;

}


/*======================================
        HOVER EFFECTS
=======================================*/

.newsletter-form button:hover{

    background:var(--secondary);

}

.testimonial-card,
.cta .btn,
.newsletter-form button{

    transition:.4s;

}
/*======================================
            FOOTER
======================================*/

footer{

    background:var(--secondary);
    color:#fff;
    padding:90px 0 40px;

}

.footer-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;

}

.footer-box h2{

    font-size:30px;
    margin-bottom:20px;
    color:#fff;

}

.footer-box h3{

    font-size:22px;
    margin-bottom:25px;
    color:#fff;

}

.footer-box p{

    color:#d9d9d9;
    line-height:1.8;
    margin-bottom:15px;

}

.footer-box ul{

    padding:0;

}

.footer-box ul li{

    margin-bottom:15px;

}

.footer-box ul li a{

    color:#d9d9d9;
    text-decoration:none;
    transition:.3s;

}

.footer-box ul li a:hover{

    color:var(--primary);
    padding-left:8px;

}

.footer-box i{

    color:var(--primary);
    margin-right:10px;

}

/*======================================
        SOCIAL ICONS
======================================*/

.social-icons{

    display:flex;
    gap:15px;
    margin-top:25px;

}

.social-icons a{

    width:45px;
    height:45px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#ffffff15;

    border-radius:50%;

    color:#fff;

    transition:.4s;

    font-size:18px;

}

.social-icons a:hover{

    background:var(--primary);

    transform:translateY(-6px);

}
/*======================================
        COPYRIGHT
======================================*/

.copyright{

    background:#081426;
    padding:20px 0;
    text-align:center;

}

.copyright p{

    color:#d5d5d5;
    font-size:15px;
    letter-spacing:.5px;

}

/*======================================
        BACK TO TOP BUTTON
======================================*/

#topBtn{

    position:fixed;
    bottom:30px;
    right:30px;

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:var(--primary);
    color:#fff;

    font-size:20px;

    cursor:pointer;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    transition:.4s;

    z-index:999;

}

#topBtn:hover{

    background:var(--secondary);

    transform:translateY(-6px);

}

/*======================================
        FOOTER HOVER EFFECTS
======================================*/

.footer-box{

    transition:.4s;

}

.footer-box:hover{

    transform:translateY(-5px);

}

.footer-box h2,
.footer-box h3{

    transition:.3s;

}

.footer-box:hover h2,
.footer-box:hover h3{

    color:var(--primary);

}

/*======================================
        LINK EFFECTS
======================================*/

.footer-box ul li{

    transition:.3s;

}

.footer-box ul li:hover{

    transform:translateX(6px);

}

/*======================================
        ICON EFFECTS
======================================*/

.footer-box i{

    transition:.3s;

}

.footer-box:hover i{

    color:#4da3ff;

}

/*======================================
        SELECTION COLOR
======================================*/

::selection{

    background:var(--primary);
    color:#fff;

}

::-moz-selection{

    background:var(--primary);
    color:#fff;

}

/*======================================
        SCROLLBAR
======================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#ececec;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);
    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}

/*======================================
        UTILITY CLASSES
======================================*/

.text-center{

    text-align:center;

}

.mt-30{

    margin-top:30px;

}

.mt-50{

    margin-top:50px;

}

.mb-30{

    margin-bottom:30px;

}

.mb-50{

    margin-bottom:50px;

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}

/*======================================
/*======================================
        RESPONSIVE DESIGN
======================================*/

/* Large Tablets */

@media (max-width:1024px){

.container{

    width:95%;

}

.hero-content,
.about-grid{

    grid-template-columns:1fr;
    text-align:center;

}

.hero-left{

    order:2;

}

.hero-right{

    order:1;

}

.hero-left h1{

    font-size:46px;

}

.stats .container,
.service-grid,
.project-grid,
.why-grid,
.process-grid,
.testimonial-grid,
.footer-grid{

    grid-template-columns:repeat(2,1fr);

}

.newsletter-content{

    flex-direction:column;
    text-align:center;

}

.newsletter-form{

    justify-content:center;

}

}


/*======================================
        TABLETS
======================================*/

@media (max-width:768px){

header .container{

    flex-direction:column;
    height:auto;
    padding:20px 0;

}

nav{

    margin:20px 0;

}

nav ul{

    flex-wrap:wrap;
    justify-content:center;
    gap:15px;

}

.hero{

    padding-top:180px;

}

.hero-left h1{

    font-size:38px;

}

.hero-left p{

    font-size:16px;

}

.hero-buttons{

    justify-content:center;
    flex-wrap:wrap;

}

.section-title h2{

    font-size:32px;

}

.stats .container,
.service-grid,
.project-grid,
.why-grid,
.process-grid,
.testimonial-grid,
.footer-grid{

    grid-template-columns:1fr;

}

.newsletter-form form{

    flex-direction:column;
    border-radius:15px;

}

.newsletter-form input{

    width:100%;

}

.newsletter-form button{

    width:100%;
    padding:18px;

}

.social-icons{

    justify-content:center;

}

}


/*======================================
        MOBILE
======================================*/

@media (max-width:576px){

section{

    padding:70px 0;

}

.logo h2{

    font-size:26px;

}

.hero-left h4{

    font-size:16px;

}

.hero-left h1{

    font-size:30px;

}

.hero-left p{

    font-size:15px;

}

.btn,
.btn-outline{

    width:100%;
    text-align:center;
    margin:10px 0;

}

.stat-box{

    padding:30px 20px;

}

.stat-box h2{

    font-size:30px;

}

.about-text h2{

    font-size:30px;

}

.section-title h2{

    font-size:28px;

}

.service-card,
.project-card,
.why-card,
.process-card,
.testimonial-card{

    padding:25px;

}

.footer-box{

    text-align:center;

}

.footer-box ul{

    padding:0;

}

.footer-box ul li{

    margin-bottom:12px;

}

.footer-box p{

    font-size:15px;

}

.cta h2{

    font-size:30px;

}

.cta p{

    font-size:15px;

}

.newsletter-text h2{

    font-size:28px;

}

.newsletter-text p{

    font-size:15px;

}

#topBtn{

    width:48px;
    height:48px;
    right:20px;
    bottom:20px;

}

}


/*======================================
        SIMPLE FADE ANIMATION
======================================*/

.fade-up{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

0%{

opacity:0;
transform:translateY(40px);

}

100%{

opacity:1;
transform:translateY(0);

}

}


/*======================================
        IMAGE HOVER EFFECT
======================================*/

img{

    transition:.4s;

}

img:hover{

    transform:scale(1.02);

}


/*======================================
        CARD HOVER
======================================*/

.service-card:hover,
.project-card:hover,
.why-card:hover,
.process-card:hover,
.testimonial-card:hover{

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}


/*======================================
        BUTTON TRANSITION
======================================*/

.btn,
.btn-outline,
.btn-small{

    transition:.35s;

}

.btn-small:hover{

    color:var(--secondary);

}


/*======================================
