/* =====================
   RESET
===================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#333;
}

/* =====================
   HEADER
===================== */

header{
    background:#003f87;
    color:white;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo-area{
    display:flex;
    align-items:center;
}

.logo{
    width:90px;
    height:90px;
    margin-right:15px;
}

.logo-area h1{
    font-size:38px;
}

.logo-area p{
    color:#ffd700;
    margin-top:5px;
}

.contact-top{
    text-align:right;
}

.contact-top p{
    margin:5px 0;
}

/* =====================
   NAVIGATION
===================== */

nav{
    background:#d71920;
}

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

nav ul li{
    margin:0;
}

nav ul li a{
    display:block;
    color:white;
    text-decoration:none;
    padding:18px 25px;
    font-weight:bold;
}

nav ul li a:hover{
    background:#003f87;
}

/* =====================
   HERO
===================== */

.hero{
    height:600px;
    background:url("images/banner.jpg");
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-content{
    background:rgba(0,0,0,0.6);
    color:white;
    padding:40px;
    border-radius:10px;
    text-align:center;
    max-width:900px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:15px;
}

.hero-content p{
    font-size:24px;
}

/* =====================
   BUTTONS
===================== */

.btn{
    display:inline-block;
    background:#d71920;
    color:white;
    text-decoration:none;
    padding:12px 25px;
    border-radius:5px;
    font-weight:bold;
    margin-top:15px;
}

.btn:hover{
    background:#003f87;
}

/* =====================
   CONTAINER
===================== */

.container{
    width:90%;
    margin:auto;
    padding:60px 0;
}

.section-title{
    text-align:center;
    color:#003f87;
    margin-bottom:25px;
    font-size:36px;
}

/* =====================
   CARDS
===================== */

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
}

.card h3{
    color:#003f87;
    margin-bottom:10px;
}

/* =====================
   SERVICES
===================== */

.services{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.services .card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:5px;
    margin-bottom:10px;
}

/* =====================
   JOBS
===================== */

.jobs{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.job{
    background:white;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

.job img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.job h3,
.job p{
    padding:10px;
}

/* =====================
   GALLERY
===================== */

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.03);
}

/* =====================
   FORMS
===================== */

form{
    background:white;
    padding:25px;
    border-radius:10px;
}

input,
textarea,
select{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:5px;
}

button{
    background:#d71920;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:5px;
    cursor:pointer;
    font-weight:bold;
}

button:hover{
    background:#003f87;
}

/* =====================
   TABLES
===================== */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

table th{
    background:#003f87;
    color:white;
}

table th,
table td{
    padding:12px;
    border:1px solid #ddd;
}

table img{
    max-width:100px;
}

/* =====================
   MAP
===================== */

iframe{
    width:100%;
    height:500px;
    border:none;
    border-radius:10px;
}

/* =====================
   FOOTER
===================== */

footer{
    background:#003f87;
    color:white;
    padding:40px;
    margin-top:40px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:30px;
}

footer h3{
    margin-bottom:10px;
}

footer hr{
    margin:20px 0;
}

.copyright{
    text-align:center;
}

.developer{
    text-align:center;
    margin-top:10px;
}

.developer strong{
    color:#d71920;
}

/* =====================
   MOBILE
===================== */

@media(max-width:992px){

.services{
    grid-template-columns:repeat(2,1fr);
}

.gallery{
    grid-template-columns:repeat(2,1fr);
}

.jobs{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

header{
    flex-direction:column;
    text-align:center;
}

.contact-top{
    text-align:center;
    margin-top:10px;
}

.hero-content h1{
    font-size:40px;
}

.hero-content p{
    font-size:18px;
}

.services,
.gallery,
.jobs{
    grid-template-columns:1fr;
}

nav ul{
    flex-direction:column;
}

}