:root{
    --primary-color: #7D1C30;
    --accent-color: #E08C27;
    --secondary-color: #fff;
}


main{
  margin-top: 0px;
}

.services-second-scroll {
    background-color: #9E5564;
    width: 100%;
    padding-bottom: 2rem;
}

.services-section {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Ensures all service boxes have equal height */
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem 2rem 1rem;
    background-color: #9E5564;
    color: var(--secondary-color);
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 320px;
    max-width: 350px;
    background-color: #9E5564;
    color: var(--secondary-color);
    padding: 2rem 1rem;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow:
        0 0 white,   /* top */
        4px 0 8px white,    /* right */
        0 0px 10px white,   /* bottom */
        0px 0 0px rgb(183, 183, 183);   /* left */
    transition: transform 0.2s;
}

.service:hover {
    transform: translateY(-5px) scale(1.02);
}

.service h3 {
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
    text-align: center;
}

.service ul {
    list-style: disc inside;
    margin: 1rem 0 0 0;
    padding: 0;
    text-align: left;
}

.service li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* .separator {
    width: 2px;
    background-color: var(--secondary-color);
    margin: 0 1rem;
    align-self: stretch;
    opacity: 0.3;
    border-radius: 1px;
} */

.service-image {
    width: 100%;
    height: 15rem;
    max-width: 320px;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .services-section {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 1.5rem 0;
    }
    .service {
        max-width: 95vw;
        min-width: 0;
    }
}
@media (max-width: 600px) {
  .service:hover {
    transform: none;
}

.services-section {
  width: 80%;
  padding: 2rem 0;
  /* background: #fff; */
}
    .intro-paragraph {
        width: 90%;
    }
    .service h3 {
        font-size: 1.1rem;
    }
    .service li {
        font-size: 0.9rem;
    }
    .service-image {
        height: 12rem;
    }
}    
@media (max-width: 400px) {
    .service h3 {
        font-size: 1rem;
    }
    .service li {
        font-size: 0.8rem;
    }
    .service-image {
        height: 10rem;
    }
}



.get-started-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem 4rem 1rem;
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  color: #222;
}

.get-started-info {
  flex: 1 1 350px;
  min-width: 280px;
  padding-right: 1rem;
  text-align: left;
}

.get-started-info h2 {
  font-size: 2rem;
  color: #9E5564;
  margin-bottom: 0.5rem;
  text-align: left;
  padding: 0;
}

.get-started-info p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.get-started-form {
  flex: 1 1 350px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.get-started-form input,
.get-started-form select {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  margin: 0.5rem auto 1rem auto;
}

.get-started-form input:focus,
.get-started-form select:focus {
  border-color: #9E5564;
  outline: none;
}

.get-started-form select {
  appearance: none;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 1rem center / 1.2em;
}

.youtube-grid {
  width: 95%;
  margin-left: 2.5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 150px;
}

.youtube-embed {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 14px;
}


/* Mobile: stack in column */
@media (max-width: 768px) {
    main{
    margin-top: 50px;
  }
  h2{
    font-size: 24px;
  }
  .get-started-section {
    flex-direction: column;
    padding: 0rem 1rem 4rem 1rem;
  }
  .get-started-info {
    padding-right: 0;
    text-align: center;
    margin-bottom: 0rem;
    flex: 0 0 50px;
  }
  .get-started-form {
    width: 100%;
  }
}

/* Responsive: adjust form fields for smaller screens */
@media (max-width: 600px) {    
    .get-started-form input,
    .get-started-form select {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    .primary-btn {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .youtube-grid {
  width: 95%;
  margin-left: 2.5%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 150px;
}
}