/* DataCX.ai Enhanced Styling */

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: #f8f9fa;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #2563eb;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #1e40af;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

h1 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: #1e40af;
  border-bottom: 1px solid #1e40af;
}

/* Buttons */
.button, a.button {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-bottom: 1rem;
}

.button:hover, a.button:hover {
  background-color: #1e40af;
  border-bottom: none;
}

.button.secondary, a.button.secondary {
  background-color: white;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.button.secondary:hover, a.button.secondary:hover {
  background-color: #f0f4ff;
}

/* Sections */
.section {
  margin: 3rem 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eaeaea;
}

/* Cards */
.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* DataCX.ai Specific */
.solutions-grid, .resources-grid, .case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid #eaeaea;
  color: #666;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: #333;
}

.footer-column ul {
  list-style: none;
  margin-left: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  body {
    padding: 0 16px;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid, .resources-grid, .case-studies-grid {
    grid-template-columns: 1fr;
  }
}

/* Apply these styles to your current elements */
.DataCX-ai {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  display: block;
  margin: 1.5rem 0;
}

/* Enhanced classes for your existing structure */
.hero-section {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.solution-item {
  margin-bottom: 2.5rem;
}

.solution-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.learn-more {
  font-weight: 500;
  display: inline-block;
  margin-top: 0.5rem;
}

/* Fixing specific elements from your screenshot */
a[href="DataCX.ai"], a:contains("DataCX.ai") {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  border-bottom: none;
}

/* Override for navigation bullets in header */
header ul {
  list-style: none;
  margin-left: 0;
  display: flex;
  gap: 1.5rem;
}

header ul li {
  margin-bottom: 0;
}
