html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


/* General styling for the contact page content */
.contact-container {
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  padding: 5rem 2rem 1rem;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.contact-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header p {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Layout for the main content area */
.contact-content {
  display: grid;
  grid-template-columns: 1fr; /* Default to a single column layout */
  gap: 50px;
}

/* Switch to a two-column layout on larger screens */
@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info, .contact-form-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.contact-info p {
  color: #cccccc;
  margin-bottom: 30px;
  line-height: 1.7;
}

.info-item {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border-left: 4px solid #ffffff;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.info-item p {
  color: #cccccc;
  margin: 0;
  font-size: 1rem;
}

/* Form specific styles */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888888;
}

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

.submit-btn {
  background: linear-gradient(135deg, #ffffff, #cccccc);
  color: #000000;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .contact-container {
    padding: 40px 15px;
  }
  
  .contact-header h1 {
    font-size: 2.5rem;
  }
  
  .contact-info,
  .contact-form-section {
    padding: 30px 25px;
  }
}