/* ================= COLOR SYSTEM ================= */

:root {
  --bg-main: #f5f7fa;
  --bg-dark: #ffffff;
  --bg-card: #ffffff;

  --accent: #4f7ea8;
  --accent-dark: #3c6486;

  --text-main: #1a1a1a;
  --text-muted: #5a6672;

  --border: #d8dde3;

  --shadow-soft: rgba(0,0,0,0.08);
}


/* ================= RESET ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.55;
}


/* ================= LINKS ================= */

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}


/* ================= FLASH MODAL ================= */

#flash-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#flash-modal {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  max-width: 640px;
  width: 96%;
  box-shadow: 0 12px 32px var(--shadow-soft);
}

#flash-modal h2 {
  margin-top: 0;
  text-align: center;
  color: #cc9c00;
}

#flash-modal button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

#flash-modal button:hover {
  background: var(--accent-dark);
}


/* ================= HEADER ================= */

header {
  background: var(--bg-dark);
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-soft);
}


/* ================= HEADER INNER ================= */

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}


/* ================= MENU ================= */

.menu {
  position: relative;
}

.menu-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  background: none;
  border: none;
  font-size: 1rem;
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-width: 260px;
  border-radius: 8px;
  box-shadow: 0 8px 22px var(--shadow-soft);
}

.menu-dropdown.show {
  display: block;
}

.menu-dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-main);
}

.menu-dropdown a:hover {
  background: rgba(79,126,168,0.12);
  color: var(--accent);
}


/* ================= LOGO ================= */

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-mobile {
  height: 36px;
}

.logo-desktop {
  display: none;
  height: 72px;
}

@media (min-width:768px){
  .logo-mobile{display:none;}
  .logo-desktop{display:block;}
}


/* ================= CTA ================= */

.request-service a {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.3rem;
  border-radius: 7px;
  font-weight: bold;
  font-size: 0.9rem;
}

.request-service a:hover {
  background: var(--accent-dark);
}


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

/* reserves landing space */

.hero-wrapper{
  height:420px;
  position:relative;
}


/* animated hero */

.hero-drop{
  position:absolute;
  top:0;
  left:0;
  width:100%;

  transform:translateY(-420px);

  transition:transform 1.4s cubic-bezier(.22,1,.36,1);

  z-index:2000;

  box-shadow:0 18px 40px rgba(0,0,0,0.35);
}

.hero-drop.hero-settle{
  transform:translateY(0);
}


/* hero image */

.hero-image-wrap{
  position:relative;
  width:100%;
}

.banner-img{
  width:100%;
  height:auto;
  display:block;
}


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

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0.5rem 1rem 1.5rem 1rem;
}


/* ================= CARDS ================= */

.section-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:1.6rem;
  margin-bottom:2rem;
  box-shadow:0 4px 14px var(--shadow-soft);
}

.section-card h2{
  margin-top:0;
}


/* ================= BUTTONS ================= */

.btn{
  display:inline-block;
  padding:0.6rem 1.3rem;
  border-radius:6px;
  background:var(--accent);
  color:#fff;
  font-weight:bold;
}

.btn:hover{
  background:var(--accent-dark);
}


/* ================= FORMS ================= */

input,textarea,select{
  width:100%;
  padding:0.6rem 0.7rem;
  border-radius:6px;
  border:1px solid var(--border);
}

input:focus,textarea:focus,select:focus{
  outline:none;
  border-color:var(--accent);
}


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

footer{
  background:var(--bg-dark);
  padding:2.5rem 1rem;
  border-top:1px solid var(--border);
  color:var(--text-muted);
  text-align:center;
}

footer a{
  color:var(--accent);
}

.footer-legal{
  margin-top:0.75rem;
  font-size:0.9rem;
}
