/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #111827;
    line-height: 1.6;
}

.contact-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Info Panel (Left) */
.info-panel {
    background-image: linear-gradient(to bottom, #1f1f1f, #000000);
    color: #fff;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-content {
    max-width: 400px;
    margin-top: 80px;
}

.info-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.description {
    color: #9ca3af;
    margin-bottom: 40px;
}

.contact-methods {
    margin-bottom: 40px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.method-item i {
    font-size: 1.2rem;
    margin-top: 5px;
}

.method-item h4 {
    font-size: 1rem;
    font-weight: 600;
}

.method-item p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Form Panel (Right) */
.form-panel {
    margin-top: 90px;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fdfdfd;
}

.form-wrapper {
    width: 100%;
    max-width: 600px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    border: 1px solid rgb(192, 192, 192);
}

.input-group input:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: #000;
}

.btn-send {
    background-color: #000;
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, background 0.3s;
}

.btn-send:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.success-box {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  animation: pop 0.3s ease;
}

.checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #28a745;
  position: relative;
  margin: 0 auto 15px;
  animation: circlePop 0.4s ease-out;
}

.checkmark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 30px;
  border: solid #28a745;
  border-width: 0 4px 4px 0;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
  animation: drawCheck 0.2s ease forwards;
  animation-delay: 0.1s;
}

.hidden {
  display: none !important;
}

@keyframes drawCheck {
  from {
    height: 0;
    width: 0;
    opacity: 1;
  }
  to {
    height: 30px;
    width: 18px;
    opacity: 1;
  }
}

@keyframes circlePop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Logic */
@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
    }

    .info-panel {
        width: 40%;
        padding: 80px;
        text-align: left;
    }

    .form-panel {
        width: 60%;
        padding: 80px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}