/* 1. Root Variables - Change colors here once! */
:root {
  --primary: #007bff;
  --dark: #333;
  --light: #f4f4f4;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

/* 2. Global Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--dark);
}

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

/* 3. Header & Nav Styles */
header {
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

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

/* The Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Service Cards */
.service-card,
.contact-form {
  background: var(--gray);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
}

.icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: inline-block;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.2s;
}

.btn:hover {
  background-color: #0056b3;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .header h1 {
    font-size: 2rem;
  }
  .container {
    padding: 40px 20px;
  }
}

h3 {
  color: red;
}

.first .second .third .fourth .fifth {
  padding: 1rem;
}
