/* Base styles */
:root {
  --primary-color: #e84118;
  --secondary-color: #ff7f50;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --success-color: #28a745;
  --max-width: 1100px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background: #fff;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

/* Header */
header {
  background-color: #fcfbf9;
  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: 1rem 2rem;
}

.logo img {
  height: 180px;
}

nav ul {
  display: flex;
}

nav li {
  margin-left: 2rem;
}

nav a {
  font-weight: 600;
  transition: color 0.3s;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://source.unsplash.com/random/1600x900/?technology') no-repeat center center/cover;
  height: 60vh;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* About Section */
.about {
  background: var(--light-color);
  padding: 4rem 0;
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.about p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Portfolio Section */
.portfolio {
  padding: 4rem 0;
}

.portfolio h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.portfolio > .container > p {
  text-align: center;
  margin-bottom: 2.5rem;
}

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

.portfolio-item {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.portfolio-item p {
  margin-bottom: 1.5rem;
}

.portfolio-link {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.portfolio-link:hover {
  background: var(--secondary-color);
  color: white;
}

/* Privacy Policy Section */
.privacy-policy {
  padding: 4rem 0;
}

.privacy-policy h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.last-updated {
  color: #777;
  font-style: italic;
  margin-bottom: 2rem;
}

.policy-section {
  margin-bottom: 2rem;
}

.policy-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.policy-section p {
  margin-bottom: 1rem;
}

.product-policies {
  margin: 1.5rem 0 2rem 0;
  list-style-type: none;
}

.product-policies li {
  margin-bottom: 1.25rem;
  background: #f8f8f8;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-policies strong {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.product-policies a {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-policies a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: #fff;
  padding: 2rem 0;
}

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

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

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

.footer-links a {
  color: #ddd;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #555;
}

/* Responsive */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav li {
    margin: 0 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}
