/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.grid-container {
    max-width: unset !important;
}

/* Contact Form 7 Inquiry Form */
.cf7-inquiry-form h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: #2c2c2c;
  text-align: left;
}

.cf7-inquiry-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group p {
	margin-bottom: unset !important;
}
.cf7-inquiry-form label {
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #262262;
  margin-bottom: 6px;
}

.cf7-inquiry-form input[type="text"],
.cf7-inquiry-form input[type="email"],
.cf7-inquiry-form input[type="tel"],
.cf7-inquiry-form textarea {
  width: 100%;
  border: 1px solid #CCCCCC;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: #262262;
  transition: all 0.3s ease;
  background-color: #fff;
  margin-top: 10px;
}

.cf7-inquiry-form input:focus,
.cf7-inquiry-form textarea:focus {
  border-color: #2e217f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(46, 33, 127, 0.1);
}

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

/* Submit Button */
.btn-purple {
  background-color: #262262 !important;
  color: #fff;
  border: 2px solid #262262;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
  text-transform: uppercase;
}

.btn-purple:hover {
  background-color: #1b1455;
}
.hamburger-toggle {
    font-size: 24px;
}
.elementskit-megamenu-panel {
    top: 80px !important;
}

/* Responsive */
@media (max-width:767px) {
	.contact-icon ul.elementor-icon-list-items.elementor-inline-items {
		gap: 15px;
}
	.elementor-widget-wp-widget-polylang li {
  font-size: 12px !important;
}
}

/* Contact Form 7 Inquiry Form */
.cf7-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf7-field-group p {
	margin: unset !important;
}

.wpcf7-form br {
  display: none !important;
}
.cf7-field-group {
  display: flex;
  flex-direction: column;
}

.cf7-label {
  font-weight: 600;
  color: #1E1A58;
  margin-bottom: 6px;
}

.cf7-input,
.cf7-textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: #333;
}

.cf7-input:focus,
.cf7-textarea:focus {
  border-color: #AC8D3A;
  outline: none;
  box-shadow: 0 0 0 2px #ac8d3a33;
}

/* === Contact Form 7 Language Direction Fix === */

/* Default - English (LTR) */
html[lang="en"] .cf7-inquiry-form {
  direction: ltr;
  text-align: left;
}

html[lang="en"] .cf7-input,
html[lang="en"] .cf7-textarea {
  text-align: left;
}

/* Arabic (RTL) */
html[lang="ar"] .cf7-inquiry-form {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .cf7-input,
html[lang="ar"] .cf7-textarea {
  text-align: right;
  padding-right: 14px;
  padding-left: 14px;
}

html[lang="ar"] .cf7-field-group label {
  text-align: right;
  display: block;
}
/* 🌐 Polylang Language Switcher Styling */
.elementor-widget-wp-widget-polylang ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.elementor-widget-wp-widget-polylang li {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #1E1A58;
  font-size: 16px;
}

.elementor-widget-wp-widget-polylang a {
  text-decoration: none;
  color: inherit;
}

.elementor-widget-wp-widget-polylang li:not(:last-child)::after {
  content: "/";
  margin: 0 4px;
  color: #1E1A58;
  font-weight: 600;
}


/* Align icon and text nicely */
.elementor-widget-wp-widget-polylang {
  display: inline-flex;
  align-items: center;
}
