body {
  /* Sets font to a modern sans-serif stack */
  font-family: Helvetica; 
  
  /* Sets text to "Dark Charcoal" (Hex: #333333) */
  color: #333333; 
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Forces two perfectly equal 50% columns */
  align-items: center;           /* Vertical centering */
  min-height: 85vh;
  max-width: 1840px;             /* Standard 2026 wide-screen container */
  margin: 0 auto;                /* Centers the entire hero section */
  padding: 0 5% 0;                 /* Adds safety padding for the edges */
  gap: 40px;                     /* Creates a uniform space between text and image */
}

.hero-content {
  text-align: left;              /* Standard for side-by-side layouts */
}

/* Forces the main logo to be proportionate */
.logo {
  max-width: 100%;               /* Ensures it never overflows the 50% col */
  width: 660px;                  /* Adjusted from 800px to a balanced size */
  height: auto;
  margin-bottom: 8px;
}

.hero-image {
  display: flex;
  justify-content: center;
 }

.hero-image img {
  width: 100%;
  max-width: 950px;              /* Keeps the main hero image from getting too massive */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Adds modern depth */
 }

/* RESPONSIVE: Stack columns for mobile */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;  /* Change to a single column */
    text-align: center;
    padding-top: 20px;
    gap: 60px;
  }
  
  .hero-content {
    text-align: center;
  }

  .logo {
    margin: 0 auto 24px;         /* Center logo on mobile */
    width: 80%; /* Scales to 80% of the screen width on mobile */
  }
  /* Specifically target portrait (vertical) orientation on mobile */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .hero-image img {
    /* 1. Reduce the width so it doesn't take up the whole screen height */
    width: 60%; 
    
    /* 2. Set a maximum height to keep it from pushing text too far down */
    max-height: 300px; 
    
    /* 3. Maintain aspect ratio and center the image */
    object-fit: contain; 
    margin: 0 auto;
    display: block;
  }
  
  .hero {
    /* Reduce the gap to pull content closer together vertically */
    gap: 20px; 
    padding-top: 10px;
  }
}

}

.hero-content h1 {
  font-size: 3rem;
  line-height: .6;
  margin-bottom: 0.5em;
  }
.hero-content p {
  font-size: 1.5rem;
  line-height: 1.6; /* Adds breathing room between lines for larger text */
  margin-bottom: 1.5rem;
  font-weight: 525;
}

.hero-image img {
  width: 100%;
  max-width: 820px;         /* Makes image fill its 50% container */
  height: auto;
  border-radius: 8px;  /* Optional: rounded corners */
  box-shadow: 0 20px 40px rgba(0,0,0,0.1)
}

/* Responsive: Stacks them on top of each other for mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  @media (max-width: 768px) {
  .hero-content h1 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 2.2rem;     /* Slightly smaller font for mobile screens */
    line-height: 1.0;      /* Increased from .6 to prevent letters crashing */
    word-spacing: 0.15rem; /* Adds space between words */
    letter-spacing: 0.02rem; /* Optional: adds space between letters */
  }
}

}

.cta-button {
  /* 1. Centering Logic */
  display: block;           /* Changed from inline-block to block */
  margin: 25px auto 0;      /* Top: 25px, Sides: auto (centers it), Bottom: 0 */
  
  /* 2. Sizing (.5x bigger = 1.5x original size) */
  padding: 20px 40px;       /* 1.5 * 16px (24px) and 1.5 * 32px (48px) */
  min-width: 225px;         /* 1.5 * 200px */
  font-size: 1.5rem;        /* Scaling the text size proportionally */

  /* 3. Original Styles (Kept) */
  background-color: #52bac3;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
}



/* Hover & Focus States (Critical for 2026 UX) */
.cta-button:hover {
  background-color: #93d50a; /* Slightly lighter charcoal on hover */
  transform: translateY(-2px); /* Subtle lift effect */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:focus {
  outline: 3px solid #007bff; /* Clear focus indicator for keyboard users */
  outline-offset: 4px;
}

/* Styling for the text line */
.phone-call {
  margin-top: 15px;
  font-size: 1.5rem;
  color: #333333;
  text-align: center;
  font-weight: 525;
}

/* Enhancing the clickable phone link */
.phone-link {
  color: #52bac3;
  text-decoration: underline;
  font-weight: bold;
}

/* Mobile-Specific Adaptations (Media Query) */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column; /* Stacks image and text vertically */
    text-align: center;
    padding: 40px 20px;
    gap: 30px
  }

  .logo {
    width: 60%;
    max-width: 250px;
    margin: 0 auto 20px;
    transform: scale(1.5); /* Visually doubles the size */
  }

  .cta-button {
    width: 100%; /* Makes button full-width for easier thumb tapping */
    box-sizing: border-box;
    max-width: 350px; /* Keeps button from being awkwardly wide */
    margin: 20px auto;
  }

  .phone-link {
    display: inline-block;
    padding: 10px 0; 
  }
   .phone-call {
    text-align: center;
    width: 100%;
  }
}

.divider-section {
  width: 100%;
  padding: 40px 0;              /* Balanced spacing for the "Built for teams" text */
  text-align: center;        
  border-top: none;             /* Removes the optional line */
  background-color: #ffffff;    /* Seamless match */
}
/* Update: Makes both section headers match in size and color */
.divider-section h2, 
.section-title {
  font-size: 2.5rem;   /* Large, consistent size */
  color: #333333;      /* Dark Charcoal */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: none; 
  letter-spacing: normal;
  display: block;      /* Ensures it takes up the full width */
}
/* Mobile Adjustment */
@media (max-width: 768px) {
  .divider-section h2 {
    font-size: 1.8rem;       /* Slightly smaller for mobile screens */
    padding: 0 20px;         /* Prevents text from touching screen edges */
  }
}
/* Targeted rule for paragraphs within the divider section */
.divider-section p {
  font-size: 1.5rem;
  line-height: 1.25; /* Balanced spacing for the larger text size */
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 800px;  /* Optional: keeps long lines readable at this size */
  margin-left: auto; /* Centers the paragraph if it has a max-width */
  margin-right: auto;
  font-weight: 525;
}

/* Specifically target the feature list items if you want them to match */
.divider-section .feature-list li {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 525;
}
/* Horizontal list container */
.feature-list {
  display: flex;
  justify-content: center; /* Centers the bullets horizontally */
  gap: 40px;               /* Space between bullet items */
  list-style: none;        /* Removes default dots */
  padding: 0 20;
  box-sizing: border-box; 
  flex-wrap: wrap;         /* Allows stacking on smaller screens */
}

/* Individual list items */
.feature-list li {
  display: flex;
  align-items: center;
  font-weight: 525;
  color: #333333;
}

/* Adding the Check Mark (2026 Modern approach) */
.feature-list li::before {
  content: "✓";            /* The check mark symbol */
  margin-right: 10px;
  color: #4bb08e;          /* Teal color for the check */
  font-weight: bold;
  font-size: 1.75rem;
}

/* Mobile Adaptation: Stack the bullets vertically on small screens */
@media (max-width: 768px) {
  .feature-list {
    flex-direction: column;
    align-items: flex-start; /* Aligns to left on mobile for readability */
    display: inline-block;   /* Keeps the group centered as a block */
    text-align: left;
    padding: 0 30px;
  }
  
  .feature-list li {
    margin-bottom: 15px;
  }
}
/* Ensure the What We Do section doesn't have a background tint anymore */
.what-we-do {
  background-color: #ffffff;
  border: none;
  padding: 0 0 15px 0;
}
.card .icon {
  /* 1. Set the size (4rem is approx 64px, adjust as needed) */
  width: 80px; 
  height: auto;

  /* 2. Horizontal centering */
  display: block;
  margin-left: auto;
  margin-right: auto;

  /* 3. Space below the icon */
  margin-bottom: 25px;
}

/* Container: centers narrower cards */
.card-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap; /* Allows stacking on smaller screens */
  margin: 40px auto;
  max-width: 1100px; /* Constrains the entire grid's width */
}

.card {
  flex: 1;
  min-width: 280px;
  max-width: 320px;
  padding: 40px 25px;
  border-radius: 16px;
  
  /* The Border around everything */
  border: 2px solid #e0e0e0; 
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* 2. Hard-Stop Gradients (Top Color / Bottom White) */
/* Adjust the percentage (e.g., 45%) to control where the color ends */
.card:nth-child(1) {
  background: linear-gradient(to bottom, rgba(254, 170, 133, 0.5) 50%, #ffffff 45%);
}

.card:nth-child(2) {
  background: linear-gradient(to bottom, rgba(75, 176, 142, 0.5) 50%, #ffffff 45%);
}

.card:nth-child(3) {
  background: linear-gradient(to bottom, rgba(147, 213, 10, 0.5) 50%, #ffffff 45%);
}

.card:hover {
  transform: translateY(-8px);
  /* Hover state keeps the color more prominent */
  filter: brightness(0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
}

.card h3 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 725;
  text-align: center; /* Extra bold for better presence on the color */
}

/* 1. Remove default bullets from the card lists */
.card ul {
  list-style: none;
  padding: 0;
  margin: top 20px;
}

.card li {
  position: relative;
  padding-left: 30px; /* Space for the checkmark */
  margin-bottom: 10px;
  text-align: left;    /* Ensures text is left-aligned even if card is centered */
  font-size: 1.25rem;
}

/* 2. Add the colored checkmark */
.card li::before {
  content: "\2713";    /* Unicode for checkmark */
  position: absolute;
  left: 0;
  color: #4bb08e;      /* Your brand teal color */
  font-weight: bold;
  font-size: 1.5rem;
}

.supporting-line {
  margin-top: 60px;
  font-style: italic;
  font-size: 2rem;
  color: #4bb08e;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center; 
 /* 2026 Mobile Safety: Prevents text from touching screen edges */
  padding: 0 20px; 
  box-sizing: border-box;
  font-weight: 520;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr; /* Stacks cards on mobile */
  }
/* Ensure the Logos section doesn't have a background tint anymore */
.experience {
  background-color: #ffffff;
  border: none;
  padding: 10px 0;
}
}
.logo-area {
  padding: 10px 0;
  background-color: #ffffff; /* Optional background */
  text-align: center;
}
.logo-slider {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  background: white;
  position: relative;
  /* Prevents accidental horizontal swiping of the whole page */
  touch-action: pan-y; 
  /* Adds a 2026-style fade on the edges so logos don't just "cut off" */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  width: max-content; 
  animation: scroll 20s linear infinite;
  display: flex;
  /* 1. Force GPU acceleration to stop the 'stutter' */
  will-change: transform; 
  align-items: center;
}
/* Adds extra space after the 5th logo and the 13th logo (the duplicate 5th) */
.logo-track img:nth-child(5),
.logo-track img:nth-child(13) {
  margin-right: 130px; /* Adjust this value for more or less space */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Moves exactly half the track width for a seamless loop */
    transform: translateX(-50%);
  }
}

.logo-track img {
  /* 2x Size */
  width: 300px;
  height: 150px;
  object-fit: contain;
  /* Spacing */
  margin-right: 80px; 
  flex-shrink: 0;
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
  .logo-track {
    /* Moves exactly halfway through the 10 logos for a seamless loop */
    animation: scroll 20s linear infinite !important;
  }

  .logo-track img {
    /* Scale down for mobile: roughly 1/2 of desktop size */
    width: 300px !important; 
    height: 160px !important;
    margin: 0 20px !important; /* Tighter spacing for mobile */
    flex-shrink: 0; /* Prevents logos from squishing */
  }
}

.cta-flex-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 100px; /* Space between image and text */
  max-width: 1600px;
  margin: 0 auto;
  padding: 30px 0;
}
/* Matching the Final CTA Header to the Hero's H1 Style */
.final-cta h2 {
  font-family: Helvetica; /* Matches the body/hero font stack */
  font-size: 3rem;       /* Matches the .hero-content h1 size */
  font-weight: bold;
  margin-bottom: 15px;   /* Matches the hero h1 spacing */
  color: #333333;        /* Matches the body text color */
}

/* Matching the Final CTA Subtext to the Hero's Paragraph Style */
.final-cta .cta-support {
  font-family: Helvetica;
  font-size: 1.5rem;    /* Matches your established body paragraph size */
  line-height: 1.6;      /* Matches established readability standards */
  color: #333333;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 515;
}

/* Ensuring the Phone Call line also matches the Hero's phone styling */
.final-cta .phone-call {
  font-size: 1.5rem;
  font-weight: 515;
  color: #333333;
  text-align: center;
  text-indent: 80px;
  width: 100%;
  padding-right: 40px
}

/* Container for the image - now matches the content side */
.cta-image-side {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Make the image actually fill that 50% space */
.cta-image-side img {
  width: 100%;
  height: 100%;
  max-width: none; /* Adjust this to control how 'large' it feels */
  object-fit: cover;
}

/* Your existing content side */
.cta-content-side {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}


/* --- Final CTA Button: The "Opposite" Effect --- */

.cta-button-alt {
  /* Starts as the secondary brand color (Teal) */
  background-color: #52bac3; 
  color: #ffffff;
  
  /* Matches sizing of the top button */
  display: inline-block;
  padding: 20px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.cta-button-alt:hover {
  /* Hovers to the primary brand color (Green) */
  background-color: #93d50a; 
  
  /* Mirror the "lift" effect from the hero */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure the phone number in the footer matches this "Teal" starting color for cohesion */
.final-cta .phone-link {
  color: #52bac3;
  font-weight: bold;
  text-decoration: none;
  text-align: left;
  padding-right: 40px;
  }
/* 5. Phone Link Matching Top Button Color */
.phone-link-cohesive {
  color: #52bac3; /* Matches the button for visual cohesion */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: left;
  text-decoration: underline;
}
/* 6. Responsive Fix for Mobile */
@media (max-width: 768px) {
  .cta-flex-wrapper {
    flex-direction: column;
    gap: 30px; 
    padding: 20px 0;
  }
   .cta-image-side {
    /* Reset the desktop negative margin so it doesn't pull the image off-center */
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0; /* Ensures no extra space under the image div */
       }
   .cta-image-side img {    /* Set a reasonable height for mobile so it doesn't push the text too far down */
    max-height: 250px; 
    width: auto;
    margin: 0 auto;
  }
  /* Media query to center Final CTA heading on mobile */
@media screen and (max-width: 768px) {
  .final-cta .cta-content-side h2 {
    text-align: center;
    width: 100%; /* Ensures the heading uses the full container width to align properly */
    margin-left: auto;
    margin-right: auto;
    
  }
}

}