/* ============================================
   Mahalaxmi Solar - Contact Page Styles
   Optimized and Combined CSS
   ============================================ */

/* Common Styles */
/* Note: Global overflow/width rules are handled in style.css */
.mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact Page Section */
.contact-page-section {
  padding: 100px 20px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-page-container {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-page-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.contact-page-title {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  position: relative;
}

.contact-page-title .mahalaxmi-orange {
  background: linear-gradient(135deg, #fe8e19 0%, #fdb12b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-page-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

.contact-page-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #fe8e19;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(254, 142, 25, 0.15);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fe8e19;
}

.contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.contact-info-content {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-left: 65px;
}

.contact-info-content a {
  color: #fe8e19;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-content a:hover {
  color: #fdb12b;
  text-decoration: underline;
}

.contact-form-section {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(254, 142, 25, 0.1);
}

.contact-form-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.contact-form-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #fe8e19, #fdb12b);
  border-radius: 2px;
}

/* FluentForm Styling */
.contact-form-section .ff-form-wrapper {
  margin: 0;
}

.contact-form-section .ff-el-group {
  margin-bottom: 25px;
}

.contact-form-section .ff-el-form-label {
  display: block;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form-section .ff-el-form-label .required {
  color: #fe8e19;
  font-weight: 700;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section input[type="url"],
.contact-form-section input[type="number"],
.contact-form-section textarea,
.contact-form-section select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.5;
  color: #1f2937;
  background: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section input[type="tel"]:focus,
.contact-form-section input[type="url"]:focus,
.contact-form-section input[type="number"]:focus,
.contact-form-section textarea:focus,
.contact-form-section select:focus {
  outline: none;
  border-color: #fe8e19;
  box-shadow: 0 0 0 3px rgba(254, 142, 25, 0.1);
}

.contact-form-section textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.contact-form-section input[type="file"] {
  width: 100%;
  padding: 12px 15px;
  border: 2px dashed #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 15px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-section input[type="file"]:hover {
  border-color: #fe8e19;
  background: rgba(254, 142, 25, 0.05);
}

.contact-form-section input[type="file"]:focus {
  outline: none;
  border-color: #fe8e19;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(254, 142, 25, 0.1);
}

.contact-form-section input[type="file"]::file-selector-button {
  padding: 8px 18px;
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
  transition: all 0.3s ease;
}

.contact-form-section input[type="file"]::file-selector-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 142, 25, 0.3);
}

.contact-form-section input[type="checkbox"],
.contact-form-section input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #fe8e19;
  cursor: pointer;
  margin-right: 10px;
}

.contact-form-section .ff-el-form-check-label {
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  line-height: 1.6;
}

.contact-form-section .ff-btn-submit {
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  border: none;
  padding: 15px 35px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 10px;
}

.contact-form-section .ff-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 142, 25, 0.3);
}

.contact-form-section .ff-el-form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-form-section .ff-el-form-check input[type="checkbox"] {
  margin-top: 3px;
}

/* Social Links */
.contact-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.contact-social-link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(254, 142, 25, 0.1), rgba(253, 177, 43, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fe8e19;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
}

.contact-social-link:hover {
  background: linear-gradient(135deg, #fe8e19, #fdb12b);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(254, 142, 25, 0.3);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .contact-page-container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-page-section {
    padding: 70px 15px 60px;
  }
  
  .contact-page-container {
    max-width: 100%;
    padding: 0;
  }
  
  .contact-page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }
  
  .contact-page-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .contact-page-title::after {
    width: 60px;
    height: 3px;
    bottom: -15px;
  }
  
  .contact-page-subtitle {
    font-size: 16px;
    margin-top: 20px;
    padding: 0 10px;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .contact-info-section {
    gap: 20px;
  }
  
  .contact-info-card {
    padding: 25px 20px;
  }
  
  .contact-info-icon {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .contact-info-title {
    font-size: 18px;
  }
  
  .contact-info-content {
    font-size: 15px;
    margin-left: 0;
    margin-top: 10px;
  }
  
  .contact-form-section {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  .contact-form-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .contact-form-title::after {
    width: 50px;
    height: 3px;
  }
  
  .contact-form-section input[type="text"],
  .contact-form-section input[type="email"],
  .contact-form-section input[type="tel"],
  .contact-form-section input[type="url"],
  .contact-form-section input[type="number"],
  .contact-form-section textarea,
  .contact-form-section select {
    font-size: 15px;
    padding: 10px 12px;
  }
  
  .contact-form-section textarea {
    min-height: 100px;
  }
  
  .contact-form-section .ff-btn-submit {
    padding: 12px 25px;
    font-size: 15px;
  }
  
  .contact-social {
    gap: 12px;
    margin-top: 15px;
  }
  
  .contact-social-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact-page-section {
    padding: 60px 12px 50px;
  }
  
  .contact-page-title {
    font-size: 28px;
  }
  
  .contact-page-subtitle {
    font-size: 15px;
  }
  
  .contact-info-card {
    padding: 20px 18px;
  }
  
  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .contact-info-title {
    font-size: 16px;
  }
  
  .contact-info-content {
    font-size: 14px;
  }
  
  .contact-form-section {
    padding: 25px 18px;
  }
  
  .contact-form-title {
    font-size: 22px;
  }
  
  .contact-form-section input[type="text"],
  .contact-form-section input[type="email"],
  .contact-form-section input[type="tel"],
  .contact-form-section input[type="url"],
  .contact-form-section input[type="number"],
  .contact-form-section textarea,
  .contact-form-section select {
    font-size: 14px;
    padding: 9px 11px;
  }
  
  .contact-form-section .ff-btn-submit {
    padding: 11px 22px;
    font-size: 14px;
  }
}

