/* ===================================================
   IRZALGIT Portal v1.0
   File : css/portal.css
=================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f5f7fb;
    color:#1f2937;
    line-height:1.6;
}

/* Container */

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

/* Header */

header{
    background:#ffffff;
    border-bottom:1px solid #e5e7eb;
    position:sticky;
    top:0;
    z-index:100;
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo h1{
    color:#2563eb;
    font-size:28px;
}

.logo span{
    color:#666;
    font-size:13px;
}

nav a{
    text-decoration:none;
    color:#374151;
    margin-left:25px;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#2563eb;
}

/* Hero */

.hero{
    text-align:center;
    padding:90px 20px;
}

.hero h2{
    font-size:48px;
    margin-bottom:20px;
    color:#111827;
}

.hero p{
    max-width:760px;
    margin:auto;
    color:#6b7280;
    font-size:20px;
    margin-bottom:40px;
}

/* Buttons */

.hero-button{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{

    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-primary{

    background:#2563eb;
    color:white;
}

.btn-primary:hover{

    background:#1d4ed8;
}

.btn-secondary{

    border:2px solid #2563eb;
    color:#2563eb;
    background:white;
}

.btn-secondary:hover{

    background:#2563eb;
    color:white;
}

/* Projects */

.projects{

    padding:80px 20px;
}

.projects h2{

    text-align:center;
    margin-bottom:50px;
    font-size:34px;
}

.cards{

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

.card{

    background:white;
    border-radius:12px;
    padding:25px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{

    transform:translateY(-5px);
}

.card h3{

    margin-bottom:15px;
    color:#2563eb;
}

.card p{

    color:#666;
}

/* Footer */

footer{

    text-align:center;
    padding:35px;
    border-top:1px solid #ddd;
    color:#777;
    margin-top:70px;
}
