@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai:wght@300;400;500;600;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

/* CSS HEX */
/* russian-violet: #16133e;
majorelle-blue: #6853d9;
non-photo-blue: #bcedf6;
coyote: #82735c;
lavender-blush: #ffeaee;  */

/* GENERAL */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

video {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    background-color: #16133e;

}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
    font-family: "Mulish", sans-serif;
    color: #FFEAEE;
}



/* NAVIGATION */
.navbar {
    background-color: #6853d9;
}

.nav-link {
    font-family: "Mulish", sans-serif;
    font-weight: 500;
    color: #FFEAEE;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #bcedf6;
}

.navbar-brand {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #FFEAEE;
}

.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='rgba%28ff%2C234%2C238%2C1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgb(22 19 62) !important;
    pad: 20px;
}

header {
    background-image: url(../img/karmenscience_bgheader.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    height: 500px;
    justify-content: center;
}

header .container {
    display: flex;
    color: #e7edef;
    align-items: center;
}


/* about us section */
#about-section {
    padding: 60px 0;
}
.sec-title{
position:relative;
z-index: 1;
margin-bottom:60px;
}
.sec-title h2{
font-size:40px;
line-height: 1.28em;
color: #FFEAEE;
font-weight: 600;
padding-bottom:18px;
}
.sec-title h2:before{
position:absolute;
content:'';
left:0px;
bottom:0px;
width:50px;
height:3px;
background-color:#d1d2d6;
}

.sec-title .text{
position: relative;
font-size: 16px;
line-height: 26px;
color: #FFEAEE;
font-weight: 400;
margin-top: 35px;
}
#about-section{
position: relative;
padding: 120px 0 70px;
}

#about-section .sec-title{
margin-bottom: 45px;
}
#about-section .text{
margin-bottom: 40px;
font-size: 16px;
line-height: 26px;
color: #FFEAEE;
font-weight: 400;
}
#about-section .image-column .inner-column{
position: relative;
padding-left: 120px;
padding-bottom: 125px;
}
#about-section .image-column .image-2{
position: absolute;
left: 0;
bottom: 0;
}

#about-section .image-column .image-2 img,
#about-section .image-column .image-1 img{
box-shadow: 0 30px 50px rgba(8,13,62,.15);
}

/* built by scientists */

.highlight-section {
    background: linear-gradient(135deg, #f5f7fa, #e4ecf7);
    /* Light gradient for a professional look */
    padding: 50px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 9rem 0 3rem 0;
}

.highlight-section .container h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: #16133e;
    margin: 0;
    line-height: 1.5;
}

.emphasis {
    font-weight: 700;
    color: #6853d9;
}

.keyword {
    font-style: italic;
    color: #6853d9;
}

.highlight-section:hover {
    transform: scale(1.02);
    /* Slight zoom on hover */
    transition: all 0.3s ease-in-out;
}





/* modules */
.module {
    text-align: center;
}

.module img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .module img {
        max-width: 80px;
    }
}

@media (max-width: 576px) {}

.custom-hr {
    border: 0;
    height: 5px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    margin: 0;
}

.services {
    margin-top: 100px;
}

.services h5 {
    font-size: 1.25rem;
}

.services ul {
    font-size: 1rem;
}

.services ul li {
    margin-bottom: 0.5rem;
}


/* partners logos */
.partnersLogo img {
    border: 1px solid #d9d9d96b;
    padding: 7px;
    box-shadow: 0 4px 8px rgba(89, 65, 65, 0.422);

}

/* Carousel Images Rotation */
#carousel-gal {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.scope {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
}

.scope span {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    text-align: center;
}

.image-container-gal {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-container-gal img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 70px;
    width: 50%;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #8a83b1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

@keyframes rotate {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}







/* client section */
.testimonial-section {
    text-align: center;
    padding: 50px 20px;
}

.testimonial-section h1 {
    font-size: 2em;
    color: #6853d9;
    margin-bottom: 20px;
    font-weight: 600;
}

.testimonial-carousel {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    scroll-behavior: smooth;
    flex-wrap: nowrap; /* Default: No wrapping for larger screens */
}

.testimonial-card {
    min-width: 300px;
    margin: 0 10px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f0ede8;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.client-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #16133e;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    color: #16133e;

}

.testimonial-card h3 {
    font-size: 1.3em;
    margin: 10px 0 5px 0;
    color: #16133e9d;
}

.client-role {
    font-size: 0.9em;
    color: #16133e9d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-carousel {
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
        justify-content: center; /* Center cards when stacked */
    }

    .testimonial-card {
        flex: 1 1 90%; /* Each card takes up 90% of the screen width */
        margin: 10px 0; /* Add vertical spacing */
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        flex: 1 1 100%; /* Each card takes up full width on mobile */
    }
}


/* FOOTER */
.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
}

.footer .social-icons a:hover {
    color: #aaa;
}

.footer .logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer .slogan {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 14px;
}

.footer .line {
    border-top: 1px solid #555;
    margin: 20px 0;
}




#carousel-gal {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    min-height: 430px;
    padding-top: 90px;
    overflow: hidden;
}

.scope {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: slid 30s linear infinite;
}

.scope span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 45deg)) translateZ(250px);
}

.scope span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    border-radius: 10px;
    object-fit: cover;
    transition: 2s;
}

.scope span:hover img {
    transform: translateY(-50px) scale(1.2);
}

@keyframes slid {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}