* {
    font-family: 'Nunito', sans-serif;
}


/* Hero Section Revamp */
.hero-section {
    background-color: #f8f9fa;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    height: 90vh;
    min-height: 600px;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% top;
    mask-image: linear-gradient(to right, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
}

.hero-content-wrapper {
    padding: 2rem;
    position: relative;
    z-index: 5;
}

.glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    margin-left: -120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.greeting-text {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.role-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
    text-align: justify;
}

.hero-actions .btn {
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #212529;
    color: #fff;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
    .hero-image-wrapper {
        height: 60vh;
        min-height: 400px;
    }

    .hero-img {
        object-position: left top;
        mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    }

    .glass-card {
        margin-left: 0;
        margin-top: -80px;
        padding: 2rem;
        border-radius: 20px;
    }

    .role-text {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-image-wrapper {
        height: 50vh;
    }

    .glass-card {
        padding: 1.5rem;
        margin-top: -60px;
    }

    .bio-text {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
}

.card-icon > i{
    font-size: 50px;
}

.section-title {
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
}

.section-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: #adb5bd;
}

#project > .section-title {
    display: block;
}

#project > .section-title::after {
    margin-left: auto;
    background: #212529;
}

.card-skill {
    margin: 20px 0 10px;
    font-size: 20px;
}

.cont-skill {
    padding:10px;
}

.skill-card {
    height: 100%;
    padding: 2rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
}

.skill-card .card-icon {
    display: grid;
    width: 88px;
    height: 88px;
    margin: 0 auto;
    place-items: center;
    border-radius: 24px;
    color: #fff;
    background: #212529;
}

.skill-description {
    margin-bottom: 0;
    color: #6c757d;
    line-height: 1.6;
}

#skill {
    padding: 80px 50px 130px 50px;
}

#skill > h1 {
    font-size: 46px;
}

#skill > .skill-footer {
    padding-top:20px;
}

#skill > .skill-footer > p {
    width:80%;
    font-size: 20px;
}

#skill > .skill-footer > a {
    margin-top:20px;
    width:40%;
}

@media screen and (max-width: 768px) {
    #skill {
        padding: 60px 30px 110px 30px;
    }

    .card-icon > i{
        font-size: 30px;
    }
    
    .card-skill {
        margin: 15px 0 15px 0;
        font-size: 15px;
    }

    #skill > .skill-footer > p {
        width:80%;
        font-size: 15px;
    }
    
    #skill > .skill-footer > a {
        margin-top:10px;
        width:100%;
        max-width: 320px;
    }
    
    #skill > .skill-footer {
        padding-top:0;
    }

    .skill-card .card-icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
    }
}


.skill-line > img {
    width:100%;
}

.skill-line-b > img {
    width:100%;
}

#project {
    margin:50px;
    padding-top: 50px;
}

#project > h1 {
    font-size: 46px;
}

#project > .skill-footer > p {
    width:80%;
}

#project > .skill-footer > a {
    width:40%;
}

.card {
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.type-prj {
    border-radius: 0 20px 20px 0;
    padding: 8px 22px;
    margin-top: 18px;
}

.more {
    display: grid;
    height: 100%;
    min-height: 25rem;
    align-items: center;
    padding: 1rem;
    border: 2px dashed #adb5bd;
    border-radius: 20px;
    background: #f8f9fa;
}

.project-card {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.2);
}

.project-thumbnail {
    height: 190px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumbnail {
    transform: scale(1.05);
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.project-card .card-text {
    flex-grow: 1;
    color: #ced4da;
    line-height: 1.6;
}

.project-card .btn,
.more .btn {
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    #project {
        margin:25px;
        padding-top: 25px;
    }
    .type-prj {
        margin-top: 20px;
    }

    .post-item{
        margin-bottom: 20px;
    }

    .more-project-column {
        margin-top: 4px;
    }
}

#contact {
    margin-bottom: 30px;
}

#contact > .title {
    font-size: 40px;
    padding:40px 0 10px 0;
}

.contact-head{
    padding: 20px;
}

.card-body > .ls-contact > p > i{
    font-size: 20px;
}

.card-body > .ls-contact > p > a {
    text-decoration: none;
    margin-left: 8px;
}

.card-body > .ls-contact > p {
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .contact-head{
        padding: 5px;
    }

    #contact > .title {
        font-size: 35px;
        padding:20px 0 5px 0;
    }

    .card-body > .ls-contact > p > i{
        font-size: 20px;
    }
    .card-body > .ls-contact > p {
        font-size: 15px;
    }
}

hr {
    color: white;
    margin-bottom: 20px;
}

footer{
    position:relative;
}

h3.subtitle{
    color:white;
}

.webdev-section {
    padding: 80px 24px 100px;
    background: #f8f9fa;
}

.webdev-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.webdev-kicker,
.webdev-card-label {
    color: #6c757d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.webdev-heading h1 {
    margin: 8px 0 14px;
    color: #212529;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.webdev-heading p {
    margin: 0;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.8;
}

.webdev-container {
    display: grid;
    max-width: 1080px;
    margin: 0 auto;
    gap: 24px;
}

.webdev-list {
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webdev-list:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
}

.webdev-image-wrapper {
    overflow: hidden;
    min-height: 270px;
    background: #dee2e6;
}

.webdev-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.webdev-list:hover .webdev-image {
    transform: scale(1.05);
}

.webdev-card-body {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
}

.webdev-card-body .card-title {
    margin: 8px 0 12px;
    color: #212529;
    font-size: 1.55rem;
    font-weight: 800;
}

.webdev-card-summary {
    color: #495057;
    font-weight: 700;
}

.webdev-card-description {
    flex-grow: 1;
    color: #6c757d;
    line-height: 1.7;
}

.webdev-card-description p:last-child {
    margin-bottom: 0;
}

.webdev-card-body .readmore {
    margin-top: 20px;
    border-radius: 10px;
}

.webdev-card-body .readmore i {
    margin-left: 8px;
}

.webdev-modal {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
}

.webdev-modal .carousel-item img {
    height: 360px;
    object-fit: cover;
}

.webdev-modal .carousel {
    padding-bottom: 48px;
    background: #212529;
}

.webdev-modal .carousel-control-prev,
.webdev-modal .carousel-control-next {
    top: auto;
    bottom: 6px;
    width: 42px;
    height: 36px;
    border-radius: 10px;
    opacity: 0.8;
}

.webdev-modal .carousel-control-prev {
    left: calc(50% - 48px);
}

.webdev-modal .carousel-control-next {
    right: calc(50% - 48px);
}

.webdev-modal .carousel-control-prev:hover,
.webdev-modal .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.14);
    opacity: 1;
}

.webdev-modal-summary {
    margin-top: 20px;
    color: #212529;
    font-weight: 700;
}

.webdev-modal-description {
    color: #6c757d;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .webdev-section {
        padding: 60px 16px 80px;
    }

    .webdev-heading {
        margin-bottom: 30px;
    }

    .webdev-heading p {
        font-size: 0.95rem;
    }

    .webdev-image-wrapper {
        min-height: 210px;
    }

    .webdev-card-body {
        padding: 1.4rem;
    }

    .webdev-modal .carousel-item img {
        height: 220px;
    }
}
