@import url("variables.css");

/* =====================================================
   COMRADES AUTOMATION
   GLOBAL STYLES
===================================================== */

/* ===== RESET ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}
body{
    font-family:var(--body);
    background:#081B29;
    color:#fff;
    overflow-x:hidden;
}

img{
    display:block;
    width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button{
    border:none;
    outline:none;
    cursor:pointer;
    font-family:inherit;
}

/* ===== CONTAINER ===== */

.container{
    width:min(92%,1280px);
    margin:auto;
}

/* =====================================================
   HEADER
===================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.35s ease;

}

.header.scrolled{

    background:#081B29;

    backdrop-filter:blur(10px);

    box-shadow:0 15px 40px rgba(0,0,0,.15);

}

.navbar{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height: 75px;

    width:auto;

}

.nav-menu{

    display:flex;

    align-items:center;

    gap:38px;

}

.nav-menu a{

    color:#fff;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    position:relative;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}

/* ===== BUTTON ===== */

.btn-primary{

    background:var(--primary);

    color:#fff;

    padding:15px 32px;

    border-radius:50px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-3px);

    background:var(--primary-dark);

}

.btn-secondary{

    border:2px solid rgba(255,255,255,.3);

    color:#fff;

    padding:15px 32px;

    border-radius:50px;

    transition:.35s;

}

.btn-secondary:hover{

    background:#fff;

    color:#081B29;

}

.menu-toggle{

    display:none;

}

/* =====================================================
   HERO
===================================================== */

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding-top:120px;

    background:#081B29;

    position:relative;

}

.hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(30,166,232,.08);

    filter:blur(120px);

    right:-100px;

    top:80px;

}

.hero-wrapper{

    display:grid;

    grid-template-columns:55% 45%;

    align-items:center;

    gap:60px;

}

/* LEFT */

.hero-tag{

    color:var(--primary);

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:14px;

}

.hero-left h1{

    font-family:var(--heading);

    font-size:72px;

    line-height:1.05;

    margin:20px 0;

}

.hero-left h1 span{

    color:var(--primary);

}

.hero-left p{

    color:#cbd5e1;

    font-size:20px;

    line-height:1.8;

    max-width:620px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

/* RIGHT */

.hero-right{

    position:relative;

}

.hero-image{

    overflow:hidden;

    border-radius:28px;

    box-shadow:0 35px 80px rgba(0,0,0,.35);

}

.hero-image img{

    height:560px;

    object-fit:cover;

    transition:1s;

}

.hero-image:hover img{

    transform:scale(1.05);

}

/* =====================================================
   FLOATING CARD
===================================================== */

.hero-card{

    position:absolute;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    padding:20px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.1);

}

.hero-card h3{

    font-size:34px;

    color:#fff;

}

.hero-card p{

    color:#dbeafe;

}

.card-1{

    left:-40px;

    top:40px;

}

.card-2{

    right:-30px;

    bottom:50px;

}

/* =====================================================
   SECTION
===================================================== */

section{

    padding:110px 0;

}
/*=========================================
FOOTER
=========================================*/

.footer{

    background:#06131F;

    color:#CBD5E1;

    padding:80px 0 25px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.3fr;

    gap:50px;

}

.footer-logo{

    width:180px;

    margin-bottom:25px;

}

.footer-column h3{

    color:white;

    margin-bottom:25px;

    font-size:22px;

}

.footer-column p{

    line-height:1.8;

    margin-bottom:18px;

}

.footer-column ul{

    padding:0;

}

.footer-column ul li{

    margin-bottom:14px;

}

.footer-column ul li a{

    transition:.3s;

}

.footer-column ul li a:hover{

    color:#1EA6E8;

    padding-left:6px;

}

.footer-column i{

    color:#1EA6E8;

    margin-right:10px;

}

.linkedin-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:15px;

    padding:12px 22px;

    border-radius:40px;

    background:#1EA6E8;

    color:white;

    transition:.3s;

}

.linkedin-btn:hover{

    background:#0B5DA7;

}

.footer-bottom{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    color:#94A3B8;

}