/*General styles*/

html {
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body{
    height: 100%;
    display: flex;
    flex-direction: column;
}

#navbar-effect {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

#navbar-effect.scrolled {
    background-color: #1a213b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-link{
    color: white;
    font-weight: 600;
}

.navbar .nav-link:hover {
  color: #e8148b;
  font-weight: 600;
}

.navbar .nav-link:active {
  color: #e8148b;
}

.dropdown-menu {
  background-color: #e8148b;  
  border-radius: 8px;         
  border: none;               
}

.dropdown-item {
  color: #fff;                
  padding: 12px 20px;         
  transition: background 0.2s;
}

.dropdown-item:hover {
  background-color: #1a213b;
  color: #fff;
}

.dropdown-item:active,
.dropdown-item:active {
  background-color: #1a213b;
  color: #fff;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler-icon:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23e8148b' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.check-mark img{
    width: 25px;
}

.sect-3{
    font-family: 'Open Sans', sans-serif;
    padding: 5em 1em;
    background-color: #1a213b;
    color: white;
}

.info a, .info-2 a{
    color: #ffffff;
    margin-bottom: 1em;
    font-size: .85rem;
}

.info a:visited,
.info-2 a:visited{
    color: #ffffff;
    text-decoration: none;
}

.info a:hover,
.info-2 a:hover{
    color: #e8148b;
}

.details a{
    color: #ffffff;
    margin-bottom: 1em;
    font-size: .85rem;
}

.details a:visited{
    color: hsl(0, 0%, 100%);
    text-decoration: none;
}

.details a:hover{
    color: hsl(0, 0%, 100%);
}

.local{
    margin-top: -1.5em;
    margin-left: 2.2em;
}

.info, .info-2{margin-top: 3em;}

.icons{
    margin-bottom: 2em;
    margin-top: 2em;
}

.icons a{
    color: #fff;
}

.icons a:visited{
    color: #fff;
}

.fa-brands{ 
    border-radius: 50px;
    border: 1px solid white;
    padding: 0.8em;
}

.fa-brands:hover{
    color: #e8148b;
    border: 1px solid #e8148b;
}

.copyright{
    font-size: 0.8rem;
    margin-bottom: 5em;
}

.credit a{
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
}

.credit a:visited{
    color: #fff;
}

.credit a:active{
    color: #fff;
}

.confirm{
    width: 100dvw;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e8148b;
}

.thank-you{
    background-color: #fff;
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 1em;
    border-radius: 22px;
}

.thank-you p{
    line-height: 1.2;
    font-size: 1.1rem;
    color: #1a213b;
    text-align: center;
}

.thank-you .ty-heading{
    padding-top: .5em;
    line-height: 1.2;
    font-size: 2rem;
    color: #1a213b;
}

.thank-you a{
    color: #e8148b;
    font-weight: 600;
}

/*HOME PAGE STYLES*/

.home-hero{
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/analyzing.jpg") no-repeat center center/cover;
}

.home-hero p{
    width: 60%;
    text-align: center;
    color: #fff;
}

.home-hero button{
    padding: 15px 30px;
    background-color: #e8148b;
    border-radius: 32px;
    border: none;
}

.home-hero button a{
    font-weight: 500;
    color: #fff;
}

/*Home page services carousel card section*/

.main-card-carousel{
    padding: 5% 10%;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    height: fit-content;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: #fff;
}

.product-control-prev,
.product-control-next {
    width: 5%;
    height: fit-content;
    top: 60%;
    transform: translateY(-60%);
    z-index: 3;
    background-color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2332ec87' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2332ec87' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.curved-sec-wrapper{
    width: 100%;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 60% 40%;
    background-image: url(/images/pictures/neighborhood.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.l-side{
    background-color: #1a213b;
    border-bottom-right-radius: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.l-side .content{
    width: 75%;
    color: #fff;
}

.l-side .content h6{
    width: fit-content;
    font-size: 1rem;
    border-bottom: solid 5px #e8148b;
}

.l-side .content :nth-child(2){
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
}

.l-side .content :last-child{
    max-width: 70%;
    font-weight: 400;
}

.service-desc{
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    background-color: #1a213b;
    color: #fff;
    gap: 2em;
    padding: 5% 0;
}

.exp-card{
    width: 80%;
    justify-self: center;
    grid-column: 1/3;
    grid-row: 1/2;
    display: flex;
    align-items: center;
    border-radius: 22px;
    padding: 1em;
    background-color: #8c8da4;
}

.exp-card-content :first-child{
    font-size: 1.5rem;
    font-weight: 600;
}

.exp-card:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.exp-card-image{
    width: 100%;
    padding-right: 1em;
}

.exp-card-image img{
    border-radius: 22px;
    max-width: 100%;
}

.pos-1{
    grid-column: 1/2;
    grid-row: 2/3;
    justify-self: end;
}

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

.pos-3{
    grid-column: 1/2;
    grid-row: 3/4;
    justify-self: end;
}

.pos-4{
    grid-column: 2/3;
    grid-row: 3/4;
}

.assurance-card{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-radius: 22px;
    padding: 1.2em 1em;
}

.assurance-card:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.assurance-card .card-head{
    display: flex;
    align-items: flex-start;
    gap: .8em;
}

.assurance-card .card-head h6{
    font-size: 1.8rem;
    font-weight: 400;
}

.a-card-content p{
    font-size: 1rem;
    line-height: 1.3;
    padding-top: .7em;
}

.color-text{
    color: #e8148b;
}

.features{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,1fr);
    /*grid-auto-rows: 500px;*/
    gap: 20px;
    padding: 7em 2em 5em;
}

.e-card {
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 800px;
    height: 800px;
    opacity: 0.6;
    left: 35%;
    bottom: -90%;
    transform: translateX(-50%);
    margin-left: -40%;
    margin-top: -20%;
    background: linear-gradient(744deg, #ff6ec7, #b33b8a 60%, #ff91d1);
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 10000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 4000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 5000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.features-color-card{
    background-color: #e8148b;
    border-radius: 22px;
}

.features-image img{
    width: 100%;
    height: 100%;
    border-radius: 22px;
}

.features-card{
    background-color: #8c8da4;
    height: 100%;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-card p{
    color: #fff;
    text-align: center;
    width: 80%;
}

.our-team{
    padding: 5%;
}

.team-sec-content{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: 1fr;
    grid-template-rows: max-content 1fr;
    height: fit-content;
    gap: 30px;
    background-color: #fff;
}

.team-card{
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .1);
    min-height: 350px;
    padding: 0;
    transition: all .5s;
    display: flex;
    overflow: visible;
    transform: translate(0);
}

.team-card:hover{
    background-image: linear-gradient(to bottom, #c30972 30%, #e8148b 70%);
    transform: translate(0, -20px);
    background-color: #e8148b;
    color: #fff;
}

.team-card-head img{
    max-width: 100%;
}

.our-team h3{
    grid-column: 1/5;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a213b;
}

.danny{
    grid-column: 1/2;
    grid-row: 2/3;
    justify-self: center;
}

.erika{
    grid-column: 2/3;
    grid-row: 2/3;
    justify-self: center;
}

.john{
    grid-column: 3/4;
    grid-row: 2/3;
}

.jane{
    grid-column: 4/5;
    grid-row: 2/3;
}

.team-card-body{
    padding: 1em;
}

.team-card-body h6{
    font-size: 1.5rem;
    padding-top: 1em;
}

.team-card-body sub{
    font-size: 1rem;
    font-style: italic;
}

.team-card-body p{
    padding-top: 1.5em;
}

.contact-sect{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    padding: 5%;
    background-color: #1a213b;
}

.contact-sect h4{
    width: 80%;
    font-weight: 300;
    color: #fff;
    font-size: 2.5rem;
}

.contact-sect-link{
    padding: 10px 25px;
    margin: 0 auto;
    background-color: #e8148b;
    border-radius: 22px;
}

.contact-sect-link a{
    color: white;
}

.testimonial-carousel{
    width: 100%
}

.t-card-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
}

.t-card{
    width: 40%;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2% 1%;
    padding-bottom: 1em;
}

.t-card-body h6{
    color: #1a213b;
    font-size: 1.2rem;
}

.t-card-body :last-child{
    color: #e8148b;
}

/*FINANCIAL SERVICES PAGE STYLES*/

.financial-services-hero, .pro-services-hero, .construction-hero, .manufacturing-hero, .commercial-hero, .private-hero{
    height: 100dvh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 2.5em;
}

.financial-services-hero{
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/consultation.jpg") no-repeat center center/cover;
}

.financial-services-hero .text-content, .pro-services-hero .text-content, .construction-hero .text-content, .commercial-hero .text-content, .manufacturing-hero .text-content, .private-hero .text-content{
    color: #fff;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
}

.clients{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(3,auto);
    gap: 20px;
    padding: 5% 10%;
}

.clients-card, .construction-card, .p-service-card, .man-service-card, .commercial-service-card, .private-service-card{
    padding: 1.5em;
}

.clients-card{
    border-radius: 22px;
}

.clients-card-head h2, .construction-card-head h2, .commercial-card-head h2, .man-card-head h2, .private-card-head h2{
    font-size: 1.6rem;
    padding-bottom: .8em;
}

.check-mark{
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 15px;
}

.tick-card-1{
    grid-column: 1/2;
}

.tick-card-2{
    grid-column: 2/3;
    grid-row: 1/2;
    background-color: #ebecf0;
}

.tick-card-1:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.tick-card-2:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.big-card{
    grid-column: 1/3;
    grid-row: 2/3;
    background-color: #1a213b;
    color: #fff;
    display: flex;
    align-items: center;
    height: fit-content;
}

.big-card .text-content{
    line-height: 1.5;
    width: 70%;
}

.big-card .text-content h2{
    font-size: 3rem;
}

.big-card .text-content p:not(.header-text){
    font-size: 1.2rem;
}

.header-text{
    font-size: 1.4rem;
}

.c-big-card-img img{
    border-radius: 22px;
    max-width: 100%;
}

.big-card h2{
    font-size: 2rem;
    font-weight: 700;
}

.open-card-1{
    grid-column: 1/2;
    grid-row: 3/4;
    color: #1a213b;
}

.open-card-1 h3{
    font-size: 2rem;
    padding: .8em 0;
}

.open-card-2{
    grid-column: 2/3;
    grid-row: 3/4;
    align-content: center;
    color: #1a213b;
}

.f-curved-sec-wrapper{
    width: 100%;
    height: 75dvh;
    display: grid;
    grid-template-columns: 50% 50%;
    background-image: url(/images/pictures/meeting.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}
    
.f-curved-sec-wrapper .l-side .content h3{
    font-size: 3rem;
    font-weight: 700;
}

.f-curved-sec-wrapper .l-side .content p{
    max-width: 80%;
    font-size: 1.2rem;
}

.backdrop{
    height: 50dvh;
    background-image: url(/images/pictures/finance.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/*PROFESSIONAL SERVICES PAGE STYLES*/

.pro-services-hero{
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/team.jpg") no-repeat center center/cover;
}

.pro-services-desc{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    padding: 5% 10%;
    background-color: #fff;
}

.p-tick-card-2{
    background-color: #ebecf0;
}

.pro-image{
    display: flex;
    grid-column: 1/3;
    grid-row: 2/3;
    border-radius: 22px;
    color: #fff;
    background-color: #1a213b;
    align-items: center;
}

.pro-image-content{
    height: 95%;
    margin-left: 1.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pro-image-content h2{
    font-size: 2.8rem;
    font-weight: 700;
}

.pro-image-p {
    font-size: 1.2rem;
}

.pro-image img{
    border-radius: 22px;
    object-fit: cover;
}

.pro-image:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.pro-big-card{
    display: flex;
    grid-column: 1/3;
    grid-row: 3/4;
    border-radius: 22px;
    color: #1a213b;
    background-color: #dfe0e4;
}

.pro-big-card .text-content{
    margin: 0 .5em 1em;
}

.pro-big-card .text-content h3{
    font-size: 3rem;
    font-weight: 700;
}

.pro-big-card .text-content p:not(.pro-header-text){
    font-size: 1.2rem;
}

.pro-header-text{
    font-size: 1.3rem;
}

.pro-header-list{
    margin: 0 1em;
}

.pro-big-card img{
    border-radius: 22px;
    flex-shrink: 3;
    max-width: 50%;
    object-fit: cover;
}

.p-open-card-1{
    grid-column: 1/2;
    grid-row: 4/5;
    display: flex;
    flex-direction: column;
}

.p-open-card-1 img{
    margin-left: auto;
}

.p-open-card-1 p{
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a213b;
}

.p-open-card-2 p{
    font-size: 1rem;
    color: #1a213b;
}

.pro-curved-sec-wrapper{
    width: 100%;
    height: 85dvh;
    display: grid;
    grid-template-columns: 55% 45%;
    background-image: url(/images/pictures/meeting.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.pro-curved-sec-wrapper .l-side .content h3{
    font-size: 3rem;
    font-weight: 700;
}

.pro-curved-sec-wrapper .l-side .content p{
    max-width: 80%;
    font-size: 1.2rem;
}

/*PROPERTY AND CONSTRUCTION SERVICES PAGE STYLES*/

.construction-hero{
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/diggers.jpg") no-repeat center center/cover;
}

.construction-desc{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    padding: 5%;
    background-color: #fff;
    padding: 3% 10%;
}

.construction-card{
    border-radius: 22px;
}

.con-big-card{
    display: flex;
    grid-column: 1/3;
    grid-row: 2/3;
    background-color: #1a213b;
    color: #fff;
}

.c-text-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-text-content p{
    font-size: 1.1rem
}

.c-text-content p:not(:last-child){
    font-size: 1.3rem;
}

.con-big-card img{
    max-width: 45%;
    border-radius: 22px;
}

.con-big-card h3{
    font-size: 2.5rem;
    font-weight: 700;
}

.con-open-card-1{
    grid-column: 1/2;
    grid-row: 3/4;
}

.con-open-card-1 h3{
    font-size: 2rem;
}

.con-open-card-1 p, .con-open-card-2 p{
    color: #1a213b;
}

.con-open-card-2{
    grid-column: 2/3;
    grid-row: 3/4;
    align-self: center;
}

.con-insurance-services{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5em;
    row-gap: 2.5em;
    padding: 3% 10% 7%;
}

.cis-description{
    grid-column: 1/4;
    text-align: center;
}

.cis-description p{
    color: #1a213b;
    font-weight: 600;
    max-width: 55%;
    margin: auto;
}

.con-service-cards{
    border-radius: 22px;
    padding: .5em 1em;
}

.con-service-cards:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.con-service-cards h6{
    color: #1a213b;
    font-size: 1.67rem;
    padding: .5em 0;
}

.con-service-cards p{
    color: #1a213b;
}

.commercial{
    background-color: #dfe0e4;
}

.construction{
    background-color: #fbfbfb;
}

.project{
    background-color: #f7dfed;
}

.con-curved-sec-wrapper{
    width: 100%;
    height: 85dvh;
    display: grid;
    grid-template-columns: 55% 45%;
    background-image: url(/images/pictures/africa_hood.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.con-curved-sec-wrapper .l-side .content h3{
    font-size: 3rem;
    font-weight: 700;
}

.con-curved-sec-wrapper .l-side .content p{
    max-width: 80%;
    font-size: 1.2rem;
}

.white-space{
    height: 45dvh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.white-space img{
    border-radius: 100%;
    background-color: #e8148b;
    width: 150px;
}

.con-backdrop{
    height: 55dvh;
    background-image: url(/images/pictures/blueprint.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/*MANUFACTURING, COMMERCIAL AND PRIVATE SERVICES PAGE STYLES*/

.manufacturing-services, .commercial-services, .private-services{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 5% 10%;
    background-color: #fff;
}

.man-tick-card-1, .commercial-tick-card-1, .private-tick-card-1, .p-tick-card-1{
    grid-column: 1/2;
    grid-row: 1/2;
    border-radius: 22px;
}

.man-tick-card-1:hover, .commercial-tick-card-1:hover, .private-tick-card-1:hover, .p-tick-card-1:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.man-tick-card-2, .commercial-tick-card-2, .private-tick-card-2, .p-tick-card-2{
    grid-column: 2/3;
    grid-row: 1/2;
    border-radius: 22px;
    background-color: #ebecf0;
}

.man-tick-card-2:hover, .commercial-tick-card-2:hover, .private-tick-card-2:hover, .p-tick-card-2:hover{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.man-big-card-1, .commercial-big-card-1, .private-big-card-1{
    display: flex;
    grid-column: 1/3;
    grid-row:2/3 ;
    border-radius: 22px;
    background-color: #1a213b;
    color: #fff;
}

.man-big-card-1 img, .commercial-big-card-1 img, .private-big-card-1 img{
    max-width: 50%;
    border-radius: 22px;
    margin-left: 1.5em;
}

.man-big-card-2, .commercial-big-card-2, .private-big-card-2{
    display: flex;
    flex-direction: row-reverse;
    grid-column: 1/3;
    grid-row: 3/4;
    border-radius: 22px;
    background-color: #8c8da4;
    color: #fff;
}

.man-big-card-2 img, .commercial-big-card-2 img, .private-big-card-2 img{
    max-width: 50%;
    border-radius: 22px;
    margin-right: 1.5em;
}

.man-open-card-1, .commercial-open-card-1, .private-open-card-1{
    grid-column: 1/2;
    grid-row: 4/5;
    border-radius: 22px;
}

.man-open-card-2, .commercial-open-card-2, .private-open-card-2{
    grid-column: 2/3;
    grid-row: 4/5;
    border-radius: 22px;
}

.private-open-card-2{
    align-self: end;
}

.cb-card-head, .manb-card-head, .prib-card-head{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cb-card-head :nth-child(2), .manb-card-head :nth-child(2), .prib-card-head :nth-child(2){
    font-size: 1.3rem;
}

.cb-card-head h3, .manb-card-head h3, .prib-card-head h3{
    font-size: 3rem;
    font-weight: 700;
}

.cb-card-head p, .manb-card-head p, .prib-card-head p{
    font-size: 1.1rem;
}

.manufacturing-hero{
   background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/cargo_ship.jpg") no-repeat center center/cover; 
}

.private-hero{
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/house.jpg") no-repeat center center/cover;
}

.man-open-card-1 p{
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a213b;
}

.man-open-card-2 p{
    color: #1a213b;
}

.private-open-card-1 h6{
    font-size: 2rem;
}

/*COMMERCIAL SERVICES PAGE STYLES*/

.commercial-hero{
    background: linear-gradient(
      rgba(46, 52, 75, 0.7),
      rgba(46, 52, 75, 0.7)
    ),
    url("/images/pictures/cafe_bgi.jpg") no-repeat center center/cover;
}

.promises{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, max-content);
    gap: 20px;
    padding: 0 10% 7%;
    background-color: #fff;
}

.promise-head{
    grid-row: 1/2;
    grid-column: 1/3;
    text-align: center;
}

.promise-head h5{
    font-size: 1.8rem;
    color: #1a213b;
    padding-bottom: 1em;
}

.promise-content{
    grid-row: 3/4;
    grid-column: 1/3;
    text-align: center;
}

.promise-content p{
    max-width: 60%;
    margin: auto;
    padding-top: 4em;
    color: #1a213b;
    font-weight: 600;
    font-size: 1.2rem;
}

.promise-card{
    padding: 15px 20px;
    border-radius: 22px;
    background-color: #dfe0e4;
}

.promise-card h6{
    color: #1a213b;
    font-size: 1.2rem;
    padding: .5em 0;
}

.pink-bgc{
    background-color: #f7dfed;
}

/*CONTACT FORM*/

.contact-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/images/pictures/communicate.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-container {
    display: flex;
    max-width: 80%;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.contact-left {
    background: rgb(232, 20, 139);
    color: #fff;
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-left h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-left address {
    font-style: normal;
    line-height: 1.6;
}

.contact-right {
    flex: 2;
    padding: 40px;
    background: #fff;
}

.contact-right header h1 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #1a213b;
}

.contact-right header p {
    margin-bottom: 20px;
    color: #666;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-bottom: 1px solid #e8148b;
}

textarea {
    resize: none;
    min-height: 100px;
}

.send {
    background: #e8148b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.send:hover {
    background: #c30972;
}

/*MEDIA QUERIES*/

@media  screen and (min-width: 1141px) {

    .med-card-carousel,.small-card-carousel{
        display: none;
    }

    .main-card-carousel{
        background-color: #fff;
        width: 100%
    }

    .card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card{
        width: 32%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 1%;
        padding-bottom: 1em;
        border-radius: 22px;
        border: none;
        background-color: #ebecf0;
    }

    .card .card-body{
        padding: .8em 1.2em;
        line-height: 1.5;
    }

    .card .card-body h1{
        font-size: 1.3rem;
        color: #1a213b;
    }

    .card .card-body p{
        font-size: 1rem;
        color: #1a213b;
    }

    .card img{
        border-radius: 22px;
        /*object-fit: cover;*/
    }

    .card a{
        color: white;
        background-color: #e8148b;
        border-radius: 32px;
        padding: .5em 1.5em;
    }

    .products-carousel{
        min-height: 50dvh;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        padding: 3.5em;
    }

    .products-carousel h2{
        color: #1a213b;
        font-weight: 700;
        font-size: 2.5rem;
    }

    .p-card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .p-card{
        height: 20%;
        width: 30%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 1%;
        padding: 1em;
        border-radius: 22px;
        background-color: #ebecf0;
    }

    .p-card-body p{
        color: #1a213b;
        font-weight: 600;
        font-size: 1.2rem;
    }

    .products-carousel-med,.products-carousel-small{
        display: none;
    }
    
}

@media (min-width: 869px) and (max-width: 1140px) {

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: .9rem;
    }
    
    .main-card-carousel,.small-card-carousel{
        display: none;
    }

    .med-card-carousel{
        display: grid;
        grid-template-columns: 1fr;
        height: 80dvh;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card{
        max-height: fit-content;
        flex: 0 1 33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 2%;
        padding-bottom: 1em;
        border-radius: 22px;
        border: none;
        background-color: #ebecf0;
    }

    .card .card-body{
        padding: .8em 1.2em;
        line-height: 1.5;
    }

    .card .card-body h1 {
        font-size: 1.3rem;
    }

    .card img{
        border-radius: 22px;
    }

    .card a{
        color: white;
        background-color: #e8148b;
        border-radius: 32px;
        padding: .5em 1.5em;
    }

    .l-side .content h6 {
        font-size: .8rem;
        border-bottom: solid 3px #e8148b;
    }

    .l-side .content :nth-child(2) {
        font-size: 3rem;
    }

    .l-side .content :last-child {
        max-width: 80%;
    }

    .products-carousel,.products-carousel-small{
        display: none;
    }

    .products-carousel-med{
        height: fit-content;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        padding: 4em 0;
    }

    .product-control-prev,
    .product-control-next {
        width: 5%;
        height: fit-content;
        top: 60%;
        transform: translateY(-60%);
        z-index: 3;
        background-color: #fff;
    }

    .products-carousel-med h4{
        color: #1a213b;
        font-weight: 800;
        font-size: 2.5rem;
        align-self: end;
    }

    .p-card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .p-card{
        height: 20%;
        width: 35%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 1%;
        padding: 1em;
        border-radius: 22px;
        background-color: #ebecf0;
    }

    .p-card-body p{
        color: #1a213b;
        font-weight: 600;
        font-size: 1.2rem;
    }

    .exp-card-content :first-child {
        font-size: 1.2rem;
    }

    .exp-card-content :last-child{
        font-size: .8rem;
    }

    .assurance-card .card-head h6 {
        font-size: 1.5rem;
    }

    .a-card-content p {
        font-size: .83rem;
    }

    .features{
        grid-template-rows: 1fr 1fr;
    }

    .features-card p {
        font-size: .9rem;
    }

    .team-sec-content {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,auto);
    }

    .our-team h3{
        grid-column: 1/3;
    }

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

    .jane {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .team-card-body p {
        font-size: .9rem;
    }

    .financial-services-hero .text-content, .pro-services-hero .text-content, .construction-hero .text-content, .commercial-hero .text-content, .manufacturing-hero .text-content, .private-hero .text-content {
        color: #fff;
        font-weight: 700;
        font-size: 3rem;
        line-height: 1;
    }

    .clients {
        padding: 5%;
    }

    .clients-card-head h2, .construction-card-head h2, .commercial-card-head h2, .man-card-head h2, .private-card-head h2 {
        font-size: 1.4rem;
    }

    .check-mark p {
        font-size: .95rem;
    }

    .big-card .text-content h2 {
        font-size: 2.2rem;
    }

    .header-text {
        font-size: 1.2rem;
    }

    .big-card .text-content p:not(.header-text) {
        font-size: 1rem;
    }

    .open-card-1 h3, .con-open-card-1 h3 {
        font-size: 1.8rem;
    }

    .open-card-1 p, .con-open-card-1 p{
        font-size: .9rem;
    }

    .open-card-2 p, .con-open-card-2 p{
        font-size: .85rem;
    }

    .l-side .content {
        width: 80%;
    }

    .f-curved-sec-wrapper .l-side .content p {
        max-width: 80%;
        font-size: .9rem;
    }

    .pro-services-desc {
        row-gap: 30px;
        padding: 5%;
    }

    .pro-image-content h2 {
        font-size: 2.3rem;
    }

    .pro-image-content p {
        font-size: 1.1rem;
    }

    .pro-big-card .text-content h3 {
        font-size: 2.5rem;
    }

    .pro-big-card .text-content p:not(.pro-header-text) {
        font-size: .9rem;
    }

    .pro-header-text {
        font-size: 1rem;
    }

    .p-open-card-1 p, .man-open-card-1 p {
        font-size: 1.25rem;
    }

    .p-open-card-2 p, .man-open-card-2 p {
        font-size: .8rem;
    }

    .pro-curved-sec-wrapper .l-side .content p {
        font-size: .9rem;
    }

    .construction-desc {
        padding: 5%;
    }

    .con-big-card h3 {
        font-size: 2.2rem;
    }

    .c-text-content p {
        font-size: .9rem;
    }

    .c-text-content p:not(:last-child) {
        font-size: 1.1rem;
    }

    .con-insurance-services{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, max-content);
    }

    .project{
        grid-column: 1/3;
    }

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

    .con-curved-sec-wrapper .l-side .content p {
        font-size: 1rem;
    }

    .manufacturing-services, .commercial-services, .private-services {
        padding: 5%;
    }

    .cb-card-head h3, .manb-card-head h3, .prib-card-head h3 {
        font-size: 2.3rem;
    }

    .cb-card-head :nth-child(2), .manb-card-head :nth-child(2), .prib-card-head :nth-child(2) {
        font-size: 1.1rem;
    }

    .cb-card-head p, .manb-card-head p, .prib-card-head p {
        font-size: .9rem;
    }

    .promises {
        padding: 0 5% 7%;
    }

    .promise-head h5 {
        font-size: 1.6rem;
    }

    .promise-card h6 {
        color: #1a213b;
        font-size: 1rem;
        padding: .5em 0;
    }

    .promise-card p {
        font-size: .8rem;
    }

    .promise-content p {
        padding-top: 3em;
        font-size: 1rem;
    }

    .private-open-card-1 h6 {
        font-size: 1.8rem;
    }

    .private-open-card-1 p {
        font-size: .9rem;
    }

    .private-open-card-2 p {
        font-size: .85rem;
    }

    .t-card {
       width: 70%;
    }

    .t-card-body h6 {
        font-size: 1.1rem;
    }

    .t-card-body p, .t-card-body :last-child {
        font-size: .9rem;
    }
    
}

@media  screen and (max-width: 869px) {

   /* .navbar-nav{
        align-items: center;
    }*/

    .financial-services-hero, .pro-services-hero, .construction-hero, .manufacturing-hero, .commercial-hero, .private-hero {
        padding: 1.5em;
    }

    .main-card-carousel,.small-card-carousel{
        display: none;
    }

    .med-card-carousel{
        display: grid;
        grid-template-columns: 1fr;
        height: 80dvh;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 5% 0;
    }

    .card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card{
        flex: 0 1 42%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 2%;
        padding-bottom: 1em;
        border-radius: 22px;
        border: none;
        background-color: #ebecf0;
    }

    .card .card-body{
        padding: .8em 1.2em;
        line-height: 1.5;
    }

    .card .card-body h1{
        font-size: 1.25rem;
    }

    .card img{
        border-radius: 22px;
    }

    .card a{
        color: white;
        background-color: #e8148b;
        border-radius: 32px;
        padding: .5em 1.5em;
    }
    
    .products-carousel,.products-carousel-med{
        display: none;
    }

    .products-carousel-small{
        height: fit-content;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        justify-content: center;
        align-items: center;
        margin: 10% 0
    }

    .products-carousel-small h2{
        color: #1a213b;
        font-weight: 700;
        font-size: 2.5rem;
    }

    .p-card-wrapper{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .p-card{
        height: 20%;
        width: 80%;
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 1%;
        padding: 1em;
        border-radius: 22px;
        background-color: #ebecf0;
    }

    .p-card-body p{
        color: #1a213b;
        font-weight: 600;
        font-size: 1.2rem;
    }

    .exp-card-content :first-child {
        font-size: 1.3rem;
    }

    .exp-card-content :last-child {
        font-size: .9rem;
    }

    .a-card-content p {
        font-size: .95rem;
    }

    .team-sec-content {
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,auto);
    }

    .our-team h3{
        grid-column: 1/3;
    }

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

    .jane {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
    }

    .team-card-body p {
        font-size: .9rem;
    }

    .t-card {
       width: 80%;
    }

    .t-card-wrapper {
        padding: 5% 0;
    }

    .clients-card, .construction-card, .p-service-card, .man-service-card, .commercial-service-card, .private-service-card {
        padding: 1em;
    }

    .con-open-card-1, .con-open-card-2, .private-open-card-1, .private-open-card-2{
        padding: 0 1em;
    }

    .pro-image-content p {
        font-size: .9rem;
        margin-top: 2em;
        margin-left: 0;
    }

    .pro-big-card .text-content h3{
        font-size: 2rem;
        font-weight: 700;
    }

    .pro-header-text {
        font-size: 1.1rem;
    }

    .pro-big-card .text-content p:not(.pro-header-text) {
        font-size: .9rem;
    }

    .pro-header-list ul{
        font-size: .8rem;
    }

    .p-open-card-1 p, .man-open-card-1 p{
        font-size: 1.3rem;
    }

    .cb-card-head :nth-child(2), .manb-card-head :nth-child(2), .prib-card-head :nth-child(2){
        font-size: 1.1rem;
    }

    .p-open-card-2 p, .con-open-card-1 p, .con-open-card-2 p{
        font-size: .9rem;
    }

    .p-open-card-1 img{
        max-width: 15%;
    }

    .pro-curved-sec-wrapper .l-side .content h3 {
        font-size: 2rem;
    }

    .pro-curved-sec-wrapper .l-side .content p {
        max-width: 100%;
        font-size: 1rem;
    }

    .curved-sec-wrapper, .f-curved-sec-wrapper, .pro-curved-sec-wrapper, .con-curved-sec-wrapper{
        grid-template-rows: 1fr;
        background-image: none;
    }

    .content img{
        display: none;
    }
    
    .l-side{
        grid-column: 1/3;
        border-radius: 0;
    }

    .service-desc{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, auto);
        padding: 10% 0;
    }

    .assurance-card{
        justify-self: center;
    }

    .exp-card{
        flex-direction: column-reverse;
        padding: 1em 0 1em 1em;
    }

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

    .pos-3{
        grid-row: 4/5;
    }

    .pos-4{
        grid-column: 1/2;
        grid-row: 5/6;
    }

    .features{
        height: fit-content;
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 5%;
    }

    .features-image{
        border-top: 5px solid #e8148b;
        grid-row: 1/2;
        padding-top: 1em;
    }

    .features-desc-card{
        grid-row: 2/3;
        border-bottom: 5px solid #e8148b;
        padding-bottom: 1em;
    }

    .features-color-card{
        display: none;
    }

    .contact-sect{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2,auto);
        row-gap: 1em;
        padding: 2.5em 0;
    }

    .contact-sect h4{
        justify-self: center;
        text-align: center;
    }

    .clients, .construction-desc{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, max-content);
        row-gap: 30px;
        padding: 15% 5%;
    }

    .tick-card-1{
        grid-row: 1/2;
    }

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

    .big-card, .con-big-card{
        grid-column: 1/2;
        grid-row: 3/4;
        flex-direction: column;
    }

    .open-card-1, .con-open-card-1{
        grid-row: 4/5;
    }

    .open-card-2, .con-open-card-2{
        grid-column: 1/2;
        grid-row: 5/6;
    }

    .pro-services-desc{
        grid-template-columns: 1fr;
        justify-content: center;
        row-gap: 30px;
        padding: 15% 5%;
    }

    .p-tick-card-1{
        grid-row: 1/2;
    }

    .p-tick-card-2{
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .pro-image{
        flex-direction: column;
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .pro-image-content h2 {
        margin-top: .5em;
        font-size: 2rem;
    }

    .pro-image img, .pro-big-card img{
        max-width: 100%;
    }

    .pro-big-card{
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-column: 1/2;
        grid-row: 4/5;
    }

    .p-open-card-1{
        grid-column: 1/2;
        grid-row: 5/6;
        justify-self: end;
    }

    .p-open-card-2{
        grid-column: 1/2;
        grid-row: 6/7;
    }

    .con-open-card-1 h3 {
        font-size: 1.8rem;
    }

    .con-big-card img {
        max-width: 100%;
    }

    .con-big-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1em;
    }

    .c-text-content p{
        font-size: .9rem;
    }

    .c-text-content p:not(:last-child){
        font-size: 1.1rem;
    }

    .con-insurance-services{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, max-content);
        row-gap: 2.5em;
        padding: 2% 5% 15%;
    }

    .con-service-cards h6 {
        font-size: 1.4rem;
    }

    .con-service-cards p {
        font-size: .9rem;
    }

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

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

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

    .cis-description{
        grid-column: 1/2;
        grid-row: 4/5;
    }

    .cis-description p {
        max-width: 100%;
        font-size: .9rem;
    }

    .promises{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, max-content);
        padding: 5% 5% 10%;
    }

    .promise-head{
        grid-row: 1/2;
        grid-column: 1/2;
    }

    .promise-content{
        grid-row: 4/5;
        grid-column: 1/2;
    }

    .con-curved-sec-wrapper .l-side .content h3 {
        font-size: 2.5rem;
    }

    .con-curved-sec-wrapper .l-side .content p {
        max-width: 100%;
        font-size: 1rem;
    }

    .financial-services-hero .text-content, .pro-services-hero .text-content, .construction-hero .text-content, .commercial-hero .text-content, .manufacturing-hero .text-content, .private-hero .text-content{
        font-size: 2.2rem;
    }

    .clients-card-head h2, .construction-card-head h2, .commercial-card-head h2, .man-card-head h2, .private-card-head h2{
        font-size: 1.4rem;
    }

    .check-mark p{
        font-size: .9rem;
    }

    .big-card{
        align-items: flex-start;
    }

    .big-card .text-content{
        width: 100%;
    }

    .big-card .text-content h2 {
        font-size: 2.2rem;
    }

    .big-card .text-content p:not(.header-text) {
        font-size: .9rem;
    }

    .header-text {
        font-size: 1.1rem;
    }

    .open-card-1 h3 {
        font-size: 2rem;
    }

    .open-card-1 p, .open-card-2 p {
        font-size: 1rem;
    }

    .open-card-1, .open-card-2{
        padding: 0;
    }

    .f-curved-sec-wrapper .l-side .content h3 {
        font-size: 2.5rem;
    }

    .f-curved-sec-wrapper .l-side .content p {
        max-width: 90%;
        font-size: 1rem;
    }

    .manufacturing-services, .commercial-services, .private-services{
        grid-template-columns: 1fr;
        padding: 15% 5%;
        row-gap: 30px;
    }

    .cb-card-head h3, .manb-card-head h3, .prib-card-head h3 {
        font-size: 1.8rem;
    }

    .cb-card-head p, .manb-card-head p, .prib-card-head p {
        font-size: .9rem;
    }

    .man-big-card-1 img, .commercial-big-card-1 img, .private-big-card-1 img {
        max-width: 100%;
        margin-left: 0;
    }

    .man-big-card-2 img, .commercial-big-card-2 img, .private-big-card-2 img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 1em;
    }

    .man-tick-card-2, .commercial-tick-card-2, .private-tick-card-2{
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .man-big-card-1, .commercial-big-card-1, .private-big-card-1{
        flex-direction: column;
        grid-column: 1/2;
        grid-row:3/4 ;
    }

    .man-big-card-2, .commercial-big-card-2, .private-big-card-2{
        flex-direction: column-reverse;
        grid-column: 1/2;
        grid-row: 4/5;
    }

    .man-open-card-1, .commercial-open-card-1, .private-open-card-1{
        grid-row: 5/6;
    }

    .man-open-card-1, .man-open-card-2{
        padding: 0 1em;
    }

    .commercial-open-card-1 p, .private-open-card-1 p{
        font-size: .9rem;
    }

    .man-open-card-2, .commercial-open-card-2, .private-open-card-2{
        grid-column: 1/2;
        grid-row: 6/7;
    }

    .man-open-card-2 p, .commercial-open-card-2 p, .private-open-card-2 p{
        font-size: .9rem;
    }

    .promise-head{
        margin: 2em 0;
    }

    .promise-card p{
        font-size: .9rem;
    }

    .promise-content p {
        max-width: 100%;
        font-size: 1.2rem;
        padding-top: 3em;
        margin: auto;
    }

    .contact-sect-link a {
        color: white;
        font-size: .9rem;
        font-weight: 600;
    }

    .contact-sect-link {
        padding: 8px 20px;
    }

    .white-space img {
        width: 100px;
    }

    .info-2 {
        margin-top: 0em;
    }

}

@media  screen and (max-width: 869px) and (orientation: landscape) {
    .med-card-carousel {
        height: fit-content;
    }
}

@media screen and (max-width: 768px) {

    .contact-section{
        padding-top: 5em;
        height: fit-content;
    }

    .contact-container {
        height: 100%;
        flex-direction: column;
        margin: 2em 0;
    }

    aside, .contact-right {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }
}

@media  screen and (max-width: 688px) {

    .home-hero p{
        width: 80%;
        text-align: center;
        color: #fff;
        font-size: .95rem;
    }

    .home-hero button{
        width: 55%;
        padding: 10px 20px;
        background-color: #e8148b;
        border-radius: 32px;
        border: none;
        margin-top: 1em;
    }

    .home-hero button a{
        font-size: 1rem;
        font-weight: 500;
        color: #fff;
    }

    .main-card-carousel,.med-card-carousel{
        display: none;
    }

    .small-card-carousel{
        display: grid;
        grid-template-columns: 1fr;
        min-width: 70%;
        justify-content: center;
        align-items: center;
        margin: auto;
        padding: 5% 0;
    }

    .card-wrapper{
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .card{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 0 1 60%;
        margin: 2%;
        padding-bottom: 1em;
        border-radius: 22px;
        border: none;
        background-color: #ebecf0;
    }

    .card .card-body{
        padding: .8em 1.2em;
        line-height: 1.5;
    }

    .card img{
        border-radius: 22px;
    }

    .card a{
        color: white;
        background-color: #e8148b;
        border-radius: 32px;
        padding: .5em 1.5em;
    }

    .service-desc {
        row-gap: 2em;
        column-gap: 0;
    }

    .team-sec-content{
        display: grid;
        grid-template-columns:  1fr;
        grid-auto-columns: 1fr;
        grid-template-rows: max-content 1fr min-content;
        height: fit-content;
        gap: 30px;
        background-color: #fff;
    }

    .our-team h5{
        grid-column: 1/2;
        grid-row: 1/2;
        font-size: 2.5rem;
    }

    .danny{
        grid-column: 1/3;
        grid-row: 2/3;
        justify-self: center;
    }

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

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

    .jane{
        grid-column: 1/3;
        grid-row: 5/6;
    }

    .team-card-body p{
        padding-top: 1.2em;
    }

}

@media  screen and (max-width: 515px) {

    .small-card-carousel {
        padding: 15% 0;
    }

    .card{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 0 1 85%;
        margin: 2%;
        padding-bottom: 1em;
        border-radius: 22px;
        border: none;
        background-color: #ebecf0;
    }

    .l-side .content h6 {
        font-size: .8rem;
        border-bottom: solid 3px #e8148b;
    }

    .l-side .content :nth-child(2) {
        font-size: 2.6rem;
    }

    .l-side .content :last-child {
        max-width: 100%;
    }

    .products-carousel-small {
        margin: 15% 0;
        row-gap: 30px;
    }

    .products-carousel-small h2 {
        font-size: 2rem;
    }

    .p-card{
        padding: .5em
    }

    .exp-card {
        width: 90%;
    }

    .service-desc {
        padding: 15% 0;
    }

    .t-card {
       width: 100%;
    }

    .t-card-wrapper{
        margin-top: 3em;
    }

    .exp-card-content p{
        font-size: .8rem;
    }

    .exp-card-content :first-child{
        font-size: 1rem;
    }

    .assurance-card {
        width: 90%;
        justify-self: center;
    }

    .assurance-card .card-head h6 {
        font-size: 1.5rem;
    }

    .a-card-content p {
        font-size: .8rem;
        line-height: 1.3;
        padding-top: .7em;
    }

    .features {
        grid-auto-rows: min-content 250px;
        margin: 15% 2%;
    }

    .features-card p {
        font-size: .8rem;
    }

    .our-team {
        padding-bottom: 15%;
    }

    .contact-sect h4 {
        width: 100%;
        font-size: 2.1rem;
    }

    .t-card {
        width: 75%;
    }

    .t-card-body h6 {
        font-size: 1.2rem;
    }

    .t-card-body p {
        font-size: .9rem;
    }

    .promises{
        row-gap: 30px;
    }

    .promise-head h5 {
        font-size: 1.6rem;
        padding-bottom: .8em;
    }

    .promise-content p {
        font-size: 1rem;
        padding-bottom: 15%;
    }
}