/* Basic styles for PHP website */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  height: 60px;
  object-fit: contain;
}

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

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: #2563eb;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom, #dbeafe, #fff);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
}

.btn-secondary:hover {
  background: #dbeafe;
}

/* Stats */
.stats {
  background: #2563eb;
  color: #fff;
  padding: 4rem 0;
}

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

.stats h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Services */
.services {
  padding: 5rem 0;
  background: #fff;
}

.services h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
}

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

.service-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
}

/* Footer */
footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 3rem 0 2rem;
}

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

footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

footer .copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}