:root {
  --primary-color: #002741;
  --secondary-color: #dc700c;
  --background-color: #fffffe;
  --font-color: #000;
}

.roboto-bold {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.roboto-light {
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

body {
  margin: 0;
  font-family: "Roboto", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--font-color);
  background: url(../images/blueprint.jpg) repeat;
  background-size: 25%;
}

h2 {
  text-align: center;
}

a {
  cursor: url("../images/hammer.svg") 8 16, pointer;
  color: var(--font-color);
}

a:active {
  cursor: url("../images/hammer_down.svg") 8 16, pointer;
  transform: translateY(5px);
  transition: transform 0.3s step-start;
  color: var(--secondary-color);
}

.spacer {
  flex-grow: 1;
}

header {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 1rem;
  text-align: center;
}

.logo img {
  width: 150px;
}

.logo-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  display: flex;
  justify-content: center;
  background-color: var(--primary-color);
}

nav a {
  color: var(--background-color);
  padding: 1rem;
  text-decoration: none;
  font-weight: 500;
}

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

.container {
  padding: 2rem;
  min-height: 70vh;
  max-width: 1200px;
  margin: 0 auto;
}

.services,
.contact {
  margin-bottom: 2rem;
}

footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 1rem;
  width: 100%;
  bottom: 0;
}

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

@media (max-width: 600px) {
  nav {
    flex-direction: column;
  }
}
.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: right;
  cursor: url("../images/hammer.svg") 8 16, pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.cta-button:hover {
  background-color: var(--background-color);
  color: var(--secondary-color);
  transform: scale(1.05);
}

.cta-button .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  animation: arrow-move 1s infinite;
  transform: translateX(12px); /* Subtle rightward movement */
}

.cta-button .arrow::after {
  content: "";
  animation: arrow-move 1s infinite;
}

@keyframes arrow-move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(0);
  }
}

.logo img {
  transition: transform 0.3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.05);
}
.social-icon {
  color: var(--secondary-color);
  margin: 0 0.5rem;
  font-size: 1.5rem;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--background-color);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

input,
select,
button {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  width: 100%;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

button {
  background-color: var(--secondary-color);
  color: var(--background-color);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.conditional-fields {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  background-color: #f9f9f9;
}

.conditional-fields input {
  width: 90%;
  margin-bottom: 10px;
}

.project-details textarea {
  width: 100%;
  height: 100px;
}

.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  position: relative; /* Create a stacking context */
  background: var(--primary-color); /* Background color of the service-item */
  color: var(--background-color);
  padding: 2rem 1rem 1rem;
  text-align: right;
  box-shadow: none; /* Remove the default shadow */
  overflow: visible; /* Ensure content is not clipped */
  max-width: 90%; /* Limit width for better alignment */
  margin: 0 auto; /* Center align by default */
  width: 70%;
  z-index: 1; /* Ensure the service-item content is above the shadow */
}

.service-item::before {
  content: "";
  position: absolute;
  top: 10px; /* Offset the shadow */
  left: 10px; /* Offset the shadow */
  right: -10px; /* Extend shadow width */
  bottom: -10px; /* Extend shadow height */
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0) 5px
  ); /* Diagonal lines for comic-style shadow */
  z-index: -1; /* Place behind the service-item */
  transform: skew(-5deg, -5deg); /* Add a comic-style skew */
  border-radius: 5px; /* Optional: Add rounded corners */
  pointer-events: none; /* Ensure the shadow doesn't interfere with interactions */
}

/* Add a keyframe animation for continuous rotation */
@keyframes background-unskew {
  from {
    transform: skew(-5deg, -5deg);
    opacity: 1;
  }
  to {
    transform: skew(0deg, 0deg);
    opacity: 0.5; /* Fade out effect */
  }
}

@keyframes background-reskew {
  from {
    transform: skew(0deg, 0deg);
    opacity: 0.5;
  }
  to {
    transform: skew(-5deg, -5deg);
    opacity: 1;
  }
}

.service-item:hover::before {
  animation: background-unskew 0.5s forwards; /* Apply the animation on hover */
}

.service-item::before {
  animation: background-reskew 0.5s forwards; /* Reverse the animation when hover ends */
}

.service-item:hover .icon-starburst {
  animation: rotate-starburst 4s linear infinite; /* Apply continuous rotation */
}

.service-item:hover .custom-icon {
  animation: rotate-icon 4s linear infinite; /* Apply continuous rotation */
}

.service-list li:nth-child(1) .service-item {
  transform: rotate(-1deg);
}

.service-list li:nth-child(2) .service-item {
  transform: rotate(1deg);
}

.service-list li:nth-child(3) .service-item {
  transform: rotate(-1deg);
}

.service-list li:nth-child(4) .service-item {
  transform: rotate(1deg);
}

.service-list li:nth-child(5) .service-item {
  transform: rotate(-1.5deg);
}

.service-list li:nth-child(6) .service-item {
  transform: rotate(1.5deg);
}

/* Add more nth-child rules as needed for additional items */

.service-list li:nth-child(odd) {
  margin-left: 10%; /* Offset odd items to the right */
}

.service-list li:nth-child(even) {
  margin-right: 10%; /* Offset even items to the left */
}

/* Add a keyframe animation for continuous rotation */
@keyframes rotate-starburst {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Add a keyframe animation for continuous rotation */
@keyframes rotate-icon {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.icon-starburst {
  position: absolute;
  top: -20px; /* Adjust position to accommodate larger size */
  left: -20px; /* Align to the left with padding */
  font-size: 4rem; /* Size of the fa-certificate icon */
  color: var(--secondary-color); /* Starburst color */
  z-index: 1; /* Ensure it appears above other elements */
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-starburst .custom-icon {
  position: absolute;
  font-size: 1.5rem; /* Size of the custom icon */
  color: var(--background-color); /* Custom icon color */
  z-index: 2; /* Ensure it stays above the rotating starburst */
  transform: rotate(0deg); /* Prevent rotation */
}

.service-title {
  font-weight: 400;
  font-size: 1.5rem;
}

.service-description {
  font-size: 1rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .service-item {
    max-width: 100%; /* Full width on smaller screens */
    margin: 0 auto; /* Center align all items */
  }

  .service-list li {
    margin: 0 auto; /* Remove alternating offsets on mobile */
  }
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* Add spacing between grid items */
  margin-top: 2rem;
}

.service-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.service-item ul li {
  font-size: 1rem;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.neighborhood-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 10px;
  position: relative; /* Ensure proper positioning for overlay */
  z-index: 1; /* Ensure content is above the overlay */
}

.neighborhood-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/service_area_map.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0; /* Place the overlay behind the content */
  border-radius: 10px; /* Match the border radius of the parent */
}

.neighborhood-list li {
  color: var(--secondary-color);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
  white-space: nowrap; /* Prevent word wrap within a list item */
  text-overflow: ellipsis; /* Add ellipsis for overflowed text */
  overflow: hidden; /* Ensure overflow is hidden */
}

.neighborhood-list li:nth-child(odd) {
  animation-delay: 0.1s;
}

.neighborhood-list li:nth-child(even) {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.neighborhood-list li:hover {
  transform: scale(1.15);
  cursor: default;
}

.neighborhood-list li i {
  color: var(--background-color);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.5s ease;
}

.neighborhood-list li:hover i {
  color: var(--secondary-color);
  transform: scale(1.15);
}

#servicearea {
  background: none;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 60px;
  height: 90px;
  padding: 30px 0 30px 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile navigation styles */
.menu-row {
  display: none; /* Hide the menu by default on mobile */
  flex-direction: column;
  position: absolute;
  width: 100%;
  background-color: var(--primary-color);
  z-index: 9;
  border-top: 2px solid var(--secondary-color); /* Optional: Add a border for separation */
  margin-top: 0; /* Ensure no additional margin pushes it down */
}

header + .menu-row {
  top: unset; /* Reset top positioning */
  position: relative; /* Ensure it aligns with header */
}

.menu-row.active {
  display: flex; /* Show the menu when toggled */
  top: 120px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--background-color);
  padding: 1rem;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  border-radius: 10px;
}

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

.nav-links a:last-child {
  color: var(--secondary-color);
}

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

/* Show hamburger menu on mobile */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex; /* Show hamburger menu on mobile */
  }

  .nav-links {
    display: none; /* Hide navigation links by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    padding: 1rem;
    z-index: 9;
  }

  .nav-links.active {
    display: flex; /* Show navigation links when active */
  }

  .nav-links a {
    padding: 0.5rem 0;
    text-align: center;
  }

  .menu-row {
    display: none; /* Hide the menu by default */
  }

  .menu-row.active {
    display: flex; /* Show the menu when toggled */
  }
}

/* Show the menu normally on non-phone devices */
.menu-row {
  display: flex; /* Ensure the menu is visible on larger screens */
  flex-direction: row;
  justify-content: center;
  background-color: var(--primary-color);
  position: static; /* Remove absolute positioning for larger screens */
  width: 100%;
  z-index: 9;
}

.menu-row.active {
  display: flex; /* Keep the menu visible when toggled on mobile */
}

/* Hide the menu on mobile by default */
@media (max-width: 600px) {
  .menu-row {
    display: none; /* Hide the menu on smaller screens */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
  }

  .menu-row.active {
    display: flex; /* Show the menu when toggled on mobile */
  }
}

/* Maintenance plan styles */
.comparison-chart {
  margin-top: 2rem;
  margin-top: 2rem;
}

.plan {
  background-color: var(--background-color);
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-center {
  margin: 0 auto;
}

.plan.best {
  border-color: var(--secondary-color);
  background-color: #f9f9f9;
  /* transform: scale(1.05); */
  position: relative;
}

.plan.best .badge {
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: var(--secondary-color);
  color: var(--background-color);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 5px;
}

.plan h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.plan.best h3 {
  color: var(--secondary-color);
}

.plan .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 0.5rem 0;
}

.plan .duration {
  font-size: 1rem;
  color: var(--font-color);
  margin-bottom: 1rem;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.plan ul li {
  font-size: 1rem;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan ul li i.green {
  color: var(--secondary-color);
}

.plan ul li i.grey {
  color: #ccc;
}

.plan .cta-button {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.plan .cta-button:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  transform: scale(1.05);
}

.plan:hover {
  /* transform: scale(1.1); */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .comparison-chart {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .plan {
    width: 100%;
  }
}

.cta-section {
  text-align: center;
  padding: 2rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border-radius: 10px;
  margin-top: 2rem;
}

.cta-section .cta-button {
  margin: 0 1rem;
  padding: 0.8rem 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--secondary-color) 0%, #ffb347 100%);
  color: var(--primary-color);
  border: 3px solid var(--primary-color);
  border-radius: 30px;
  box-shadow: 0 6px 24px rgba(220, 112, 12, 0.25),
    0 1.5px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s cubic-bezier(0.4, 2, 0.6, 1), background 0.3s,
    box-shadow 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
}

.cta-section .cta-button::after {
  content: "";
  position: absolute;
  left: -75%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  pointer-events: none;
}

.cta-section .cta-button:hover,
.cta-section .cta-button:focus {
  background: linear-gradient(90deg, #ffb347 0%, var(--secondary-color) 100%);
  color: var(--background-color);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(220, 112, 12, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.13);
}

.cta-section .cta-button:hover::after,
.cta-section .cta-button:focus::after {
  left: 120%;
}

.cta-note {
  font-size: 0.8rem;
  margin-top: 1rem;
  font-style: italic;
}

.cta-main {
  display: inline-block;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}

.cta-guarantee {
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Plans Header */
.plans-header {
  text-align: center;
  padding: 2rem;
  background-color: var(--primary-color);
  color: var(--background-color);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.plans-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.plans-header p {
  font-size: 1.2rem;
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project {
  background-color: var(--background-color);
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.project-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.project-description,
.project-details {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

.photo-stack {
  position: relative;
  display: flex;
  justify-content: center;
  gap: -30px; /* Overlap the photos slightly */
  margin-bottom: 2rem;
}

.photo {
  position: relative;
  width: 150px;
  height: 150px;
  transform: rotate(
    calc(-5deg + 10deg * var(--rotation, 0))
  ); /* Varying rotations */
  transition: transform 0.3s ease, z-index 0.3s ease;
  cursor: url("../images/hammer.svg") 8 16, pointer;
  z-index: 1; /* Ensure stacking order */
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.photo:hover {
  transform: scale(1.2) rotate(0deg); /* Bring hovered photo to focus */
  z-index: 10; /* Bring hovered photo to the front */
}

.photo:active {
  cursor: url("../images/hammer_down.svg") 8 16, pointer;
}

.photo-caption {
  display: none; /* Hide captions by default */
  position: absolute;
  bottom: -40px; /* Position below the photo stack */
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: var(--font-color);
  text-align: center;
  max-width: 90%;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.photo:hover + .photo-caption {
  display: block; /* Show the caption of the hovered photo */
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.photo[data-label]:before {
  content: attr(data-label);
  position: absolute;
  top: -10px;
  left: 10px;
  background-color: var(--secondary-color);
  color: var(--background-color);
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.photo[data-label="Before"]::before {
  background-color: gray; /* Set the background color to gray for "Before" labels */
}

.photo:hover {
  transform: scale(1.2) rotate(0deg);
  z-index: 10;
}

.photo img:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.project-cta-button {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 20px;
}

.project-cta-button:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  transform: scale(1.05);
}

/* Fullscreen photo styles */
.fullscreen-photo {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Stack the image and caption vertically */
  z-index: 1000;
}

.fullscreen-photo img {
  max-width: 90%;
  max-height: 80%;
  border: 5px solid #fff;
  border-radius: 5px;
}

.fullscreen-caption {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  max-width: 90%;
}

.fullscreen-photo.active {
  display: flex;
}

.what-we-did {
  list-style: none; /* Remove default bullet points */
  padding: 0;
  margin-bottom: 40px;
  text-align: left; /* Left-align the list items */
}

.what-we-did li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem; /* Add spacing between items */
  font-size: 1rem;
  color: var(--font-color);
}

.what-we-did li i {
  color: var(--secondary-color); /* Green checkmark color */
  margin-right: 0.5rem; /* Add spacing between the icon and text */
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  position: relative; /* Make the hero section a positioned container */
  overflow: hidden; /* Ensure the video doesn't overflow the section */
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--background-color);
  border-radius: 10px;
  margin-bottom: 2rem;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the video covers the entire section */
  z-index: -1; /* Place the video behind the content */
}

.hero-content {
  position: relative;
  z-index: 1; /* Ensure the content appears above the video */
}

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

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

.hero .home-cta-button {
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
}

/* Homepage Sections */
.homepage-section {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.6);
  position: relative; /* Make the section a positioned container */
  overflow: hidden; /* Ensure circles don't overflow the section */
  transition: box-shadow 0.3s ease;
}

.homepage-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.homepage-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.section-card {
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.section-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.section-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.section-card .cta-link {
  font-size: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.section-card .cta-link:hover {
  color: var(--background-color);
}

#gallery {
  background: url(../images/project5/image4.jpg) no-repeat center center;
  background-size: cover;
}

#contact {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

/* CTA Button */
.home-cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-cta-button:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  transform: scale(1.05);
}

.home-cta-button .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.home-cta-button:hover .arrow {
  transform: translateX(5px);
}

/* Silver Circles */
.corner-circle {
  position: absolute; /* Position relative to the hero section */
  width: 30px;
  height: 30px;
  background-color: silver;
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  cursor: url("../images/hammer.svg") 8 16, pointer;
  z-index: 10;
}

.corner-circle:active {
  cursor: url("../images/hammer_down.svg") 8 16, pointer;
}

.corner-circle.top-left {
  top: 10px;
  left: 10px;
}

.corner-circle.top-right {
  top: 10px;
  right: 10px;
}

.corner-circle.bottom-left {
  bottom: 10px;
  left: 10px;
}

.corner-circle.bottom-right {
  bottom: 10px;
  right: 10px;
}

.corner-circle.clicked {
  transform: scale(0.5); /* Keep the circle small after being clicked */
  opacity: 0.7; /* Slight fade effect */
  pointer-events: none; /* Disable further interaction */
}

/* Events Section */
.events {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.events h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.events p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--background-color);
}

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

.event-card {
  background-color: var(--primary-color);
  color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.event-card p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.event-card .event-description {
  margin-top: 1rem;
  font-style: italic;
  color: var(--background-color);
  opacity: 0.9;
}

/* Discount List */
.discount-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.discount-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.discount-list li i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* Contact Form */
.contactform {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

/* Service Plan Accordion */
.accordion {
  margin-bottom: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  background: #f9f9f9;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.accordion-header:hover {
  background: #f0f0f0;
}

.accordion-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-button:focus {
  outline: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.accordion.active .accordion-content {
  max-height: 2000px;
  padding: 1rem;
}

.service-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.features-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.nested-list li {
  padding-left: 1.5rem; /* Indent nested lists */
  margin: 0.5rem 0;
}

.nested-list li::before {
  content: "→"; /* Use a bullet point for nested items */
  color: var(--secondary-color); /* Color for the bullet */
  margin-right: 0.5rem; /* Space between bullet and text */
}

.arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

/* Calendar Row */
.calendar-row {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1.5rem 0;
}
.calendar-months {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.calendar-months li {
  text-align: center;
}
.calendar-months a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  border-radius: 10%;
  width: 4.3rem;
  height: 4.3rem;
  justify-content: center;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  transition: border 0.2s, background 0.2s;
  position: relative;
}
.calendar-months a:hover,
.calendar-months a:focus {
  border: 2px solid #4caf50;
  background: #e8f5e9;
}
.calendar-months i {
  font-size: 2.1rem;
  line-height: 2.1rem;
}
.checkmark {
  font-size: 1rem;
  position: absolute;
  bottom: 0.2rem;
  right: 0.3rem;
}

/* Terms & Condish */
.terms-container {
  max-width: 600px;
  margin: 0 auto 2em;
}

#terms-box {
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 1em;
  height: 150px;
  overflow-y: auto;
  background: #fafafa;
  font-size: 0.95em;
  color: #000;
}
