/* ===========================================
   JOINERYTECH
   Professional Joinery Consultancy
   =========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Open Sans',sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

/* Container */

.container{
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* Header */

header{
    background:#0b3d91;
    color:#fff;
    text-align:center;
    padding:60px 20px;
    box-shadow:0 3px 10px rgba(0,0,0,.15);
}

header h1{
    font-family:'Montserrat',sans-serif;
    font-size:3rem;
    letter-spacing:2px;
    margin-bottom:10px;
}

.strapline{
    font-size:1.3rem;
    font-weight:600;
}

.subtitle{
    margin-top:10px;
    opacity:.9;
}

/* Sections */

section{
    margin:40px 0;
}

.hero,
.features,
.contact{
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

h2{
    font-family:'Montserrat',sans-serif;
    color:#0b3d91;
    margin-bottom:20px;
}

h3{
    color:#0b3d91;
    margin-bottom:10px;
}

/* Feature Grid */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.feature{
    background:#f8f9fc;
    border-left:5px solid #1e73be;
    padding:25px;
    border-radius:8px;
    transition:.3s;
}

.feature:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 18px rgba(0,0,0,.12);
}

/* Form */

.contact-form{
    margin-top:25px;
}

.row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.field{
    flex:1;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#0b3d91;
}

input,
select,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #cfd8e3;
    border-radius:8px;
    font-size:15px;
    transition:.3s;
    background:#fff;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:#1e73be;
    box-shadow:0 0 0 3px rgba(30,115,190,.15);
}

textarea{
    resize:vertical;
    min-height:180px;
    margin-bottom:25px;
}

/* Button */

.btn{
    background:#0b3d91;
    color:#fff;
    border:none;
    padding:16px 34px;
    font-size:17px;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.btn:hover{
    background:#155ab6;
    transform:translateY(-2px);
}

}

/* Error Box */

.error-box{
    background:#ffe8e8;
    border-left:5px solid #cc0000;
    padding:20px;
    border-radius:8px;
    margin-bottom:25px;
}

.error-box ul{
    margin-left:20px;
}

/* Honeypot */

.honeypot{
    display:none;
}

/* Footer */

footer{
    margin-top:60px;
    background:#0b3d91;
    color:#fff;
    text-align:center;
    padding:35px 20px;
}

footer p{
    margin-bottom:10px;
}

/* Responsive */

@media(max-width:900px){

.row{
    flex-direction:column;
}

header h1{
    font-size:2.2rem;
}

.hero,
.features,
.contact{
    padding:25px;
}

}

@media(max-width:600px){

.container{
    width:95%;
}

header{
    padding:40px 15px;
}

header h1{
    font-size:1.8rem;
}

.btn{
    width:100%;
    padding:18px;
}

}