/* ============================================================
   saas_7_chat_about.css – Modernized Version
   ============================================================
   Design Guidelines Implemented:
   - CTA Accent Color: Use a bold #E31B23 button on a neutral background
   - Font: Roboto (a clean, modern sans‑serif) used throughout for enhanced legibility
   ============================================================ */

/* Define CSS Variables for easy color and style management */
:root {
  --accent-color: #E31B23;
  --accent-color-hover: #CC181E; /* Slightly darker for hover */
  --neutral-bg: #f9fbfc;
  --text-color: #1a202c;
  --subtext-color: #4a5568;
  --hero-bg-start: #ffffff;
  --hero-bg-end: #f7f7f7;
}

/* Base Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--text-color);
}

/* Container – centered with max-width for a modern layout */
.saas_7_chat_about-container {
  padding: 20px;
  max-width: 80%;
  margin: 20px auto;
}

/* ============================
   Hero Section
   ============================ */
.hero {
  /* A soft neutral gradient provides a clean background 
     so the red CTA button stands out */
  background: linear-gradient(135deg, var(--hero-bg-start), var(--hero-bg-end));
  color: var(--text-color);
  text-align: center;
  padding: 5rem 1rem;
  clip-path: ellipse(80% 100% at 50% 0%);
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ============================
   CTA Button (Accent: #E31B23)
   ============================ */
.cta-button {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background-color: var(--accent-color);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  background-color: var(--accent-color-hover);
  transform: scale(1.05);
}

/* ============================
   Company Values Section
   ============================ */
.company-values {
  background-color: var(--neutral-bg);
  padding: 4rem 1rem;
  text-align: center;
}

.company-values h2 {
  font-size: 2.5rem;
  font-weight: bold;
  /* Updated to a neutral dark color for consistency */
  color: var(--text-color);
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--subtext-color);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ============================
   Values Grid & Cards
   ============================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Icon within Value Card */
.value-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  /* Retaining the blue gradient for the icon */
  background: linear-gradient(135deg, #0078d4, #00b0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0078d4; /* Fallback */
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--subtext-color);
}

/* Gradient highlight effect on hover for Value Card */
.value-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 176, 255, 0.1));
  z-index: 0;
  pointer-events: none;
}

.value-card:hover h3 {
  color: #0078d4;
}

.value-card:hover .icon {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* ============================
   Responsive Design
   ============================ */
@media screen and (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .saas_7_chat_about-container h1 {
    font-size: 36px;
    text-align: center;
  }

  .saas_7_chat_about-container p {
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
