/* ============================================================
   CODEMANIAC STUDIO - CONTACT US PAGE STYLESHEET
   Matching exact visual design, typography, layout, color palette,
   forms, contact info cards, interactive map, FAQs and CTA banner.
   ============================================================ */

:root {
  --contact-orange: #EA580C;
  --contact-orange-hover: #D94E06;
  --contact-orange-gradient: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  --contact-orange-glow: rgba(234, 88, 12, 0.25);
  --contact-orange-tint: #FFF5EB;
  --contact-border-tint: #FED7AA;
  
  --contact-bg-page: #FAF7F2;
  --contact-card-bg: #FFFFFF;
  --contact-card-border: #EFE6DA;
  --contact-card-shadow: 0 10px 30px rgba(45, 30, 10, 0.04);
  
  --contact-text-heading: #111827;
  --contact-text-body: #555047;
  --contact-text-muted: #8C8275;
}

body.contact-page-body {
  background-color: var(--contact-bg-page);
  color: var(--contact-text-heading);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(234, 88, 12, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 65%, rgba(249, 115, 22, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Breadcrumb Navigation */
.contact-breadcrumb-bar {
  padding: 22px 0 10px 0;
}

.contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
}

.contact-breadcrumb a {
  color: var(--contact-text-muted);
  transition: color 0.2s;
}

.contact-breadcrumb a:hover {
  color: var(--contact-orange);
}

.contact-breadcrumb .crumb-sep {
  font-size: 0.7rem;
  color: #BDB3A6;
}

.contact-breadcrumb .crumb-current {
  color: #9F5A19;
  font-weight: 600;
}

.contact-badge-tag {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 9999px;
  background: #FFF5EB;
  border: 1px solid #FCD9BD;
  color: #D65A0D;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ============================================================
   1. HERO SECTION
   ============================================================ */
.contact-hero-section {
  padding: 20px 0 45px 0;
  position: relative;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
}

.contact-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-hero-desc {
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--contact-text-body);
  margin-bottom: 30px;
  max-width: 530px;
}

.contact-trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E1A15;
}

.contact-trust-item i {
  color: var(--contact-orange);
  font-size: 1.15rem;
}

/* Hero Right Visual Column */
.contact-hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero-main-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(212, 140, 40, 0.16));
  transition: transform 0.4s ease;
}

.contact-hero-visual-wrap:hover .contact-hero-main-img {
  transform: translateY(-4px);
}

.contact-cursive-tag {
  position: absolute;
  top: -10px;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}

.contact-cursive-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #1E1A15;
  text-align: right;
  transform: rotate(2deg);
}

.contact-cursive-text em {
  font-style: normal;
  color: var(--contact-orange);
  font-weight: 700;
}

.contact-cursive-arrow-svg {
  width: 44px;
  height: 40px;
  margin-top: 2px;
  margin-right: 28px;
}

/* Floating 3D Micro-Badges */
.floating-contact-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--contact-orange);
  z-index: 2;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}

.badge-touch {
  top: 15px;
  left: 30px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  border-radius: 12px;
  background: #FFFBF5;
  border: 1px solid #FCD9BD;
}

.badge-touch::before {
  content: '📌';
  margin-right: 6px;
}

.badge-plane {
  top: 25px;
  right: 160px;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  animation-delay: -1s;
}

.badge-chat {
  top: 50px;
  right: 60px;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  animation-delay: -2s;
}

.badge-bulb {
  bottom: 80px;
  right: 30px;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  color: #F59E0B;
  animation-delay: -1.5s;
}

.badge-phone {
  bottom: 110px;
  left: 20px;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  animation-delay: -0.5s;
}

@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* ============================================================
   2. TWO-COLUMN MAIN SECTION: FORM & CONTACT INFO
   ============================================================ */
.contact-main-section {
  padding: 25px 0 50px 0;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 36px;
  align-items: start;
}

/* Left: Form Card */
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid #ECE2D5;
  border-radius: 22px;
  padding: 38px 40px;
  box-shadow: 0 10px 30px rgba(45, 30, 10, 0.04);
}

.form-subtag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--contact-orange);
  margin-bottom: 6px;
}

.form-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.form-desc {
  font-size: 0.94rem;
  color: #6B7280;
  margin-bottom: 28px;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}

.form-label .required {
  color: var(--contact-orange);
}

.input-icon-wrap {
  display: flex;
  align-items: center;
  background: #FAF7F2;
  border: 1.5px solid #ECE2D5;
  border-radius: 12px;
  padding: 0 14px;
  transition: all 0.25s ease;
}

.input-icon-wrap:focus-within {
  border-color: var(--contact-orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.input-icon-wrap i {
  color: var(--contact-orange);
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.form-input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  color: #111827;
  padding: 13px 10px;
}

.form-input::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.form-select {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  color: #111827;
  padding: 13px 10px;
  cursor: pointer;
  appearance: none;
}

.select-icon-wrap {
  position: relative;
}

.select-chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: #9CA3AF;
  font-size: 0.8rem;
}

.textarea-icon-wrap {
  align-items: flex-start;
  padding: 12px 14px;
}

.textarea-icon-wrap i {
  margin-top: 4px;
}

.form-textarea {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  color: #111827;
  padding: 0 10px;
  resize: vertical;
  min-height: 110px;
}

.form-textarea::placeholder {
  color: #9CA3AF;
}

.btn-send-message {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 9999px;
  background: var(--contact-orange);
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
  margin-top: 6px;
}

.btn-send-message:hover {
  background: var(--contact-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.38);
}

.form-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

/* Right: Contact Information Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
}

.info-subtag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--contact-orange);
  margin-bottom: 6px;
}

.info-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.info-desc {
  font-size: 0.94rem;
  color: #6B7280;
  margin-bottom: 24px;
}

.contact-channels-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-card {
  background: #FFFFFF;
  border: 1px solid #ECE2D5;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(45, 30, 10, 0.03);
  transition: all 0.3s ease;
}

.contact-channel-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(234, 88, 12, 0.1);
  border-color: #F8D9C0;
}

.channel-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFF4E8;
  border: 1px solid #FCD9BD;
  color: var(--contact-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.contact-channel-card:hover .channel-icon-badge {
  transform: scale(1.08);
  background: var(--contact-orange);
  color: #FFFFFF;
}

.channel-content {
  display: flex;
  flex-direction: column;
}

.channel-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #111827;
  margin-bottom: 2px;
}

.channel-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.4;
}

.channel-value a {
  color: #1F2937;
  transition: color 0.2s;
}

.channel-value a:hover {
  color: var(--contact-orange);
}

.channel-subtext {
  font-size: 0.78rem;
  color: #7B7266;
  margin-top: 3px;
}

/* Social Chips */
.social-chips-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.social-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.88rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.social-chip:hover {
  transform: scale(1.12);
}

.chip-yt { background: #FF0000; box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3); }
.chip-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 4px 10px rgba(214, 36, 159, 0.3); }
.chip-li { background: #0A66C2; box-shadow: 0 4px 10px rgba(10, 102, 194, 0.3); }
.chip-fb { background: #1877F2; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3); }

/* ============================================================
   3. TWO-COLUMN SECTION: MAP & FAQS
   ============================================================ */
.contact-map-faq-section {
  padding: 30px 0 60px 0;
}

.contact-map-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.widget-card {
  background: #FFFFFF;
  border: 1px solid #ECE2D5;
  border-radius: 22px;
  padding: 34px 36px;
  box-shadow: 0 10px 30px rgba(45, 30, 10, 0.04);
}

.widget-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.widget-subtext {
  font-size: 0.92rem;
  color: #6B7280;
  margin-bottom: 22px;
}

/* Map Card */
.map-visual-frame {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #ECE2D5;
  background: #E8ECEF;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.map-embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.02) saturate(1.1);
}

.map-location-pill-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid #E5DDD1;
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
  z-index: 5;
}

.map-location-pill-btn i {
  color: var(--contact-orange);
}

.map-location-pill-btn:hover {
  background: var(--contact-orange);
  color: #FFFFFF;
  border-color: var(--contact-orange);
  transform: translateY(-2px);
}

.map-location-pill-btn:hover i {
  color: #FFFFFF;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #ECE2D5;
  border-radius: 14px;
  background: #FAF7F2;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  background: #FFFFFF;
  border-color: #F8D9C0;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.08);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  color: #111827;
  gap: 12px;
}

.faq-toggle-icon {
  font-size: 1.15rem;
  color: var(--contact-orange);
  font-weight: 700;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 20px 16px 20px;
  font-size: 0.88rem;
  color: var(--contact-text-body);
  line-height: 1.6;
}

.faq-item.active .faq-content {
  display: block;
}

/* ============================================================
   4. BOTTOM BANNER: LET'S WORK TOGETHER
   ============================================================ */
.contact-cta-section {
  padding: 10px 0 80px 0;
}

.contact-cta-card {
  background: linear-gradient(135deg, #FFF6EC 0%, #FFEEDD 100%);
  border: 1.5px solid #F6DFCB;
  border-radius: 24px;
  padding: 44px 52px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 36px;
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.08);
  position: relative;
  overflow: hidden;
}

.cta-subtag {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--contact-orange);
  margin-bottom: 8px;
}

.cta-heading {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cta-description {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--contact-text-body);
  margin-bottom: 26px;
  max-width: 500px;
}

.cta-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-start-project {
  background: var(--contact-orange);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 13px 30px;
  font-size: 0.96rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
  transition: all 0.25s ease;
  border: none;
}

.btn-start-project:hover {
  background: var(--contact-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.38);
}

.btn-schedule-call {
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid #E5DDD1;
  border-radius: 9999px;
  padding: 13px 28px;
  font-size: 0.96rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.btn-schedule-call i {
  color: var(--contact-orange);
}

.btn-schedule-call:hover {
  background: #FAF6F0;
  border-color: #D6CBBF;
  transform: translateY(-2px);
}

.cta-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cta-handshake-img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  filter: drop-shadow(0 14px 28px rgba(234, 88, 12, 0.16));
  transition: transform 0.4s ease;
}

.cta-visual-col:hover .cta-handshake-img {
  transform: translateY(-4px) scale(1.02);
}

.cta-cursive-note {
  position: absolute;
  top: -8px;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.cta-cursive-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.35rem;
  line-height: 1.15;
  color: #1E1A15;
  text-align: right;
  transform: rotate(2deg);
}

.cta-cursive-text em {
  font-style: normal;
  color: var(--contact-orange);
  font-weight: 700;
}

.cta-cursive-arrow {
  width: 40px;
  height: 36px;
  margin-top: 2px;
  margin-right: 20px;
}

/* ============================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
  .contact-map-faq-grid {
    grid-template-columns: 1fr;
  }
  .contact-cta-card {
    grid-template-columns: 1fr;
  }
  .cta-visual-col {
    order: -1;
  }
}

@media (max-width: 900px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-hero-visual-wrap {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 22px;
  }
  .widget-card {
    padding: 26px 20px;
  }
  .contact-cta-card {
    padding: 30px 22px;
  }
  .contact-trust-row {
    gap: 16px;
  }
  .cta-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-start-project, .btn-schedule-call {
    justify-content: center;
  }
  .contact-hero-title {
    font-size: 2.2rem;
  }
}
