:root {
    --blue: #142454;
    --red: #d90429;
    --white: #ffffff;
    --light: #f5f7fb;
    --gray: #6b7280;
    --dark: #111827;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--white);
    color:var(--dark);
    overflow-x:hidden;
    line-height:1.7;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}

/* NAVBAR */

.custom-navbar{
    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(10px);
    box-shadow:0 5px 25px rgba(0,0,0,0.08);
    padding:14px 0;
    transition:0.3s;
    z-index:999;
}

.logo{
    height:50px;
}

.navbar-nav .nav-link{
    color:var(--blue);
    font-weight:600;
    margin-left:22px;
    position:relative;
    transition:0.3s;
    font-size:15px;
}

.navbar-nav .nav-link:hover{
    color:var(--red);
}

.navbar-nav .nav-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:3px;
    background:var(--red);
    border-radius:20px;
    transition:0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{
    width:100%;
}

/* HERO */

.hero{
    min-height:100vh;
    background:linear-gradient(135deg,var(--blue),#0b173b);
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding-top:100px;
}

.hero::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,0.04);
    top:-180px;
    right:-120px;
}

.hero::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.05);
    bottom:-120px;
    left:-100px;
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
}

.tagline{
    display:inline-block;
    background:rgba(255,255,255,0.08);
    color:white;
    padding:8px 20px;
    border-radius:50px;
    margin-bottom:20px;
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:600;
}

.hero h1{
    font-size:48px;
    line-height:1.15;
    font-weight:700;
    letter-spacing:-1px;
    margin-bottom:22px;
}

.hero p{
    font-size:17px;
    color:#d7dff8;
    margin-bottom:32px;
    max-width:650px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

/* BUTTONS */

.btn-primary-custom{
    background:var(--red);
    color:white;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
    border:none;
    transition:0.3s;
    font-size:15px;
}

.btn-primary-custom:hover{
    background:#b40323;
    color:white;
    transform:translateY(-3px);
}

.btn-outline-custom{
    border:2px solid rgba(255,255,255,0.3);
    color:white;
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
    transition:0.3s;
    font-size:15px;
}

.btn-outline-custom:hover{
    background:white;
    color:var(--blue);
}

.btn-light-custom{
    background:white;
    color:var(--red);
    padding:14px 30px;
    border-radius:50px;
    font-weight:600;
    transition:0.3s;
    font-size:15px;
}

.btn-light-custom:hover{
    background:var(--blue);
    color:white;
}

/* HERO CARD */

.hero-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:28px;
    padding:40px;
    box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

.hero-card h3{
    color:var(--red);
    font-size:36px;
    font-weight:700;
}

.hero-card p{
    color:white;
    font-size:22px;
    font-weight:600;
    margin-bottom:20px;
}

.hero-card ul{
    list-style:none;
    padding:0;
}

.hero-card li{
    margin-bottom:12px;
    color:#d7dff8;
    font-size:15px;
}

.hero-card i{
    color:var(--red);
    margin-right:10px;
}

/* SECTION */

.section-padding{
    padding:90px 0;
}

/* TITLES */

.section-title span{
    color:var(--red);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:3px;
    font-weight:700;
}

.section-title h2{
    font-size:38px;
    color:var(--blue);
    font-weight:700;
    letter-spacing:-1px;
    margin-top:10px;
}

.section-title p{
    color:var(--gray);
    font-size:17px;
    font-weight:400;
    margin-top:15px;
}

/* SERVICES */

.service-card{
    background:white;
    border-radius:24px;
    padding:35px;
    box-shadow:0 12px 40px rgba(0,0,0,0.08);
    transition:0.4s;
    height:100%;
    border-left:6px solid var(--blue);
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

.red-border{
    border-left-color:var(--red);
}

.blue-border{
    border-left-color:var(--blue);
}

.service-card i{
    font-size:38px;
    color:var(--red);
    margin-bottom:18px;
}

.service-card h4{
    color:var(--blue);
    font-size:22px;
    font-weight:700;
    margin-bottom:14px;
}

.service-card p{
    color:var(--gray);
    font-size:15px;
}

.service-list{
    margin-top:18px;
    padding-left:18px;
}

.service-list li{
    margin-bottom:8px;
    color:var(--gray);
    font-size:14px;
}

/* ABOUT */

.about-preview{
    background:var(--light);
}

.about-box h2{
    font-size:36px;
    color:var(--blue);
    font-weight:700;
    letter-spacing:-1px;
    margin-bottom:22px;
}

.about-box p{
    color:var(--gray);
    font-size:16px;
    margin-bottom:18px;
}

/* STATS */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.stat-card{
    background:white;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.stat-card h3{
    font-size:32px;
    color:var(--red);
    font-weight:700;
}

.stat-card p{
    color:var(--blue);
    font-weight:600;
    font-size:15px;
}

/* CTA */

.cta-section{
    background:linear-gradient(135deg,var(--red),#a2021d);
    padding:80px 0;
    color:white;
}

.cta-section h2{
    font-size:36px;
    font-weight:700;
    letter-spacing:-1px;
    margin-bottom:18px;
}

.cta-section p{
    font-size:17px;
    font-weight:400;
    margin-bottom:28px;
}

/* PAGE HEADER */

.page-header{
    background:linear-gradient(135deg,var(--blue),#0b173b);
    color:white;
    padding:135px 0 65px;
    text-align:center;
}

.page-header h1{
    font-size:42px;
    font-weight:700;
    letter-spacing:-1px;
    margin-bottom:10px;
}

.page-header p{
    color:#d7dff8;
    font-size:17px;
    font-weight:400;
}

/* CLIENTS */

.client-card{
    background:white;
    border-radius:22px;
    padding:30px;
    height:160px;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 10px 30px rgba(0,0,0,0.08);

    transition:0.3s;
}

.client-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,0.12);
}

.client-card img{
    max-width:130px;
    max-height:65px;
    object-fit:contain;

    filter:grayscale(100%);
    opacity:0.8;

    transition:0.3s;
}

.client-card:hover img{
    filter:grayscale(0%);
    opacity:1;
}

/* CONTACT */

.contact-form,
.contact-info{
    background:white;
    border-radius:24px;
    padding:35px;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
}

.contact-form h3,
.contact-info h3{
    color:var(--blue);
    font-weight:700;
    margin-bottom:24px;
    font-size:28px;
}

.contact-form .form-control{
    height:52px;
    border-radius:12px;
    border:1px solid #ddd;
    padding:12px 16px;
    font-size:14px;
}

.contact-form textarea.form-control{
    height:auto;
}

.contact-form .form-control:focus{
    border-color:var(--red);
    box-shadow:none;
}

.contact-item{
    display:flex;
    gap:16px;
    margin-bottom:22px;
}

.contact-item i{
    width:48px;
    height:48px;
    background:var(--red);
    color:white;
    border-radius:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;
}

.contact-item h5{
    color:var(--blue);
    font-weight:700;
    margin-bottom:4px;
    font-size:16px;
}

.contact-item p{
    color:var(--gray);
    margin:0;
    font-size:14px;
}

/* FOOTER */

.footer{
    background:var(--blue);
    padding:60px 0 20px;
    color:white;
}

.footer-logo{
    height:55px;
    background:white;
    padding:8px;
    border-radius:10px;
    margin-bottom:18px;
}

.footer h5{
    margin-bottom:18px;
    font-weight:700;
    font-size:18px;
}

.footer a{
    display:block;
    color:#d7dff8;
    margin-bottom:10px;
    transition:0.3s;
    font-size:14px;
}

.footer a:hover{
    color:var(--red);
}

.footer p{
    color:#d7dff8;
    font-size:14px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
    margin-top:35px;
    padding-top:18px;
    text-align:center;
}

/* WHATSAPP */

.whatsapp-btn{
    position:fixed;
    right:25px;
    bottom:25px;

    width:58px;
    height:58px;

    border-radius:50%;

    background:#25D366;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:26px;

    box-shadow:0 15px 40px rgba(0,0,0,0.25);

    z-index:999;

    transition:0.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.08);
    color:white;
}

/* ANIMATIONS */

.hidden-card{
    opacity:0;
    transform:translateY(30px);
    transition:0.8s ease;
}

.show-card{
    opacity:1;
    transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:991px){

    .hero{
        text-align:center;
    }

    .hero h1{
        font-size:40px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-card{
        margin-top:40px;
    }

    .section-title h2{
        font-size:32px;
    }

    .page-header h1{
        font-size:36px;
    }

    .about-box h2{
        font-size:32px;
    }

    .cta-section h2{
        font-size:30px;
    }

    .navbar-nav .nav-link{
        margin-left:0;
        padding:12px 0;
    }
}

@media(max-width:576px){

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:15px;
    }

    .section-title h2{
        font-size:28px;
    }

    .page-header h1{
        font-size:32px;
    }

    .section-title p{
        font-size:15px;
    }

    .about-box h2{
        font-size:28px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .logo{
        height:42px;
    }

    .service-card{
        padding:28px;
    }

    .contact-form,
    .contact-info{
        padding:28px;
    }

    .hero-card{
        padding:30px;
    }
}

/* LOADER */

#loader{
    position:fixed;
    width:100%;
    height:100vh;
    background:#0b173b;
    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.loader-content{
    text-align:center;
    animation:fadeIn 1s ease;
}

.logo-circle{

    width:140px;
    height:140px;

    background:white;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:auto;

    box-shadow:
    0 0 40px rgba(217,4,41,0.35);

    animation:pulse 2s infinite;
}

.logo-circle img{
    width:90px;
}

.loader-content h2{
    color:white;
    margin-top:25px;
    font-size:26px;
    font-weight:600;
    letter-spacing:4px;
}

@keyframes pulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.05);
    }

    100%{
        transform:scale(1);
    }

}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* HERO IMAGE */

.hero-tech-image{

    width:100%;
    height:500px;

    min-height:500px;

    border-radius:30px;

    background:
    linear-gradient(
    rgba(20,36,84,0.15),
    rgba(11,23,59,0.35)
    ),
    url('../img/hero.webp');

    background-size:cover;
    background-position:center;

    box-shadow:
    0 30px 70px rgba(0,0,0,0.35);

}

