

.navbar-yct{
    background-color: #ff2851;
}
.nav-item a {
    color: #eaeaeae0;
}
.nav-item a:hover{
    color: #121212 !important;
}

.landing{
    background-image: url('/img/landing.jpg'); 
    background-size: cover;
    background-position: center;
    height: 95vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    align-items: center;
    width: 100%;

}
.landing h3{
    font-size: 1.8rem;
    text-shadow: 
    -0.5px -0.5px 0 #888,  
     0.5px -0.5px 0 #888,
    -0.5px  0.5px 0 #888,
     0.5px  0.5px 0 #888; 
}
.landing p{
    font-size: 1rem;
    margin: 1% 15%;
    text-shadow: 
    -0.5px -0.5px 0 #888,  
     0.5px -0.5px 0 #888,
    -0.5px  0.5px 0 #888,
     0.5px  0.5px 0 #888; 
}
.changecolour{
    color: #ff2851;
    text-shadow: none;
}
.downArrow{
    padding:0 16px 14px;
    background-color: white;
    width: fit-content;
    color: black;
    border-radius: 80px;
    margin: 18% auto 0;
    box-shadow: 
    -0.5px -0.5px 0 #888,  
     0.5px -0.5px 0 #888,
    -0.5px  0.5px 0 #888,
     0.5px  0.5px 0 #888; 

}

.landing .arrow{
    top:120px;    
}
.landing .arrow a{
    height: 70px;
    width: 70px; 
}
.landing .arrow a:hover{
    box-shadow: 0px 1px 12px 4px #000000 ;

}
.landing img{
    transform:rotate(180deg);
    height: auto !important;
    width: 38% !important;
}
.main p {
    color:#727272;
}

#about {
    margin:15% 8%;
}
#about h1 {
    color: #ff2851;
    margin:5% 0;
}
#about img{
    max-width: 335px;
    min-width: 185px;
    width:25%;
}

.colourback{
    background-color: #ff2851;
}
#services {
    padding: 10% 8% 3% ;

}
#services h1{
    margin: 5% 0;
}

#services h1, #services p{
    color: white;
}
#services2{
    margin:5% 8%;

}
#services2 h2{
    font-size: 1.3rem;
}

.owl-carousel .item {
    max-width: 300px; /* Set the maximum width for each item */
    margin: 0 auto;   /* Center the items */
}

.owl-carousel .card {
    width: 100%;      /* Ensure the card takes up the full width of the item */
    max-width: 300px; /* Set a maximum width for the card */
    margin: 0 auto;   /* Center the card within the item */
}

.card-body {
    transition: all 0.3s ease;
}

.card-img-top {
    transition: opacity 0.3s ease, height 0.3s ease;
    margin-bottom: 16px;
}
.more-info {
    transition: opacity 0.3s ease, height 0.3s ease;
    display: none;
    color:#727272;

}

.card.expanded .card-img-top {
    opacity: 0; /* Hide the image */
    height: 0;
}

.card.expanded .more-info {
    display: block;
    opacity: 1;
}

.card-text {
    font-style:italic;
    font-weight: bold;
}


.nav-button {
    background-color: #ff2851; 
    color: white;              
    font-size: 30px;          
    padding: 15px;             /* Add padding to increase the button size */
    border-radius: 50%;        /* Make the buttons circular */
    cursor: pointer;
    display: inline-block;
    line-height: 1;            /* Ensure the arrows are centered vertically */
    text-align: center;
    width: 60px;               /* Set a fixed width for the button */
    height: 60px;              /* Set a fixed height for the button */
    position: absolute;        /* Position the button absolutely within the carousel */
    z-index: 1000;             /* Ensure buttons are above other content */
}

/* Position the previous button on the left side of the carousel */
.owl-prev {
    position: absolute;
    right: 100%;
    top: 35%;

}

/* Position the next button just to the right of the previous one */
.owl-next {
    position: absolute;
    left: 100%;
    top: 35%;
}

/* Hover effect for buttons */
.nav-button:hover {
    background-color: #c82333; /* Change background color on hover */
}

@media only screen and (min-width: 1400px) {
    #about, #services, #services2 {
        margin-left: auto;
        margin-right: auto;
        max-width: 1300px;
    }

    #services {
        margin-top: 0;
        padding: 5% 0 2% 0;
    }

}

@media only screen and (max-width: 850px) {

    .owl-next{
        left: 98% ;
    }
    .owl-prev{
        right:98%;
    }
}
@media only screen and (max-width: 650px) {
    .owl-next{
        left: 95% ;
    }
    .owl-prev{
        right:95%;
    }

}
@media only screen and (max-width: 550px) {
    .owl-next{
        left: 91% ;
    }
    .owl-prev{
        right:91%;
    }

}


#Contact *{
    color: white;
}
#Contact {
    padding: 10% 8% 8% ;

}
#Contact h4{
    padding-top: 1.5rem;
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .row{
        gap:1.5rem;
        display: block;
    }
    .flex-column{
        height: 400px;
    }

}

#Careers{
    padding: 10% 8% 8%;
    color:#727272;

}
#Careers h1, #Careers h3{
    color: #ff2851;
}
#Careers a{
    text-decoration: none;
    color: #ff2851;

}
#Careers a:hover{
    text-decoration: underline;
}



.arrow{
    align-content: center;
    position: relative;
    bottom: 1.4rem;
}
.arrow a{
    margin: 0 auto;
    background-color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex; /* Enables flexbox */
    align-items: center; /* Centers the image vertically */
    justify-content: center; /* Centers the image horizontally */
    overflow: hidden;
    box-shadow: 0px 1px 2px 1px #000000d2 ;
}
.arrow img{
    width: 22%;
    height: 22%;
    object-fit: contain;
    
}
.arrow a:hover{
    box-shadow: 0px 1px 2px 1.2px #000000 ;

}
footer{
    text-align: center;
    padding-bottom: 1%;
    background-color: #ff2851;
    color: white;
}


/* announcements */

#comingsoon {
    color: white;
    padding: 10% 8% 8%;
}
#comingsoon p{
    margin-top: 1.8rem;
}