/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* Services Section */
#services .service-item {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

#services .service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: #192640;
  margin-bottom: 15px;
}

#services .service-icon i {
  font-size: 24px;
  color: #fff;
}

#services .stk-block-heading__text {
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: normal;
  line-height: 1.3;
  color: #ef4d28;
}

#services .stk-block-heading__text span {
  color: #192640;
}

#services .service-item p {
  font-size: 1em;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed positioning ensures it covers the entire viewport */
    z-index: 1000; /* Places the modal above other elements */
    top: 0;
    left: 0; /* Ensure it starts from the left edge */
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    box-sizing: border-box; /* Ensures padding/borders are included in dimensions */
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: #ef4d28;
}

.learn-more-btn {
  background-color: #ef4d28;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.learn-more-btn:hover {
  background-color: #df3627;
}

/* Image Padding Fix */
.stk-img[class*="wp-image-"],
.wp-block-stackable-card .stk-img,
.stk-block-card__image.stk-img-wrapper.stk-image--shape-stretch {
  padding: 16px !important;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(45deg, #1B2954, #F26524);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.text-orange {
  color: #F26524;
}

/* WPForms Styling */
.wpforms-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="url"],
.wpforms-field input[type="tel"],
.wpforms-field textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 20px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="url"]:focus,
.wpforms-field input[type="tel"]:focus,
.wpforms-field textarea:focus {
  border-color: #EF4D28;
  box-shadow: 0 0 5px rgba(239, 77, 40, 0.5);
  outline: none;
}

.wpforms-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #192640;
}

.wpforms-submit {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
  background-color: #EF4D28;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wpforms-submit:hover {
  background-color: #FF7A00;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.wpforms-error {
  color: #D93025;
  background: #FFD6D6;
  padding: 10px;
  border: 1px solid #D93025;
  border-radius: 5px;
  margin-bottom: 20px;
}

.wpforms-confirmation-container {
  color: #1B5E20;
  background: #DFF2E1;
  padding: 10px;
  border: 1px solid #1B5E20;
  border-radius: 5px;
  margin-bottom: 20px;
}

.wpforms-title {
  text-align: center;
  font-size: 2em;
  color: #192640;
  font-weight: 600;
  margin-bottom: 20px;
}

.wpforms-description {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}