/*
Theme Name: Convertify Theme
Author: wpLeadCollect
Description: A customizable and flexible WordPress theme designed for all sorts of local service businesses and ideal for rank and rent websites, with a focus on user experience and simplicity.
Version: 1.2
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: convertify-theme
Copyright: 2024 wpLeadCollect
Tested up to: 6.0
Requires PHP: 7.4
Theme URI: http://wpleadcollect.com
Author URI: http://wpleadcollect.com
*/

/* CSS Variables for Better Consistency */
:root {
  /* Color system */
  --primary-color: #ff6600;
  --primary-hover: #e65c00;
  --secondary-color: #415361;
  --secondary-hover: #34424e;
  --accent-color: #6610f2;
  --accent-hover: #520dc2;
  --text-color: #333333;
  --light-text: #ffffff;
  --muted-text: #666666;
  --border-color: #dddddd;
  --background-light: #f5f5f5;
  --background-card: #f2f2f2;

  /* Spacing system */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 4rem;

  /* Font system */
  --font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 17px;
  --font-size-sm: 0.9rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.5rem;
  --font-size-xxl: 2rem;
  --font-size-xxxl: 2.5rem;

  /* Border radius */
  --border-radius-sm: 3px;
  --border-radius-md: 5px;
  --border-radius-lg: 10px;

  /* Box shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}





/* Body Styling */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: -apple-system, system-ui, sans-serif;

  color: #222;
  line-height: 1.6;
  font-size: 17px;
  padding: 0;
  font-weight: 400;

  min-height: 100vh;
  flex-direction: column;
  display: flex;
}

/* Enhanced Reset for Better Plugin Compatibility */
.convertify-content-area img,
.convertify-content-area iframe,
.convertify-content-area embed,
.convertify-content-area object,
.convertify-content-area video {
  max-width: 100%;
  height: auto;
}

/* Reset lists that plugins might add */
.convertify-content-area ul:not([class]),
.convertify-content-area ol:not([class]) {
  padding-left: 2rem;
  margin-bottom: var(--spacing-lg);
}

/* Make tables responsive in plugin content */
.convertify-content-area table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-lg);
  overflow-x: auto;
  display: block;
}

@media (min-width: 768px) {
  .convertify-content-area table {
    display: table;
    overflow-x: visible;
  }
}

/* Ensure consistent padding and margins across browsers */
input,
textarea {
  font-family: inherit;
 
  padding: 0.75rem;
  
  width: 100%;
  border: none;
  font-size: 17px;
  line-height: 1.5; /* Ensures consistent line height across all browsers */
  outline: none;
}

select {
 font-family: inherit;
  //box-sizing: border-box;
  padding: 0.2rem;

  //width: 100%;
  border: none;
  font-size: 17px;

  outline: none; /* Remove focus outline */
}

/* Set height for text inputs and buttons but not checkboxes/radios */
input:not([type='checkbox']):not([type='radio']) {
  height: 50px; /* Set consistent height */
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Site Content Container */
.site-content {
  flex-grow: 1;
  /* Main container for site content */
}

/* General Text Styling */
p strong {
  font-weight: 700;
  
}

.text-center {
  text-align: center;
}

/* Headings */
h1,
h2,
h3 {
  
  font-weight: 500;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

.hero-content h4,
.hero-content h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

/* Paragraph Spacing */
p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* Sticky Bar */
.sticky-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  padding: 10px;
  font-size: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar strong {
  font-weight: 650;
}

.sticky-bar a {
  color: #3d67ff;
  text-decoration: underline;
  font-weight: 450;
}

/* Responsive styles for sticky bar */
@media (max-width: 480px) {
  .sticky-bar {
    font-size: 24px; /* Smaller font size on mobile */
    padding: 8px 5px; /* Less padding on mobile */
  }
}

/* For extremely small screens */
@media (max-width: 420px) {
  .sticky-bar {
    font-size: 20px; /* Even smaller font size */
  }
}

/* For extremely small screens */
@media (max-width: 350px) {
  .sticky-bar {
    font-size: 18px; /* Even smaller font size */
  }
}



/* Responsive Grid System */
.convertify-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-lg);
}

@media (min-width: 576px) {
  .convertify-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .convertify-grid,
  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Responsive adjustments for smaller screens */
.quote-text {
  font-size: var(--font-size-base);
  font-style: italic;
  margin-top: var(--spacing-md);
  color: var(--light-text);
}

/* Card Styles - Feature, Testimonial and Product */
.feature-card,
.testimonial-card,
.product-card {
  background: var(--background-card);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: #eaeaea;
}

.feature-card h3,
.testimonial-card h3,
.product-card h3 {
  color: #222;
}

.feature-card p,
.testimonial-content p,
.product-description,
.product-features li {
  color: #444;
}

.feature-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-lg);
}



@media (max-width: 768px) {
  input,
  textarea {
    padding: var(--spacing-sm);
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .btn {
    width: 100%;
  }
}

.content-container {
  margin: 0 auto;
}

.content-container-wide {
  max-width: 1200px;
}

.content-container-medium {
  max-width: 800px;

  line-height: 1.6;
}

.content-container-fullwidth {
  /* Override any maximum width to take full browser width */
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0; /* Optional: Add or remove padding as needed */
}



.content-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Blockquote Styling */
.content-container blockquote {
  border-left: 4px solid #0044cc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
  background-color: #f9f9f9;
}

.content-container h1,
.content-container h2,
.content-container h3,
.content-container h4,
.content-container h5,
.content-container h6 {
  font-weight: 500;
  text-align: center;
}

/* Content Container Table Styling */
.content-container table {
  margin-bottom: 1.5rem;
}

.content-container ul {
  list-style-type: disc;
}
.content-container ul,
.content-container ol {
  padding-left: 20px; /* Adjust padding */
  margin-left: 0; /* Reset margin */
}

.content-container ul li,
.content-container ol li {
  margin-bottom: 10px; /* Space between list items */
}

.content-container ol li::marker {
  font-family: inherit; /* Inherit font from <ol> */
  font-size: inherit; /* Inherit font size from <ol> */
  font-weight: bold; /* Make numbers bold */
  color: inherit; /* Inherit text color from <ol> */
}

.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.faq-item h3 {
  font-size: 1.25rem;
  color: #333;
  cursor: pointer;
  margin: 0;
  position: relative;
  padding-left: 20px;
}

.faq-item h3::before {
  content: '+';
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 0; /* Adjust line-height to vertically align */
  top: 10px; /* Adjust this value as needed for better alignment */
}

.faq-item h3.open::before {
  content: '−'; /* Minus symbol when open */
  line-height: 0;
  top: 10px; /* Adjust this value as needed for better alignment */
}

.faq-item p {
  font-size: 1rem;

  display: none; /* Initially hidden */
  margin: 10px 0 0;
}

/* Global Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  border: 1px solid #000;
}

table thead th {
  padding: 10px;
  text-align: left;
  font-weight: bold;
  border-bottom: 1px solid #000;
}

table tbody td {
  padding: 10px;
  border-bottom: 1px solid #000;
}

.blog-page {
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 95 %;
}

.blog-page h1 {
  font-size: 42px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.post-title a {
  color: #333333;
}

.post-list {
  margin-left: 10px;
  margin-right: 10px;
}

.post {
  border-bottom: 1px solid #ddd;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .post {
    flex-direction: row;
    align-items: flex-start;
  }
}

.post h2 {
  margin-bottom: 0.5rem;
}

.post h2 a {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.post h2 a:hover {
  color: #005a9e;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.post-date {
  font-weight: 500;
}

.post-categories a {
  color: var(--primary-color);
  text-decoration: none;
}

.post-categories a:hover {
  text-decoration: underline;
}

.post-excerpt {
  font-size: 1rem;
  color: #333;
}

.read-more {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--primary-color);
  font-weight: 500;
  
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.pagination-container {
  margin: 3rem 0 1rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span.current {
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination span.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination a:hover {
  background-color: var(--background-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.post-thumbnail {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .post-thumbnail {
    flex: 0 0 280px;
  }
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.post-content-wrapper {
  flex: 1;
}

.hero-blog-page {
  background-size: cover;
  background-position: center;

  text-align: center;
  padding: 2rem;
}

.blog-page .hero-blog-page h1 {
  color: #ffffff;
}

.page-title-wrapper {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px; /* Add spacing below */
}

.footer-placeholder {
  font-size: 1rem;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

.footer-placeholder a {
  color: #0073aa;
  text-decoration: underline;
}

.footer-placeholder a:hover {
  color: #005177;
}

.navbar-placeholder {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-top: 20px;
  background-color: #444;
  padding: 10px;
  border-radius: 5px;
}

.navbar-placeholder a {
  color: #0073aa;
  text-decoration: underline;
}

.navbar-placeholder a:hover {
  color: #005177;
}

.elementor-template-full-width #content {
  padding: 0;
}



/* Form Elements - Enhanced Styling */
/* Adding select input styling */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
  line-height: 1.4;

  background-color: var(--light-text);
  color: var(--text-color);
}

select {
  appearance: none; /* Removes default appearance */
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="grey" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.5 4.5a.5.5 0 0 1 .854-.354l5.146 5.146L12.646 4.146a.5.5 0 1 1 .708.708l-5.5 5.5a.5.5 0 0 1-.708 0l-5.5-5.5A.5.5 0 0 1 1.5 4.5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 16px;
}

/* Plugin Compatibility Improvements */
/* Make forms more consistent across plugins */
.convertify-content-area .gform_wrapper form,
.convertify-content-area .wpforms-container form,
.convertify-content-area .wpcf7 form,
.convertify-content-area .ninja-forms-form-wrap form {
  max-width: 100%;
}

/* Fix common form issues with plugins */
.convertify-content-area .gform_wrapper ul,
.convertify-content-area .wpforms-field-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

select:focus {
  //border-color: #555;
  outline: none;
}

select {
  border: 0.1px solid #cccccc; /* Subtle grey border */
}
/* Consistent form inputs styling */
input,
textarea {
  margin-bottom: 1rem;
  width: 100%;
  border: 0.1px solid #cccccc; /* Subtle grey border */
}

textarea {
  height: 100px;
  border: 0.1px solid #cccccc; /* Subtle grey border */
}

.cta-header {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1px;
}
.cf-hints {
  font-size: 1rem;
  font-style: italic;
  //font-weight: bold;
  text-align: center;
  margin-bottom: 1px;
}

.cta-message {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1px;
}

/* Fix checkbox and radio issues */
.convertify-content-area input[type='checkbox'],
.convertify-content-area input[type='radio'],
input[type='checkbox'],
input[type='radio'] {
  width: auto;
  margin-right: var(--spacing-sm);
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  margin-top: 4px;
}

.checkbox-container label {
  display: flex;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
}

.checkbox-container span {
  font-size: 14px;
  line-height: 1.4;
  margin-left: 10px;
}



.wp-block-convertify-faq-question {
  background-color: #f8f9fa;
  padding: 15px 20px;
  font-weight: 600;
  color: #333;
}

.wp-block-convertify-faq-answer {
  padding: 20px;
  background-color: #fff;
}

/* Custom Styling for Easy Accordion Free Plugin */
.sp-easy-accordion {
  margin: 40px auto !important;
  max-width: 800px !important;
}

/* Single accordion item */
.sp-easy-accordion .sp-ea-single {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 15px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}

.sp-easy-accordion .sp-ea-single:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Accordion header */
.sp-easy-accordion .sp-ea-single .ea-header a {
  padding: 15px 20px !important;
  background-color: #f8f9fa !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #333333 !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.sp-easy-accordion .sp-ea-single .ea-header a:hover {
  background-color: #f0f4f8 !important;
}

/* Active accordion header */
.sp-easy-accordion .sp-ea-single.ea-expand .ea-header {
  background-color: #eef5ff !important;
}

/* Expand/collapse icon */
.sp-easy-accordion .sp-ea-single .ea-header a .ea-expand-icon {
  color: #333333 !important;
  font-size: 20px !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

/* Accordion body content */
.sp-easy-accordion .sp-ea-single .ea-body {
  padding: 20px !important;
  background: #ffffff !important;
  color: #555555 !important;
  line-height: 1.6 !important;
}

/* Paragraph styling in accordion body */
.sp-easy-accordion .sp-ea-single .ea-body p {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.6 !important;
}

/* List styling in accordion body */
.sp-easy-accordion .sp-ea-single .ea-body ul {
  padding-left: 20px !important;
}

/* EDD Radio Button Styling */
.edd_price_options ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.edd_price_options li {
  margin-bottom: 12px;
  position: relative;
}

/* Style the radio buttons */
.edd_price_options input[type='radio'] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  width: 18px;
  height: 18px;
  margin: 0;
  z-index: 2;
  accent-color: #1e73be;
}

/* Style the labels */
.edd_price_options label {
  display: block;
  position: relative;
  padding: 12px 15px 12px 45px; /* Add left padding to accommodate radio */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0;
  line-height: 1.4;
}

.edd_price_options input[type='radio']:checked + label {
  border-color: #1e73be;
  background-color: rgba(30, 115, 190, 0.05);
  box-shadow: 0 2px 5px rgba(30, 115, 190, 0.1);
}

.edd_price_options label:hover {
  border-color: #1e73be;
  background-color: rgba(30, 115, 190, 0.02);
}

.edd_price_option_name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  display: inline-block;
  margin-right: 5px;
}

.edd_price_option_price {
  color: #1e73be;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
}


/* Adjust button styling */
button {
  width: 100%;
  height: 60px; /* Set a default height for button */
  padding: 0.5rem; /* Adjust padding */
  font-size: 1.5rem;
  margin-top: 20px;
  background-color: #ff6600;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  background-color: #e65c00;
}

/* Button System */
.btn,
.button,
button[type='submit'],
input[type='button'],
input[type='submit'] {
  
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  
  font-size: var(--font-size-base);
  height: 50px; /* Match input height */
  
}

/* Primary button styling */
.btn-primary,
button[type='submit'],
input[type='submit'] {
  background-color: var(--primary-color);
  color: var(--light-text);
  /
}

.btn-primary:hover,
.btn-primary:focus,
button[type='submit']:hover,
button[type='submit']:focus,
input[type='submit']:hover,
input[type='submit']:focus {
  background-color: var(--primary-hover);
  border: none;
}

/* Secondary button styling */
.btn-secondary,
.button.secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
  
}

.btn-secondary:hover,
.btn-secondary:focus,
.button.secondary:hover,
.button.secondary:focus {
  background-color: var(--secondary-hover);
  
}

/* Hero Section */
.hero-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 2rem;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}

.hero-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 2rem;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}



.hero-form-wrapper {
  flex: 1;
  width: 100%;
  max-width: 600px;
  //min-width: 400px;
  margin: 0 auto; /* Center it horizontally if parent container is wider */
  box-sizing: border-box;
}

/* Hero Content */
.hero-content {
  flex: 1;
  max-width: 50%;
  padding: 2rem; /* Default padding for larger screens */
}

.hero-content h1,
.hero-content h2,
.hero-content h4 {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.hero-header {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  //max-width: 1200px;
  padding: 0 2rem;
  box-sizing: border-box;
}

.hero-header h1 {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 0;
  overflow: hidden; /* Handle overflow if text exceeds the container width */
  text-overflow: ellipsis; /* Add ellipsis if text is too long */
  line-height: 1.2;
}

.hero-header p {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-header .hero-cta {
  text-align: center;
  display: inline-block;
  background: #00274d;
  color: #fff;
  padding: 12px 32px;
  font-size: 1.6rem;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.hero-header a {
  text-align: center;
}

.hero-header .hero-cta:hover {
  background: #0056b3;
}

.hero-header .phone-icon {
  text-align: center;
  margin-right: 20px;
  vertical-align: middle;
}

.hero-small {
  padding-bottom: 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}

.hero-secondary {
  padding-bottom: 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}

.hero-small .hero-header h1 {
  margin-bottom: 30px;
}

.hero-simple {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 2rem;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}

.hero-blog {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 2rem;
  color: #fff;
  z-index: 50;
  /* padding-top controlled via inline style */
}



/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero-primary {
    height: auto; /* Allow the hero to expand with content */
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
    justify-content: center;
    
    min-height: 300px; /* Set a smaller fixed height on mobile */
    background-size: cover; /* Changed from 100% auto to cover */
    background-repeat: no-repeat; /* Explicitly prevent repeating */
    background-position: center center; /* Position from top */
    will-change: transform; /* Hint for browser to create a composite layer */
  }

  .hero-footer {
    height: auto; /* Allow the hero to expand with content */
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
    justify-content: center;
    
    min-height: 300px; /* Set a smaller fixed height on mobile */
    background-size: cover; /* Changed from 100% auto to cover */
    background-repeat: no-repeat; /* Explicitly prevent repeating */
    background-position: center center; /* Position from top */
    will-change: transform; /* Hint for browser to create a composite layer */
  }


  




  

  .hero-content {
    max-width: 100%;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
  }

  .hero-content h1,
  .hero-content h2,
  .hero-content h4 {
    font-size: 32px !important;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }

  /* .hero-content h4 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
  } */

  .hero-header h1{
    font-size: 32px !important;
    margin-top: 0;
  }

  .hero-header p {
    font-size: 1rem;
    //margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .hero-header .hero-cta {
    font-size: 1.3rem;
    padding: 10px 24px;
  }
  
  
}
