:root {
  --primary: #ad0000;
  --primary-dark: #8f0000;
  --dark: #111;
  --light: #f9f9f9;
  --white: #fff;
  --gray-dark: #555;
  --gray-light: #aaa;
  --shadow: rgba(0, 0, 0, 0.1);
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background: var(--white);
  color: var(--gray-dark);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--primary);
  outline: none;
}

ul {
  list-style: none;
}

header {
  background: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px var(--shadow);
}


  /* The particles container */
  #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Ensure particles cover the full hero section */
    z-index: 0;  /* Keep particles behind the content */
  }

  /* The Hero Section */
  .hero {
    position: relative;
    height: 50vh; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    z-index: 1;  /* Ensure hero content stays above particles */
    overflow: hidden;  /* Ensure the particles stay inside the section */
  }

  .hero-content {
    position: relative;
    z-index: 2; /* Ensures content is above particles */
    max-width: 700px;
  }

  .hero-content h2 {
    font-size: 3.2rem; /* Slightly larger size for impact */
    letter-spacing: 3px; /* More spacing for a modern look */
    margin-bottom: 1.5rem; /* Extra spacing below */
    font-weight: 800; /* Stronger weight for emphasis */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* Softer shadow */
    color: #555; /* Deep charcoal instead of black */
}

.hero-content p {
    font-size: 1.3rem; /* A bit bigger for readability */
    font-weight: 400; /* Lighter weight for a clean contrast */
    letter-spacing: 1.2px; /* Increased spacing for a more spacious feel */
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); /* More subtle shadow */
    color: #4a4a4a; /* Dark gray for readability without harshness */
}

.hero-content blockquote {
    font-style: italic;
    margin-top: 1.5rem; /* Added spacing above */
    font-size: 1.2rem; /* Increased size for visual balance */
    color: #333; /* Dark gray, not pure black */
    border-left: 4px solid #9e9e9e; /* Soft gray border for subtle emphasis */
    padding-left: 1rem; /* Padding for alignment and style */
    font-weight: 400; /* Clean and balanced weight */
}


.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar h1 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.navbar ul {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 1rem;
}

.navbar ul li a {
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.navbar ul li a:hover,
.navbar ul li a:focus {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}
section {
  padding: 5rem 1rem;
  max-width: 1100px;
  margin: auto;
}

h2.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}

h2.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.about p {
  text-align: center;
  max-width: 700px;
  margin: auto;
  font-size: 1.5rem;
  color: var(--gray-dark);
  line-height: 1.8;
}

.services, .portfolio, .testimonials {
  background: var(--light);
  border-radius: 8px;
  padding: 4rem 2rem;
  box-shadow: 0 4px 10px var(--shadow);
}

.services-list,
.portfolio-grid,
.testimonials-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.service, .portfolio-item, .testimonial {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 3px 12px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover,
.portfolio-item:hover,
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(173,0,0,0.3);
}

.service i {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
}

.service:hover i {
  color: var(--primary-dark);
}

.service h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service p {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

.portfolio-item img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 12px var(--shadow);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
}

.testimonial p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

.testimonial span {
  display: block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical;
  font-family: var(--font-sans);
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.contact button {
  background: var(--primary);
  color: var(--white);
  padding: 1.1rem 2rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.contact button:hover,
.contact button:focus {
  background: var(--primary-dark);
  outline: none;
}

#footer {
  background: #000;
  color: #fff;
  padding: 3em 0;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.soc-media-ul {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-bottom: 1.5em;
  list-style: none;
}

.soc-media-ul li:not(:first-child) a {
  margin-left: 1em;
}

.soc-media-ul a {
  color: #fff;
  font-size: 1.2rem;
  display: inline-block;
  padding: 0.5em 0.65rem;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: color 0.25s, border-color 0.25s;
  text-decoration: none;
}

.soc-media-ul a:hover,
.soc-media-ul a:focus {
  color: var(--red);
  border-color: var(--red);
}

.footer-quote {
  font-size: 1.25rem;
  font-style: italic;
  margin: 1em 0 0.5em;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ccc;
}

.footer-quote strong {
  font-weight: 600;
  color: var(--red);
}

.terms {
  margin-top: 0.5em;
}

.terms a {
  color: #fff;
  text-decoration: underline;
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.terms a:hover,
.terms a:focus {
  color: var(--red);
}

.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  color: var(--primary);
  outline: none;
}

@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    position: fixed;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-left: 1px solid #eee;
    box-shadow: -2px 0 10px var(--shadow);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  /* For demonstration: simple nav open - you can add JS to toggle */
  .navbar ul.open {
    transform: translateX(0);
  }
}

