/* ==========================================
   BAR3 Solutions
   Main Stylesheet
========================================== */

/* ---------- CSS Variables ---------- */

:root{

    --primary:#0B3C5D;
    --secondary:#328CC1;
    --accent:#D9B310;

    --background:#F5F7FA;
    --white:#FFFFFF;
    --text:#333333;

    --max-width:1100px;

    --shadow:0px 8px 25px rgba(0,0,0,.10);

}

/* ---------- Global Reset ---------- */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

/* ---------- Body ---------- */

body{

    /*font-family:Arial, Helvetica, sans-serif;*/
    font-family:'Inter', sans-serif;

    background:var(--background);

    color:var(--text);

    line-height:1.6;

}
/* ---------- Hero ---------- */

header{

    /*background:var(--primary);*/

    color:white;

    text-align:center;

    padding:80px 20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    background:linear-gradient(135deg,var(--primary),#0D5C87);

}
header h1{

    font-size:3rem;

    margin-bottom:15px;

}
header h2{

    font-weight:normal;

    margin-bottom:20px;

}
header p{

    max-width:700px;

    margin:0 auto 35px;

    font-size:1.1rem;

}
.button{

    background:var(--accent);

    color:white;

    border:none;

    padding:15px 35px;

    font-size:1rem;

    border-radius:8px;

    cursor:pointer;

    transition:.3s;

}
.button:hover{

    transform:translateY(-2px);

    opacity:.90;

}
main{

    max-width:var(--max-width);

    margin:50px auto;

    padding:0 20px;

}
section{

    background:white;

    margin-bottom:35px;

    padding:40px;

    border-radius:12px;

    box-shadow:var(--shadow);

}
section h2{

    color:var(--primary);

    margin-bottom:20px;

}

/* ==============================
   Services
================================ */

.service-grid{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    margin-top:30px;

}
.service-card{

    flex:1 1 300px;

    background:#F8FAFC;

    border-radius:10px;

    padding:35px;

    border-left:5px solid var(--secondary);

    transition:.30s;

    text-align:center;

}
.service-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}
.service-card h3{

    color:var(--primary);

    margin-bottom:12px;

}
.about-grid{

    display:flex;

    justify-content:space-between;

    gap:25px;

    flex-wrap:wrap;

    text-align:center;

}

.about-grid div{

    flex:1;

    min-width:220px;

}

/* ===================================
   Navigation
=================================== */

nav{

    background:white;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

    position:sticky;

    top:0;

    z-index:1000;

}

.nav-container{

    max-width:var(--max-width);

    margin:auto;

    padding:18px 20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:1.3rem;

    font-weight:700;

    color:var(--primary);

}

nav ul{

    display:flex;

    list-style:none;

    gap:30px;

}

nav a{

    text-decoration:none;

    color:var(--text);

    font-weight:500;

    transition:.25s;

}

nav a:hover{

    color:var(--secondary);

}
.company-name{

    margin-top:20px;

    letter-spacing:4px;

    text-transform:uppercase;

    color:#DCE7F3;

    font-size:.9rem;

}
hr{

    border:none;

    height:1px;

    background:#E6EAF0;

    margin-top:40px;

}
.service-card i{

    font-size:2.5rem;

    color:var(--secondary);

    margin-bottom:20px;

    display:block;

}
.hero-badge{

    background:rgba(255,255,255,.15);

    color:white;

    padding:8px 18px;

    border-radius:30px;

    font-size:.85rem;

    margin-bottom:25px;

}
footer{

    background:#1D1D1D;

    color:white;

    text-align:center;

    padding:40px 20px;

}

footer p{

    margin:8px 0;

}
/*==================================================
    Responsive Design
==================================================*/

@media (max-width:768px){

    nav ul{

    gap:15px;

    font-size:.9rem;

    }
    header{

    padding:60px 20px;

    }
    header h1{

    font-size:2.2rem;

    }

    section{

    padding:25px;

    }
    .about-grid{

    flex-direction:column;

    }
    footer{

    padding:30px 15px;

    }

}