/* ===== GLOBAL STYLES ===== */

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

body{
    font-family: Arial, sans-serif;
    line-height:1.6;
}

header{
    background:#222;
    color:white;
    padding:20px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
}

nav a:hover{
    text-decoration:underline;
}

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

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

.hero img{
    width:150px;
    border-radius:50%;
}

/* ===== GRID LAYOUT ===== */

.grid-container{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    padding:20px;
}

.card{
    border:1px solid #ccc;
    padding:20px;
}

/* ===== TABLE ===== */

table{
    width:100%;
    border-collapse:collapse;
}

table, th, td{
    border:1px solid #333;
}

th, td{
    padding:10px;
    text-align:left;
}

/* ===== CONTACT FORM ===== */

form{
    display:flex;
    flex-direction:column;
    gap:10px;
}

button{
    padding:10px;
    background:#333;
    color:white;
    border:none;
}

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

footer{
    text-align:center;
    padding:20px;
    background:#222;
    color:white;
}

/* ===== DESKTOP MEDIA QUERY ===== */

@media (min-width:768px){

    .grid-container{
        grid-template-columns:1fr 1fr;
    }

    .hero{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:30px;
    }
}