/* --- General Layout Styles --- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

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

header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

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

.logo a {
  font-size: 22px;
  font-weight: bold;
  color: #0073e6;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

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

nav a.active {
  color: #0073e6;
}

footer {
  background: #f5f5f5;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

/* --- Hero Section --- */
.hero {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0073e6;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #005bb5;
}

/* --- Contact Page Styles --- */
.contact-section {
  padding: 60px 20px;
  background: #fff;
}

.contact-intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
}

.contact-intro a {
  color: #0073e6;
  font-weight: bold;
  text-decoration: none;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 12px 25px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #005bb5;
}

/* --- Testimonials Page Styles --- */
.testimonials {
  padding: 60px 20px;
  background: #f9f9f9;
}

.testimonials h1 {
  text-align: center;
  color: #0073e6;
  font-size: 34px;
  margin-bottom: 30px;
}

.testimonial {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.05);
}

.testimonial p {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;
}

.testimonial span {
  display: block;
  font-weight: bold;
  color: #0073e6;
}

/* --- Services Page Styles --- */
.services-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.services-section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.services-section h1 {
  text-align: center;
  margin-bottom: 36px;
  font-size: 34px;
  color: #333;
}

.service-category {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(0,0,0,0.06);
  margin: 18px 0;
}

.service-category h2 {
  margin: 0 0 6px;
  color: #0073e6;
  font-size: 22px;
}

.service-category p {
  margin: 0 0 10px;
  color: #555;
}

.service-category ul {
  margin: 8px 0 0 18px;
  color: #444;
  line-height: 1.7;
}

.svc-icon {
  width: 48px;
  height: 48px;
  margin-top: 4px;
}

.cta-center {
  text-align: center;
  margin-top: 28px;
}

/* --- Mobile Optimization --- */
@media (max-width:1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  p { font-size: 1rem; }
  .hero { padding: 60px 16px; }
}

@media (max-width:768px) {
  .header-flex { flex-direction: column; gap: 12px; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; }

  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero .btn { padding: 10px 18px; font-size: 0.9rem; }

  .service-category {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .service-category .svc-icon { margin: 0 auto 12px; }

  .testimonial { margin: 16px auto; padding: 16px; }
  .testimonial p { font-size: 1rem; }

  .contact-form { padding: 20px; }
}

@media (max-width:480px) {
  body { font-size: 14px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .btn { font-size: 0.85rem; padding: 10px 16px; }
}
.cta-newsletter {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}

.cta-newsletter h2 {
  color: #0078ff;
  font-size: 28px;
  margin-bottom: 10px;
}

.cta-newsletter p {
  color: #333;
  font-size: 16px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 250px;
  font-size: 16px;
}

nav a[href="newsletter.html"] {
  background-color: #0078ff;
  color: #fff !important;
  padding: 6px 14px;       /* slightly less padding */
  border-radius: 4px;
  text-decoration: none;
  margin-left: 10px;
  font-weight: 500;
  transition: background 0.3s ease;
  line-height: 1;          /* keeps it centered vertically */
  display: inline-flex;    /* aligns vertically with text links */
  align-items: center;
}

nav a[href="newsletter.html"]:hover {
  background-color: #005fcc;
}

