:root{
    --font-small: 0.5em;
    --font-medium: 1em;
    --font-medium-large: 1.25em;
    --font-large: 1.5rem;
    --font-x-large: 2rem;
    --font-2x-large: 3rem;
    --font-3x-large: 3.5rem;
    --font-4x-large: 4rem;
    --font-5x-large: 4.5rem;
    --font-6x-large: 5rem;
    --font-7x-large: 5.5rem;

    --transition-slow: 0.6s;
    --transition-medium: 0.4s;
    --transition-fast: 0.2s;
    --transition-fastest: 0.1s;
}

#about{
    padding: 3% 10% 2% 10%;
    background-color: #FFFFFF;
}

#gallery{
  padding: 3% 10% 2% 10%;
  background-color: #B80C09;
}

.contain{
  width: 60%;
  margin: 2rem auto; 
}

.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 1.5rem; 
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; 
}

.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}

.gallery__item--2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}

.gallery__item--3 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 6;
}

.gallery__item--4 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 6;
}

.gallery__item--5 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 9;
}

.gallery__item--6 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 6;
  grid-row-end: 9;
}

/*Testimonials*/

#testimonial-area {
	padding: 80px 0;
}
.testimonials .section-header h4 {
	color: #B80C09;
	font-weight: 600;
}
.testimonials .section-header {
	padding-bottom: 15px;
}
.testimonials .section-header h2 {
	font-weight: 700;
}
.testimonials .section-header p {
	color: #6f6b80;
	width: 40%;
	margin: auto;
}
.testimonials .icon-area {
	text-align: center;
}
.testimonials .icon-area i {
	color: #B80C09;
	font-size: 80px;
	margin-bottom: 20px;
}
.testimonials .content p {
	color: #6f6b80;
	width: 60%;
	margin: auto;
}
.testimonials .person {
	width: 100px;
	height: 100px;
	display: block;
	margin: auto;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #B80C09;
	margin-top: 50px;
}
.testimonials .person img {
	width: 100%;
}
.testimonials .content h5 {
	font-weight: 900;
	margin-top: 15px;
}
.testimonial-area {
	background: url(test1.jpg);
	background-size: cover;
	background-position: center;
}

.testimonials .carousel-indicators {
	bottom: -80px;
}
.testimonials .carousel-indicators [data-bs-target] {
	width: 60px;
	height: 10px;
	background-color: #B80C09;
}
@media (min-width: 768px) and (max-width: 991px) {
	.testimonials .section-header p {
		width: 85%;
        
	}
	.testimonials .content p {
		width: 95%;
	}
}
@media (max-width: 767px) {
	.testimonial-area {
		padding: 30px 0;
	}
	.testimonials .section-header p {
		width: 95%;
	}
	.testimonials .content p {
		width: 100%;
	}
	.testimonials .icon-area i {
		font-size: 50px;
	}
}

/*HOME*/

.head .body {
  margin:0;
}

.head .h1 {
  font-family: 'Varela Round', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
.head .p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:14px;
  color: #333333;
}

.head {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}


.inner-head {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 0;
}

.head .flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.head .waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.head .content {
  position:relative;
  height:20vh;
  text-align:center;
  background-color: white;
}

/* Animation */

.head .parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.head .parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.head .parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.head .parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.head .parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .head .waves {
    height:40px;
    min-height:40px;
  }
  .head .content {
    height:30vh;
  }
  .head .h1 {
    font-size:24px;
  }
}



/*SERVICES*/

.services {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .services.container{
    width: 80%;
  }
  
  .services .cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .services .cards .card {
    max-height: 300px;
    height: 320px;
    overflow: auto;
    width: 35%;
    text-align: center;
  }
  
  .services .cards .card h3{
    color: var(--title-span-color);
    font-size: var(--font-medium-large);
  }
  
  .services .cards .card .card-text{
    font-size: var(--font-medium-large);
  }
  
  .services .cards .card .card-text p span {
    color: var(--title-span-color);
  }

  /*Numbers*/

.numbers {
    padding-top: 50px;
    padding-bottom: 50px;
}

.highway-red
{color:#fff!important;background-color:#B80C09}

.numbers .container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}
  
.numbers .container .text {
    text-align: center;
    color: var(--nav-link-color);
    font-size: var(--font-large);
}
  
.numbers h2 {
    font-size: var(--font-3x-large);
    color: var(--nav-link-color);
}
  
.numbers .container .text .number {
    font-size: var(--font-3x-large);
}

/*CONTACT*/
.contact {
    min-height: 400px;
    display: flex;
    justify-content: flex-end;
    padding: 50px;
}

.highway-blue{
    color:#00B7CF
}
.contact .form .container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
.contact span {
    color: var(--title-span-color);
    transition: var(---transition-fast);
}
  
.contact span:hover {
    font-weight: bolder;
}
  
.contact .form .container form {
    width: 80%;
}
  
.contact .short-contact {
    display: flex;
    flex-direction: column;
    align-items: left;
    min-height: 400px;
}
  
  .contact h2 {
    font-size: var(--font-3x-large);
    width: max-content;
  }
  
.contact .form input[type="text"],select,textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}
  
.contact .form input[type="submit"] {
    background-color: #304c89;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
  
.contact .form input[type="submit"]:hover {
    background-color: #4966a5;
}



 