/* =========================
   CordyDew Contact Page
========================= */

/* small subtitle under banner title */
.cd-page-sub{
  margin-top: 10px;
  opacity: .85;
  font-size: 16px;
}

.cd-contact{
  position: relative;
  overflow: hidden;
}

.cd-contact::before{
  content:"";
  position:absolute;
  inset:-220px -220px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.16), rgba(124,58,237,0) 65%);
  pointer-events:none;
}

.cd-contact::after{
  content:"";
  position:absolute;
  inset:auto auto -260px -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,.14), rgba(236,72,153,0) 65%);
  pointer-events:none;
}

.cd-contact-card{
  height: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .06);
  box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
  padding: 22px 22px;
  position: relative;
}

.cd-form-card{
  background: linear-gradient(180deg, rgba(124,58,237,.06), rgba(236,72,153,.04));
}

.cd-card-head{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 18px;
}

.cd-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.18);
}

.cd-icon i{
  color: #5b21b6;
  font-size: 18px;
}

.cd-form label{
  display:block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  opacity: .9;
}

.cd-form .form-group{
  margin-bottom: 14px;
}

.cd-form input,
.cd-form textarea,
.cd-form select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  padding: 12px 14px;
  background: rgba(255,255,255,.82);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.cd-form textarea{ resize: vertical; }

.cd-form input:focus,
.cd-form textarea:focus,
.cd-form select:focus{
  outline: none;
  border-color: rgba(124,58,237,.35);
  box-shadow: 0 10px 25px rgba(124,58,237,.12);
}

.cd-check{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(124,58,237,.14);
}

.cd-check input{
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.cd-check label{
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  opacity: .9;
}

.cd-check a{
  font-weight: 800;
  color: #5b21b6;
  text-decoration: underline;
}

.cd-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 16px 35px rgba(236,72,153,.18);
}

.cd-hint{
  margin-top: 10px;
  font-size: 12.5px;
  opacity: .78;
}

.cd-info-list{
  margin-top: 10px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.cd-info-item{
  display:flex;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(124,58,237,.04);
  border: 1px solid rgba(15,23,42,.06);
}

.cd-mini-ic{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(236,72,153,.10);
  border: 1px solid rgba(236,72,153,.16);
}

.cd-mini-ic i{
  color: rgba(91,33,182,.95);
}

.cd-info-title{
  font-weight: 800;
  margin-bottom: 2px;
}

.cd-info-text{
  opacity: .9;
}

.cd-info-text a{
  color: inherit;
  font-weight: 800;
}

.cd-dot{
  margin: 0 8px;
  opacity: .6;
}

.cd-social{
  margin-top: 14px;
  display:flex;
  gap: 10px;
}

.cd-social a{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 25px rgba(16,24,40,.08);
  transition: transform .2s ease;
}

.cd-social a:hover{
  transform: translateY(-2px);
}

.cd-map-card{
  padding: 0;
  overflow:hidden;
}

.cd-map{
  position: relative;
  width: 100%;
  height: 340px;
}

.cd-map iframe{
  width: 100%;
  height: 100%;
  display:block;
}

.cd-map-bg{
  position:absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.20), rgba(124,58,237,0) 65%);
  pointer-events:none;
}

/* Responsive */
@media (max-width: 991px){
  .cd-map{ height: 320px; }
}

@media (max-width: 575px){
  .cd-contact-card{ padding: 18px 16px; }
  .cd-check{ align-items:flex-start; }
}
/* ===== Toast ===== */
.cd-toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  font-size: 14px;
  line-height: 1.35;
}
.cd-toast.show{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cd-toast__icon{
  width: 28px; height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(255,255,255,.12);
}
.cd-toast.success .cd-toast__icon{ background: rgba(46, 204, 113, .25); }
.cd-toast.error .cd-toast__icon{ background: rgba(231, 76, 60, .25); }
.cd-toast.loading .cd-toast__icon{ background: rgba(52, 152, 219, .25); }

/* ===== Button loading ===== */
.cd-btn.is-loading{
  opacity: .85;
  cursor: not-allowed;
}
.cd-btn .cd-spinner{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,1);
  display: inline-block;
  vertical-align: -2px;
  margin-right: 8px;
  animation: cdspin .8s linear infinite;
}
@keyframes cdspin { to { transform: rotate(360deg); } }
