/*
Theme Name: EZ Cares Transport
Theme URI: https://example.com/
Author: EZ Cares Transport
Description: A clean, mobile-friendly WordPress website for EZ Cares Transport, based on the supplied company flyer.
Version: 1.1
Text Domain: ez-cares-transport
*/

:root{
  --blue:#083d91;
  --blue-dark:#062c68;
  --red:#d71920;
  --yellow:#f7c900;
  --light:#f5f8fc;
  --text:#17324d;
  --muted:#5e7184;
  --white:#fff;
  --shadow:0 12px 35px rgba(4,35,75,.12);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.6;background:#fff}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.container{width:min(1120px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e6edf5}
.nav-wrap{min-height:96px;padding:14px 0;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{width:72px;height:72px;object-fit:contain}
.header-banner{flex:1 1 auto;max-width:520px;width:100%;height:auto;display:block}

.hero{background:linear-gradient(135deg,#edf5ff 0%,#fff 55%,#fff8db 100%);padding:55px 0 60px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:45px;align-items:center}
.kicker{display:inline-block;background:#e6f0ff;color:var(--blue);font-weight:800;padding:7px 12px;border-radius:999px;font-size:13px;letter-spacing:.5px}
.hero h1{font-size:clamp(36px,5vw,62px);line-height:1.03;margin:16px 0 18px;color:var(--blue-dark)}
.hero h1 span{color:var(--red)}
.hero p{font-size:19px;color:var(--muted);max-width:650px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:10px;font-weight:800;border:2px solid transparent}
.btn-primary{background:var(--red);color:#fff}
.btn-secondary{border-color:var(--blue);color:var(--blue);background:#fff}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.hero-flyer{background:#fff;padding:10px;border-radius:20px;box-shadow:var(--shadow)}
.hero-flyer img{display:block;border-radius:12px;width:100%}

.trust{padding:18px 0;background:var(--blue);color:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;text-align:center;font-weight:700}
.trust-item span{display:block;color:var(--yellow);font-size:25px;margin-bottom:2px}

.section{padding:72px 0}
.section.alt{background:var(--light)}
.section-head{text-align:center;max-width:760px;margin:0 auto 38px}
.section-head h2{font-size:38px;line-height:1.1;color:var(--blue-dark);margin:0 0 10px}
.section-head p{color:var(--muted);font-size:17px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid #e1e9f2;border-radius:var(--radius);padding:25px;box-shadow:0 5px 20px rgba(10,45,85,.05)}
.card .icon{font-size:32px;margin-bottom:10px}
.card h3{color:var(--blue);margin:4px 0 8px;font-size:21px}
.card p{margin:0;color:var(--muted)}
.card ul{margin:12px 0 0;padding-left:20px;color:var(--muted)}

.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}
.about-image{background:#fff;border-radius:20px;padding:10px;box-shadow:var(--shadow)}
.about-copy h2{font-size:38px;line-height:1.1;color:var(--blue-dark)}
.check-list{list-style:none;padding:0}
.check-list li{margin:12px 0;padding-left:29px;position:relative}
.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--red);font-weight:900}

.areas{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.area{background:#fff;border:1px solid #d9e4ef;border-radius:999px;padding:9px 14px;color:var(--blue);font-weight:700}

.contact-box{background:linear-gradient(135deg,var(--blue-dark),var(--blue));border-radius:25px;padding:42px;color:#fff;text-align:center}
.contact-box h2{font-size:38px;margin:0 0 10px}
.contact-box p{opacity:.9;margin-left:auto;margin-right:auto}
.cta-buttons{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px;justify-content:center}
.contact-box .btn-phone{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.25;gap:3px}
.contact-box .btn-phone-label,
.contact-box .btn-phone-number{display:block;width:100%}
.btn-phone-label{font-weight:800}
.btn-phone-number{font-weight:700;font-size:15px;opacity:.9}

.site-footer{background:#061f46;color:#dbe8f7;padding:40px 0 20px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.site-footer h3{color:#fff;margin-top:0}
.site-footer a{color:#fff}
.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:18px;font-size:13px;color:#a9bfd7}

.form-notice{max-width:760px;margin:0 auto 24px;padding:14px 18px;border-radius:12px;font-weight:700;text-align:center}
.form-success{background:#e6f7ec;color:#1a7a3c;border:1px solid #b6e6c6}
.form-error{background:#fdeceb;color:var(--red);border:1px solid #f5c4c1}
.hp-field{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.request-form{max-width:820px;margin:0 auto;background:#fff;border:1px solid #e1e9f2;border-radius:var(--radius);padding:32px;box-shadow:0 5px 20px rgba(10,45,85,.05)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-field-full{grid-column:1 / -1}
.form-field label{display:block;font-weight:700;color:var(--blue-dark);margin-bottom:6px;font-size:14px}
.form-field input{width:100%;padding:12px 14px;border:1.5px solid #d9e4ef;border-radius:10px;font-size:16px;font-family:inherit;color:var(--text)}
.form-field input:focus{outline:none;border-color:var(--blue)}
.request-form .btn{margin-top:22px;width:100%;border:none;cursor:pointer;font-size:17px}

@media(max-width:560px){
  .form-grid{grid-template-columns:1fr}
  .request-form{padding:24px 18px}
}
.page-hero h1{font-size:46px;margin:0}
.content-area{padding:55px 0;min-height:45vh}

@media(max-width:850px){
  .nav-wrap{flex-direction:column;align-items:flex-start;gap:14px}
  .header-banner{max-width:100%}
  .hero-grid,.about-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .trust-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .hero{padding-top:35px}
  .cards{grid-template-columns:1fr}
  .trust-grid{grid-template-columns:1fr 1fr}
  .section{padding:52px 0}
  .section-head h2,.about-copy h2,.contact-box h2{font-size:30px}
  .hero h1{font-size:40px}
  .brand img{width:56px;height:56px}
}

/* Mobile layout improvements for appointment CTA and footer */
html, body { overflow-x: hidden; }
.contact-box,
.footer-grid,
.site-footer { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 850px){
  .contact-box{
    padding:32px 26px;
  }
  .contact-box h2{font-size:34px;line-height:1.12}
  .footer-grid{grid-template-columns:1fr 1fr;gap:26px}
}

@media (max-width: 560px){
  .contact-box{
    padding:28px 18px;
    border-radius:18px;
  }
  .contact-box h2{font-size:29px;line-height:1.15}
  .contact-box p{font-size:16px}
  .contact-box .btn{
    width:100%;
    min-height:50px;
    padding:13px 16px;
  }

  .site-footer{padding:34px 0 18px}
  .footer-grid{
    grid-template-columns:1fr;
    gap:24px;
    text-align:center;
  }
  .site-footer h3{font-size:19px;margin-bottom:8px}
  .site-footer p{margin:0;line-height:1.7}
  .site-footer .copyright{
    margin-top:25px;
    padding-top:15px;
    text-align:center;
    line-height:1.5;
  }
}
