@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz@9..40&family=Poppins&display=swap');

body {
    margin: 0;
    font-family: DM Sans, sans-serif;
    overflow-x: hidden;
}

.slide-cont {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin-bottom: 30px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    white-space: nowrap;
    /* Prevent images from wrapping to the next line */
}

.scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.scroll-button.left {
    left: 0;
}

.scroll-button.right {
    right: 0;
}

.image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: inline-block;
    /* Display images in a row */
}

.image.active {
    opacity: 1;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    z-index: 10;
}

.text {
    font-size: 54px;
    font-weight: bolder;
}

/* Animation styles for text containers */
.text-container.animation1 {
    animation: fadeIn1 1s ease-in-out forwards;
}

.text-container.animation2 {
    animation: fadeIn2 1s ease-in-out forwards;
}

.text-container.animation3 {
    animation: fadeIn3 1s ease-in-out forwards;
}

@keyframes fadeIn1 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn2 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn3 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Set the height of the bar */
    background-color: rgba(0, 0, 0, 0.4);
    /* Change the background color and transparency as needed */
    z-index: 1;
    display: flex;
    align-items: center;
}

.bar-text {
    position: absolute;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    top: 0;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.symbol {
    margin-right: 5px;
    /* Adjust margin as needed */
}

@keyframes imageAnimation {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}

@media (max-width: 600px) {
    .slide-cont {
        height: auto;
    }

    .image-container {
        height: 31vh;
    }

    .text-container {
        top: 90%;
    }
}

/* Aim of tech */

/* Base styles */

.content {
    width: 80%;
    margin: 0 auto;
    display: flex;
    font-family: DM Sans, sans-serif;
}

.content .leftContent {
    width: 100%;
}

.leftContent h2 {
    color: #06A3DA;
    font-size: 36px;
}

.division {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.divisionContent {
    width: 65%;
}

.paragraphContent {
    font-size: 18px;
    text-align: justify;
}

.imagess {
    width: 30%;
    margin: auto; 
}

.skills h3 {
    color: red;
    font-size: 30px;
}

.skills h2 {
    color: #06A3DA;
    font-size: 36px;
}

.skillContent {
    margin-left: 0;
    margin-right: 0;
}

.skillContainer {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 40px auto;
    align-items: center;
}

.logo {
    width: 50%;
    height: 100%;
    display: flex;
}

.skillContainer .logo img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin: auto;
    object-fit: cover;
}

.b {
    margin: auto;
}

.b .rightText img {
    border-radius: 50%;
    height: 50px;
    width: 50px;
    margin: 0 15px;
    object-fit: cover;
}

.b .rightText .leftImg {
    margin-left: 0;
}

.b .rightText .rightImg {
    margin-right: 0;
}

.b .rightText {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    /* Adjust width for smaller screens */
    .content {
        width: 95%;
        flex-direction: column;
    }

    .content .leftContent {
        width: 100%;
    }

    .division {
        flex-direction: column;
    }

    .divisionContent {
        width: 100%;
    }

    .imagess {
        width: 80%;
    }

    .skillContainer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .b {
        margin-top: 20px;
        width: 90%;
    }
    
    .logo {
        width: 100%;
    }
}

/* Our projects */

.container {
    padding: 20px;
}

header {
    text-align: center;
}

header .hd1 h2 {
    color: red;
    font-size: 30px;
    font-weight: bolder;
}

header .hd2 h3 {
    font-weight: bold;
    font-size: 36px;
    color: #06A3DA;
    line-height: 0.05cm;
}

.centered-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: large;
}

.centered-heading .text {
    margin: 0.5em;
}


.centered-heading .imagesss {
    margin: 0.5em;

}

.centered-heading img {
    height: 340px;
    width: 340px;
    border-radius: 50%;
    box-shadow: 0 4px 6px 1px rgba(0, 0, 0, 0.5);
    transition: 0.5s ease;

}

.centered-heading img:hover {
    transform: scale(0.8);
}

.centered-heading span {
    color: black;
}


.centered-heading h3 {
    position: relative;
    overflow: hidden;
    font-size: 20px;
}

.centered-heading .rs:hover {
    transform: translateX(-40px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .fw:hover {
    transform: translateX(17px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .el:hover {
    transform: translateX(-60px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .sz:hover {
    transform: translateX(15px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .dn:hover {
    transform: translateX(-40px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .lm:hover {
    transform: translateX(15px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .am:hover {
    transform: translateX(-15px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .sd:hover {
    transform: translateX(20px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .co:hover {
    transform: translateX(-16px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .od:hover {
    transform: translateX(40px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .ed:hover {
    transform: translateX(-30px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}

.centered-heading .oa:hover {
    transform: translateX(15px);
    transition: transform 0.3s ease-in-out;
    color: rgb(29, 179, 202);
}


@media screen and (min-width: 769px) {
    .centered-heading {
        overflow: hidden;
    }
}

@media screen and (max-width: 768px) {
    header {
        margin-bottom: 40px;
    }

    .centered-heading {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .centered-heading .text {
        font: 1em sans-serif;
        font-weight: 700;
    }

    .centered-heading .text .text1 {
        top: 10px;
    }

    .centered-heading .text .text2 {
        bottom: 10px;
    }

    .centered-heading img {
        margin: 0.2em;
        width: 220px;
        height: 220px;
    }

    .centered-heading .left-image1 {
        margin: 0.2em;
        margin-bottom: -1em;

    }

    .centered-heading .left-image2 {
        margin: 0.2em;
        margin-top: -0.03em;
        margin-bottom: -0.9em;

    }

    .centered-heading .left-image3 {
        margin: 0.2em;
        margin-top: 2.8em;
        margin-bottom: -1em;

    }

    .centered-heading .left-image4 {
        margin: 0.2em;
        margin-top: 3em;
        margin-bottom: -1em;


    }

    .centered-heading .left-image5 {
        margin: 0.2em;
        margin-top: 3em;
        margin-bottom: -1em;

    }

    .centered-heading .left-image6 {
        margin: 0.2em;
        margin-top: 3em;
        margin-bottom: -1em;

    }

    .centered-heading .right-image1 {
        margin-top: -30em;
        position: relative;
        z-index: 1;
        margin-bottom: 2cm;
    }

    .centered-heading .right-image2 {
        margin-top: -17em;
        position: relative;
        z-index: 1;
    }

    .centered-heading .right-image3 {
        margin-top: -17em;
        position: relative;
        z-index: 1;
    }

    .centered-heading .right-image4 {
        margin-top: -17em;
        position: relative;
        z-index: 1;
    }

    .centered-heading .right-image5 {
        margin-top: -17em;
        position: relative;
        z-index: 1;
    }

    .centered-heading .right-image6 {
        margin-top: -17em;
        position: relative;
        z-index: 1;
    }


    .centered-heading .rs::before,
    .centered-heading .fw::before,
    .centered-heading .el::before,
    .centered-heading .sz::before,
    .centered-heading .dn::before,
    .centered-heading .lm::before,
    .centered-heading .am::before,
    .centered-heading .sd::before,
    .centered-heading .co::before,
    .centered-heading .od::before,
    .centered-heading .ed::before,
    .centered-heading .oa::before {
        content: normal;
    }

    .centered-heading .fw {
        margin-top: 14em;
        margin-bottom: 0;
    }

    .centered-heading .sz {
        margin-top: 14em;
    }

    .centered-heading .lm {
        margin-top: 14em;
    }

    .centered-heading .sd {
        margin-top: 14em;
    }

    .centered-heading .od {
        margin-top: 14em;
    }

    .centered-heading .oa {
        margin-top: 14em;
    }

    .centered-heading .rs:hover,
    .centered-heading .fw:hover,
    .centered-heading .el:hover,
    .centered-heading .sz:hover,
    .centered-heading .dn:hover,
    .centered-heading .lm:hover,
    .centered-heading .am:hover,
    .centered-heading .sd:hover,
    .centered-heading .co:hover,
    .centered-heading .od:hover,
    .centered-heading .ed:hover,
    .centered-heading .oa:hover {
        transform: none;
    }

    .rs span,
    .fw span,
    .el span,
    .sz span,
    .dn span,
    .lm span,
    .am span,
    .sd span,
    .co span,
    .od span,
    .ed span,
    .oa span {
        display: none;
    }
}

/* Team member */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header .team {
    color: red;
    font-size: 30px;
    margin-top: 20px;
}

header .meetTeam {
    color: #06A3DA;
    font-size: 36px;
}

header img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.home {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.arrow-box1 {
    text-align: center;
}

.arrow-box1:hover {
    color: #06A3DA;
}

.arrow-box1 img {
    margin-top: 10px;
    width: 300px;
    height: 300px;
    border-radius: 150%;
    box-shadow: 0 4px 6px 2px rgba(0, 0, 0, 0.5);
    transition: 0.3s linear;
}

.arrow-box1 img:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 6px 2px #06A3DA;
}

.a {
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.a:hover {
    color: #06A3DA;
}

.a img {
    margin-top: 10px;
    width: 300px;
    height: 300px;
    border-radius: 150%;
    box-shadow: 0 4px 6px 2px rgb(0, 0, 0, 0.5);
    transition: 0.3s linear;
}

.a img:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 6px 2px #06A3DA;
}

.leader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 10px;

}

.leader .circle {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: 0.3s ease-out;
}

.circle:hover {
    color: #06A3DA;
}

.leader img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 6px 2px rgb(0, 0, 0, 0.5);
    transition: 0.3s linear;
}

.leader img:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 6px 2px #06A3DA;
}

h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}


.department {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.department .box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    
}

.member {
    display: flex;
    flex-direction: column;
    /*justify-content: space-evenly;*/
    align-items: center;
    height: fit-content;
    width: fit-content;
    line-height: 13px;
    margin-bottom: 15px;
    transition: 0.3s ease-out;
}

.member:hover {
    color: #06A3DA;
}

.member img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    box-shadow: 0 4px 6px 2px rgb(0, 0, 0, 0.5);
    transition: 0.3s linear;
}

.member img:hover {
    transform: scale(0.95);
    box-shadow: 0 4px 6px 2px #06A3DA;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}


.box .deptName {
    width: 90%;
    padding: 8px;
    margin: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(74, 73, 73);
    color: white;
    transition: 0.3s linear;
}

.deptName:hover {
    background-color: #06A3DA;
}

@media only screen and (min-width: 769px) {
    .circle {
        width: calc(100vw / 4);
    }

    .box {
        width: calc(100vw / 4);
    }
}

@media only screen and (max-width: 768px) {
    .department {
        flex-direction: column;
    }

    .leader {
        flex-direction: column;
    }

    .circle {
        width: calc(100vw);
    }

    .box{
        width: calc(100vw);
    }

    .text {
        font-size: 36px;
    }

    .bar-text {
        font-size: 14px;
    }

    .symbol {
        margin-right: 2px;
    }
}

@media only screen and (max-width: 600px) {
    .text {
        font-size: 24px;
    }

    .bar-text {
        font-size: 12px;
    }

    .symbol {
        margin-right: 1px;
    }

    .image-container {
        overflow: auto;
        white-space: normal;
    }

    .scroll-button {
        display: none;
    }

    .image {
        height: auto;
    }

    .text-container {
        top: 90%;
        transform: translate(-50%, -100%);
    }

    .bar-text {
        font-size: 10px;
    }
}
