/* Calorithm Website Styles */

:root {
  --primary-color: #4CAF50; /* A soft green as the primary color */
  --secondary-color: #2196F3; /* A soft blue as the secondary color */
  --accent-color: #FF9800; /* An orange accent for call-to-action elements */
  --text-color: #333333; /* Dark gray for text */
  --light-text-color: #666666; /* Lighter gray for secondary text */
  --background-color: #FFFFFF; /* White background */
  --light-background: #F5F5F5; /* Light gray background for sections */
  --border-color: #E0E0E0; /* Light gray for borders */
  --font-family: 'Helvetica Neue', Arial, sans-serif; /* Clean, modern font */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: var(--background-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

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

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.language-selector {
  margin-left: 20px;
}

.language-selector select {
  padding: 5px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--background-color);
  color: var(--text-color);
}

.hero {
  padding: 120px 0 60px;
  background-color: var(--light-background);
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--light-text-color);
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e68a00;
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-description {
  color: var(--light-text-color);
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

.screenshots {
  padding: 80px 0;
  background-color: var(--light-background);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.screenshot-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonials {
  padding: 80px 0;
}

.testimonial-card {
  background-color: var(--light-background);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
}

.download {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.download h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.download p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
}

.app-store-button {
  display: inline-block;
  background-color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.app-store-button:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

footer {
  background-color: var(--text-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444444;
  color: #cccccc;
}

/* Privacy Policy and Support Page Styles */
.content-page {
  padding: 120px 0 60px;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.content-section p, .content-section ul, .content-section ol {
  margin-bottom: 20px;
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

.content-section ul, .content-section ol {
  padding-left: 20px;
}

.content-section a {
  color: var(--secondary-color);
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding: 20px 0;
  }

  nav ul {
    margin-top: 20px;
  }

  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 20px;
  }
}
