/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

:root {
  --color-primary: #5d35b9; /* Purple */
  --color-secondary: #ff853f; /* Orange */
  --accent-blue: #007bff; /* Blue */
  --color-dark: #343a40; /* Black/Dark Gray */
  --color-gray: #6c757d; /* Text Gray */
  --bg-light: #f8f9fa; /* Light Gray Background */
  --white: #ffffff;
  --font-main: "Poppins", sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--color-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Hero Section --- */
.contact-hero {
  padding: 80px 0 60px;
  text-align: center;
  background-color: var(--bg-light);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Main Card Wrapper --- */
.contact-wrapper-section {
  padding-bottom: 80px;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden;
  min-height: 600px;
  position: relative;
  /* Animation on load */
  animation: slideUp 0.8s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Left Column: Form --- */
.form-column {
  flex: 3; /* 60% width */
  padding: 60px;
}

.form-header h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--color-gray);
  margin-bottom: 40px;
}

/* Modern Input Styles with Floating Labels */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-row {
  display: flex;
  gap: 25px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px 0;
  font-size: 1rem;
  font-family: var(--font-main);
  color: var(--color-dark);
  border: none;
  border-bottom: 2px solid #e0e0e0;
  outline: none;
  background: transparent;
  transition: all 0.3s ease;
}

.input-group label {
  position: absolute;
  top: 15px;
  left: 0;
  color: #999;
  pointer-events: none;
  transition: 0.3s ease all;
  font-size: 1rem;
}

/* Focus Effects */
.input-group input:focus,
.input-group textarea:focus,
.input-group input:not(:placeholder-shown),
.input-group textarea:not(:placeholder-shown) {
  border-bottom-color: var(--color-primary);
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 500;
}

/* Button */
.submit-btn {
  background: linear-gradient(90deg, var(--color-primary), var(--accent-blue));
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  align-self: flex-start;
  margin-top: 10px;
  box-shadow: 0 10px 20px rgba(93, 53, 185, 0.2);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(93, 53, 185, 0.3);
}

.submit-btn i {
  margin-left: 10px;
}

.success-msg {
  color: #28a745;
  font-size: 0.9rem;
  margin-top: 15px;
  font-weight: 500;
  min-height: 20px;
}

/* --- Right Column: Info Panel --- */
.info-column {
  flex: 2; /* 40% width */
  background-color: var(--color-primary);
  padding: 60px 40px;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.info-content {
  position: relative;
  z-index: 2;
}

/* =========================================
   REMOVE UNDERLINES FROM CONTACT INFO
   ========================================= */

.info-content h4::after,
.info-content h4::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--color-secondary); /* Orange */
  border-radius: 2px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: 0.3s;
  color: var(--color-secondary);
  font-size: 1.2rem;
}

.info-item:hover .icon-circle {
  background: var(--color-secondary);
  color: var(--white);
  transform: scale(1.1);
}

.info-text span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-text p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Social Media */
.social-section {
  margin-top: 20px;
}

.social-section p {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}

/* Decorative Circles */
.circle-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.top-right {
  width: 200px;
  height: 200px;
  top: -50px;
  right: -50px;
}

.bottom-left {
  width: 150px;
  height: 150px;
  bottom: -30px;
  left: -30px;
}

/* --- Map Section --- */
.map-section {
  padding-bottom: 80px;
}

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 5px solid var(--white);
  height: 450px;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .contact-card {
    flex-direction: column;
  }
  .info-column {
    padding: 50px 30px;
  }
  .form-column {
    padding: 50px 30px;
  }
}

@media (max-width: 600px) {
  .input-row {
    flex-direction: column;
    gap: 25px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .map-frame {
    height: 300px;
  }
}
/* Reset the flip for the Contact Section icons */
.contact-info-panel .icon-box i {
  transform: scaleX(1) !important;
}

/* Specific fix for the phone icon if needed */
.contact-card-mini .fa-phone-alt {
  transform: scaleX(1) !important;
}
