/* ========================================
   CONTACT MODERN — Dribbble-inspired
   ======================================== */

/* ========== ANIMATIONS ========== */
@keyframes ctFadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ctBounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes ctGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ctPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes ctConfettiPop {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-20px) scale(1.4); opacity: 1; }
  100% { transform: translateY(-40px) scale(0.8); opacity: 0; }
}

/* ========== SCROLL REVEAL ========== */
.ct-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.ct-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HERO ========== */
.ct-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 40%, #e3edf7 100%);
  background-size: 200% 200%;
  animation: ctGradientShift 12s ease infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 194, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.ct-hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
  animation: ctFadeInUp 0.7s ease-out;
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(43, 194, 255, 0.12);
  border: 1px solid rgba(43, 194, 255, 0.25);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--puramane-navy);
  margin-bottom: 1.5rem;
  animation: ctBounceIn 0.6s ease-out 0.3s both;
}

.ct-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--puramane-navy);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.ct-hero p {
  font-size: 1.125rem;
  color: rgba(69, 87, 99, 0.65);
  line-height: 1.6;
}

/* ========== FORM SECTION ========== */
.ct-form-section {
  padding: 3rem 0 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.ct-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ct-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(69, 87, 99, 0.08), 0 1px 3px rgba(69, 87, 99, 0.06);
  padding: 2.5rem;
  animation: ctFadeInUp 0.6s ease-out;
  border: 1px solid rgba(69, 87, 99, 0.06);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.ct-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(69, 87, 99, 0.12), 0 2px 6px rgba(69, 87, 99, 0.08);
}

/* ========== INPUTS ========== */
.ct-field {
  margin-bottom: 1.25rem;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ct-label {
  display: block;
  font-weight: 700;
  color: var(--puramane-navy);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.ct-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(69, 87, 99, 0.12);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  font-family: inherit;
  background: white;
}

.ct-input:focus {
  border-color: var(--puramane-navy);
  box-shadow: 0 0 0 4px rgba(69, 87, 99, 0.08);
}

.ct-input::placeholder {
  color: rgba(69, 87, 99, 0.35);
}

.ct-textarea {
  resize: vertical;
  min-height: 140px;
}

/* ========== SUBMIT BUTTON ========== */
.ct-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--puramane-navy);
  color: white;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(69, 87, 99, 0.2);
  margin-top: 0.5rem;
}

.ct-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69, 87, 99, 0.25);
}

.ct-submit-btn:active {
  transform: scale(0.97);
}

/* ========== SUCCESS STATE ========== */
.ct-success-card {
  max-width: 28rem;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.5rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 8px 30px rgba(69, 87, 99, 0.1);
  border: 1px solid rgba(69, 87, 99, 0.06);
  animation: ctBounceIn 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.ct-success-check {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  animation: ctBounceIn 0.5s ease-out 0.2s both;
}

.ct-success-confetti {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  pointer-events: none;
}

.ct-success-confetti span {
  font-size: 1.5rem;
  animation: ctConfettiPop 1.2s ease-out forwards;
}

.ct-success-confetti span:nth-child(2) { animation-delay: 0.15s; }
.ct-success-confetti span:nth-child(3) { animation-delay: 0.3s; }

.ct-success-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--puramane-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.ct-success-card p {
  color: rgba(69, 87, 99, 0.65);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.ct-success-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--puramane-navy);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(69, 87, 99, 0.2);
}

.ct-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69, 87, 99, 0.25);
}

/* ========== EMAIL LINK ========== */
.ct-direct-mail {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(69, 87, 99, 0.5);
}

.ct-direct-mail a {
  color: var(--puramane-navy);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(69, 87, 99, 0.2);
}

.ct-direct-mail a:hover {
  border-bottom-color: var(--puramane-navy);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 1280px) {
  .ct-hero h1 { font-size: 3rem; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .ct-hero h1 { font-size: 2.25rem; }
  .ct-card { padding: 2rem; }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .ct-form-container { max-width: 520px; }
}

@media (max-width: 768px) {
  .ct-hero { padding: 2.5rem 0 1.5rem; }
  .ct-hero::before { display: none; }
  .ct-hero h1 { font-size: 1.875rem; }
  .ct-hero p { font-size: 1rem; }

  .ct-form-section { padding: 2rem 0 3rem; }
  .ct-form-container { padding: 0 1rem; }
  .ct-card { padding: 1.75rem; border-radius: 1.25rem; }
  .ct-card:hover { transform: none; }

  .ct-row { grid-template-columns: 1fr; }

  .ct-success-card { padding: 2rem 1.5rem; margin: 0 1rem; }
  .ct-success-card h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .ct-hero h1 { font-size: 1.625rem; }
  .ct-card { padding: 1.5rem; }
  .ct-input { padding: 0.75rem 0.875rem; }
}
