/* contact_2.css */

.contact2-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  
  /* ✅ CHANGED: Increased from 140px to 220px to push cards lower */
  padding: 220px 24px 80px; 
  
  position: relative;
  isolation: isolate;
}

/* Prevent background layers from blocking clicks */
#reveal-lens,
.glass-cursor,
.clip-area,
.english-mask,
.gradient-bg,
.gradients-container,
.grain {
  pointer-events: none !important;
}

/* --- Close Button --- */
.close-btn {
  position: fixed;
  top: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  text-decoration: none;
  z-index: 999999 !important;
  pointer-events: auto !important;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, .2);
  transition: all .3s ease;
  cursor: pointer !important;
}

.close-x {
  display: block;
  font-family: 'Satoshi-Light', sans-serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1;
  transform: translateY(-2px);
}

.close-btn:hover {
  transform: scale(1.1) rotate(90deg);
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* --- Layout --- */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; /* Increased gap slightly */
  width: 100%;
  max-width: 1200px; /* Made max-width slightly larger */
  margin: 0 auto;
  justify-items: center;
}

/* --- Card Styles --- */
.contact-card {
  position: relative;
  width: 100%;
  padding: 60px 60px; /* Increased padding inside card */
  
  border-radius: 40px; 
  
  background: rgba(255, 255, 255, .03) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  color: #fff !important;

  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);

  text-align: left;
  overflow: hidden;
  transition: box-shadow .4s ease, border-color .4s ease;
}

.contact-card:hover {
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.3) !important;
  z-index: 10;
}

/* Decorative glow */
.contact-card::before {
  content: "";
  position: absolute;
  inset: -50px;
  background: radial-gradient(circle at top left, rgba(120, 160, 255, .15), transparent 70%),
              radial-gradient(circle at bottom right, rgba(255, 100, 200, .15), transparent 70%);
  z-index: 0;
}

.contact-card * {
  position: relative;
  z-index: 1;
}

/* --- Typography (UPDATED) --- */

.card-title {
  /* ✅ CHANGED: Switched to San Miguel (Brand Font) */
  font-family: 'San Miguel', sans-serif !important; 
  font-weight: 400;
  
  /* ✅ CHANGED: Increased font size */
  font-size: clamp(37px, 5vw, 72px); 
  
  margin-bottom: 56px;
  line-height: 1.1;
  color: #fff !important;
}

/* CTA Buttons */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px; /* Slightly bigger button */
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none;
  
  /* ✅ CHANGED: Switched to Satoshi-Light */
  font-family: 'Satoshi-Light', sans-serif; 
  font-size: 20px; /* Increased text size */
  
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.05);
  transition: all .3s ease;
}

.card-cta .arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.card-cta:hover {
  background: #fff;
  color: #000 !important;
  border-color: #fff;
}

.card-cta:hover .arrow {
  transform: translateX(4px);
}

/* Responsive */
@media(max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-card {
    text-align: center;
    padding: 60px 32px;
  }
  .close-btn {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .close-x {
    font-size: 32px;
  }
  .contact2-wrapper {
    padding-top: 140px; /* Keep mobile tighter */
  }
  .card-title {
    font-size: 42px;
  }
}

/* Footer sits comfortably below */
.footer {
  position: relative;
  z-index: 30;
  margin-top: 60px;
  width: 100%;
}