/* Add these at the very top of the file */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.page-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Update header section */
.header-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  background-color: #f9f9f9;
  width: 100%;
}

.header-section .container {
  width: 90%;
  max-width: 1200px;
}

/* Update all section containers */
.container,
.key-benefits-section,
.how-pingbix-hubspot-section,
.platform-slider,
.documentation-section {
  width: 100%;
  box-sizing: border-box;
}

/* Update benefit container */
.benefit-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Update how-pingbix section */
.how-pingbix-hubspot-section {
  margin-top: 60px;
  width: 100%;
}

.how-pingbix-hubspot-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Header Section Specific Styles */
.header-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  background-color: #f9f9f9;
  width: 100%;
  overflow: hidden;
}

.header-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  overflow: hidden;
}

.header-section .row1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
}
.header-section .row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.header-section .col-left,
.header-section .col-right {
  flex: 1; /* Both columns take equal space */
}

.header-section .col-left {
  text-align: left;
}

.header-section h1 {
  font-size: 50px;
  color: #1050f8;
  margin-bottom: 20px;
}

.header-section p {
  font-size: 21px;
  text-align: start;
  color: #555;
  margin-top: 50px;
  margin-bottom: 30px;
}

.header-section .cta-button {
  font-size: 20px;
  color: white;
  background-color: #1050f8;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin: 20px 0;
  position: relative;
  z-index: 1;
}

.cta-button2 {
  font-size: 24px;
  color: white;
  background-color: #1050f8;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button2:hover {
  background-color: #ff6232;
  color: white;
}

.header-section .cta-button:hover {
  background-color: #ff6232;
  color: white;
}

.header-section .col-right img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Key Benefits Section */
.key-benefits-section {
  padding: 60px 0;
  text-align: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}

.key-benefits-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.benefit-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.benefit-card {
  flex: 1 1 100%; /* Full width for each card */
  max-width: 500px;
  min-height: 180px;
  padding: 25px;
  background: #fff;
  border: 2px solid cadetblue;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.benefit-card h3 {
  font-size: 20px;
  color: #000;
  margin-bottom: 12px;
  font-weight: 600;
  text-align: left;
}

.benefit-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  font-family: "Rubik", sans-serif;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(16, 80, 248, 0.3); /* Darker shadow on hover for effect */
}

/* Large Desktop (1024px and above) */
@media (min-width: 1024px) {
  .benefit-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 30px;
    max-width: 1100px;
  }

  .benefit-card {
    max-width: none;
    min-height: 140px; /* Even shorter for larger screens */
    height: auto;
    margin: 0;
  }
}

/* Tablet and Small Desktop */
@media (min-width: 769px) and (max-width: 1199px) {
  .benefit-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benefit-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .benefit-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benefit-card {
    flex: none;
    width: 100%;
    max-width: 425px;
    margin: 0 auto;
    min-height: auto;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .key-benefits-section {
    padding: 30px 0;
  }

  .benefit-container {
    gap: 15px;
    padding: 0 15px;
  }

  .benefit-card {
    max-width: 100%;
    padding: 20px;
  }
}

/* How Pingbix and hubspot Work Together Section */
.how-pingbix-hubspot-section {
  margin-top: 60px;
  width: 100%;
  overflow: hidden;
}

.how-pingbix-hubspot-section h2 {
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
  text-align: center;
}

.how-pingbix-hubspot-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.how-pingbix-hubspot-card {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 25px;
  background: #fff;
  border: 2px solid cadetblue;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.how-pingbix-hubspot-card:hover {
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (min-width: 769px) {
  .how-pingbix-hubspot-container {
    justify-content: center;
  }

  .how-pingbix-hubspot-card {
    flex: 0 1 calc(33.333% - 30px);
    margin: 15px;
  }
}

@media (max-width: 768px) {
  .how-pingbix-hubspot-container {
    flex-direction: column;
    align-items: center;
  }

  .how-pingbix-hubspot-card {
    flex: 1 1 100%;
    max-width: 500px;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .how-pingbix-hubspot-section {
    padding: 40px 0;
  }

  .how-pingbix-hubspot-card {
    padding: 20px;
    margin: 10px 15px;
  }
}

/* Documentation Section */
.documentation-section {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center the content horizontally */
  padding: 40px;
  background-color: #fff;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}

/* Content Container */
.content-container {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: space-between;
  width: 80%; /* Set width to control the container size */
}

/* Title: Centered */
.page-title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center; /* Center align the title */
  margin-bottom: 20px;
  color: #1050f8;
}

/* Left Side: Collapsible Items */
.collapsible-container {
  margin-top: 50px; /* Reduced margin-top for better positioning */
  width: 60%; /* Set width to 60% to avoid full-width */
  margin-left: 20px; /* Center content horizontally */
  margin-right: 20px; /* Center content horizontally */
}

.collapsible-container {
  font-size: 20px;
  margin-bottom: 30px;
}

.wp-filter-paragraph {
  text-align: center;
}

.collapsible-container h2 {
  color: #1050f8;
}

/* Collapsible Items Styles */
.collapsible {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  padding: 8px 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1); /* 4px shadow effect */
  transition: box-shadow 0.3s ease-in-out; /* Smooth shadow transition */
}

/* When hovering over collapsible item, the shadow will grow */
.collapsible:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

.arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* Collapsible Content */
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding: 0 15px;
  background-color: #f9f9f9;
}

/* General Responsive Styles */
@media (max-width: 1200px) {
  .content-container {
    width: 90%; /* Reduce width for smaller screens */
  }

  .collapsible-container {
    width: 80%; /* Adjust collapsible width */
    margin-left: auto; /* Center the collapsible container */
    margin-right: auto; /* Center the collapsible container */
  }

  .documents-container {
    width: 100%; /* Ensure it spans the full width */
  }
}

@media (max-width: 992px) {
  .documentation-section {
    padding: 20px; /* Reduce padding for smaller screens */
  }

  .page-title {
    font-size: 3rem; /* Decrease title size */
  }

  .collapsible-container {
    width: 100%; /* Use full width for collapsibles */
    margin-top: 50px; /* Adjust top margin */
  }

  .documents-container h2 {
    font-size: 1.8rem; /* Reduce font size */
  }

  .collapsible {
    padding: 10px; /* Add smaller padding for collapsibles */
  }
}

@media (max-width: 768px) {
  .documentation-section {
    flex-direction: column; /* Stack content vertically */
    align-items: stretch; /* Stretch items to fit width */
  }

  .content-container {
    width: 100%; /* Full-width on small devices */
  }

  .page-title {
    font-size: 2.5rem; /* Further reduce title size */
  }

  .collapsible-container {
    width: 100%; /* Full width */
    margin-left: 0;
  }

  .documents-container {
    margin-bottom: 20px;
  }

  .collapsible {
    font-size: 1rem; /* Reduce font size for readability */
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 2rem; /* Smaller title for phones */
  }

  .collapsible {
    padding: 8px; /* Reduce padding for compactness */
  }

  .collapsible-header {
    font-size: 1rem; /* Smaller text size */
  }

  .arrow {
    font-size: 1.2rem; /* Reduce arrow size */
  }

  .collapsible-content {
    padding: 0 10px; /* Narrower padding inside content */
  }
}
/* Section Styles */
/* Platform Slider Section */
.platform-slider {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.platform-slider h2 {
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.slider-track img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slider-track img {
    width: 120px;
  }

  .platform-slider h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

.cta-section {
  text-align: center; /* Center the CTA button */
  margin-top: 40px; /* Add space above the CTA */
}

.cta-hubspot {
  margin-top: -15px;
  font-size: 18px;
  margin-bottom: 20px;
  color: white;
  background-color: #1050f8; /* Blue background color */
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Make it an inline element */
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(16, 80, 248, 0.2); /* Light shadow for depth */
}

.cta-hubspot:hover {
  background-color: #ff6232; /* Change background color on hover */
  transform: scale(1.15); /* Slight scaling effect */
  color: whitesmoke;
}

.cta-hubspot:focus {
  outline: none; /* Remove focus outline */
  box-shadow: 0 0 0 3px rgba(16, 80, 248, 0.3); /* Optional focus shadow */
}

/* ==================================== 
   RESPONSIVE STYLES - TABLET & MOBILE
==================================== */

/* Tablet Breakpoint */
@media (min-width: 769px) {
  .header-section .row1,
  .header-section .row2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .header-section .col-left,
  .header-section .col-right {
    flex: 1;
    width: 50%;
  }

  .header-section .col-left {
    text-align: left;
  }

  .header-section p {
    /* font-size: 21px; */
    text-align: start;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .header-section .row1,
  .header-section .row2 {
    flex-direction: column;
    gap: 30px;
  }

  .header-section .col-left,
  .header-section .col-right {
    width: 100%;
  }

  .header-section .col-left {
    text-align: center;
  }

  .header-section h1 {
    font-size: 40px;
  }

  .header-section p {
    text-align: center;
    font-size: 18px;
    margin: 20px 0;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .header-section h1 {
    font-size: 30px; /* Maintaining your requested font size */
  }

  .header-section p {
    font-size: 16px;
  }

  .header-section .cta-button {
    font-size: 16px;
    padding: 12px 24px;
  }
}

/* Desktop and Tablet */
@media (min-width: 769px) {
  .benefit-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 30px;
  }

  .benefit-card {
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .benefit-card p {
    text-align: left;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .benefit-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benefit-card {
    flex: none;
    width: 100%;
    max-width: 425px;
    margin: 0 auto;
  }

  .benefit-card p {
    text-align: left;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .key-benefits-section {
    padding: 30px 0;
  }

  .benefit-container {
    gap: 15px;
    padding: 0 15px;
  }

  .benefit-card {
    max-width: 100%;
    padding: 20px;
  }
}

/* Logo Image Visibility Fixes */
.logo img,
.mobile-logo img {
  width: 180px !important;
  height: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile Logo Container */
.mobile-logo.py-15 {
  display: none;
  padding: 15px 0;
  text-align: left;
  margin-left: 15px;
}

/* Logo Outer Container */
.logo-outer {
  display: block;
  visibility: visible !important;
}

.logo {
  display: block !important;
  visibility: visible !important;
}

/* Responsive Fixes */
@media (max-width: 990px) {
  .mobile-logo.py-15 {
    display: block !important;
  }

  .mobile-logo.py-15 img {
    display: none !important;
    width: 180px !important;
    height: auto !important;
  }

  .logo-outer {
    display: inline-block !important;
  }

  .navbar-header {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
  .mobile-logo.py-15 {
    margin-left: 10px;
  }

  .mobile-logo.py-15 img {
    width: 130px !important;
  }
}

/* Ensure images don't break layout */
img {
  max-width: 100%;
  height: auto;
}

/* CTA Button Fixes */
.cta-button {
  font-size: 20px;
  color: white;
  background-color: #1050f8;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  margin: 20px 0; /* Add vertical margin */
  position: relative; /* Ensure proper stacking */
  z-index: 1; /* Prevent button from being cut off */
}

.cta-button:hover {
  background-color: #ff6232;
  color: white;
}

/* Container spacing fix */
.header-section p {
  margin-bottom: 30px; /* Add space after paragraph */
}

.header-section .col-left {
  padding-bottom: 30px; /* Add padding at bottom of container */
}

/* Mobile specific fixes */
@media (max-width: 768px) {
  .cta-button {
    margin: 15px 0;
    padding: 12px 25px;
    font-size: 18px;
  }

  .header-section .col-left {
    padding-bottom: 25px;
  }
}

/* Mobile Header Adjustments */
@media (min-width: 0px) and (max-width: 768px) {
  .header-section .row1 {
    flex-direction: column-reverse !important; /* Force reverse order */
    margin-top: 20px;
  }

  .header-section .col-right {
    margin-bottom: 30px;
  }

  .header-section .col-right img {
    max-width: 60%;
    margin: 0 auto 30px;
  }
}
