

:root {
    --c-dark: #212529;
    --c-brand: #35009B;
    --c-brand-light: #8133FF;
    --c-brand-rgb: 53, 0, 155;
    --c-body: #727272;
    --font-base: 'Tahoma';
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color: var(--c-brand-light); 
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/* Image Zoom */
.image-zoom,
.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
    transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img{
    transform: scale(1.1);
}

/* Navbar */
.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--c-dark);

}

.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link:active {
    color: var(--c-brand);
}

.btn {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0px;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

.navbar-brand img {
    height: 32px;
}

/* Hero */
#hero {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.329),rgba(var(--c-brand-rgb), 0.267)), url(../assets/images/hero_image.png);
    background-position: center;
    background-size: cover;
}

/* about us */

.section-title {
    margin-bottom: 60px;
}

.section-title 
.line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* iocn box */

.icon-box {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

/* services */
.service {
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service::after {
    content: "";
    width: 40px;
    height: 40px;
    background-color: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
    z-index: -1; /* Keep the pseudo-element above the background but below the content */
}

.service:hover::after {
    width: 100%;
    height: 100%;
    background-color: var(--c-brand);
}

.service:hover h5, 
.service:hover p { /* Ensure text color changes on hover are specified for hover on .service */
    color: white;
}

.service:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

#counter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8),rgba(var(--c-brand-rgb), 0.8)), url(../assets/images/counting.png);
    background-position: center;
    background-size: cover;
}

#counter a {
    color: white;
}

#counter a:hover {
    scale: 1.2;
}

/* tours */
.portfolio-item .icon-box{
    background-color: var(--c-brand);
    color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.portfolio-item:hover .icon-box{
    top: 50%;
    opacity: 1;
}

.see-more-item {
    background-color: rgba(var(--c-brand-rgb), 0.1);
    height: 20rem;
}

.see-more-item .icon-box{
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.see-more-item .icon-box h3 {
    margin: 0 !important;
}


/* Review */
.review small {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--c-brand);
}

.review-head {
    position: relative;
}

.review-head::after {
    content: '';
    width: 28px;
    height: 28px;
    position: absolute;
    bottom: -14px;
    background-color: white;
    transform: rotate(45deg);
}

.review-person img {
    width: 5rem;
    height: 5rem;
}

/* Team */
.team-member-content {
    background-color: var(--c-brand);
    position: absolute;
    bottom: -24px;
    left: 50%;
    width: calc(100% - 50px);
    transform: translateX(-50%);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
}

.team-member:hover .team-member-content {
    opacity: 1;
    bottom: 24px;
}

.team-member img {
    height: 500px;
    object-fit: cover;
}

/* Contact */
#contact{
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.8),rgba(var(--c-brand-rgb), 0.8)), url(../assets/images/counting.png);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact .form-control{
    border-radius: 0;
    color: var(--c-body);
}

#contact .form-control:focus{
    box-shadow: none;
    border-color: var(--c-brand);
}

/* Blog */
.blog-post img {
    width: 100%;
    height: 300px;
    object-fit: cover !important;
}

/* Footer */
footer {
    padding-top: 120px;
}

footer img {
    height: 32px;
    width: auto;
}

.footer-top{
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer p,
footer a,
footer li {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    left: 0 !important;
    background-color: var(--c-brand-light);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-media-icons a{
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.social-media-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}