/* ==========================================
   KENSPEROUS INTERNATIONAL
   Main Stylesheet
========================================== */

/* 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;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#222;
    background:#fff;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* =========================
   COLORS
========================= */

:root{

    --primary:#0A2A43;
    --secondary:#D62828;
    --gold:#D4AF37;
    --white:#ffffff;
    --light:#f8f9fa;
    --dark:#222222;
    --grey:#666666;

}

/* =========================
   BUTTONS
========================= */

.btn{

    display:inline-block;

    background:var(--secondary);

    color:#fff;

    padding:14px 34px;

    border-radius:5px;

    transition:.35s;

    font-weight:600;

}

.btn:hover{

    background:#b81d1d;

    transform:translateY(-3px);

}

.btn-outline{

    display:inline-block;

    padding:14px 34px;

    border:2px solid white;

    color:white;

    border-radius:5px;

    transition:.35s;

}

.btn-outline:hover{

    background:white;

    color:var(--primary);

}

/* =========================
   HEADER
========================= */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    background:white;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;

}

.logo h2{

    color:var(--primary);

    font-size:30px;

    font-weight:700;

}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    color:#222;

    font-weight:500;

    transition:.3s;

}

nav a:hover,

nav .active{

    color:var(--secondary);

}

/* =========================
   HERO
========================= */

.hero{

    height:100vh;

    background:url('../images/hero.jpeg') center center/cover no-repeat;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

}

.overlay{

    position:absolute;

    width:100%;

    height:100%;

    background:rgba(10,42,67,.78);

}

.hero-content{

    position:relative;

    z-index:2;

    width:90%;

    max-width:850px;

}

.hero h1{

    font-size:58px;

    line-height:1.2;

    margin-bottom:25px;

    font-weight:800;

}

.hero p{

    font-size:20px;

    margin-bottom:40px;

    color:#f3f3f3;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* =========================
   SECTION
========================= */

section{

    padding:100px 0;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:40px;

    color:var(--primary);

    margin-bottom:15px;

}

.section-title p{

    color:#666;

    max-width:700px;

    margin:auto;

}

/*=========================================
ABOUT SECTION
=========================================*/

.about{
    background:#fff;
}

.about-content{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.about-text h2{
    font-size:40px;
    color:var(--primary);
    margin-bottom:20px;
}

.about-text p{
    margin-bottom:18px;
    color:var(--grey);
}

.about-features{
    margin-top:30px;
}

.about-features li{
    margin-bottom:15px;
    font-weight:500;
}

.about-features i{
    color:var(--secondary);
    margin-right:10px;
}

/*=========================================
SERVICES
=========================================*/

.services{
    background:var(--light);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:35px;
    max-width:900px;
    margin:0 auto;
}

.service-card{

    background:#fff;

    padding:45px 35px;

    border-radius:12px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

    overflow:hidden;

    text-align:center;

    border-top:5px solid var(--secondary);

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(0,0,0,.15);

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.service-card i{

    width:90px;

    height:90px;

    line-height:90px;

    border-radius:50%;

    background:#eef3f8;

    color:var(--secondary);

    font-size:38px;

    margin:auto;

    margin-bottom:25px;

    transition:.4s;

}

.service-card:hover i{

    background:var(--secondary);

    color:white;

}

.service-card h3{

    font-size:24px;

    margin-bottom:15px;

    color:var(--primary);

}

.service-card p{

    color:#666;

    margin-bottom:25px;

}

.service-link{

    color:var(--secondary);

    font-weight:600;

}

.service-link i{

    background:none;

    width:auto;

    height:auto;

    line-height:normal;

    font-size:14px;

    margin-left:5px;

}

/*=========================================
CALL TO ACTION
=========================================*/

.cta{

    background:linear-gradient(rgba(10,42,67,.90),
    rgba(10,42,67,.90)),
    url('../images/hero.jpg');

    background-size:cover;

    background-position:center;

    color:white;

    text-align:center;

}

.cta h2{

    font-size:46px;

    margin-bottom:20px;

}

.cta p{

    max-width:750px;

    margin:auto;

    margin-bottom:40px;

    font-size:18px;

}

/*=========================================
INDUSTRIES
=========================================*/

.industries{
    background:white;
}

.industry-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:25px;

}

.industry-card{

    background:#fff;

    text-align:center;

    padding:40px;

    border:1px solid #eee;

    border-radius:10px;

    transition:.3s;

}

.industry-card:hover{

    background:var(--primary);

    color:#fff;

}

.industry-card i{

    font-size:45px;

    margin-bottom:20px;

    color:var(--secondary);

}

.industry-card:hover i{

    color:white;

}

.industry-card h3{

    margin-bottom:10px;

}

/*=========================================
STATISTICS
=========================================*/

.stats{

    background:var(--primary);

    color:white;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    text-align:center;

}

.stat h2{

    font-size:50px;

    color:var(--gold);

}

.stat p{

    font-size:18px;

}

/*=========================================
PROJECTS
=========================================*/

.projects{

    background:#f7f7f7;

}

.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.project-card{

    background:white;

    overflow:hidden;

    border-radius:10px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.project-card:hover{

    transform:translateY(-10px);

}

.project-card img{

    height:250px;

    object-fit:cover;

    width:100%;

}

.project-content{

    padding:25px;

}

.project-content h3{

    color:var(--primary);

    margin-bottom:10px;

}

.project-content p{

    color:#666;

}

/*=========================================
CONTACT
=========================================*/

.contact{
    background:white;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.contact-info h3{

    color:var(--primary);

    margin-bottom:20px;

}

.contact-info p{

    margin-bottom:20px;

}

.contact-info i{

    color:var(--secondary);

    margin-right:12px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:15px;

    margin-bottom:20px;

    border:1px solid #ddd;

    border-radius:6px;

    font-family:Poppins,sans-serif;

}

.contact-form textarea{

    height:180px;

    resize:none;

}

/*=========================================
FOOTER
=========================================*/

footer{

    background:#071B2D;

    color:white;

    padding:60px 0 25px;

}
.logo a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.logo img{
    height:60px;
    width:auto;
}

.logo-text h2{
    margin:0;
    color:#0A2A43;
    font-size:26px;
    line-height:1;
    font-weight:700;
}

.logo-text span{
    display:block;
    color:#D62828;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:600;
}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:40px;

}

.footer-grid h3{

    margin-bottom:20px;

}

.footer-grid ul li{

    margin-bottom:12px;

}

.footer-grid a{

    color:#ddd;

}

.footer-grid a:hover{

    color:white;

}

.copyright{

    margin-top:40px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:20px;

    font-size:15px;

}

/*=========================================
BACK TO TOP
=========================================*/

#topBtn{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:var(--secondary);

    color:white;

    cursor:pointer;

    display:none;

    font-size:20px;

    z-index:999;

}

/*=========================================
ANIMATIONS
=========================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}