@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Nunito:wght@300;400;600;700;800;900&family=Russo+One&family=Spartan:wght@700;800;900&display=swap");

:root {
    --dark: #111111;
    --lightDark: #191919;
    --myDark: #27292d;
    --light: #ffffff;
    --lightGrey: #ddd;
}

html {
    scroll-behavior: smooth;
}

.lorem {
    color: #000000;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-family: "Nunito", sans-serif;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: var(--light);
    text-decoration: none;
}

ul {
    padding: 0;
}

li {
    list-style: none;
}

canvas {
    -ms-touch-action: auto;
    touch-action: auto;
    margin-bottom: -1em;
}

/* sun and moon icon for theme toggle */
#icon {
    width: 30px;
    cursor: pointer;
    color: var(--light);
}

.main-section {
    background: var(--dark);
    color: var(--light);
    height: 100vh;
}

.main-section .hero-section {
    width: 80%;
    margin: 0 auto;
    max-width: 1600px;
    pointer-events: none;
}

.main-section .hero-section .navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 1170px;
    -webkit-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
    z-index: 30;
    position: absolute;
    width: 90%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: 0;
}

.main-section .hero-section .navbar .logo {
    font-family: "Dancing Script", cursive;
    font-size: 1.5em;
    font-weight: 700;
    pointer-events: all;
    margin-top: 0.5em;
    -webkit-transition: opacity 0.1s ease-in-out;
    transition: opacity 0.1s ease-in-out;
}

.main-section .hero-section .navbar .logo:hover {
    opacity: 0.8;
}

.main-section .hero-section .navbar .logo a {
    display: block;
}
.logo img{
    width: 20%;
}
.main-section .hero-section .navbar h2 {
    margin-top: 0.5em;
}

.main-section .hero-section .navbar.hidden {
    opacity: 0;
    pointer-events: none;
}

.main-section .hero-section .hero-section-text {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
    width: 100%;
    left: 0;
    z-index: 20;
}

.main-section .hero-section .hero-section-text .hero-content {
    width: 80%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 2em;
}

.main-section .hero-section .hero-section-text .hero-content h1 {
    font-size: 4em;
    font-family: "Spartan", sans-serif;
    margin: 0;
}

@media (max-width: 1000px) {
    .main-section .hero-section .hero-section-text .hero-content h1 {
        font-size: 3em;
    }
}

@media (max-width: 650px) {
    .main-section .hero-section .hero-section-text .hero-content h1 {
        font-size: 2em;
    }
}

.main-section .hero-section .hero-section-text .hero-content p {
    font-family: "Merriweather", serif;
    font-style: italic;
    margin: 1.25em 0 2.25em;
}

.main-section .hero-section .hero-section-text .hero-content .about-me-btn {
    display: inline-block;
    background: -webkit-gradient(linear, right top, left top, from(#1595b6), to(rgba(31, 38, 103, 0.9)));
    background: linear-gradient(to left, #1595b6, rgba(31, 38, 103, 0.9));
    background-color: #4595eb;
    border-radius: 5px;
    padding: 0.6em 1.25em;
    font-weight: 800;
    position: relative;
    cursor: pointer;
    pointer-events: all;
    -webkit-transition: -webkit-transform 0.1s ease-in-out;
    transition: -webkit-transform 0.1s ease-in-out;
    transition: transform 0.1s ease-in-out;
    transition: transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
}

.main-section .hero-section .hero-section-text .hero-content .about-me-btn:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.main-section .hero-section .hero-section-text .hero-content .about-me-btn:hover .right-arrow {
    right: -25%;
}

.main-section .hero-section .hero-section-text .hero-content .right-arrow {
    position: absolute;
    top: 10%;
    right: -20%;
    -webkit-transition: right 0.2s ease-in-out;
    transition: right 0.2s ease-in-out;
}

@media (max-width: 650px) {
    .main-section .hero-section .hero-section-text .hero-content .right-arrow {
        display: none;
    }
}

@media (max-width: 650px) {
    .main-section .hero-section .hero-section-text .hero-content {
        margin-top: 1.2em;
    }
}

.main-section .hero-section .hero-section-text .name-logo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 650px;
    -webkit-transform: translate(-50%, -28%);
    transform: translate(-50%, -28%);
    z-index: -2;
}

.main-section .hero-section .hero-section-text .name-logo img {
    width: 100%;
}

@media (max-width: 1500px) {
    .main-section .hero-section .hero-section-text .name-logo {
        width: 500px;
    }
}

@media (max-width: 650px) {
    .main-section .hero-section .hero-section-text .name-logo {
        width: 350px;
        top: -2em;
    }
}

@media (max-width: 460px) {
    .main-section .hero-section .hero-section-text .name-logo {
        width: 300px;
        -webkit-transform: translate(-50%, -10%);
        transform: translate(-50%, -10%);
    }
}

@media (max-width: 360px) {
    .main-section .hero-section .hero-section-text .name-logo {
        width: 200px;
    }
}

@media (max-width: 650px) {
    .main-section .hero-section .hero-section-text {
        -webkit-transform: translateY(-60%);
        transform: translateY(-60%);
    }
}

.main-section .social-links {
    position: absolute;
    font-size: 2em;
    right: 1em;
    top: 44%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: all;
    z-index: 22;
}

.main-section .social-links li+li {
    margin-top: 0.5em;
}

.main-section .social-links i {
    color: #b0b2c3;
    -webkit-transition: color 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
    transition: color 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
    transition: color 0.1s ease-in-out, transform 0.1s ease-in-out;
    transition: color 0.1s ease-in-out, transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
}

.main-section .social-links li:hover i {
    color: var(--light);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.main-section .social-links.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 650px) {
    .main-section .social-links {
        font-size: 1.5em;
    }

    .main-section .social-links i {
        color: #c3c5d4;
    }

    .main-section .social-links li+li {
        margin-top: 0.75em;
    }
}


.main-section .latest-works-link {
    position: absolute;
    background: -webkit-gradient(linear, right top, left top, from(#1595b6), to(rgba(31, 38, 103, 0.9)));
    background: linear-gradient(to left, #1595b6, rgba(31, 38, 103, 0.9));
    font-weight: 700;
    padding: 0.5em 1em;
    font-size: 1.2em;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    bottom: 4em;
    display: inline-block;
    cursor: pointer;
    pointer-events: all;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-transition: -webkit-transform 0.1s ease-in-out;
    transition: -webkit-transform 0.1s ease-in-out;
    transition: transform 0.1s ease-in-out;
    transition: transform 0.1s ease-in-out, -webkit-transform 0.1s ease-in-out;
    z-index: 10;
}

@media (max-width: 300px) {
    .main-section .latest-works-link {
        font-size: 1em;
    }
}

.main-section .latest-works-link:hover {
    -webkit-transform: translate(-50%, 0) scale(1.1);
    transform: translate(-50%, 0) scale(1.1);
}

.main-section .latest-works-link:hover+.down-arrow {
    bottom: 1.75em;
}

.main-section .down-arrow {
    position: absolute;
    bottom: 2em;
    cursor: pointer;
    pointer-events: all;
    left: 50%;
    -webkit-transform: translate(-60%, 0) rotate(90deg);
    transform: translate(-60%, 0) rotate(90deg);
    -webkit-transition: bottom 0.25s ease-in-out;
    transition: bottom 0.25s ease-in-out;
}

.main-section .down-arrow:hover {
    bottom: 1.75em;
}

.main-section .latest-works-arrow {
    background: #444;
    width: 2px;
    height: 1.5em;
    position: absolute;
    bottom: 0;
    cursor: pointer;
    pointer-events: all;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.main-section .latest-works-arrow:hover~.down-arrow {
    bottom: 1.75em;
}

@media (max-width: 650px) {
    .main-section {
        font-size: 0.9em;
    }
}

/* --------work---code--css---- */
.work-section {
    /* background-color: var(--light);
  color: var(--dark); */
    position: relative;
    margin: 0 auto;
}

.work-section h2 {
    text-align: center;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 0 auto;
    padding: 0.2em 0.5em;
    border: 2px solid #1788ae;
    border: 2px solid #1788ae;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font-size: 2.5em;
    background-color: var(--light);
    position: relative;
    z-index: 5;
    color: #1788ae;
    color: #1788ae;
}

@media (max-width: 650px) {
    .work-section h2 {
        font-size: 1.5em;
        border: none;
        padding: 0;
        margin-bottom: 0.8em;
        margin-top: 0.5em;
    }
}

.work-section .project {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5em;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    width: 90%;
    max-width: 1600px;
    margin-bottom: 3em;
}

.work-section .project .ejs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.2em;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.work-section .project ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 0.85em;
}

.work-section .project ul li {
    border: 1px solid #ddd;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}

.work-section .project .project-img {
    position: relative;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.work-section .project .project-img:nth-child(2) {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

@media (max-width: 650px) {
    .work-section .project .project-img:nth-child(2) {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .work-section .project .project-img:nth-child(even) {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
}

.work-section .project .project-img a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.work-section .project .project-img .project-img-wrapper {
    max-width: 400px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

.work-section .project .project-img .project-img-wrapper img {
    width: 100%;
    max-width: 400px;
    -webkit-transition: -webkit-transform 0.2s ease-in-out;
    transition: -webkit-transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    z-index: 6;
}

@media (max-width: 650px) {
    .work-section .project .project-img .project-img-wrapper .visit-site {
        top: initial;
        bottom: -2.5em;
        opacity: 1;
        z-index: 80;
        -webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.25);
        box-shadow: 0 0px 5px rgba(0, 0, 0, 0.25);
    }

    .work-section .project .project-img .project-img-wrapper .visit-site::after {
        top: -6px;
        opacity: 0;
    }
}

@media (min-width: 650px) {
    .work-section .project .project-img .project-img-wrapper:hover img {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    .work-section .project .project-img .project-img-wrapper:hover .visit-site {
        top: -4em;
    }
}

@media (max-width: 650px) {
    .work-section .project .project-img .project-img-wrapper {
        cursor: default;
    }

    .work-section .project .project-img .project-img-wrapper a:first-child {
        pointer-events: none;
    }
}

@media (max-width: 650px) {
    .work-section .project .project-img {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-bottom: 2em;
    }
}

.work-section .project .project-details a {
    color: black;
}

.work-section .project .project-details span {
    font-size: 1.2em;
}

.work-section .project .project-details p {
    text-align: justify;
}

.work-section .project .circle-dot {
    width: 15px;
    height: 15px;
    /* background-color: var(--dark); */
    background-color: var(--light);
    border: 3px solid #2694d4;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: -webkit-transform 0.05s ease-in-out;
    transition: -webkit-transform 0.05s ease-in-out;
    transition: transform 0.05s ease-in-out;
    transition: transform 0.05s ease-in-out, -webkit-transform 0.05s ease-in-out;
    cursor: pointer;
    z-index: 2;
}

.work-section .project .circle-dot:hover {
    -webkit-transform: translate(-50%, -50%) scale(1.2);
    transform: translate(-50%, -50%) scale(1.2);
}

@media (max-width: 650px) {

    .work-section .project .circle-dot,
    .work-section .project .circle-extension {
        display: none;
    }
}

.work-section .project .circle-extension {
    width: 35%;
    height: 1px;
    background-color: #ddd;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-100%, -50%);
    transform: translate(-100%, -50%);
    z-index: 1;
}

.work-section .project .visit-site {
    background: #2694d4;
    color: var(--light);
    padding: 0.5em 1em;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: top 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: top 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: absolute;
    z-index: 5;
    top: 10%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.work-section .project .visit-site svg {
    margin-left: 0.25em;
}

.work-section .project .visit-site::after {
    content: "";
    width: 12px;
    height: 12px;
    background: inherit;
    -webkit-transform: rotate(45deg) translate(-50%, 50%);
    transform: rotate(45deg) translate(-50%, 50%);
    position: absolute;
    left: 50%;
    bottom: -6px;
}

.work-section .project h3 {
    font-size: 2em;
    margin-bottom: 0.2em;
}

.work-section .project div {
    width: 100%;
}

@media (max-width: 650px) {
    .work-section .project {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0;
    }
}

.work-section .project0 {
    border-radius: 10px;
}

.work-section .project0 .circle-dot {
    border-color: #fc815c;
}

.work-section .project0 h3 {
    color: #fc815c;
}

.work-section .project0 h3+span {
    color: #fc815c;
}

.work-section .project0 .visit-site {
    background-color: #fc815c;
}

.work-section .project0 .circle-extension {
    background-color: #fc815c;
}

.work-section .project1 {
    border-radius: 10px;
}

.work-section .project1 .circle-dot {
    border-color: #639;
}

.work-section .project1 h3 {
    color: #639;
}

.work-section .project1 h3+span {
    color: #639;
}

.work-section .project1 .visit-site {
    background-color: #639;
}

.work-section .project1 .circle-extension {
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    background-color: #639;
}

.work-section .project2 .circle-dot {
    border-color: #47afa1;
}

.work-section .project2 h3 {
    color: #47afa1;
}

.work-section .project2 h3+span {
    color: #47afa1;
}

.work-section .project2 .visit-site {
    background-color: #47afa1;
}

.work-section .project2 .circle-extension {
    background-color: #47afa1;
}

.work-section .project3 .circle-dot {
    border-color: #2694d4;
}

.work-section .project3 h3 {
    color: #2694d4;
}

.work-section .project3 h3+span {
    color: #2694d4;
}

.work-section .project3 .circle-extension {
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    background-color: #2694d4;
}

.work-section .project4 .circle-dot {
    border-color: #fc815c;
}

.work-section .project4 h3 {
    color: #fc815c;
}

.work-section .project4 h3+span {
    color: #fc815c;
}

.work-section .project4 .visit-site {
    background-color: #fc815c;
}

.work-section .project4 .circle-extension {
    background-color: #fc815c;
}

.work-section .project5 .circle-dot {
    border-color: #156cdd;
}

.work-section .project5 h3 {
    color: #156cdd;
}

.work-section .project5 h3+span {
    color: #156cdd;
}

.work-section .project5 .visit-site {
    background-color: #156cdd;
}

.work-section .project5 .circle-extension {
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    background-color: #156cdd;
}

@media (min-width: 650px) {
    .work-section .project5 .project-img-wrapper:hover img {
        -webkit-transform: scale(1.1) !important;
        transform: scale(1.1) !important;
    }
}

.work-section .project6 .circle-dot {
    border-color: #49a67f;
}

.work-section .project6 h3 {
    color: #49a67f;
}

.work-section .project6 h3+span {
    color: #49a67f;
}

.work-section .project6 .visit-site {
    background-color: #49a67f;
}

.work-section .project6 .circle-extension {
    background-color: #49a67f;
}

@media (min-width: 650px) {
    .work-section .project6 .project-img-wrapper:hover img {
        -webkit-transform: scale(1.1) !important;
        transform: scale(1.1) !important;
    }
}

.work-section .vertical-line {
    width: 2px;
    position: absolute;
    top: 0;
    bottom: -5em;
    background: #1788ae;
    opacity: 0.5;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 0;
}

@media (max-width: 650px) {
    .work-section .vertical-line {
        display: none;
    }
}

.work-section .vertical-line2 {
    width: 2px;
    position: absolute;
    top: -3em;
    bottom: 0;
    background: #eee;
    left: 100%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    z-index: 0;
}

@media (max-width: 650px) {
    .work-section {
        font-size: 0.9em;
    }

    .work-section h2 {
        font-size: 2em;
        margin-bottom: 1em;
    }
}
/* -------------end------------------ */

/* -----------review--------- */
*,*::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main {
  height: 100vh;
  flex-direction: row;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

em {
    color: #1788ae;
}

/* Controls */
.carousel-control-next {
    margin: 0 3em;
}

i.bi-arrow-right,
i.bi-arrow-left {
  background: none;
  border: 2px solid #1788ae;
  color: #1788ae;
  padding: 2px 5px;
  border-radius: 100%;
  transition: background .6s ease;
}

i.bi-arrow-right:hover,
i.bi-arrow-left:hover {
    background: #1788ae;
    color: #ffffff;
}

/* Indicators */
.carousel-indicators {
    justify-content: flex-start;
   transform: translate(-40px, 50px);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    border: 2px solid #1788ae;
}

.carousel-indicators .active {
    opacity: 1;
    background-color:  #1788ae;
}

/* Control buttons */
.control-btn {
    position: absolute;
    top: 8px;
    right: 10em;
}
.carousel-control-next, 
.carousel-control-prev {
    top: 1em;
    left: 3em;
}

.testimonial-text {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px; 
}

.wow {
    position: relative;
    grid-column: span 2;
}

.carousel-landmark {
    grid-column: span 3;
}

@media screen and (max-width: 576px) {
    .testimonial-text {
        margin-top: 50px;
    row-gap: 50px;
    
}
    .wow {
    grid-column: span 5;
}

.carousel-landmark {  
    grid-column: span 5;
}
}
/* ------------end----------- */