/* public/assets/css/style.css */
:root{
  --cimxo-yellow:#f7b500;
  --cimxo-yellow-2:#f2a900;
  --cimxo-purple:#7a1fa2;
  --cimxo-red:#ff3b30;
  --cimxo-text:#111;
  --cimxo-muted:#666;
}

*{ box-sizing:border-box; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color: var(--cimxo-text);
}

/* Top bar */
.site-topbar{
  background: #fff;
  padding: 20px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-mark{
  width:48px;height:48px;
  background: linear-gradient(135deg, var(--cimxo-purple), #ff2d55);
  border-radius: 12px;
  position:relative;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.brand-mark:before{
  content:"";
  position:absolute; inset:11px;
  border:3px solid rgba(255,255,255,.9);
  border-right:0;
  transform: rotate(45deg);
  border-radius: 6px;
}
.brand-name{
  font-weight:900;
  letter-spacing:.4px;
  color:#5b1379;
  font-size: 28px;
  line-height:1;
}

/* Nav capsule */
.navbar-cimxo{
  background: rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 8px 14px;
}

.navbar-cimxo .nav-link{
  color:#fff !important;
  font-weight:600;
  opacity:.95;
  padding: 6px 10px;
  white-space:nowrap;
}
.navbar-cimxo .nav-link:hover{
  opacity:1;
  text-decoration: underline;
}

/* Hero */
.hero{
  background: #fff;
  padding: 18px 0 24px;
}
.hero h1{
  font-weight: 900;
  font-size: clamp(30px, 3.4vw, 46px);
  margin: 10px 0 0;
  text-align:center;
}

/* Intro */
.page-intro{
  color:#2b2b2b;
  margin: 28px auto 0;
  max-width: 860px;
  text-align:left;
  line-height: 1.65;
  font-size: 16.5px;
}

/* Form */
.form-card{
  max-width: 760px;
  margin: 34px auto 70px;
}
.form-wrap{
  max-width: 620px;
  margin: 0 auto;
}

label.required {
    color: #272626;
    font-weight: 600;
}
label.required:after{
  content:" *";
  color: var(--cimxo-red);
  font-weight:800;
}

.form-control{
  border-radius: 0;
  padding: 12px 14px;
  border: 1.5px solid #cfcfcf;
  box-shadow: none;
}
.form-control:focus{
  box-shadow: none;
  border-color: var(--cimxo-yellow-2);
}

.has-error .form-control{
  border-color: var(--cimxo-red);
}
.help-error{
  color: var(--cimxo-red);
  font-size: 13px;
  margin-top: 6px;
}

textarea.form-control{
  min-height: 180px;
  resize: vertical;
}

.btn-cimxo{
  background: #0073aa;
  border: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 12px 26px;
  border-radius: 0;
}
.btn-cimxo:hover{ background: var(--cimxo-yellow-2); }

.alert-soft{
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.10);
}

.footer{
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 22px 0;
  color: var(--cimxo-muted);
  font-size: 14px;
}

@media (max-width: 576px){
  .navbar-cimxo{ width:100%; }
  .page-intro{ text-align:left; padding: 0 2px; }
  .form-wrap{ max-width: 100%; }
}


/* ===== Navbar (upgraded like screenshot) ===== */
.navbar-shell{
  background: rgba(0,0,0,.06);
  border-radius: 8px;
  padding: 6px 10px;
}

.navbar-shell .navbar-nav{
  gap: 8px;
}
.navbar-shell .nav-link{
  color:#000 !important;
  font-weight:600;
  padding: 10px 14px;
  border-radius: 6px;
}
.navbar-shell .nav-link:hover,
.navbar-shell .nav-link:focus{
  background: rgba(255,255,255,.10);
  text-decoration:none;
}
.navbar-shell .dropdown-toggle::after{
  margin-left:.5rem;
  vertical-align: .15em;
}

/* Dropdown menu: tall, yellow, white text */
.cimxo-dropdown{
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 300px;
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.cimxo-dropdown .dropdown-item{
  color:#000;
  font-weight:600;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}
.cimxo-dropdown .dropdown-item:hover,
.cimxo-dropdown .dropdown-item:focus{
  background: rgba(0,0,0,.08);
  color:#fff;
}
.cimxo-dropdown .dropdown-item:last-child{
  border-bottom:0;
}

/* ===== Footer (upgraded like screenshot) ===== */
.footer{
  background: #202527;
  border-top: 0;
  padding: 34px 0 40px;
  color: #fff;
  text-align:center;
}
.footer a{
  color:#fff;
  font-weight:700;
  text-decoration: underline;
}
.footer .footer-row{
  margin: 6px 0;
  font-size: 18px;
}
.footer .copyright{
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
}
.footer .copyright a{
  color:#0d6efd;
  text-decoration: none;
  font-weight:700;
}
.footer .copyright a:hover{
  text-decoration: underline;
}
