/* ===============================
   Section Background & Layout
   =============================== */
.contact-section {
  width: 100%;
  min-height: 100vh;
  background: url("../img/contact.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 10px;
}

/* ===============================
   Contact Box (Glassmorphism Container)
   =============================== */
.contact-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  min-height: 400px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 30px;
  color: #F4F4F4;
  box-shadow: 0 8px 24px rgba(244,244,244,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease forwards; /* suggested animation */
  opacity: 0;
}

.contact-box > * {
  position: relative;
  z-index: 1;
}

/* ===============================
   Form & Info Column Flex
   =============================== */
.contact-form {
  flex: 1;
}

.contact-info {
  flex: 1;
}

/* ===============================
   Contact Info List (Icons + Text)
   =============================== */
.contact-info .info-list {
  list-style: none;   /* removes bullets */
  padding: 20px 40px; /* suggested global spacing */
  margin: 0;
}

.contact-info .info-list li {
  display: flex;
  align-items: flex-start; /* aligns icon with top of text */
  gap: 14px;               /* suggested inline spacing */
  margin-bottom: 28px;     /* vertical spacing between rows */
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info .info-icon {
  width: 70px;             /* suggested balanced size */
  height: auto;
  flex-shrink: 0;
}

.contact-info p,
.contact-info span {
  margin: 0;
  display: inline-block;
}

/* ===============================
   Contact Info Heading
   =============================== */
.contact-info h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  border-bottom: 2px solid rgba(0, 188, 212, 0.5); /* 50% transparent */
  padding-bottom: 15px;
}

/* ===============================
   Form Title
   =============================== */
.form-title {
  text-align: left;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

/* ===============================
   Form Fields
   =============================== */
.floating-group input,
.floating-group textarea {
  width: 100%;              /* suggested full width */
  min-height: 44px;
  padding: 10px;
  font-size: 15px;
  border: 1px solid #00bcd4;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.3);
  color: #fff;
  box-sizing: border-box;
  margin-bottom: 15px;
  transition: all 0.3s ease; /* suggested smooth focus */
}

.floating-group input:focus,
.floating-group textarea:focus {
  outline: none;
  border-color: #00bcd4;
  box-shadow: 0 0 8px rgba(0, 188, 212, 0.6);
  background-color: rgba(255,255,255,0.4);
}

/* ===============================
   Message Field
   =============================== */
#message {
  height: 130px;
  resize: none;
}

/* ===============================
   Placeholder Styling
   =============================== */
.contact-form input::placeholder,
.contact-form textarea::placeholder { 
  color: #f4f4f4;
  opacity: 0.7 !important;
}

/* ===============================
   Submit Button
   =============================== */
.form-submit {
  display: flex;             /* suggested centering */
  justify-content: center;
}

.form-submit button {
  background-color: #0478a7;
  color: white;
  padding: 12px 28px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.form-submit button:hover {
  background-color: #045a82;
  box-shadow: 2px 8px 30px rgba(50, 190, 250, 0.5);
}

/* ===============================
   Responsive Layout
   =============================== */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    padding: 20px; /* suggested tighter padding on mobile */
  }
}

/* ===============================
   Animations
   =============================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
