/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #F5F5F5; /* Light Gray */
    color: #333333; /* Dark Gray */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: #00BFFF; /* Electric Blue */
    text-decoration: none;
}

a:hover {
    color: #007BFF; /* Darker Electric Blue */
    text-decoration: underline;
}

/* Header and Navigation */
header {
    background-color: #2C3E50; /* Dark Blue */
    color: #FFFFFF; /* White */
    padding: 20px;
    display: flex; /* Use flexbox */
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Space out items */
}

.profile-image {
    height: 150px; /* Set height to 150px */
    width: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
    border: 3px solid #007bff; /* Optional: Add a blue border */
    margin-left: 20px; /* Add some spacing on the left */
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    color: #FFFFFF; /* White */
    font-weight: bold;
}

nav a:hover {
    color: #00BFFF; /* Electric Blue */
}

/* Main Content */
main {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: #2C3E50; /* Dark Blue */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid #00BFFF; /* Electric Blue */
    padding-bottom: 5px;
}

h3 {
    font-size: 1.5rem;
}

/* Buttons */
button, .button {
    background-color: #00BFFF; /* Electric Blue */
    color: #FFFFFF; /* White */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: #007BFF; /* Darker Electric Blue */
}

/* Code Snippets */
pre {
    background-color: #1A2A3A; /* Darker Blue */
    color: #FFFFFF; /* White */
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #2C3E50; /* Dark Blue */
    color: #FFFFFF; /* White */
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

footer a {
    color: #00BFFF; /* Electric Blue */
}

footer a:hover {
    color: #007BFF; /* Darker Electric Blue */
}

/* Button styling */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px; /* Adjust this height as needed */
}

/* Container styling */
.container {
  max-width: 800px; /* Adjust this to your preferred width */
  margin: 0 auto;   /* Center the container horizontally */
  padding: 20px;    /* Add some padding inside the container */
}

/* Optional: Add some spacing and styling for better readability */
body {
  font-family: Arial, sans-serif; /* Use a clean, readable font */
  line-height: 1.6;               /* Improve line spacing */
  color: #333;                    /* Set a comfortable text color */
  background-color: #f9f9f9;      /* Add a light background color */
  margin: 0;                      /* Remove default body margin */
  padding: 0;                     /* Remove default body padding */
}

h1, h2 {
  color: #007BFF; /* Add a pop of color to headings */
}

a {
  color: #007BFF; /* Style links to match your theme */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;        /* Add a white background */
  border: 1px solid #ddd;        /* Add a subtle border */
  border-radius: 8px;            /* Round the corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a soft shadow */
}



/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: center;
    }

    main {
        padding: 10px;
    }
}

/* Mobile Responsive 
/* Inside /css/styles.css */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 15px; /* Slightly reduce padding on smaller screens */
  }

  h1 {
    font-size: 28px; /* Slightly larger heading for mobile */
  }

  h2 {
    font-size: 24px; /* Slightly larger subheading for mobile */
  }

  p, li {
    font-size: 16px; /* Comfortable reading size for mobile */
    line-height: 1.5; /* Improve readability */
  }
}

/* CX Training Project Specific Styles */
.subtitle {
    font-style: italic;
    color: #666;
    margin-top: -1rem;
}

.metrics-table {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.metrics-table table {
    width: 100%;
    border-collapse: collapse;
}

.metrics-table th {
    background-color: #2C3E50;
    color: white;
    padding: 1rem;
    text-align: left;
}

.metrics-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.improved {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
}

.benchmark {
    background-color: #e3f2fd;
    color: #1565c0;
}

.table-footer {
    padding: 1rem;
    background-color: #f8f9fa;
    text-align: right;
}

.data-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.data-link:hover {
    text-decoration: underline;
}

/* Project Sections */
#project-overview, #solution, #results, #takeaways {
    margin-bottom: 2.5rem;
}

/* Emoji sizing */
article span[aria-hidden="true"] {
    font-size: 1.2em;
    vertical-align: middle;
}

/* Warning box */
.warning {
    border-left: 3px solid #e74c3c;
    padding: 1rem;
    background-color: #fff3cd;
}