/* ==============================================
   Contact Page — Stylesheet
   Online Scrap Dealer
   ============================================== */

/* ============================================
   HERO
   ============================================ */
#contact-hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ct-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ct-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.ct-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(220,252,231,0.82) 0%,
    rgba(187,247,208,0.75) 50%,
    rgba(220,252,231,0.82) 100%
  );
  z-index: 1;
}

.ct-hero-particles {
  position: absolute;
  inset: 0;
   z-index: 2;
  opacity: 1;
}

/* Floating icons */
.ct-float-icons {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ct-fi {
  position: absolute;
 color: rgba(22, 163, 74, 0.45);
  filter: drop-shadow(0 0 10px rgba(34,197,94,.15));
  animation: ctFloat 7s ease-in-out infinite;
}

.ct-fi-1 {
  font-size: 3.5rem;
  top: 12%;
  left: 5%;
  animation-delay: 0s;
}
.ct-fi-2 {
  font-size: 2.5rem;
  top: 25%;
  left: 20%;
  animation-delay: 1s;
}
.ct-fi-3 {
  font-size: 3rem;
  top: 65%;
  left: 8%;
  animation-delay: 2s;
}
.ct-fi-4 {
  font-size: 2rem;
  top: 20%;
  right: 10%;
  animation-delay: 0.5s;
}
.ct-fi-5 {
  font-size: 3rem;
  top: 55%;
  right: 6%;
  animation-delay: 1.5s;
}
.ct-fi-6 {
  font-size: 2.5rem;
  top: 78%;
  right: 22%;
  animation-delay: 3s;
}

@keyframes ctFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-18px) rotate(8deg);
  }
  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

/* Hero layout */
.ct-hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}

.ct-hero-content {
  color: var(--charcoal);
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.ct-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: ctPulse 1.5s ease-in-out infinite;
}

@keyframes ctPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
  }
}

.ct-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--charcoal);
}

.ct-highlight {
  color: #4ade80;
}
.ct-highlight-grad {
  background: linear-gradient(90deg, #22c55e, #86efac, #22c55e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ctGrad 3s linear infinite;
}

@keyframes ctGrad {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 200% center;
  }
}

.ct-hero-content > p {
  font-size: 1.08rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

/* Quick contact buttons */
.ct-hero-quick {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-quick-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius);
  padding: 16px 22px;
  color: var(--charcoal);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.ct-quick-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateX(6px);
}

.ct-quick-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: rgba(37, 211, 102, 0.5);
}

.ct-quick-icon {
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4ade80;
  flex-shrink: 0;
  transition: var(--transition);
}

.ct-quick-icon.wa {
  background: rgba(37, 211, 102, 0.2);
  color: #25d366;
}

.ct-quick-btn:hover .ct-quick-icon {
  background: rgba(34, 197, 94, 0.3);
  transform: scale(1.1);
}

.ct-quick-btn strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}
.ct-quick-btn span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* Hero info card */
.ct-hero-card {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(34,197,94,0.20);
  color: var(--white);
}

.ct-hero-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
    color: var(--green-dark);
}

.ct-hours-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.ct-hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #374151;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ct-hour-time.open {
  color: #4ade80;
  font-weight: 700;
}
.ct-hour-time.closed {
  color: #f87171;
  font-weight: 700;
}

.ct-status-bar {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-status-bar.open-now {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.ct-status-bar.closed-now {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.ct-hero-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0;
}

.ct-address {
 color: #374151;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.ct-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.ct-directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.ct-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ct-info-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.ct-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.ct-info-bg {
  position: absolute;
  inset: 0;
}

.ct-info-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ct-info-card:hover .ct-info-bg img {
  transform: scale(1.1);
}

.ct-info-overlay {
  position: absolute;
  inset: 0;
  transition: background 0.4s ease;
}

.phone-overlay {
  background: linear-gradient(
    to top,
    rgba(22, 163, 74, 0.9) 0%,
    rgba(15, 23, 42, 0.3) 60%,
    transparent
  );
}
.wa-overlay {
  background: linear-gradient(
    to top,
    rgba(37, 211, 102, 0.85) 0%,
    rgba(15, 23, 42, 0.3) 60%,
    transparent
  );
}
.email-overlay {
  background: linear-gradient(
    to top,
    rgba(59, 130, 246, 0.85) 0%,
    rgba(15, 23, 42, 0.3) 60%,
    transparent
  );
}
.map-overlay {
  background: linear-gradient(
    to top,
    rgba(239, 68, 68, 0.85) 0%,
    rgba(15, 23, 42, 0.3) 60%,
    transparent
  );
}

.ct-info-card:hover .phone-overlay {
  background: linear-gradient(
    to top,
    rgba(22, 163, 74, 0.95) 0%,
    rgba(22, 163, 74, 0.4) 60%,
    transparent
  );
}
.ct-info-card:hover .wa-overlay {
  background: linear-gradient(
    to top,
    rgba(37, 211, 102, 0.95) 0%,
    rgba(37, 211, 102, 0.4) 60%,
    transparent
  );
}
.ct-info-card:hover .email-overlay {
  background: linear-gradient(
    to top,
    rgba(59, 130, 246, 0.95) 0%,
    rgba(59, 130, 246, 0.4) 60%,
    transparent
  );
}
.ct-info-card:hover .map-overlay {
  background: linear-gradient(
    to top,
    rgba(239, 68, 68, 0.95) 0%,
    rgba(239, 68, 68, 0.4) 60%,
    transparent
  );
}

.ct-info-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  width: 100%;
}

.ct-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
  transition: var(--transition);
}

.phone-icon {
  background: rgba(22, 163, 74, 0.4);
}
.wa-icon {
  background: rgba(37, 211, 102, 0.4);
}
.email-icon {
  background: rgba(59, 130, 246, 0.4);
}
.map-icon {
  background: rgba(239, 68, 68, 0.4);
}

.ct-info-card:hover .ct-info-icon {
  transform: scale(1.1);
}

.ct-info-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.ct-info-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease;
}

.ct-info-card:hover .ct-info-content p {
  max-height: 80px;
  opacity: 1;
}

.ct-info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap 0.3s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ct-info-link:hover {
  gap: 10px;
}

/* ============================================
   CONTACT FORM + MAP
   ============================================ */
.ct-form-map-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: flex-start;
}

/* Form header */
.ct-form-header {
  margin-bottom: 28px;
}

.ct-form-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin: 10px 0 12px;
}

.ct-form-header p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Form tabs */
.ct-form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ct-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.ct-tab:hover {
  color: var(--green-dark);
  border-color: var(--green-light);
  background: rgba(34, 197, 94, 0.06);
}

.ct-tab.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

/* Forms */
.ct-form {
  display: none;
}
.ct-form.active {
  display: block;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ct-form-group:last-of-type {
  margin-bottom: 0;
}

.ct-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 7px;
}

.ct-form-group label i {
  color: var(--green);
  font-size: 0.8rem;
}

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition:
    border 0.3s,
    box-shadow 0.3s;
  resize: vertical;
}

.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.ct-form-group input::placeholder,
.ct-form-group textarea::placeholder {
  color: #9ca3af;
}

.ct-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Map */
.ct-map-embed {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  margin-bottom: 24px;
}

/* Sidebar info */
.ct-sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.ct-sidebar-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ct-sidebar-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.ct-sidebar-item h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ct-sidebar-item p {
  color: var(--gray);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0 0 2px;
}

.ct-sidebar-item a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Social links */
.ct-social-wrap {
  text-align: center;
}

.ct-social-wrap p {
  font-size: 0.84rem;
  color: var(--gray);
  margin-bottom: 14px;
}

.ct-social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.ct-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: var(--transition);
}

.ct-social:hover {
  transform: translateY(-4px) scale(1.1);
}

.ct-social.facebook {
  background: #1877f2;
}
.ct-social.instagram {
  background: linear-gradient(
    135deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}
.ct-social.twitter {
  background: #1da1f2;
}
.ct-social.youtube {
  background: #ff0000;
}
.ct-social.linkedin {
  background: #0077b5;
}
.ct-social.whatsapp {
  background: #25d366;
}

/* ============================================
   SERVICE AREAS
   ============================================ */
.ct-areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.ct-area-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.ct-area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.active-area {
  border-color: var(--green-light);
}
.coming-area {
  opacity: 0.65;
}

.ct-area-card i {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.active-area i {
  color: var(--green);
}
.coming-area i {
  color: var(--gray);
}

.ct-area-card h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.area-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.area-status.active {
  background: var(--green-light);
  color: var(--green-dark);
}

.area-status.coming {
  background: #fef3c7;
  color: #92400e;
}

.ct-area-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 0.9rem;
}

.ct-area-note i {
  color: var(--green);
}
.ct-area-note a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ============================================
   FAQ — 2 COLUMN
   ============================================ */
.ct-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.ct-faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}

.ct-faq-item.open {
  border-color: var(--green-light);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.1);
}

.ct-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.ct-faq-q:hover {
  color: var(--green-dark);
}
.ct-faq-item.open .ct-faq-q {
  color: var(--green-dark);
}

.ct-faq-arrow {
  font-size: 0.85rem;
  color: var(--green);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.ct-faq-item.open .ct-faq-arrow {
  transform: rotate(180deg);
}

.ct-faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0 22px;
}

.ct-faq-item.open .ct-faq-a {
  max-height: 150px;
  padding: 0 22px 18px;
}

.ct-faq-a p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .ct-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ct-hero-card {
    max-width: 480px;
  }
  .ct-form-map-split {
    grid-template-columns: 1fr;
  }
  .ct-map-wrap {
    order: -1;
  }
  .ct-areas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .ct-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ct-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ct-info-grid {
    grid-template-columns: 1fr;
  }
  .ct-areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ct-form-row {
    grid-template-columns: 1fr;
  }
  .ct-hero-quick {
    gap: 10px;
  }
  .ct-form-tabs {
    gap: 6px;
  }
  .ct-tab {
    padding: 9px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .ct-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ct-social-links {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  #contact-hero {
    min-height: auto;
  }

  .ct-hero-inner {
    padding: 40px 20px;
    gap: 24px;
  }

  .ct-hero-content {
    padding: 0 12px;
  }

  .ct-hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .ct-hero-content > p {
    font-size: 1rem;
    max-width: 100%;
  }

  .ct-hero-card {
    width: 100%;
    padding: 24px;
  }

  .ct-hero-quick {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ct-area-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
  }

  .ct-area-note i {
    font-size: 20px;
  }

  .ct-area-note a {
    color: var(--green);
    font-weight: 700;
  }
}
