/* Global styles */
:root {
  --primary-color: #4a6bef;
  --secondary-color: #333333;
  --bg-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #777777;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

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

h1, h2, h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

section {
  padding: 5rem 0;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #3958d9;
  transform: translateY(-2px);
}

/* Header */
header {
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo h1 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.8rem;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--secondary-color);
  font-weight: 500;
}

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

/* Hero section */
#hero {
  background-color: var(--light-gray);
  text-align: center;
  padding: 8rem 0;
}

#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Services section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
  color: var(--primary-color);
}

/* About section */
#about {
  background-color: var(--light-gray);
}

#about .container {
  max-width: 800px;
}

#about p {
  font-size: 1.1rem;
}

/* Contact section */
#contact form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--medium-gray);
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: white;
  padding: 2rem 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: white;
  opacity: 0.8;
}

footer a:hover {
  opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Terms and Privacy pages */
.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.terms-content h3, .privacy-content h3 {
  margin-top: 2rem;
  color: var(--primary-color);
}

.terms-content p, .privacy-content p {
  margin-bottom: 1.5rem;
}

.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
  .terms-content, .privacy-content {
    padding: 0 1rem;
  }
} 