/* ===============================
   ROOT & GLOBAL
================================ */
:root{
  --brand:#1f4a6f;
  --accent:#f39c12;
  --muted:#6b7280;
  --bg:#f7fafc;
  --radius:10px;
  --container:1100px;
}

*{box-sizing:border-box}

html,body{
  height:100%;
  margin:0;
  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial;
  line-height:1.5;
  color:#0f172a;
  background:var(--bg);
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

a{color:inherit;text-decoration:none}
.muted{color:var(--muted);font-size:.95rem}

/* ===============================
   ACCESSIBILITY
================================ */
.skip-link{
  position:absolute;
  left:10px;
  top:10px;
  padding:8px 12px;
  background:#fff;
  color:var(--brand);
  border-radius:8px;
  transform:translateY(-120%);
  transition:.18s;
  z-index:999;
}
.skip-link:focus{transform:translateY(0)}

:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

/* ===============================
   BUTTONS
================================ */
.btn{
  display:inline-block;
  background:#e67e22;
  color:#fff;
  padding:10px 18px;
  border-radius:8px;
}

.btn.ghost{
  background:transparent;
  border:2px solid rgba(255,255,255,.18);
}

/* ===============================
   SECTIONS
================================ */
.section{
  padding:60px 0;
}

.section h2{
  margin:0 0 8px;
}

.lead{
  color:var(--muted);
  margin-bottom:20px;
}

/* ===== HERO SECTION ===== */
.hero-section{
  background:
    linear-gradient(90deg, rgba(31,74,111,.95), rgba(31,74,111,.95)),
    url('https://images.unsplash.com/photo-1511919884226-7b2d1b0b85a2?w=1600&q=60&auto=format&fit=crop')
    center/cover no-repeat;
  color:#fff;
}

.hero{
  display:flex;
  gap:40px;
  align-items:center;
  padding:40px 0;
}

.hero-content{flex:1}
.hero-cta .btn{margin-right:10px}

.hero h2{
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  margin:0 0 12px;
}

.hero p{
  margin:0 0 18px;
  color:rgba(255,255,255,.92);
}

.hero-image{flex:1}

.hero-image img{
  width:100%;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(15,23,42,.35);
}

.hero-trust{
  font-size:.95rem;
  color:rgba(255,255,255,.85);
  margin-top: 10px;
}

@media (max-width:768px){
  .hero{flex-direction:column}
}

/* ===============================
   ABOUT SECTION (FIXED)
================================ */
.about-wrapper{
  display:flex;
  align-items:center;
  gap:32px;
  margin-top:24px;
}

.about-image{
  flex-shrink:0;
}

.about-image img{
  width:500px;
  height:300px;
  object-fit:cover;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(15,23,42,.18);
}


.about-content{
  flex:1;
}

.about-content p{
  margin:0;
  line-height:1.6;
}

/* ===============================
   GRID / CARDS
================================ */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 6px 22px rgba(15,23,42,.06);
}

.card img{
  width:100%;
  height:150px;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:10px;
}

.card h3{
  margin:0 0 6px;
}

/* ===============================
   GALLERY
================================ */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}

.gallery-grid img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:8px;
  cursor:pointer;
  transition:.18s;
}

.gallery-grid img:hover{
  transform:scale(1.03);
}

/* ===============================
   CONTACT
================================ */
.contact-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}

.contact-form{
  background:#fff;
  padding:20px;
  border-radius:12px;
  box-shadow:0 6px 22px rgba(15,23,42,.06);
}

.contact-form label{
  display:block;
  margin-bottom:10px;
  font-size:.95rem;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:10px;
  border:1px solid #e5e7eb;
  border-radius:8px;
}

.contact-form .muted{
  margin-top:8px;
  font-size:.9rem;
}

/* ===============================
   LIGHTBOX
================================ */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
  opacity:0;
  transition:.2s;
}

.lightbox.open{
  visibility:visible;
  opacity:1;
}

.lightbox-img{
  max-width:92%;
  max-height:82%;
  border-radius:8px;
}

.lightbox-close{
  position:absolute;
  right:20px;
  top:18px;
  background:none;
  border:0;
  color:#fff;
  font-size:2rem;
}

/* ===============================
   MAP
================================ */
.map iframe{
  width:100%;
  height:200px;
  border:0;
  border-radius:8px;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width:900px){
  .grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width:768px){
  .about-wrapper{
    flex-direction:column;
    text-align:center;
  }

  .about-image img{
    width:500px;
    height:300px;
  }
}

/* ===============================
   REDUCED MOTION
================================ */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}
