@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
}

:root {
    font-size: 1rem;
    --primary: #637473;
    --secondary: #fff7d6;
    --accent: #00c6b0;
    --accent2: #7b5f6f;
    --gray: #202023;
    --white: #ffffff;
}

.navbar .navbar-brand {
    color: #fff7d6;
    font-size: 1.9rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar .navbar-brand:hover {
    background: linear-gradient( 180deg, #637473 27.34%, #ffe9dc 54.43%, #ff9479 81.51%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar .navbar-nav li a {
    color: whitesmoke;
    font-size: 1.01rem;
    text-transform: uppercase;
    margin: 0px 10px;
    width: 100px;
}

.navbar .navbar-nav li a:hover {
    color: var(--accent);
    text-decoration: none;
    border-radius: 5px;
}

.navbar .navbar-nav li:hover {
    background: rgba(0, 198, 176, 0.3);
    border-radius: 5px;
}

.navbar .navbar-nav li {
    padding: 5px 20px;
    margin: 0 3px;
}

.navbar .navbar-nav li.active {
    background: linear-gradient(270deg, #00c6b0 -5.41%, #315f94 97.5%);
    border-radius: 2px;
}

.navbar .navbar-nav li.active:hover {
    background: linear-gradient(90deg, #00c6b0 -12.44%, #315f94 94.26%);
    border-radius: 2px;
    transition: all 1s ease;
}

.navbar .navbar-toggler {
    border: 0;
}

.navbar .iconify {
    color: #fff7d6;
    font-size: 1.1rem;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
    color: #ff9479; /* Or any color you prefer */
    font-weight: bold;
}


/* -----------------------Apply to all styling----------------------- */

.section-title {
    font-size: 3rem;
    font-weight: 900;
    padding-bottom: 40px;
    color: var(--gray);
    display: flex;
    justify-content: center;
}

.section-title span {
    color: var(--accent);
}

.underline-bar {
    position: relative;
    background: var(--accent);
    height: 6px;
    width: 120px;
    top: -40px;
    display: block;
    margin: auto;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

.scrolled-up {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}


/* -----------------------hero styling----------------------- */

.hero {
    background-image: url("../images/top_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
}

.hero .container-fluid .row {
    min-height: 100vh;
}

.hero .left-area {
    min-height: 100vh;
    width: 100%;
}

.hero .left-area-content {
    position: relative;
    color: #fff7d6;
    transition: 0.5s ease;
    text-align: center;
}

.hero .left-area-content .text-1 {
    font-size: 2rem;
    letter-spacing: 3px;
}

.hero .left-area-content .text-2 {
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: 900;
    font-family: "Roboto", sans-serif;
    transition: all 0.5s ease;
    color: var(--accent);
}

.hero .left-area-content .text-3 {
    font-size: 2.5rem;
    letter-spacing: 3px;
}

.hero .left-area-content .typing {
    color: var(--accent);
    font-weight: 500;
}

.hero .left-area-content .btn-about {
    font-size: 1.2rem;
    color: var(--secondary);
    padding: 0%;
    margin-top: 10px;
}

.hero .left-area-content .btn-about a {
    background: var(--accent2);
    color: var(--secondary);
    padding: 10px 35px;
    border-radius: 30px;
}

.hero .left-area-content .btn-about a:hover {
    text-decoration: none;
}

.hero .left .img-fluid {
    position: absolute;
    height: 100vh;
    width: 100%;
    object-fit: cover;
    bottom: 0;
    z-index: 0;
    visibility: hidden;
}

.hero .right-area {
    min-height: 100vh;
}

.hero .right-area .img-fluid {
    position: relative;
    min-height: 100vh;
    width: 100%;
    object-fit: cover;
    transition: all 0.75 ease;
}

/* -------------------skills section styling----------------------- */

#skills {
    background: var(--primary);
}

#skills .section-title {
    color: var(--secondary);
}

#skills .service {
    box-shadow: 0px 0px 7px 3px #1b2835;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: 0.5s ease;
    height: 100%;
}

#skills .service .left {
    float: left;
    padding: 20px 20px 20px 0;
}

#skills .service .iconify {
    color: var(--accent);
    font-size: 4em;
}

#skills .service:hover {
    box-shadow: 0px 0px 7px 8px #1b2835;
}

#skills .service h4 {
    text-align: center;
    color: var(--accent);
}

#skills .service p {
    text-align: justify;
    color: var(--secondary);
    font-size: 0.9em;
}

#skills .skills-label {
    color: var(--secondary);
    font-size: 1rem;
}

#skills .skills-icon {
    color: var(--accent);
    font-size: 4rem;
    transition: all 0.5s ease;
}

#skills .skills-icon:hover {
    transform: scale(1.3);
    cursor: pointer;
}

#skills .progress {
    border-radius: 20px;
}

#skills .progress-bar {
    background: linear-gradient(270deg, #00c6b0 -5.41%, #315f94 97.5%);
    text-align: left;
    border-radius: 20px;
    transition: 3s ease;
}

#skills .col-title {
    color: var(--accent);
    margin: 30px 20px;
    font-size: 2rem;
    font-weight: 600;
}

#skills .row.technical .col-md-6 {
    padding: 40px;
}

#skills .row.technical .col-md-12 {
    padding: 40px;
}

/* -------------------projects section styling----------------------- */

#projects .list-group-item {
    /* border-radius: 40px 20px; */
    color: var(--gray);
    background: var(--secondary);
    border: 0;
    border-radius: 0%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


#projects .list-group-item.active {
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.5);
}

#projects .list-group-item:hover {
    cursor: pointer;
}

#projects .col-md-6 {
    padding: 20px;
    margin-bottom: 5px;
}

#projects .card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.5);
    min-height: 100%;
    line-height: 1em;
    flex-direction: column;
    justify-content: space-between;
}

#projects .card .project-image {
    box-shadow: 0px 0px 10px 2px rgba(37, 37, 37, 0.5);
    border-radius: 5px;
    transition: 0.7s ease-in;
}

#projects .card .project-image:hover {
    transform: scale(1.2);
}

#projects .card .project-image img {
    border-radius: 5px;
}

#projects .card .project-title {
    color: var(--gray);
    font-weight: 500;
}

#projects .card .project-description {
    font-size: 0.7rem;
    text-align: justify;
}

#projects .card .tech-used {
    font-size: 0.7rem;
    color: whitesmoke;
}

#projects .card .project-viewmore {
    color: var(--secondary);
}


#projects .card .project-viewmore a {
    color: var(--secondary);
    padding: 0%;
    color: var(--accent2);
    font-size: 1.5em;
    margin: 0 20px;
}

#projects .card .project-viewmore a:hover {
    text-decoration: none;
}

#projects .projects-tab .card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: hidden;
}


/* -------------------contact section styling----------------------- */

#contact {
    background: #dadada;
}

#contact .info h5 {
    font-weight: 800;
    color: var(--gray);
}

#contact .form-send button {
    background: var(--accent2);
    color: var(--secondary);
    font-size: larger;
    border-radius: 20px;
}

#contact .form-group input,
#contact .form-group textarea {
    border-color: var(--accent);
    box-sizing: 3px;
    border-radius: 20px;
}

#contact.info .iconify {
    font-size: 1.5rem;
    color: whitesmoke;
    margin-right: 9px;
}

/* -------------------footer styling----------------------- */

#footer .container {
    color: #ffe;
}

#footer .social {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 20px;
}

#footer .social li {
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;
}

#footer .social li a {
    display: block;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.5rem;
}

#footer {
    background: #637473;
    padding: 30px;
}

.arrow-up {
    position: fixed;
    height: 60px;
    bottom: 10px;
    float: right;
}

#scrollTop {
    position: fixed;
    right: 10px;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

#scrollTop .iconify {
    width: 50px;
    height: 50px;
    color: var(--accent2);
    margin: 0;
    border-radius: 50%;
    box-shadow: 0 0 10px #1b2835;
}


/* -------------------trial style----------------------- */

.reveal {
    position: relative;
    opacity: 0;
}

.reveal.active {
    opacity: 1;
}

.active.fade-bottom {
    animation: fade-bottom 1s ease-in;
}

.active.fade-left {
    animation: fade-left 1s ease-in;
}

.active.fade-right {
    animation: fade-right 1s ease-in;
}

.active.fade-rotate {
    animation: fade-rotate 2s ease;
    animation-fill-mode: forwards;
}

@keyframes fade-rotate {
    0% {
        transform: rotate(180deg);
        opacity: 0;
    }
    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

@keyframes fade-left {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-right {
    0% {
        /* transform: translateX(100px); */
        position: relative;
        right: -100px;
        opacity: 0;
    }
    100% {
        /* transform: translateX(0); */
        position: relative;
        right: 0;
        opacity: 1;
    }
}

@keyframes fade-bottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ---------------------Timeline style----------------- */


/* ---------------------media queries----------------- */

@media (max-width: 1199px) {
    .hero .left .img-fluid {
        visibility: visible;
        overflow: hidden;
    }
    .hero .left-area-content {
        border-radius: 20px;
        padding: 70px 20px;
        text-align: center;
        box-shadow: 0px 0px 7px 2px rgba(255, 255, 255, 0.21);
    }
    .hero .left-area-content .text-2 {
        font-size: 3rem;
    }
    .hero .right {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar .navbar-nav li {
        margin: 10px 10px;
    }
    .hero .container {
        padding: 0 10px;
    }
    .hero .container .left-area {
        padding: 10px;
    }
    .section-title {
        font-size: 2.5rem;
    }
    #skills .row.technical .col-md-6 {
        padding: 0 50px;
    }
    #contact .container {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        border-radius: 5px;
        padding: 15px 10px;
    }
    @keyframes fade-right {
        0% {
            transform: translateX(-100px);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
}

@media screen and (max-width: 768px),
screen and (max-height: 500px) {
    .hero .left-area {
        margin-top: 70px;
    }
}

@media screen and (max-height: 650px) {
    .hero .left .img-fluid {
        max-height: 600px;
    }
}

.iframe-container {
    position: relative;
    padding-bottom: 75%; /* aspect ratio */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
