.contact-section-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #11111b 0%, #11111b 100%);
}

.contact-section {
  width: 60%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.contact-section .section-heading-article {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 15px;
  font-family: 'Fira Code', monospace;
  text-shadow: 0 0 10px rgba(64, 67, 220, 0.5), 0 0 20px rgba(64, 87, 220, 0.3);
}

.sectionHeadingP {
  color: #aaa;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(90deg, transparent, rgba(64, 87, 220, 0.5), transparent);
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* Contact Card Styling */
.contact-card {
  width: 100%;
  max-width: 750px;
  height: 400px;
  perspective: 1000px;
}

.contact-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.contact-card-inner.flipped {
  transform: rotateY(180deg);
}

.contact-card-front, .contact-card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--tech-stack-box-border-color);
  background-image: linear-gradient( to bottom right, var(--tech-stack-box-first-color), var(--tech-stack-box-second-color) );
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(64, 64, 220, 0.3); */
}

.contact-card-front {
  /* background-color: #1e1e1e; */
  
  
  color: #fff;
}

.contact-card-back {
  background-color: #241e40;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Terminal styling */
.terminal-header {
  display: flex;
  align-items: center;
  /* background-color: #333; */
  background-color:#2a2a42;
  padding: 10px 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
  margin-right: 15px;
}

.terminal-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-button.red { background-color: #ff5f56; }
.terminal-button.yellow { background-color: #ffbd2e; }
.terminal-button.green { background-color: #27c93f; }

.terminal-title {
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
  color: #ccc;
}

.terminal-body {
  padding: 20px;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
}

.terminal-line {
  font-family: 'Fira Code', monospace;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.terminal-prompt {
  color: #40DCA5;
  margin-right: 10px;
}

.typing-animation {
  overflow: hidden;
  border-right: 2px solid #4d40dc;
  white-space: nowrap;
  animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
  display: inline-block;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #40DCA5 }
}

.terminal-response {
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
  color: #ddd;
  margin-bottom: 20px;
  line-height: 1.5;
}

.terminal-options {
  margin-top: auto;
}

.terminal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background-color: #2a2a42;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Fira Code', monospace;
  font-size: 1.5rem;
}

.terminal-option:hover {
  background-color: #232342;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.option-icon {
  color: #40DCA5;
}

/* Contact Methods Styling */
.contact-methods {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
  color: #40DCA5;
  text-shadow: 0 0 10px rgba(64, 220, 165, 0.3);
}

.contact-header p {
  color: #aaa;
  font-size: 1.5rem;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.icon-container {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2d2d2d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  fill: #fff;
  transition: all 0.3s ease;
}

.contact-icon span {
  font-size: 1.5rem;
  opacity: 0.8;
}

.contact-icon:hover .icon-container {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-icon.linkedin:hover .icon-container { background-color: #0077b5; }
.contact-icon.github:hover .icon-container { background-color: #333; }
.contact-icon.twitter:hover .icon-container { background-color: #1DA1F2; }
.contact-icon.email:hover .icon-container { background-color: #D14836; }
.contact-icon.telegram:hover .icon-container { background-color: #0088cc; }
.contact-icon.instagram:hover .icon-container { background-color: #E1306C; }

.contact-direct {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flip-back {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5rem;
  font-family: 'Fira Code', monospace;
  cursor: pointer;
  padding: 10px;
  transition: all 0.3s ease;
}

.flip-back:hover {
  color: #fff;
  transform: translateX(-5px);
}

.contact-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #40DCA5;
  color: #000;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(64, 220, 165, 0.3);
}

.contact-button .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.contact-button:hover {
  background-color: #2dbc8d;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(64, 220, 165, 0.4);
}

.contact-button:hover .arrow {
  transform: translateX(5px);
}

/* Form Styling */
.contact-form-container {
  width: 100%;
  max-width: 500px;
  background-color: rgba(30, 30, 30, 0.8);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(64, 220, 165, 0.2);
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
  color: #40DCA5;
  text-shadow: 0 0 10px rgba(64, 220, 165, 0.3);
}

.form-header p {
  color: #aaa;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  color: #aaa;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(20, 20, 20, 0.8);
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #40DCA5;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
  transform: translateY(-20px);
  font-size: 0.8rem;
  color: #40DCA5;
}

.form-group input:valid,

.form-group textarea:valid {
  border-color: #40DCA5;
}
