:root {
  --bg-dark: #020617;
  --bg-card: #0b1220;
  --accent-cyan: #22d3ee;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
}

h2 {
  color: var(--text-primary);
}

.contact-hero {
  padding: 80px 5%;
  text-align: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-hero h2 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
}

.contact-wrap {
  background-color: var(--bg-dark);
  padding-bottom: 80px;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Info Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.c-card {
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.c-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.c-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(34, 211, 238, 0.1);
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  color: var(--accent-cyan);
}

.c-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.c-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Main Contact Box */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--bg-card);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-img {
  position: relative;
  background: #0f172a;
}

.contact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.contact-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--bg-card));
}

.contact-form {
  padding: 60px;
  background: var(--bg-card);
}

.contact-form h3 {
  font-size: 2.2 rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.f-col label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

/* Style the dropdown options for dark theme */
.contact-form select option {
  background-color: #0f172a;
  color: white;
  padding: 10px;
}

.contact-form input:hover,
.contact-form select:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.send-btn {
  background: var(--accent-cyan);
  color: #000;
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  margin-top: 10px;
}

.send-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.4);
  background: #06b6d4;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
  
  .contact-img {
    height: 400px;
    min-height: auto;
  }
  
  .contact-img::after {
    background: linear-gradient(to bottom, transparent, var(--bg-card));
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 4%;
  }

  .contact-form {
    padding: 40px 24px;
  }

  .contact-cards {
    margin-bottom: 40px;
    gap: 16px;
  }
  
  .c-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .contact-hero h2 {
    font-size: 2.2rem;
  }

  .contact-form h3 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .contact-img {
    height: 450px;
  }
}

/* Phone Input Custom Styles */
.iti {
  width: 100% !important;
}

.iti__tel-input {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary) !important;
  border-radius: 12px !important;
  height: 52px !important;
}

.iti__country-list {
  background: #0f172a !important;
  color: white !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 12px !important;
  padding: 8px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.iti__country {
  padding: 10px !important;
  border-radius: 8px !important;
}

.iti__country:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.iti__country-name, .iti__dial-code {
  color: white !important;
}