:root {
  --bg: #1f242d;
  --accent: linear-gradient(90deg, #7c3aed, #06b6d4);
  --input-bg: rgba(255, 255, 255, 0.03);
  --muted: rgba(255, 255, 255, 0.6);
  --white: #ffffff;
  --radius: 14px;
  font-family: "Inter", sans-serif;
}

html,
body {
  height: 100%;
  margin: 0;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(99, 102, 241, 0.12), transparent),
    radial-gradient(900px 400px at 90% 90%, rgba(6, 182, 212, 0.08), transparent),
    var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  
}

.contact-card-container {
  display: flex;
  flex: 1;
  min-width: 300px;
  justify-content: center;
  
}

.profile-card {
  width: 100%;
  max-width: 350px;
  padding: 20px;
  background-color: #ffffff;
  border: 2px dashed #349102;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.image-box img {
  width: 100%;
  border-radius: 8px;
  height: auto;
  display: block;
}

.content {
  margin-top: 15px;
}

.name {
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  margin: 10px 0 5px 0;
}

.sub_title_contact {
  font-size: 0.95em;
  color: #112240;
  font-weight: 600;
  margin-bottom: 15px;
}

.freelance-text {
  font-size: 0.9em;
  color: #112240;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 0.85em;
  font-style: oblique;
  color: #04070e;
  margin: 5px 0;
}



.contact-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0;
}

.social-section {
  text-align: center;
}

.find-text {
  text-align: center;
  font-size: 0.85em;
  color: #000000;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 38px;
  height: 38px;
  border: 1px solid #05070a;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  color: #02235c;
  background-color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
}

.icon:hover {

  border-color: #3b82f6;
  background: #7cf03d;
  color: #1f242d;
  box-shadow: 0 0 10px #7cf03d;
}

.wrap {
  flex: 2;
  display: flex;
  align-items: center;
  min-width: 320px;
}

.card {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

.contactHeading {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
}

.lead1 {
  text-align: center;
  font-size: 18px;
  font-family: 'Times New Roman', Times, serif;
}

p.lead {
  margin: 6px 0 0 0;
  font-size: 13px;
  color: var(--muted);
}


form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CF7 Extra Spacing & Grid Fix */
.contact-form-wrapper form p,
.wpcf7 form p {
  margin: 0 !important;
}

.contact-section .row,
.wpcf7 .row,
.contact-form-wrapper .row {
  display: flex !important;
  gap: 15px !important;
  width: 100%;
}

.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 14px;
  color: #e8ece9;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="subject"] {
  width: 100% !important;
  height: 40px !important;
  padding: 0 12px !important;
  background: var(--input-bg) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  outline: none;
  font-size: 14px;
  box-sizing: border-box !important;
}

textarea {
  width: 100% !important;
  height: 85px !important;
  padding: 10px 12px !important;
  background: var(--input-bg) !important;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  outline: none;
  resize: none;
  box-sizing: border-box !important;
}

input[type="submit"],
.btn {
  display: inline-block !important;
  width: auto !important;
  align-self: flex-end;
  padding: 10px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #e8ece9;
  background: #349102;
  border: 2px solid #205006;
  border-radius: 40px;
  cursor: pointer !important;
  margin-top: 5px !important;
  box-shadow: 0 0 10px #63ca2c;
  transition: 5s;
}

input[type="submit"]:hover,
.btn:hover {
  background: #075749;
  border: 2px solid #205006;
  color: #ffffff;
  box-shadow: none;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .wrap, .contact-card-container {
    width: 100%;
  }
}