/* ===========================
   DTECH Premium Website CSS
   Part 4A
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fa;
    color:#333;
    overflow-x:hidden;
}

/*================ NAVBAR ================*/

.navbar{
    background:rgba(8,36,90,.95);
    backdrop-filter:blur(10px);
    transition:.4s;
    padding:15px 0;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.navbar-brand{
    font-size:30px;
    font-weight:700;
    color:#fff !important;
}

.navbar-brand i{
    color:#ffc107;
}

.nav-link{
    color:#fff !important;
    margin-left:15px;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color:#ffc107 !important;
}

.navbar .btn-success{
    border-radius:50px;
    padding:10px 22px;
    font-weight:600;
}

/*================ HERO SECTION ================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    background:
    linear-gradient(rgba(5,34,90,.85),
    rgba(5,34,90,.85)),
    url('images/bg.jpg');

    background-size:cover;

    background-position:center;

    color:#fff;

    padding-top:100px;

}

.hero h1{

    font-size:56px;

    font-weight:700;

    margin-bottom:20px;

}

.hero p{

    font-size:19px;

    line-height:32px;

    color:#e8e8e8;

}

.hero .btn{

    padding:14px 30px;

    border-radius:50px;

    font-size:18px;

    font-weight:600;

    transition:.4s;

}

.hero .btn-primary{

    background:#0d6efd;

    border:none;

}

.hero .btn-primary:hover{

    background:#084298;

    transform:translateY(-3px);

}

.hero .btn-success:hover{

    transform:translateY(-3px);

}

.hero-img{

    max-width:100%;

    animation:float 4s infinite ease-in-out;

}

/*================ FLOAT ANIMATION ================*/

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(-20px);
}

100%{
transform:translateY(0px);
}

}

/*================ ABOUT SECTION ================*/

#about{

    padding:90px 0;

}

#about img{

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

#about h2{

    font-size:40px;

    margin-bottom:20px;

    color:#0d47a1;

}

#about p{

    line-height:30px;

    font-size:17px;

}

#about h3{

    color:#0d6efd;

    font-size:42px;

    font-weight:bold;

}

/*================ SECTION TITLE ================*/

section h2{

    font-weight:700;

    margin-bottom:15px;

}

section p{

    color:#666;

}

/*================ BUTTONS ================*/

.btn-primary{

    background:#0d6efd;

    border:none;

}

.btn-primary:hover{

    background:#084298;

}

.btn-success{

    background:#25d366;

    border:none;

}

.btn-success:hover{

    background:#1db954;

}

/*================ CARD COMMON ================*/

.card{

    border:none;

    border-radius:20px;

    overflow:hidden;

    transition:.4s;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

/*================ BADGE ================*/

.badge{

    font-size:15px;

    padding:10px 18px;

    border-radius:30px;

}

/*================ MOBILE ================*/

@media(max-width:992px){

.hero{

text-align:center;

padding-top:120px;

}

.hero h1{

font-size:40px;

}

.hero p{

font-size:17px;

}

.hero-img{

margin-top:40px;

}

.navbar-brand{

font-size:24px;

}

}
/*======================================
        SERVICES SECTION
======================================*/

#services{
    background:#f5f8ff;
    padding:90px 0;
}

.service-card{

    background:#fff;

    border-radius:20px;

    padding:35px 25px;

    transition:.4s;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    height:100%;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:5px;

    background:#0d6efd;

    transition:.5s;

}

.service-card:hover::before{

    left:0;

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.service-card i{

    font-size:55px;

    color:#0d6efd;

    margin-bottom:20px;

    transition:.4s;

}

.service-card:hover i{

    transform:rotateY(360deg);

    color:#ff9800;

}

.service-card h4{

    font-size:24px;

    font-weight:700;

    margin-bottom:15px;

}

.service-card p{

    color:#666;

    line-height:28px;

}


/*======================================
          WHY CHOOSE US
======================================*/

#why{

    background:#ffffff;

    padding:90px 0;

}

.why-box{

    background:#fff;

    border-radius:20px;

    padding:35px 20px;

    transition:.4s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    margin-bottom:25px;

}

.why-box:hover{

    background:#0d6efd;

    color:#fff;

    transform:translateY(-10px);

}

.why-box:hover p{

    color:#fff;

}

.why-box i{

    font-size:55px;

    color:#ff9800;

    margin-bottom:20px;

}

.why-box h4{

    font-weight:700;

    margin-bottom:10px;

}


/*======================================
            COUNTER
======================================*/

.counter{

    background:linear-gradient(135deg,#0d47a1,#1565c0);

    color:#fff;

    padding:80px 0;

}

.counter h2{

    font-size:55px;

    font-weight:bold;

    margin-bottom:10px;

}

.counter p{

    color:#fff;

    font-size:18px;

}


/*======================================
          TESTIMONIAL
======================================*/

.testimonial{

    background:#fff;

    padding:30px;

    border-radius:20px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.testimonial:hover{

    transform:translateY(-10px);

}

.testimonial h5{

    color:#0d47a1;

    margin-top:15px;

    font-weight:700;

}

.testimonial p{

    margin-top:15px;

    line-height:28px;

}


/*======================================
       ANIMATION
======================================*/

.fade-up{

    animation:fadeUp 1s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/*========================================
        CONTACT SECTION
========================================*/

.contact{
    background:#f8f9fa;
}

.contact-info{
    background:#ffffff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    height:100%;
}

.contact-info h3{
    color:#0d47a1;
    font-weight:700;
}

.contact-info p{
    font-size:17px;
    margin-bottom:15px;
}

.contact-info i{
    width:35px;
    color:#0d6efd;
}

.contact .card{
    border-radius:20px;
}

.contact .form-control,
.contact .form-select{

    height:55px;
    border-radius:12px;
    border:1px solid #ddd;
    box-shadow:none;

}

.contact textarea.form-control{

    height:auto;
    resize:none;

}

.contact .form-control:focus,
.contact .form-select:focus{

    border-color:#0d6efd;
    box-shadow:0 0 10px rgba(13,110,253,.2);

}

/*========================================
          FOOTER
========================================*/

.footer{

    background:#071b44;
    color:#fff;
    padding:60px 0 20px;

}

.footer h3,
.footer h4{

    color:#ffc107;
    margin-bottom:20px;

}

.footer p{

    color:#ddd;
    line-height:30px;

}

.footer ul{

    padding:0;
    list-style:none;

}

.footer ul li{

    margin-bottom:12px;

}

.footer ul li a{

    color:#ddd;
    text-decoration:none;
    transition:.3s;

}

.footer ul li a:hover{

    color:#ffc107;
    padding-left:8px;

}

.footer hr{

    border-color:rgba(255,255,255,.2);

}

.footer .text-center{

    color:#bbb;
    margin-top:20px;

}

/*========================================
     FLOATING WHATSAPP BUTTON
========================================*/

.whatsapp{

    position:fixed;
    bottom:20px;
    right:20px;
    width:60px;
    height:60px;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:30px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;

}

.whatsapp:hover{

    transform:scale(1.1);
    color:#fff;

}

/*========================================
      FLOATING CALL BUTTON
========================================*/

.call{

    position:fixed;
    bottom:95px;
    right:20px;
    width:60px;
    height:60px;
    background:#0d6efd;
    color:#fff;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:26px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;

}

.call:hover{

    transform:scale(1.1);
    color:#fff;

}

/*========================================
       SCROLL TO TOP
========================================*/

#topBtn{

    position:fixed;
    left:20px;
    bottom:20px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#ff9800;
    color:#fff;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:999;
    transition:.3s;

}

#topBtn:hover{

    background:#e65100;
    transform:translateY(-5px);

}

/*========================================
          RESPONSIVE
========================================*/

@media(max-width:992px){

.hero{

    text-align:center;

}

.hero h1{

    font-size:38px;

}

.hero-img{

    margin-top:40px;

}

.contact-info{

    margin-bottom:30px;

}

.footer{

    text-align:center;

}

}

@media(max-width:768px){

.hero h1{

    font-size:30px;

}

.hero p{

    font-size:16px;

}

.service-card,
.why-box,
.testimonial{

    margin-bottom:20px;

}

.counter h2{

    font-size:35px;

}

.counter .col-md-3{

    margin-bottom:25px;

}

.whatsapp,
.call{

    width:55px;
    height:55px;
    font-size:24px;

}

}