/**
* Theme Name: Workreap Child
* Description: This is a child theme of Workreap.
* Author: <a href="https://themeforest.net/user/amentotech/portfolio">Amentotech</a>
* Template: workreap
* Version: 3.1.1
*/

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
  line-height: 1.6; /* Improved line spacing for readability */
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding-top: 40px; /* Increased padding for breathing room */
  background-color: #f7f7f7; /* Light background for hero section */
}

.hero-section h1 {
  font-size: 40px; /* Larger, bolder heading */
  font-weight: bold;
  margin-bottom: 25px; /* Space between heading and subheader */
}

.hero-section .subheader {
  font-size: 20px;
  color: #666;
  margin-bottom: 20px; /* More space before the next section */
}

/* Service Features */
.services-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0; /* Generous padding around the feature section */
}

.service-item {
  text-align: center;
  width: 30%;
  margin-bottom: 40px; /* Add more space between service items for clarity */
}

.service-icon img {
  width: 60px; /* Slightly larger icon size */
  height: auto;
  margin-bottom: 20px; /* Spacing between icon and heading */
}

.service-info h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px; /* More space under heading */
}

.service-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Separator Line */
.separator-line {
  border: none;
  border-top: 1px solid #ccc;
  margin: 60px 0; /* Larger space above and below the line */
}

/* Main Section: Image on Left and Features on Right */
.main-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 0; /* More padding to space out sections */
}

.main-section .image-section {
  flex: 1;
  margin-right: 50px; /* More space between the image and text */
}

.main-section .image-section img {
  width: 100%;
  max-width: 450px; /* Increased max-width for larger images */
  height: auto;
}

.main-section .feature-section {
  flex: 2;
}

.main-section .feature-section h2 {
  font-size: 26px; /* Larger heading for section titles */
  font-weight: bold;
  margin-bottom: 30px; /* Increased space between title and content */
}

.main-section .feature-section .feature {
  margin-bottom: 30px; /* More space between feature blocks */
}

.main-section .feature-section .feature h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px; /* Space between feature title and text */
}

.main-section .feature-section .feature p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Fourth Section: Image on Right and Features on Left */
.fourth-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 0; /* Similar padding to other sections */
}

.fourth-section .feature-section {
  flex: 2;
  margin-right: 20px; /* Add space between the text and the image */
}

.fourth-section .image-section {
  flex: 1;
}

.fourth-section .image-section img {
  width: 100%;
  max-width: 450px; /* Consistent image size */
  height: auto;
}

.fourth-section .feature-section h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
}

.fourth-section .feature-section .feature {
  margin-bottom: 30px;
}

.fourth-section .feature-section .feature h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.fourth-section .feature-section .feature p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Reversed Layout (Image on Right and Features on Left) */
.reverse-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse; /* Image on the right */
  padding: 60px 0;
}

.reverse-layout .image-section {
  flex: 1;
  margin-left: 50px; /* Increased spacing between text and image */
}

.reverse-layout .image-section img {
  width: 100%;
  max-width: 450px; /* Larger image size */
  height: auto;
}

.reverse-layout .feature-section {
  flex: 2;
}

.reverse-layout .feature-section h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px; /* Larger space under heading */
}

.reverse-layout .feature-section .feature {
  margin-bottom: 30px; /* More space between feature blocks */
}

.reverse-layout .feature-section .feature h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.reverse-layout .feature-section .feature p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .services-wrapper, .main-section, .reverse-layout, .fourth-section {
    flex-direction: column; /* Stack sections vertically on small screens */
  }

  .service-item {
    width: 100%;
    margin-bottom: 40px; /* Space between service items on mobile */
  }

  .image-section {
    margin: 0 0 30px 0; /* Remove side margins, add bottom margin */
  }

  .reverse-layout .image-section, .fourth-section .image-section {
    margin-left: 0; /* Remove left margin on reversed layout for mobile */
  }
}

/* Center the checkbox, text, and remove the gap behind */
label[for="terms-conditions"] {
    display: flex;
    align-items: center; /* Vertically align checkbox with text */
    justify-content: center; /* Center the whole element */
    gap: 8px; /* Adjust spacing between checkbox and text */
    margin: 0; /* Remove any extra margins */
    padding: 0; /* Remove any extra padding */
    text-align: center;
    margin-top: 10px; /* Optional: Adjust spacing above the checkbox */
}

/* Adjust the checkbox size and remove extra space */
label[for="terms-conditions"] input[type="checkbox"] {
    width: 16px; /* Set desired checkbox width */
    height: 16px; /* Set desired checkbox height */
    margin: 0; /* Remove margin around checkbox */
    padding: 0; /* Remove padding around checkbox */
}

/* Style the hover effect for links */
label[for="terms-conditions"] a:hover {
    text-decoration: underline; /* Add underline on hover */
}

/* Adjust margin for the surrounding input and textarea elements */
.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style the submit button */
.wpcf7 input[type="submit"] {
    background-color: #ea1361;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ============================================
   City Dropdown Styling Fix - FINAL v6
   Copies exact State dropdown arrow styling
   ============================================ */

/* Target the parent container of the City field */
.form-group-half.form-group-vertical:has(select[name="city"]),
.form-group-half.form-group-vertical:has(#city) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
}

/* Hide the original select element */
select[name="city"].select2-hidden-accessible {
    display: none !important;
}

/* Target the Select2 container - match State dropdown exactly */
select[name="city"] + .select2-container.wr-select2-dropdown {
    width: 100% !important;
    display: block !important;
}

/* Selection container - match State dropdown styling */
select[name="city"] + .select2-container .select2-selection--single {
    width: 100% !important;
    height: auto !important;
    border: 1.5px solid #eee !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    color: var(--secthemecolor) !important;
}

/* Rendered text - match State dropdown padding */
select[name="city"] + .select2-container .select2-selection__rendered {
    padding-left: 15px !important;
    padding-right: 45px !important;
    line-height: 48px !important;
    color: var(--secthemecolor) !important;
    font-size: 14px !important;
}

/* Hide the default Select2 arrow element completely */
select[name="city"] + .select2-container .select2-selection__arrow {
    display: none !important;
}

select[name="city"] + .select2-container .select2-selection__arrow b {
    display: none !important;
}

/* Add the Workreap dropdown arrow icon - copy exact styling from .wr-select-country:before */
select[name="city"] + .select2-container .select2-selection--single:before {
    content: "\e92e" !important;
    font-family: workreap-icons !important;
    right: 16px !important;
    z-index: 1 !important;
    position: absolute !important;
    font-size: 20px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    color: #999999 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Placeholder styling */
select[name="city"] + .select2-container .select2-selection__placeholder {
    color: #999 !important;
}

/* Remove blue focus state - keep default styling */
select[name="city"] + .select2-container.select2-container--focus .select2-selection--single,
select[name="city"] + .select2-container.select2-container--open .select2-selection--single {
    border-color: #ddd !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Hover state - match State dropdown */
select[name="city"] + .select2-container .select2-selection--single:hover {
    border-color: #ccc !important;
}


/* ============================================
   Location Display Styling - V6.6
   PIXEL-PERFECT match with Explore Projects page
   All measurements verified via browser inspection
   ============================================ */

/* Match ALL list items in wr-rateviews to have consistent styling */
.wr-rateviews li {
    color: rgb(103, 103, 103) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0px !important;
    margin: 0px !important;
}

/* Match the icon styling from projects page - wr-icon-map-pin */
.wr-rateviews li i.wr-icon-map-pin {
    color: rgb(103, 103, 103) !important;
    font-size: 16px !important;
    padding: 0px 10px 0px 0px !important;
    margin: 0px !important;
    display: block !important;
    font-family: workreap-icons !important;
}



/* ============================================
   Search Filter City Dropdown Styling - V6.8
   Match Country and State dropdown styling exactly
   ============================================ */

/* Target search filter city dropdown specifically */
#wr-search-city + .select2-container .select2-selection__rendered {
    color: #676767 !important;
    font-size: 15px !important;
    padding: 0px 40px 0px 20px !important;
    font-family: Inter, sans-serif !important;
}

/* Also apply to the select element itself for consistency */
#wr-search-city.select2-hidden-accessible + .select2-container .select2-selection--single {
    color: #676767 !important;
    font-size: 15px !important;
}

/* Match arrow styling exactly with Country/State - V6.9 */
#wr-search-city + .select2-container .select2-selection__arrow b {
    border-width: 5px 4px 0px !important;
    border-style: solid !important;
    border-color: rgb(136, 136, 136) transparent transparent !important;
    display: block !important;
    height: 0px !important;
    width: 0px !important;
    margin-left: -4px !important;
    margin-top: -2.5px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
}

