/*
Theme Name: Astra Child
Theme URI: https://example.com/astra-child/
Description: Astra Child Theme
Author: Your Name
Author URI: https://example.com
Template: astra
Version: 1.0.0
*/

/* Import styles from the parent theme */
@import url("../astra/style.css");

/* Add your custom styles below */

/* ==================== GLOBAL STYLES ==================== */
/* MARK: Global styles */

* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}
 
/* Emphasis Styles */
em {
  font-family: "Libre Baskerville", serif, sans-serif !important;
  font-weight: 600;
  font-style: italic !important;
  line-height: 1.2; /* Adjust the line height for better readability */
  font-size: 1.2em; /* Slightly increase the font size */
  stroke-opacity: calc(0.5);
  opacity: 0.8;
}

/* Default styles for h2 elements, excluding footer */
h2:not(footer h2) {
  font-size: 3rem;
  max-width: 800px; /* Adjust this value as needed for desktop */
  width: auto;
  display: block;
}

/* Default styles for h1 elements, excluding footer */
h1:not(footer h1) {
  font-size: 3.5rem; /* Make the h1 larger */
  margin-bottom: 20px;
  width: auto;
  display: block;
}

/* Specific section styles, excluding footer */
.steps-section .steps-header h2:not(footer h2),
.video-section h2:not(footer h2),
.lets-talk-section h2:not(footer h2),
.faq-section h2:not(footer h2),
.services-intro-title:not(footer h2) {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  margin: 15px auto; /* Ensure the text is above the background */
}

/* Paragraph styles for specific sections, excluding footer */
.hero-section .hero-content p:not(footer p),
.steps-section .steps-header p:not(footer p),
.video-section p:not(footer p),
.success-stories-section p:not(footer p),
.lets-talk-section p:not(footer p),
.faq-section p:not(footer p),
.services-intro-description:not(footer p) {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 15px auto;
}

/* Common button styles */
button,
.button,
.wp-block-button__link,
input[type="submit"],
input[type="button"],
.ast-custom-button,
.ast-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(
    135deg,
    #5868c6,
    #7888e6,
    #6878d6,
    #8898f6,
    #5868c6
  );
  background-size: 400% 400%;
  border-radius: 5px !important;
  transition: all 0.3s ease;
  border: none;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.ast-custom-button:hover,
.ast-button:hover,
.menu-toggle:hover {
  color: #fff;
  animation: gradientShift 6s linear infinite;
}

/* Exclude .menu-toggle from gradient animation */
.menu-toggle {
  color: #fff;
  background: none !important; /* Optional: Reset background if needed */
  animation: none; /* Disable animation */
}
.menu-toggle:hover {
  color: #fff;
  background: none !important; /* Optional: Reset background if needed */
  animation: none; /* Disable animation */
}

/* Typing text styles */
.typing-text {
  display: inline-block;
  border-right: 2px solid #000;
  white-space: nowrap;
  overflow: hidden !important;
  font-weight: 700;
  font-style: italic;
  font-family: "Libre Baskerville", serif;
  max-width: 100%; /* Ensure it doesn't exceed container width */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}

@media (max-width: 768px) {
  .typing-text {
    font-size: 2.5rem; /* Adjust this value as needed */
  }
}

@media (max-width: 480px) {
  .typing-text {
    font-size: 2rem; /* Further reduce font size for smaller screens */
  }
}

/* Ensure the parent h1 can accommodate the typing text */
h1.uagb-heading-text .title {
  max-width: 100%;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* General Animation for H2, H3, P, and Buttons, excluding video-section and footer */

/* Prevent animation for h2 and p in the success stories section */
.success-stories-section h3,
.success-stories-section p {
  filter: none; /* Remove the opacity filter */
  -webkit-filter: none; /* Safari compatibility */
  transform: none; /* Remove any transformation */
  transition: none; /* Remove transition effects */
  opacity: 1; /* Ensure full opacity */
}

/* General Animation for H2, H3, P, and Buttons, excluding video-section and footer */
h2:not(.video-section h2):not(footer h2):not(.success-stories-section h2),
h3:not(.video-section h3):not(footer h3),
p:not(.video-section p):not(footer p):not(.success-stories-section p),
button:not(.video-section button):not(footer button),
.button:not(.video-section .button):not(footer .button),
input[type="submit"]:not(.video-section input[type="submit"]):not(
    footer input[type="submit"]
  ),
.check-out-button {
  filter: opacity(0); /* Use filter to set initial opacity */
  -webkit-filter: opacity(0); /* Safari compatibility */
  transform: translateY(50px); /* Initial position for fade-in up */
  transition: transform 1.5s ease, filter 1.5s ease; /* Slower transition duration */
}

/* Animation for elements when in view */
h2.animate-in:not(.video-section h2):not(footer h2):not(
    .success-stories-section h2
  ),
h3.animate-in:not(.video-section h3):not(footer h3),
p.animate-in:not(.video-section p):not(footer p):not(
    .success-stories-section p
  ),
button.animate-in:not(.video-section button):not(footer button),
.button.animate-in:not(.video-section .button):not(footer .button),
input[type="submit"].animate-in:not(.video-section input[type="submit"]):not(
    footer input[type="submit"]
  ),
.check-out-button.animate-in {
  filter: opacity(1); /* Use filter to set final opacity */
  -webkit-filter: opacity(1); /* Safari compatibility */
  transform: translateY(0); /* Final position for fade-in up */
}

/* Buttons will only fade in, no movement */
button:not(.video-section button):not(footer button),
.button:not(.video-section .button):not(footer .button),
input[type="submit"]:not(.video-section input[type="submit"]):not(
    footer input[type="submit"]
  ) {
  opacity: 0 !important;
  transition: opacity 1.5s ease; /* Fade-in only */
}

button.animate-in:not(.video-section button):not(footer button),
.button.animate-in:not(.video-section .button):not(footer .button),
input[type="submit"].animate-in:not(.video-section input[type="submit"]):not(
    footer input[type="submit"]
  ) {
  opacity: 1 !important; /* Fully visible */
}

/* Scroll-based fade-in animations */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MARK: pwds-privacy-page */
/* Target the body of the Privacy Policy page using the page ID */

/* Header modifications for Privacy Policy page */
body.page-id-3 .site-header {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(80, 80, 80, 0.9) 50%,
    rgba(0, 0, 0, 0.85) 50%
  ) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 0 20px rgba(104, 120, 214, 0.3) !important;
}

body.page-id-3 .main-header-bar,
body.page-id-3 .ast-primary-header-bar,
body.page-id-3 .ast-sticky-active {
  background-color: transparent !important; /* Ensure all header elements are transparent */
}

/* Adjust header text color for better visibility */
body.page-id-3 .main-header-menu .menu-link,
body.page-id-3 .ast-masthead-custom-menu-items a {
  color: #ffffff !important; /* White text for contrast */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3) !important; /* Subtle glow on text */
}

/* Hover effect for menu items */
body.page-id-3 .main-header-menu .menu-link:hover,
body.page-id-3 .ast-masthead-custom-menu-items a:hover {
  color: #3498db !important; /* Blue color on hover, adjust as needed */
  text-shadow: 0 0 8px rgba(52, 152, 219, 0.5) !important; /* Glow effect on hover */
}

/* Remove all animations and transforms from content */
body.page-id-3 .entry-content,
body.page-id-3 .pwds-privacy-page-wrapper,
body.page-id-3 .pwds-privacy-page-wrapper * {
  animation: none !important;
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
}

/* Styling for the Privacy Policy page content */
body.page-id-3 {
  background-color: #f9f9f9 !important;
}

body.page-id-3 .entry-content {
  background-color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  padding: 40px !important;
  margin-top: 120px !important;
  margin-bottom: 40px !important;
}

body.page-id-3 .pwds-privacy-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

body.page-id-3 .pwds-privacy-page-wrapper h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

body.page-id-3 .pwds-privacy-page-wrapper h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 15px;
}

body.page-id-3 .pwds-privacy-page-wrapper p {
  margin-bottom: 15px;
}

body.page-id-3 .pwds-privacy-page-wrapper strong {
  color: #2c3e50;
}

body.page-id-3 .pwds-privacy-page-wrapper ul {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style-type: none;
}

body.page-id-3 .pwds-privacy-page-wrapper li {
  margin-bottom: 10px;
}

body.page-id-3 .pwds-privacy-page-wrapper a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.page-id-3 .pwds-privacy-page-wrapper a:hover {
  color: #2980b9;
  text-decoration: underline;
}

body.page-id-3 .pwds-privacy-page-wrapper h2::before {
  content: "§";
  color: #3498db;
  margin-right: 10px;
  font-weight: normal;
}

body.page-id-3 .pwds-privacy-page-wrapper ul li::before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Override Astra's default styles */
body.page-id-3.ast-separate-container
  .ast-article-single:not(.ast-related-post),
body.page-id-3.ast-separate-container .error-404,
body.page-id-3.ast-separate-container .no-results,
body.page-id-3.single.ast-separate-container .ast-author-meta,
body.page-id-3.ast-separate-container .related-posts-title-wrapper,
body.page-id-3.ast-separate-container .comments-count-wrapper,
body.page-id-3.ast-box-layout.ast-plain-container .site-content,
body.page-id-3.ast-padded-layout.ast-plain-container .site-content,
body.page-id-3.ast-separate-container .ast-archive-description,
body.page-id-3.ast-separate-container .comments-area .comment-respond,
body.page-id-3.ast-separate-container .comments-area .ast-comment-list li,
body.page-id-3.ast-separate-container .comments-area .comments-title,
body.page-id-3.ast-separate-container .ast-article-post {
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  body.page-id-3 .entry-content {
    padding: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  body.page-id-3 .pwds-privacy-page-wrapper {
    padding: 0;
  }

  body.page-id-3 .pwds-privacy-page-wrapper h1 {
    font-size: 2rem;
  }

  body.page-id-3 .pwds-privacy-page-wrapper h2 {
    font-size: 1.5rem;
  }
}

/* MARK: pwds-terms-page */
/* Target the body of the Terms page using the page ID */

/* Header modifications for Terms page */
body.page-id-3818 .site-header {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 50%,
    rgba(80, 80, 80, 0.9) 50%,
    rgba(0, 0, 0, 0.85) 50%
  ) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 0 20px rgba(104, 120, 214, 0.3) !important;
}

body.page-id-3818 .main-header-bar,
body.page-id-3818 .ast-primary-header-bar,
body.page-id-3818 .ast-sticky-active {
  background-color: transparent !important; /* Ensure all header elements are transparent */
}

/* Adjust header text color for better visibility */
body.page-id-3818 .main-header-menu .menu-link,
body.page-id-3818 .ast-masthead-custom-menu-items a {
  color: #ffffff !important; /* White text for contrast */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3) !important; /* Subtle glow on text */
}

/* Hover effect for menu items */
body.page-id-3818 .main-header-menu .menu-link:hover,
body.page-id-3818 .ast-masthead-custom-menu-items a:hover {
  color: #3498db !important; /* Blue color on hover, adjust as needed */
  text-shadow: 0 0 8px rgba(52, 152, 219, 0.5) !important; /* Glow effect on hover */
}

/* Remove all animations and transforms from content */
body.page-id-3818 .entry-content,
body.page-id-3818 .pwds-terms-page-wrapper,
body.page-id-3818 .pwds-terms-page-wrapper * {
  animation: none !important;
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
}

body.page-id-3818 .main-header-bar {
  background-color: #ffffff !important;
}

body.page-id-3818 .ast-primary-header-bar {
  background-color: #ffffff !important;
}

/* If you're using a sticky header, ensure it's also non-transparent */
body.page-id-3818 .ast-sticky-active {
  background-color: #ffffff !important;
}

/* Adjust header text color if needed */
body.page-id-3818 .main-header-menu .menu-link,
body.page-id-3818 .ast-masthead-custom-menu-items a {
  color: #333333 !important; /* Adjust this color as needed */
}

/* Override Astra's default styles */
body.page-id-3818.ast-separate-container
  .ast-article-single:not(.ast-related-post),
body.page-id-3818.ast-separate-container .error-404,
body.page-id-3818.ast-separate-container .no-results,
body.page-id-3818.single.ast-separate-container .ast-author-meta,
body.page-id-3818.ast-separate-container .related-posts-title-wrapper,
body.page-id-3818.ast-separate-container .comments-count-wrapper,
body.page-id-3818.ast-box-layout.ast-plain-container .site-content,
body.page-id-3818.ast-padded-layout.ast-plain-container .site-content,
body.page-id-3818.ast-separate-container .ast-archive-description,
body.page-id-3818.ast-separate-container .comments-area .comment-respond,
body.page-id-3818.ast-separate-container .comments-area .ast-comment-list li,
body.page-id-3818.ast-separate-container .comments-area .comments-title,
body.page-id-3818.ast-separate-container .ast-article-post {
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Terms and Conditions Page Styles */
body.page-id-3818 {
  background-color: #f9f9f9 !important;
}

body.page-id-3818 .entry-content {
  background-color: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  padding: 40px !important;
  margin-top: 120px !important;
  margin-bottom: 40px !important;
}

body.page-id-3818 .pwds-terms-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

body.page-id-3818 .pwds-terms-page-wrapper h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

body.page-id-3818 .pwds-terms-page-wrapper h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 15px;
}

body.page-id-3818 .pwds-terms-page-wrapper p {
  margin-bottom: 15px;
}

body.page-id-3818 .pwds-terms-page-wrapper strong {
  color: #2c3e50;
}

body.page-id-3818 .pwds-terms-page-wrapper ul {
  padding-left: 20px;
  margin-bottom: 15px;
  list-style-type: none;
}

body.page-id-3818 .pwds-terms-page-wrapper li {
  margin-bottom: 10px;
}

body.page-id-3818 .pwds-terms-page-wrapper a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

body.page-id-3818 .pwds-terms-page-wrapper a:hover {
  color: #2980b9;
  text-decoration: underline;
}

body.page-id-3818 .pwds-terms-page-wrapper h2::before {
  content: "§";
  color: #3498db;
  margin-right: 10px;
  font-weight: normal;
}

body.page-id-3818 .pwds-terms-page-wrapper ul li::before {
  content: "•";
  color: #3498db;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body.page-id-3818 .entry-content {
    padding: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  body.page-id-3818 .pwds-terms-page-wrapper {
    padding: 0;
  }

  body.page-id-3818 .pwds-terms-page-wrapper h1 {
    font-size: 2rem;
  }

  body.page-id-3818 .pwds-terms-page-wrapper h2 {
    font-size: 1.5rem;
  }
}
/* MARK: pwds-contact-page form
==================================== */

/* Hide the default reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden;
}

/* Custom reCAPTCHA container */
#custom-recaptcha-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px; /* Adjust this as needed */
}

/* Make the reCAPTCHA widget visible and reposition it */
#custom-recaptcha-container .grecaptcha-badge {
  visibility: visible;
  position: static !important; /* Override the default fixed position */
  width: auto; /* Adjust width if needed */
  height: auto; /* Adjust height if needed */
}

/* Target the footer on the contact page */
body.page-id-1494 .site-footer {
  background: transparent; /* Or any color that matches your contact page background */
}

/* Hide the CTA section in the footer on the contact page */
body.page-id-1494 .site-footer .cta-section {
  display: none !important;
}

/* If you need to adjust spacing after removing the CTA */
body.page-id-1494 .site-footer .main-footer-content {
  padding-top: 40px; /* Adjust as needed */
}

body.page-id-1494 {
  background: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background-main-spotlight.png"),
    linear-gradient(135deg, #000341 0%, #000000 100%) no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.uagb-block-83395b01 {
  background: transparent; /* Remove background from this element */
  overflow: visible;
}

/* Ensure content inside .uagb-block-83395b01 is positioned correctly */
.uagb-block-83395b01 .uagb-container-inner-blocks-wrap {
  position: relative;
  z-index: 1;
}

/* Optional: Add a subtle overlay to enhance text readability if needed */
body.page-id-1494::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  z-index: 0;
}

.pwds-contact-page-wrapper {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 150px;
}

.pwds-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pwds-contact-content {
  padding-top: 15px;
}

.pwds-contact-content h2 {
  font-size: 2.5rem;
  margin: 0 0 20px 0;
  color: white; /* Lighter shade for better visibility */
}

.pwds-contact-content p {
  font-size: 1.1rem;
  margin: 0 0 20px 0;
}

.pwds-contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
}

.pwds-contact-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 15px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  min-width: 0; /* Remove min-width constraint */
}

.pwds-contact-info a i {
  margin-right: 10px;
  font-size: 1.2em;
}

.pwds-contact-info a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.pwds-contact-info .email-btn {
  background-color: rgba(104, 120, 214, 0.5);
  flex: 2;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow */
  text-overflow: ellipsis; /* Add ellipsis if text overflows */
  text-align: center; /* Ensure text is centered */
  min-width: 200px; /* Adjust min-width to fit the text */
}

.pwds-contact-info .email-btn i {
  margin-right: 5px; /* Adjust the space between the icon and text */
}

.pwds-contact-info .email-btn:hover {
  background-color: rgba(104, 120, 214, 0.7);
}

.pwds-contact-info .book-call-btn {
  background-color: rgba(160, 176, 255, 0.5);
  flex: 1;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Ensure no overflow */
  text-overflow: ellipsis; /* Add ellipsis if the text overflows */
  text-align: center; /* Ensure text is centered */
  min-width: 150px; /* Adjust min-width to fit the text */
}

.pwds-contact-info .book-call-btn i {
  margin-right: 5px; /* Adjust the spacing between the icon and text */
}

.pwds-contact-info .book-call-btn:hover {
  background-color: rgba(160, 176, 255, 0.7);
}

.pwds-form-container {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.pwds-form-header {
  background-color: #6878d6;
  color: white !important;
  padding: 15px 20px;
  margin: 0;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
}

.pwds-contact-form {
  padding: 20px;
}

.pwds-contact-form label {
  display: block;
  margin: 10px 0 5px 0;
  padding: 0;
  font-weight: 600;
  color: #ffffff;
}

.pwds-contact-form input,
.pwds-contact-form select,
.pwds-contact-form textarea {
  width: 100%;
  margin: 0 0 15px 0;
  padding: 10px;
  border: 1px solid #6878d6;
  border-radius: 20px;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.pwds-contact-form input[type="submit"] {
  background-color: #6878d6;
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background-color 0.3s;
}

.pwds-contact-form input[type="submit"]:hover {
  background-color: #5668c6;
}

.pwds-required:after {
  content: " *";
  color: #a0b0ff; /* Lighter shade for better visibility */
}

.pwds-service-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 15px 0;
}

.pwds-service-buttons label {
  flex: 1 0 calc(50% - 5px);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  margin: 0;
  border-radius: 25px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
}

.pwds-service-buttons input[type="checkbox"] {
  display: none;
}

.pwds-service-buttons input[type="checkbox"]:checked + label {
  background-color: #6878d6;
  color: white;
}

.pwds-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  color: #ffffff; /* Keeps the select text white when closed */
}

/* Style for dropdown options */
.pwds-contact-form select option {
  background-color: #ffffff; /* White background for dropdown */
  color: #000000; /* Black text for readability */
}

/* Style for select when opened (if supported by the browser) */
.pwds-contact-form select:focus {
  background-color: #ffffff;
  color: #000000;
}

@media (max-width: 768px) {
  .pwds-contact-grid {
    grid-template-columns: 1fr;
  }
  .pwds-contact-content {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .pwds-contact-info {
    flex-direction: column;
  }

  .pwds-contact-info a {
    width: 100%;
  }

  /* Reset flex properties for mobile view */
  .pwds-contact-info .email-btn,
  .pwds-contact-info .book-call-btn {
    flex: none;
  }
}

/* Animation classes */
.grid-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.grid-item.fade-in-right {
  animation: fadeInRight 1s ease-out forwards;
}

.grid-item.fade-in-top {
  animation: fadeInTop 1s ease-out forwards;
}

.grid-item.fade-in-left {
  animation: fadeInLeft 1s ease-out forwards;
}

.grid-item.fade-in-bottom {
  animation: fadeInBottom 1s ease-out forwards;
}

/* MARK: Header styles */
/* ==================== HEADER STYLES ==================== */

/*TODO: make this section cross-browser compatible */
.site-header {
  position: absolute;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Updated logo styles */
.site-logo {
  display: flex;
  align-items: center;
}

.site-logo .custom-logo-link {
  display: block;
  width: 250px; /* Fixed width */
  height: 70px; /* Fixed height */
}

.site-logo .custom-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-logo .site-title {
  font-size: 3.125rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}
/* Navigation styles */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation .nav-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-navigation .nav-menu li {
  margin-left: 20px;
}

/* Apply styles to all nav items except the last one */
.main-navigation .nav-menu li:not(:last-child) a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 2px 0;
}

.main-navigation .nav-menu li:not(:last-child) a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #7c89ff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.main-navigation .nav-menu li:not(:last-child) a:hover {
  transform: translateY(-2px) scale(1.01);
}

.main-navigation .nav-menu li:not(:last-child) a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Styles for the "Book a Call" button in the navigation */
.main-navigation .nav-menu .nav-button-wrapper {
  margin-left: 20px;
}

.main-navigation .nav-menu .nav-button-wrapper .book-call-btn {
  white-space: nowrap;
}

/* Hamburger menu styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.hamburger-icon {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  position: relative;
  transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  position: absolute;
  transition: transform 0.3s ease;
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Book a Call button styles */
.book-call-btn,
.ast-header-button-1 .ast-custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(
    135deg,
    #5868c6,
    #7888e6,
    #6878d6,
    #8898f6,
    #5868c6
  );
  background-size: 400% 400%;
  border-radius: 5px !important;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
  height: auto;
  width: auto;
  min-width: 150px;
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
}

.book-call-btn:hover,
.ast-header-button-1 .ast-custom-button:hover {
  color: #fff !important;
  animation: gradientShift 6s linear infinite;
}

.book-call-btn .arrow-container,
.ast-header-button-1 .ast-custom-button .arrow-container {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  margin-left: 10px;
  display: inline-block;
}

.book-call-btn .arrow,
.book-call-btn .arrow-incoming,
.ast-header-button-1 .ast-custom-button .arrow,
.ast-header-button-1 .ast-custom-button .arrow-incoming {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.book-call-btn .arrow-incoming,
.ast-header-button-1 .ast-custom-button .arrow-incoming {
  transform: translateX(-150%);
}

.book-call-btn:hover .arrow,
.ast-header-button-1 .ast-custom-button:hover .arrow {
  transform: translateX(150%);
}

.book-call-btn:hover .arrow-incoming,
.ast-header-button-1 .ast-custom-button:hover .arrow-incoming {
  transform: translateX(0);
}

/* MARK: Mobile Navigation Adjustments */
/* ==================== MOBILE NAVIGATION ADJUSTMENTS ==================== */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  header .custom-logo-link img,
  .ast-header-break-point .site-branding img,
  .ast-header-break-point .custom-logo-link img {
    max-width: 100%;
    width: 100% !important;
  }
  .site-logo .custom-logo-link {
    width: 250px; /* Slightly smaller fixed width for mobile */
    height: 70px; /* Adjusted height to maintain aspect ratio */
  }

  .menu-toggle {
    display: block;
    order: 3;
  }
  .main-navigation .nav-menu li:not(:last-child) a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #7c89ff;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
  }
  .main-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .main-navigation.toggled {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    visibility: visible;
  }

  .main-navigation .nav-menu {
    all: unset;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-top: 150px !important;
    align-items: left;
    overflow: hidden;
  }

  .main-navigation .nav-menu li {
    margin: 10px 0;
  }
  .main-navigation .nav-menu li:not(:last-child) a::after {
    bottom: -5px;
  }
  .main-navigation .nav-menu a {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
  }

  .main-navigation .nav-menu a:hover {
    color: #7c89ff;
  }

  #mobile-book-call-btn {
    margin-top: auto;
    box-sizing: border-box;
    text-align: center;
    position: sticky;
    bottom: 20px;
    font-size: 1.25rem;
  }

  .ast-header-button-1 .ast-custom-button {
    display: none;
  }
}

/* Overlay styles */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.menu-overlay.toggled {
  opacity: 1;
  visibility: visible;
}

.main-navigation.toggled {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
  padding: 0 20px;
  border-bottom-width: 0px !important;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation {
    display: flex !important;
  }

  .main-navigation .nav-menu {
    display: flex !important;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* // MARK: Hero Section
/* ==================== HERO SECTION ==================== */

.uagb-block-0510ccec {
  background: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background-main-spotlight.png"),
    radial-gradient(circle, #000341 0%, #000000 100%) no-repeat;
  background-size: 100%; /* Set initial size */
  background-position: center; /* Center background */
  overflow: hidden; /* Ensure no overflow */
  transition: background-size 2s ease-in-out; /* Smooth transition for background size */
  will-change: background-size; /* Hint to the browser that background-size will change */
}

/* Additional adjustment to ensure centering at any width */

/* Specific adjustments for the hero section container */
.uagb-block-0510ccec .uagb-container-inner-blocks-wrap {
  max-width: 100% !important; /* Ensure full width is utilized */
  margin: 0 auto !important; /* Center the container */
  padding: 0 20px !important; /* Add padding to prevent content from touching the edges */
  display: flex !important;
  justify-content: center !important; /* Center the content horizontally */
}

.hero-section .description.uagb-desc-text {
  max-width: 500px;
  margin: 15px auto;
  text-align: center;
}

.hero-section {
  position: relative;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  visibility: visible; /* Hide until JavaScript reveals it */
  overflow: hidden;
  z-index: 2;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/background-circle-center-full.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1; /* Full opacity */
  filter: opacity(15%); /* This will make the image barely visible */
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
  animation-delay: 1s;
}

.title-wrap h1 {
  color: #fff;
}

.highlight {
  background-color: transparent;
  color: #6878d6;
}

.hero-images {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 400px;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 2s;
}

.hero-image {
  position: relative;
  width: 300px;
  height: 300px;
}

.hero-image .circle {
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 200s linear infinite;
  z-index: 0;
}

.hero-image .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.hero-section .book-call-btn {
  animation: fadeIn 3s forwards;
  animation-delay: 2s;
}

.hero-section .book-call-btn:hover {
  background-position: 100% 50%;
  transform: scale(1.05);
}

.hero-section.visible {
  visibility: visible; /* Show when JavaScript applies this class */
}

/* // MARK: 4 Steps Section
/* ==================== 4 STEP PROCESS ==================== */

.uagb-block-d366d4c9 {
  background-image: radial-gradient(
      circle,
      rgba(239, 242, 255, 0.7) 95%,
      rgba(239, 242, 255, 0) 70%
    ),
    url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/background-custom4.png");
  background-repeat: repeat;
  background-size: cover;
  background-position: center;
}

.uagb-block-bf29584d .uagb-heading-text em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 700;
  z-index: 4;
}

/* Centering the 4-step process title and description */
.steps-header {
  max-width: 800px; /* Limit the width to match other h2 elements */
  margin: 0 auto; /* Center the header container */
  text-align: center; /* Center text inside the header */
}

.steps-header h2 {
  font-size: 2rem; /* Adjust font size as needed */
  margin-bottom: 10px; /* Space between the title and the description */
}

.steps-header p {
  font-size: 1.25rem; /* Adjust the size of the description text */
}

.card-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
}

.card {
  width: 280px;
  height: 380px;
  background-color: #fcfcfc;
  border-radius: 10px;
  margin-right: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(5deg) translateY(50px); /* Increase translateY for more noticeable start */
  opacity: 0 !important; /* Fully transparent initially with !important */
  transition: transform 1s ease, opacity 1s ease; /* Slower transition duration */
}

.card.animate-in {
  opacity: 1 !important; /* Fully visible with !important */
  transform: perspective(1000px) rotateY(0deg) translateY(0); /* Move to final position */
}

.card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.card-number {
  position: absolute;
  top: 40px;
  left: -45px;
  font-size: 10rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.03);
  z-index: 6;
}

.card-content {
  padding: 15px;
  position: relative;
  z-index: 6;
  transition: transform 0.3s ease;
}

.card-icon {
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.card-title {
  font-size: 1.5rem !important;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.card-title span {
  display: block;
  font-weight: normal;
  font-style: italic;
  color: #666;
  font-size: 1.4rem;
  font-family: "Libre Baskerville", serif;
}

.card:hover .card-icon {
  transform: translateY(-5px);
}

.card:hover .card-title {
  transform: translateY(5px);
}

.graph-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 4;
  pointer-events: none;
}

.bar {
  width: 25%;
  background-color: #6878d6;
  transition: height 0.3s ease-in;
  height: 0;
  opacity: 0.7;
}

.card:hover .bar1 {
  height: 100%;
  transition-delay: 0s;
}
.card:hover .bar2 {
  height: 100%;
  transition-delay: 0.1s;
}
.card:hover .bar3 {
  height: 100%;
  transition-delay: 0.2s;
}
.card:hover .bar4 {
  height: 100%;
  transition-delay: 0.3s;
}

.card .bar1 {
  transition-delay: 0.3s;
}
.card .bar2 {
  transition-delay: 0.2s;
}
.card .bar3 {
  transition-delay: 0.1s;
}
.card .bar4 {
  transition-delay: 0s;
}

.card dotlottie-player:not(.small-animation) {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  z-index: 5;
  pointer-events: none;
}

.card .small-animation {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 60px;
  height: 60px;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .small-animation {
  opacity: 1;
  transform: scale(1);
}

/* Doubled Staggered Margins for 4-Step Process Cards */
.card-container .card:nth-child(1) {
  margin-top: 0; /* Normal position for the first card */
}

.card-container .card:nth-child(2) {
  margin-top: 60px; /* Twice the previous margin for more stagger */
}

.card-container .card:nth-child(3) {
  margin-top: 120px; /* Twice the previous margin for more stagger */
}

.card-container .card:nth-child(4) {
  margin-top: 20px; /* Slightly lower than the first card, but doubled */
}

/* Ensure spacing between the cards */
.card-container .card {
  margin-right: 20px; /* Keep space between cards */
}

.card-container .card:last-child {
  margin-right: 0; /* No margin for the last card */
}

/* // MARK: Video Section
/* ==================== VIDEO SECTION ==================== */

.video-section {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin-top: -220px; /* To ensure no gap with the previous section */
  transition: margin-top 0.5s ease-in-out, margin-bottom 0.5s ease-in-out;
}

.animated-text {
  width: 100%;
  text-align: center;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.5s ease;
  opacity: 0; /* Initially hidden */
  transform: translateY(20px);
}

.animated-text em {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-weight: 700;
}

.video-container {
  width: 100%;
  max-width: 100%;
  height: 100%;
  position: relative;
  transition: max-width 0.5s ease, width 0.5s ease, height 0.5s ease,
    transform 0.5s ease;
}

.fake-monitor {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  transition: all 0.5s ease;
  height: 100%;
}

#promo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

/* Scrolled state styles */
.video-container.scrolled {
  width: 100%;
  max-width: 1200px; /* Ensure the container does not exceed 1200px */
  padding: 0 40px; /* Maintain padding to create margins */
  height: 50%;
}

.fake-monitor.scrolled {
  background-color: #333;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateX(5deg);
}

#promo-video.scrolled {
  object-fit: contain;
}

.animated-text.scrolled {
  opacity: 1;
  transform: translateY(0);
}

.video-section.scrolled {
  margin-top: 0;
  justify-content: center;
  padding-bottom: 20px;
}

/* // MARK: Success section
/* ==================== Success stories ==================== */

.success-stories-section {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 40px;
  gap: 20px;
  margin: 20px;
}

.success-story-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  transform: translateY(50px);
  filter: opacity(0);
  transition: transform 1s ease, filter 1s ease;
}

.success-story-card.animate-in {
  transform: translateY(0);
  filter: opacity(1);
}

.success-story-image-wrapper {
  position: relative;
  background-color: inherit;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 5px; /* Add padding to the sides to create the margin */
}

.success-story-image-inner-wrap {
  width: calc(100% - 40px); /* Account for the padding in the width */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.success-story-image {
  max-width: 100%; /* Ensure the image respects the container's width */
  max-height: 60vh; /* Set a consistent max-height */
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
}

.success-story-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.success-story-tag {
  background-color: #f0f0f0;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.875rem;
  margin: 8px;
}

.success-story-bottom-wrap {
  padding: 20px;
}

.success-story-description {
  font-size: 1rem;
  color: #666;
}

.success-story-icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  border-radius: 50%;
}

.success-story-icon-svg {
  width: 16px;
  height: 16px;
  color: #333;
}

.button-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.check-out-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px; /* Increased padding for a bigger button */
  text-decoration: none;
  color: #000; /* Black text */
  background: linear-gradient(
    135deg,
    #ffffff,
    #f9f9f9,
    #fdfdfd,
    #ffffff,
    #f9f9f9
  ); /* Lighter white gradient */
  background-size: 400% 400%;
  border-radius: 5px !important;
  transition: all 1s ease;
  border: none;
  font-size: 1.125rem; /* Increased font size */
  line-height: 1.5;
  height: 55px; /* Increased height */
  width: auto;
  margin: 2rem;
  min-width: 180px; /* Increased minimum width */
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Added drop shadow */
}

.check-out-button:hover {
  background-position: 100% 50%;
  transform: scale(1.08); /* Slightly increased scale on hover */
  color: #000; /* Keep text black on hover */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover */
}

.check-out-button .arrow-container {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  margin-left: 10px;
  display: inline-block;
}

.check-out-button .arrow,
.check-out-button .arrow-incoming {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.check-out-button .arrow-incoming {
  transform: translateX(-150%);
}

.check-out-button:hover .arrow {
  transform: translateX(150%);
}

.check-out-button:hover .arrow-incoming {
  transform: translateX(0);
}

/* // MARK: Lets Talk Section
/* ==================== LET'S TALK SECTION ==================== */
.wp-block-ua.uagb-block-2680a5ad {
  overflow: hidden;
}

.lets-talk-section {
  position: relative;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.lets-talk-section::before {
  content: "";
  position: absolute;
  top: -6rem;
  left: -20rem;
  width: 80vh;
  height: 80vh;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/prowebdevsoluitions-logo-greyed-transparent.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
  overflow: hidden;
}

.lets-talk-heading,
.lets-talk-subheading,
.book-call-btn,
.client-logos {
  position: relative;
  z-index: 1;
}

.lets-talk-section h2 {
  color: #fff;
  text-align: center;
}

.lets-talk-heading {
  font-size: 2em;
  margin-bottom: 20px;
  color: #fff;
}

.lets-talk-subheading {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #fff;
}

.client-logos {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.client-logo {
  max-height: 50px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
}

/* // MARK: Services Section
/* ==================== Services Section with Grid ==================== */

.uagb-block-7b830887 {
  background: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background-main-spotlight.png"),
    radial-gradient(circle, #000341 0%, #000000 100%) no-repeat;
  background-size: 100%; /* Set initial size */
  background-position: center; /* Center background */
  overflow: hidden; /* Ensure no overflow */
  transition: background-size 2s ease-in-out; /* Smooth transition for background size */
  will-change: background-size; /* Hint to the browser that background-size will change */
}
/* Intro Section Styles */

.services-intro {
  position: relative;
  text-align: center;
  padding: 100px 50px;
}

.services-intro-background {
  position: absolute;
  top: 20;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: 100%;
  height: 100%;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/background-circle-top-half.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 1; /* Full opacity */
  filter: opacity(20%); /* This will make the image barely visible */
  overflow: visible !important;
}

.services-intro-title,
.services-intro-description {
  position: relative;
  z-index: 1; /* Ensure the text is above the background */
  color: #fff !important; /* Adjust text color if necessary for contrast */
}

.services-intro-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services-intro-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Section Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.services-grid .grid-item {
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(103, 115, 228, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  color: #ffffff;
  background-size: cover;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
  border: 1px solid transparent;
  z-index: 0;
}

/* Specific background images for grid items */
.grid-item.large.two-column {
  --clr: #6878d6;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background2.png");
}

.grid-item.small {
  --clr: #6878d6;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background4.png");
}

.grid-item.full-width.two-column {
  --clr: #6878d6;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background3.png");
}

.grid-item.large {
  --clr: #6878d6;
  background-image: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background6.png");
}

.services-grid .grid-item::before {
  content: "";
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    hsla(231, 49%, 56%, 0.26),
    transparent,
    transparent
  );
  width: 400px; /* Reduced size of the gradient */
  height: 400px;
  opacity: 0;
  transition: 1s, top 0s, left 0s;
}

.services-grid .grid-item:hover::before {
  opacity: 1;
}

.services-grid .grid-item::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

.grid-item.large {
  grid-column: span 8;
  z-index: 3;
}

.grid-item.small {
  grid-column: span 4;
  z-index: 3;
}

.grid-item.full-width {
  grid-column: span 12;
  z-index: 3;
}

.grid-item.two-column {
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 3;
}

.grid-item.two-column .text-container {
  flex: 1;
  padding-right: 20px;
  z-index: 3;
}

.grid-item.two-column .image-container {
  flex: 1;
  position: relative;
  z-index: 3;
}

.text-container {
  margin-bottom: 20px;
  color: #ffffff;
  z-index: 3;
}

.image-container {
  text-align: center;
  position: relative;
  z-index: 3;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 3;
}

.services-section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff !important;
  z-index: 3;
}

.services-section-paragraph {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #ffffff;
  z-index: 3;
}

.services-section-list {
  list-style: none; /* Remove default list styles */
  padding: 0;
  margin: 0;
}

.services-section-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Space between list items */
}

.services-section-list .list-icon {
  width: 20px; /* Set the desired width for the icon */
  height: 20px; /* Set the desired height for the icon */
  margin-right: 10px; /* Space between the icon and text */
  object-fit: contain; /* Ensure the icon fits within the set dimensions */
}

/* New styles for full-width two-column layout */
.grid-item.full-width.two-column .text-container {
  flex: 2;
}

.grid-item.full-width.two-column .image-container {
  flex: 1;
}

/* Services Section Book a Call Button */
.services-book-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #000;
  background: linear-gradient(90deg, #fff 50%, #d8d8d8 100%);
  background-size: 400% 400%;
  border-radius: 5px !important;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  line-height: 1.5;
  height: 45px;
  width: auto;
  min-width: 150px;
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
  position: relative;
  overflow: hidden;
}

.services-book-call-btn:hover {
  color: #000;
  animation: gradientShift 6s linear infinite;
  box-shadow: inset 0 0 20px 5px rgba(173, 216, 230, 0.5),
    /* Inner "reverse drop shadow" */ 0 8px 15px rgba(173, 216, 230, 0.5); /* Outer drop shadow */
}

.services-book-call-btn .arrow-container {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  margin-left: 10px;
  display: inline-block;
}

.services-book-call-btn .arrow,
.services-book-call-btn .arrow-incoming {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

.services-book-call-btn .arrow-incoming {
  transform: translateX(-150%);
}

.services-book-call-btn:hover .arrow {
  transform: translateX(150%);
}

.services-book-call-btn:hover .arrow-incoming {
  transform: translateX(0);
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* // MARK: FAQ Section
/* ==================== FAQ SECTION ==================== */
.faq-section {
  padding: 50px 20px;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  flex-wrap: wrap; /* Allow wrapping of columns */
}

.faq-left-column {
  flex: 1;
  max-width: 400px;
}

.faq-right-column {
  flex: 1;
}

.faq-container h2 {
  margin-bottom: 20px;
}

.faq-description {
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-title {
  background: #fff;
  color: #3a3a3a;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  cursor: pointer;
  font-size: 1.125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: capitalize;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

.faq-title:hover,
.faq-title:active,
.faq-title:focus {
  background: #e9e9e9;
  color: #3a3a3a;
}

.faq-icon {
  font-size: 1.5rem;
}

.faq-content {
  padding: 15px;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 1000px;
  opacity: 1;
}

/* // MARK: cta section
/* ==================== CTA SECTION ==================== */

.cta-section {
  position: relative;
  padding: 50px 20px; /* Adjust padding as needed */
  overflow: hidden; /* Hide overflow to ensure no unwanted scrollbars */
  border-radius: 8px; /* Rounded corners */
  transition: background-size 2s ease-in-out; /* Smooth transition for background size */
  will-change: background-size; /* Hint to the browser that background-size will change */
  max-width: 600px; /* Max width */
  margin-right: auto;
  color: #fff; /* Adjust text color for contrast */
  text-align: left; /* Align text to the left */
}

.cta-section h3 {
  margin-bottom: 15px !important;
  font-weight: bold;
  font-size: 1.75rem; /* Adjust size as needed */
  line-height: 1.4; /* Improve readability */
  color: #fff;
}

/* Ensure the button is aligned to the left */
.cta-section .book-call-btn {
  margin-top: 20px;
}

/* // MARK: Footer section
/* ==================== FOOTER SECTION ==================== */

/* Footer Styles with Background Gradient and Spotlight Animation */
.site-footer {
  background: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background-main-spotlight-flipped.png"),
    radial-gradient(circle, #000341 0%, #000000 100%) no-repeat;
  background-size: 100%; /* Set initial size */
  background-position: center; /* Center background */
  overflow: hidden; /* Ensure no overflow */
  transition: background-size 2s ease-in-out; /* Smooth transition for background size */
  will-change: background-size; /* Hint to the browser that background-size will change */
  color: #fff; /* Ensure text color contrasts well with the background */
}

.site-footer a {
  color: #ffffff; /* Ensure footer links are visible */
  text-decoration: none;
}

/* Apply underline on hover for all footer links except those with the class 'book-call-btn' */
.site-footer a:not(.book-call-btn):hover {
  text-decoration: underline;
}

.site-footer .footer-widget-area,
.site-footer .site-info {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center; /* Center text in the footer */
}

/* Remove the top border from the Astra footer */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  border-top-width: 0px !important; /* Remove the top border */
}

/* ==================== MEDIA QUERIES ==================== */
/*  MARK: Media Queries 

/* ====== Tablet Media Queries (max-width: 1024px) ====== */
@media (max-width: 1024px) {
  .site-footer {
    background: url("https://prowebdevsolutions.com/wp-content/uploads/2024/08/gradient-background-main-spotlight-flipped.png"),
      radial-gradient(circle, #000341 0%, #000000 100%) no-repeat !important;
    background-size: 100%; /* Set initial size */
    background-position: center; /* Center background */
    overflow: hidden; /* Ensure no overflow */
    transition: background-size 2s ease-in-out; /* Smooth transition for background size */
    will-change: background-size; /* Hint to the browser that background-size will change */
    color: #fff; /* Ensure text color contrasts well with the background */
  }

  h2 {
    max-width: 600px !important; /* Adjust this value for tablets */
  }

  h1 {
    font-size: 3rem !important; /* Slightly smaller for tablet */
    margin-bottom: 20px;
  }
  .hero-section .description.uagb-desc-text {
    max-width: 350px;
    text-align: center;
  }

  .hero-section::before {
    background-size: 160%; /* Increase the size of the background image */
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    margin: 0 auto;
    width: 100%;
  }

  .hero-content {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px; /* Add space below the text */
  }

  .hero-images {
    order: 2; /* Move images below the text */
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 350px; /* Ensure images are evenly spaced */
  }

  .hero-image {
    position: relative;
    width: 200px; /* Scale down images for tablet */
    height: 200px;
  }

  .hero-image .circle {
    top: 50%;
    left: 50%;
    width: 200px; /* Scale down the circle */
    height: 200px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 200s linear infinite;
    z-index: 0;
  }

  .hero-image .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px; /* Scale down the icon */
    height: 100px;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .card-container .card:nth-child(1) {
    margin-top: 0; /* Normal position for the first card */
  }

  .card-container .card:nth-child(2) {
    margin-top: 30px; /* Slightly lower than the first card */
  }

  .card-container .card:nth-child(3) {
    margin-top: 60px; /* Lower than the second card */
  }

  .card-container .card:nth-child(4) {
    margin-top: 90px; /* Progressively lower than the third card */
  }

  /* Ensure spacing between the cards */
  .card-container .card {
    margin-right: 20px; /* Keep space between cards */
  }

  .card-container .card:last-child {
    margin-right: 0; /* No margin for the last card */
  }
  .video-section {
    margin-top: -150px; /* Reduce the negative margin */
  }

  .video-container {
    height: auto; /* Adjust height to fit content */
    max-width: 100%; /* Ensure full width on tablet */
  }

  .video-container.scrolled {
    width: 100%; /* Ensure full width in scrolled state */
    max-width: 100%; /* Maintain responsiveness */
    padding: 0 40px; /* Maintain padding for margins */
    height: auto; /* Adjust height based on content */
  }

  #promo-video {
    width: 100%; /* Ensure video scales with container */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
  }

  .fake-monitor.scrolled {
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  .animated-text {
    font-size: 1.375rem; /* Slightly smaller font size for tablets */
  }

  /* Success stories section adjustments */
  .success-stories-section {
    max-width: 90%; /* Restrict the width of the section */
    margin: 0 auto; /* Center the section */
  }

  .services-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .grid-item.large,
  .grid-item.small,
  .grid-item.full-width {
    grid-column: span 8; /* Make each item span full width */
  }

  .grid-item.two-column {
    flex-direction: column; /* Stack text and image vertically */
  }

  .grid-item.two-column .text-container {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .faq-container {
    flex-direction: column; /* Stack the columns vertically */
    gap: 20px; /* Reduce the gap between the stacked columns */
  }

  .faq-left-column,
  .faq-right-column {
    max-width: 100%; /* Make columns take up full width */
    flex: none; /* Prevent flex-grow to allow columns to be equal in size */
    text-align: center; /* Center the text inside the column */
  }

  /* Ensure elements inside faq-left-column are centered */
  .faq-left-column h2,
  .faq-left-column p,
  .faq-left-column {
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center the text */
  }

  .faq-left-column {
    display: inline-block; /* Ensure the button size remains consistent */
  }
}

/* ====== Mobile Media Queries (max-width: 800px) ====== */
@media (max-width: 800px) {
  /* Additional adjustment to ensure centering at any width */

  /* Specific adjustments for the hero section container */
  .uagb-block-0510ccec .uagb-container-inner-blocks-wrap {
    max-width: 100% !important; /* Ensure full width is utilized */
    margin: 0 auto !important; /* Center the container */
    padding: 0 20px !important; /* Add padding to prevent content from touching the edges */
    display: flex !important;
    justify-content: center !important; /* Center the content horizontally */
  }

  h1 {
    font-size: 2.5rem !important; /* Smaller font size for mobile */
    margin-bottom: 15px;
  }

  h2 {
    font-size: 2rem !important; /* Smaller font size for mobile */
    max-width: 90% !important; /* Use percentage for better responsiveness on mobile */
  }

  .hero-section::before {
    background-size: 180%; /* Increase the size of the background image */
  }

  .hero-content {
    margin-bottom: 20px;
  }

  .book-call-btn {
    order: 1;
    margin-bottom: 20px;
  }

  .hero-images {
    order: 2; /* Move images below the text */
    position: static;
    display: flex;
    justify-content: center;
    gap: 120px !important;
    margin-top: -120px !important;
    transform: none;
    opacity: 1;
  }

  .hero-image {
    position: relative;
    width: 120px !important; /* Scale down images for mobile */
    height: 120px !important;
  }

  .hero-image .circle {
    top: 50%;
    left: 50%;
    width: 120px !important; /* Scale down the circle */
    height: 120px !important;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 200s linear infinite;
    z-index: 0;
  }

  .hero-image .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px !important; /* Scale down the icon */
    height: 60px !important;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .card-container {
    height: auto;
    padding: 20px 0;
    overflow: visible;
  }

  .card {
    width: 90%;
    max-width: 300px;
    margin: 0 auto 20px;
    position: sticky;
    top: 20px;
    z-index: 1;
    transition: transform 0.3s ease;
  }

  .card:nth-child(1) {
    z-index: 1;
  }

  .card:nth-child(2) {
    z-index: 2;
  }

  .card:nth-child(3) {
    z-index: 3;
  }

  .card:nth-child(4) {
    z-index: 4;
  }

  .card-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the cards horizontally */
    margin: 0 auto;
    padding: 20px 0; /* Adjust padding for mobile */
  }

  .card-container .card {
    width: 90%; /* Ensure cards take up most of the screen width */
    margin-right: 0; /* No right margin on mobile */
    margin-left: 0; /* Center the cards */
  }

  .card-container .card:nth-child(1) {
    margin-top: 0; /* Normal position for the first card */
  }

  .card-container .card:nth-child(2) {
    margin-top: 30px; /* Slightly lower than the first card */
  }

  .card-container .card:nth-child(3) {
    margin-top: 60px; /* Lower than the second card */
  }

  .card-container .card:nth-child(4) {
    margin-top: 90px; /* Progressively lower than the third card */
  }

  .video-section {
    margin-top: -220px; /* Further reduce the negative margin */
  }

  .video-container {
    height: auto; /* Adjust height to fit content */
    max-width: 100%; /* Ensure full width on mobile */
  }

  .video-container.scrolled {
    width: 100%; /* Ensure full width in scrolled state */
    max-width: 100%; /* Maintain responsiveness */
    padding: 0 20px; /* Maintain padding for margins */
    height: auto; /* Adjust height based on content */
  }

  #promo-video {
    width: 100%; /* Ensure video scales with container */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
  }

  .fake-monitor.scrolled {
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  }

  .animated-text {
    font-size: 1.25rem; /* Smaller font size for mobile */
  }

  .success-stories-grid {
    grid-template-columns: 1fr; /* Ensure single-column layout */
    gap: 20px; /* Reduce gap between cards */
  }

  .success-story-card {
    width: calc(100% - 40px); /* Respect the grid gap and margin */
    margin: 0 auto; /* Center the card within the grid */
  }

  .services-intro-background {
    top: 0; /* Adjust to prevent overflow into the previous section */
    transform: translateX(-50%) translateY(-20%); /* Modify transform for better positioning */
    height: 200%;
    width: 200%; /* Increase height to maintain visibility */
    background-size: contain; /* Adjust background size for mobile */
    background-position: center; /* Center background on mobile */
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-item.large,
  .grid-item.small,
  .grid-item.full-width {
    grid-column: span 4; /* Make each item span full width */
  }

  .grid-item.two-column {
    flex-direction: column; /* Stack text and image vertically */
  }

  .grid-item.two-column .text-container {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

/* Specific adjustments for 976px */
@media (max-width: 976px) {
  .uagb-block-0510ccec .uagb-container-inner-blocks-wrap {
    max-width: 100% !important; /* Ensure full width is utilized */
    margin: 0 auto !important; /* Center the container */
    padding: 0 20px !important; /* Add padding to prevent content from touching the edges */
    display: flex !important;
    justify-content: center !important; /* Center the content horizontally */
  }

  .hero-section::before {
    background-size: 250%; /* Increase the size of the background image */
  }

  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%; /* Ensure the section takes full width */
    overflow: visible;
  }

  .hero-content {
    max-width: 600px; /* Restrict max width to keep it centered */
    margin: 0 auto; /* Center the content */
    margin-bottom: 20px; /* Add space below the text */
  }

  .hero-images {
    order: 2; /* Move images below the text */
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 350px; /* Ensure images are evenly spaced */
  }

  .hero-image {
    position: relative;
    width: 200px; /* Scale down images for 976px */
    height: 200px;
  }

  .hero-image .circle {
    top: 50%;
    left: 50%;
    width: 200px; /* Scale down the circle */
    height: 200px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 200s linear infinite;
    z-index: 0;
  }

  .hero-image .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px; /* Scale down the icon */
    height: 100px;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
}

/* Additional adjustment to ensure centering at any width */
@media (min-width: 977px) {
  /* Specific adjustments for the hero section container */
  .uagb-block-0510ccec .uagb-container-inner-blocks-wrap {
    max-width: 100% !important; /* Ensure full width is utilized */
    margin: 0 auto !important; /* Center the container */
    padding: 0 20px !important; /* Add padding to prevent content from touching the edges */
    display: flex !important;
    justify-content: center !important; /* Center the content horizontally */
  }
}
