* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

body {
    font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: #708090; /* Slate Grey */
  transition: color 0.3s;
}

a:hover {
  color: #4B5C70; /* Slightly darker Slate Grey for hover effect */
}

img {
  width: 100%;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 1rem 0;
    max-width: 60vw;
}

header {
    background-color: #fff;
    height: 90vh;
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Raleway', sans-serif;
}

header h1 {
  margin: 0;
  color: #DDA01D;
  position: absolute;
  top: 1.3rem;
  left: 6rem;
  font-size: 2rem;
}

#header-wrapper {
    border: 1px solid transparent;
    border-radius: 1.5rem;
    width: 90vw;
    height: 70vh;
    margin: auto;
    padding: .5rem;
    display: flex;
    color: #fff;
    background: url('../img/bg2.jpg') no-repeat center top;
    background-size: cover;
    margin-top: 5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}



header img {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 4rem;
  max-width: 4rem;
  z-index: 1001;
}

#menu-container {
  position: fixed;
  z-index: 1001;
}

   .menu-icon {
  cursor: pointer;
  display: inline-block;
  position: fixed;
  top: 1.3rem;
  right: 1.5rem;
  padding: 0.5rem;
}

.menu-icon span {
  display: block;
  width: 2rem;
  height: 0.3rem;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;

}

.menu-icon span:last-child {
  border-bottom: 0px solid transparent;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .slide-menu {
  top: 0;
}

.slide-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: top 0.3s ease-out;
  z-index: 1000;
  color: white;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  cursor: pointer;
}


.slide-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 20% 0 0 0;
  text-align: center;
}

.slide-menu ul li {
  margin-bottom: 20px;
}

.slide-menu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  transition: color 0.3s;
}

.slide-menu ul li a:hover {
  color: #555;
}

.slide-menu ul li a:active + #menu-toggle {
  display: block;
}

.slide-menu ul li a:focus + #menu-toggle {
  display: block;
}

#menu-toggle:checked ~ .slide-menu ul li a:focus + #menu-toggle,
#menu-toggle:checked ~ .slide-menu ul li a:active + #menu-toggle {
  display: none;
  top: -100%;
}

header .tagline {
    font-size: 1.2em;
    margin: 1rem 0;
}

.cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1.2em;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    width: 10rem;
    align-self: center;
}

.cta:hover {
    background: #555;
    color: white;
}

#features_extensive {
    background: #efefef;
    padding: 50px 0;
}

#features_extensive h2 {
    text-align: center;
    margin-bottom: 40px;
}

.feature {
    background: #f9f9f9;
    margin-bottom: 30px;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 80%;
}

.feature h3 {
    margin-bottom: 1rem;
    color: #333;
}

.feature ul {
    list-style-type: none;
}

.feature li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
}

.feature li:before {
    /* content: '✔'; */
    position: absolute;
    left: 0;
    color: #333;
}


#features h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 1rem;
}

.hide {
  display: none;
}

.invisible {
  visibility: hidden;
}

.noshow {
  position: absolute;
  left: -100vw;
}

#testimonials {
    background: #333;
    color: #fff;
    padding: 50px 0;
}

.flex-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    width: 80%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 1s ease-in-out;
    transform: translateX(-100%);
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    user-select: none;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.testimonial {
    background: #444;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

#contact {
    background: #dda01d;
    padding: 50px 0;
}

#contact h2 {
    text-align: center;
    margin-bottom: 40px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form label {
    margin: 0.5rem 0 5px;
    width: 100%;
    font-weight: normal;
    line-height: 1.8;
    color: #333;
}

form input, form textarea {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    display: block;
    box-sizing: border-box;
    width: 100%;
    font-family: inherit;
    /* font-size: 0.76923rem; */
    /* color: #333; */
    /* background-color: #fefefe; */
    /* box-shadow: inset 0 1px 2px rgba(51, 51, 51, 0.1); */
    border-radius: .2rem;
    /* transition: box-shadow 0.5s, border-color 0.25s ease-in-out; */
    /* -webkit-appearance: none; */
    border-color: transparent;
}

form button {
    padding: 0.5rem 1rem;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

form button:hover {
    background: #555;
}

#submitResponse {

}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.feature, .testimonial {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.slide-in {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature h3 {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    margin-bottom: 1rem;
}

.feature h3 i {
    margin-right: 0.5rem;
}

.feature ul {
    list-style-type: none;
    padding: 0;
}

.feature ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    text-align: left;
}

.feature ul li i {
    margin-right: 0.5rem;
}

.hide-on-medium {
	display: none;
}


/* Updated Media Queries for Responsiveness */
@media (max-width: 768px) {

		.hide-on-small-only {
			display: none;
		}

		.hide-on-medium {
			display: block;
		}

    header {

      background: #fff;
    }

    header h1 {
        font-size: 1.5em;
        top: 1.7rem;
    }

    #menu {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
    }

    header .tagline {
        font-size: 1em;
    }

    .container {
        width: 95%;
        max-width: 95%;
    }

    .feature ul li {
        font-size: 0.9em;
    }

    .feature h3 {
        font-size: 1.2em;
    }
}

.full-width {
 width: 100vw !important;
 max-width: 100vw !important;
}

.feature ul li ul li {
    align-self: flex-end;
}

h3 {
    margin-bottom: 2rem;
}


.feature h4 {
    font-size: 120%;
}

.feature h4 i {
    display: block;
    font-size: 200%;
    margin-bottom: 1rem;
}


.feature.center {
    justify-self: auto;
}


.features-grid.center {
    justify-items: center;
}
