/* ===========================
   TECHNIMAT ENGINEERING SOLUTIONS
   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.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===========================
   Reusable Classes
=========================== */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:90px 0;
}

h1,h2,h3,h4,h5{
    font-weight:700;
}

h2{
    font-size:38px;
    margin-bottom:20px;
}

p{
    color:#666;
}

/* Buttons */

.buttons{

    display:flex;
    gap:20px;
    justify-content:center;
    align-items:center;

    position:relative;
    z-index:2;

}

.btn:hover{
    background:#003d99;
}

.btn-outline{

    display:inline-block;

    padding:15px 35px;

    background:#0077ff;

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    transition:.3s;

    cursor:pointer;
}

.btn-outline:hover{

    background:#0055cc;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    z-index:1;
}

.hero-content{
    position:relative;
    z-index:2;
}

/* ===========================
   HEADER
=========================== */

/* ===========================
   HEADER
=========================== */

header{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:transparent;
    box-shadow:none;
}

header .container{
    width:90%;
    max-width:1400px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:100px;
}

.logo img{
    height:70px;
}

nav ul{
    display:flex;
    gap:45px;
}

nav ul li a{
    color:#ffffff;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#00BFFF;
}
.logo img{
    height: 140px;
    
}

nav ul{
    display:flex;
    gap:35px;
}

nav ul li a{
    color:#fff;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover,
nav ul li a.active{
    color:#00c8ff;
}

.menu-btn{
    display:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero{
    position:relative;

    width:100%;
    height:100vh;

    background:
    linear-gradient(rgba(8,25,55,.45),
    rgba(8,25,55,.45)),
    url("../images/hero1.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-content{
    max-width:900px;
    color:#fff;
}

.hero h4{

    color:#00c8ff;
    letter-spacing:4px;
    margin-bottom:15px;
}

.hero h1{

    font-size:65px;
    margin-bottom:25px;
    line-height:1.2;
}

.hero p{

    color:#f2f2f2;
    font-size:20px;
    margin-bottom:40px;
}

.hero-btn{
    display:flex;
    justify-content:center;
}

/* ===========================
   ABOUT
=========================== */

.about-preview .container{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{

    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.about-content h5{

    color:#0056d6;
    margin-bottom:10px;
}

.about-content p{

    margin:20px 0 30px;
}

/* ===========================
   SERVICES
=========================== */

.services-preview{

    background:#f7f9fc;
    text-align:center;
}

.service-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-top:50px;
}

.card{

    background:#fff;
    padding:40px 25px;

    border-radius:15px;

    transition:.4s;

    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.card i{

    font-size:45px;
    color:#0056d6;
    margin-bottom:20px;
}

.card h3{

    font-size:22px;
}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#081528;

    color:#fff;

    text-align:center;

    padding:45px 0;
}

footer h2{

    margin-bottom:15px;
}

footer p{

    color:#d8d8d8;
    margin:8px 0;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

nav{

display:none;

}

.menu-btn{

display:block;

}

.hero h1{

font-size:45px;

}

.about-preview .container{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.hero h1{

font-size:36px;

}

.hero p{

font-size:18px;

}

.hero-btn{

flex-direction:column;
gap:15px;

}

.btn-outline{

margin-left:0;

}

section{

padding:70px 0;

}

h2{

font-size:30px;

}

/* ===========================
   MOBILE MENU
=========================== */

nav.show{
    display:block;
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:#0b1d3a;
}

nav.show ul{
    flex-direction:column;
    text-align:center;
    padding:20px 0;
}

nav.show ul li{
    margin:15px 0;
}

/* ===========================
   SCROLL ANIMATION
=========================== */

.hidden-element{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.show-element{
    opacity:1;
    transform:translateY(0);
}
/* ==========================================
   WHY CHOOSE US
========================================== */

.why-us{

    padding:100px 0;

    background:#ffffff;
}

.section-heading{

    text-align:center;

    max-width:750px;

    margin:0 auto 70px;
}

.section-heading span{

    color:#0077ff;

    font-size:16px;

    font-weight:600;

    letter-spacing:3px;
}

.section-heading h2{

    font-size:42px;

    color:#081528;

    margin:20px 0;
}

.section-heading p{

    color:#666;

    line-height:1.8;
}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:35px;
}

.why-card{

    background:#fff;

    padding:40px 30px;

    border-radius:15px;

    text-align:center;

    transition:.4s;

    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.why-card:hover{

    transform:translateY(-12px);

    background:#0077ff;
}

.why-card i{

    font-size:55px;

    color:#0077ff;

    margin-bottom:25px;

    transition:.3s;
}

.why-card h3{

    color:#081528;

    margin-bottom:20px;

    transition:.3s;
}

.why-card p{

    color:#666;

    line-height:1.8;

    transition:.3s;
}

.why-card:hover i,
.why-card:hover h3,
.why-card:hover p{

    color:#ffffff;
}

@media(max-width:768px){

.section-heading h2{

font-size:32px;

}

.why-us{

padding:70px 0;

}
/* ==========================================
   FEATURED PROJECTS
========================================== */

.featured-projects{

    padding:100px 0;

    background:#f8fafc;
}

.project-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;
}

.project-item{

    position:relative;

    overflow:hidden;

    border-radius:15px;

    height:350px;
}

.project-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;
}

.project-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.2));

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:35px;

    color:#fff;

    opacity:0;

    transition:.4s;
}

.project-item:hover img{

    transform:scale(1.1);
}

.project-item:hover .project-overlay{

    opacity:1;
}

.project-overlay span{

    color:#00BFFF;

    font-size:15px;

    letter-spacing:2px;

    margin-bottom:10px;
}

.project-overlay h3{

    font-size:28px;

    margin-bottom:20px;
}

.gallery-btn{

    display:inline-block;

    width:160px;

    text-align:center;

    padding:12px 20px;

    background:#0077ff;

    color:#fff;

    border-radius:50px;

    transition:.3s;
}

.gallery-btn:hover{

    background:#0056d6;
}

@media(max-width:992px){

.project-gallery{

grid-template-columns:1fr;

}

}
}
}
