
* {
    box-sizing: border-box;

}
.aboreto-regular {
  font-family: "Aboreto", system-ui;
  font-weight: 400;
  font-style: normal;
}
body {
  background-color: #E68C5B;
  margin-left: 1em;
  margin-right: 1em;
}


h1 {
  font-size: 10rem;
  font-weight: 400;
  align-items: center;
  color:black;
  display: flex;

}
h2 {
  font-family: "Aboreto", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 2.05rem;
  font-weight: 400;
  font-size: 2.05rem; 
  font-weight: 400;
  color:black;
  display: flex;
  background-color: antiquewhite;
  padding-left: 20px;
}
footer{
  align-items: center;
}
h3 {
  color: #000;
  font-family: Aboreto;
  font-size: 2.05rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background-color: antiquewhite;

  padding-left: 2vw; /* space before "Book a Consultation Today" it*/
}
p {
  font-family: "Aboreto", system-ui;
  font-weight: 400;
  font-style: normal;

}
img{
  height: 25%;
  width: 25%;
}
.top{
  width: 100%;
  height: 50%;
}
.gridlayout{
  display: grid;
  grid-template-columns: .5em .5em .5em;
grid-template-rows: .5em .5em .5em;
  img{
    height: 25%;
    width: 25%;
    padding: 15px;
  }
}
.sbutton{
  background-color: antiquewhite;
  border-style: none;
  font-size: 20px;
  padding: 5px;
  margin-bottom: 20px;
    font-family: "Aboreto", system-ui;
}

label {
  font-family: "Antic", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow: hidden;
}

.slider{
 position: relative; 
 width: 100%;
 margin: auto;
 overflow: hidden;  
}
.slider img{
  width: 100%;
  display: none;
}
img.displaySlide{
  display: block;
}
.slider button{
  position: absolute;
}

.slides {
    position: relative;
    width: 100%;
    height: 400px; /* Adjust as needed */
    align-content: center;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  
}

.displaySlide {
    display: block !important;

}

input[type=text] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  box-sizing: border-box;
  border: none;
  background-color: antiquewhite;
  color: black;
}

select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  box-sizing: border-box;
  border: none;
  background-color: antiquewhite;
  color: black;
}

.twoContainer{
    display: flex;
}

.twoContainer img {
    width: 500px;

}


        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Main Grid Layout */
        .grid-layout {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(3, auto);
            gap: 0;
        
        }

        /* Image styling */
        .grid-item {
            position: relative;
            overflow: hidden;
        }

        .grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            margin:.5em ;
        }

        /* Grid item positions */
        .item-1 {
            grid-column: 1 / 2;
            grid-row: 1 / 3;
            min-height: 600px;
        }

        .item-2 {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
            min-height: 240px;
        }

        .item-3 {
            grid-column: 3 / 4;
            grid-row: 1 / 2;
            min-height: 240px;
        }

        /* Mission section */
        .mission-section {
            grid-column: 2 / 4;
            grid-row: 2 / 3;
            padding: 40px 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .mission-section h2 {
            font-size: 3rem;
            font-weight: 300;
            letter-spacing: 0.05em;
            margin-bottom: 20px;
            text-transform: uppercase;

        }

        .mission-section p {
            font-size: 1.rem;
            line-height: 1.6;

        }

        .item-4 {
            grid-column: 1 / 2;
            grid-row: 3 / 4;
            min-height: 300px;
        }

        .item-5 {
            grid-column: 2 / 4;
            grid-row: 3 / 4;
            min-height: 300px;
        }

        /* Quote section */
        .quote-section {
            grid-column: 1 / 4;
            grid-row: 4 / 5;

            text-align: center;
            font-size: 30px;
            background-color: antiquewhite;
            margin: 10px;
        }


        /* Bottom image */
        .item-6 {
            grid-column: 1 / 4;
            grid-row: 5 / 6;
            min-height: 350px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .grid-layout {
                grid-template-columns: repeat(2, 1fr);
            }

            .item-1 {
                grid-column: 1 / 2;
                grid-row: 1 / 2;
                min-height: 400px;
            }

            .item-2 {
                grid-column: 2 / 3;
                grid-row: 1 / 2;
            }

            .item-3 {
                grid-column: 1 / 2;
                grid-row: 2 / 3;
            }

            .mission-section {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
            }

            .item-4 {
                grid-column: 1 / 3;
                grid-row: 3 / 4;
            }

            .item-5 {
                grid-column: 1 / 3;
                grid-row: 4 / 5;
            }

            .quote-section {
                grid-row: 5 / 6;
            }

            .item-6 {
                grid-row: 6 / 7;
            }

            .mission-section h2 {
                font-size: 2.5rem;
            }

            .quote-section blockquote {
                font-size: 1.8rem;
            }
            .slides{
              height: auto;
              width: auto;
            }
        }

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

            .item-1, .item-2, .item-3, .item-4, .item-5, .mission-section, .quote-section, .item-6 {
                grid-column: 1 / 2;
                grid-row: auto;
            }

            .mission-section {
                padding: 30px;
            }

            .mission-section h2 {
                font-size: 2rem;
            }

            .quote-section {
                padding: 30px;
            }

            .quote-section blockquote {
                font-size: 1.4rem;
            }

            .quote-section cite {
                font-size: 1.2rem;
            }
        }