/**********************************/
/********** General CSS ***********/
/**********************************/
body {
    color: #666666;
    background: #F6D155;
    font-family: 'Open Sans', sans-serif;
}

a {
    color: #222222;
    transition: all .3s;
}

a:hover,
a:active,
a:focus {
    color: #FF6F61;
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}


/**********************************/
/****** Layout with Sidebar *******/
/**********************************/
.wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1140px;
}

.wrapper .sidebar {
    position: relative;
    width: 100%;
    float: left;
    background: #222222;
}

.wrapper .content {
    position: relative;
    width: 100%;
    padding: 15px;
    float: left;
    background: #F6D155;
}

.wrapper .sidebar-header,
.wrapper .sidebar-footer {
    display: none;
}

.navbar-brand img{
    height: 30px;
    width: 30px;
}

.logo1{
    margin-top: 5px;
    font-size: 20px;
}
.navbar-brand{
    padding-left: 20px;
    display: flex;
}

.navbar {
    padding: 15px;
    background: #222222 !important;
}

.navbar-expand-md .navbar-nav .nav-item {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.navbar-expand-md .navbar-nav .nav-item:first-child{
    border-top: none;
}

.navbar-expand-md .navbar-nav .nav-link {
    color: #ffffff;
    padding: 5px 15px 7px 15px;
    transition: all .3s;
}

.navbar-expand-md .navbar-nav .nav-link i {
    color: #FF6F61;
    float: right;
    padding-top: 5px;
    transition: all .3s;
}

.navbar-expand-md .navbar-nav .nav-link:hover,
.navbar-expand-md .navbar-nav .nav-link.active {
    color: #FF6F61;
}

.navbar-expand-md .navbar-nav .nav-link:hover i,
.navbar-expand-md .navbar-nav .nav-link.active i{
    color: #ffffff;
}


.wrapper .sidebar,
.wrapper .content {
    -webkit-transition: margin 200ms ease-out;
    -moz-transition: margin 200ms ease-out;
    -o-transition: margin 200ms ease-out;
    transition: margin 200ms ease-out;
}

@media (min-width: 768px) {
    .wrapper .content {
        padding: 30px 0px 30px 30px;
    }
    
    .wrapper .content::before,
    .wrapper .content::after {
        position: fixed;
        content: "";
        width: 100%;
        height: 30px;
        background: #F6D155;
        z-index: 1;
    }
    
    .wrapper .content::before {
        top: 0;
    }
    
    .wrapper .content::after {
        bottom: 0;
    }
    
    .wrapper .sidebar {
        position: fixed;
        width: 300px;
        height: 100%;
        margin-left: -250px;
        float: left;
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: gray;
        z-index: 2;
    }

    .wrapper .sidebar:hover {
        margin-left: 0px;
    }
    
    .wrapper .content {
        position: relative;
        width: calc(100% - 50px);
        margin-left: 50px;
        float: right;
    }
    
    .wrapper .sidebar:hover  .sidebar-header {
        position: relative;
        display: block;
        width: 100%;
    }

    .wrapper .sidebar .sidebar-header img {
        width: 100%;
        height: auto;
    }
    
    .navbar-brand {
        display: none;
    }
    
    .navbar {
        padding: 15px 0;
        flex-direction: column;
    }
    
    .wrapper .sidebar:hover .navbar-expand-md .navbar-nav .nav-link {
        padding: 5px 30px 7px 30px;
    }
    
    .wrapper .sidebar::-webkit-scrollbar {
        width: 7px;
    }

    .wrapper .sidebar::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    }

    .wrapper .sidebar::-webkit-scrollbar-thumb {
        background-color: darkgrey;
        outline: 1px solid slategrey;
        border-radius: 7px
    }
    
    .navbar-brand {
        display: none;
    }
    
    .sidebar .sidebar-footer {
        width: 300px;
        position: fixed;
        bottom: 0;
        padding: 15px;
        font-size: 0;
        text-align: center;
        background: #222222;
    }

    .side-header-name{
        display:flex;
        justify-content:center;
        align-items:center;
    }
    
    .sidebar .sidebar-footer a {
        display: inline-block;
        width: 40px;
        height: 40px;
        padding: 5px 0;
        margin: 0 15px 15px 0;
        text-align: center;
        font-size: 18px;
        color: #222222;
        background: #FF6F61;
    }
    
    .sidebar .sidebar-footer a:last-child {
        margin-right: 0;
    }
    
    .sidebar .sidebar-footer a:hover {
        color: #FF6F61;
        background: #ffffff;
    }
    
    .sidebar:hover .sidebar-footer {
        display: block;
    }
    .leetcode-icon svg {
        transition: fill 0.3s ease;
    }
    
    .leetcode-icon:hover svg {
        fill: #FF6F61;
    }
}

@media (min-width: 992px) {
    .wrapper .sidebar {
        margin: 0;
    }

    .wrapper .content {
        width: calc(100% - 300px);
        margin-left: 300px;
    }

    .sidebar .sidebar-header {
        position: relative;
        display: block;
        width: 100%;
    }
    
    .navbar-expand-md .navbar-nav .nav-link {
        padding: 5px 30px 7px 30px;
    }
    
    .sidebar .sidebar-footer {
        display: block;
    }
}

@media (max-width: 1140px) {
    .wrapper .content {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .wrapper .content {
        padding: 15px;
    }
}


/**********************************/
/******** Back to Top CSS *********/
/**********************************/
.back-to-top {
    position: fixed;
    display: none;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 1;
    font-size: 30px;
    right: 30px;
    bottom: 30px;
    transition: background 0.5s;
    z-index: 11;
}

.back-to-top i {
    color: #222222;
}

.back-to-top i:hover {
    color: #FF6F61;
}

.back-to-top {
    -webkit-animation: action 1s infinite  alternate;
    animation: action 1s infinite  alternate;
}

@-webkit-keyframes action {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

@keyframes action {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}


/**********************************/
/*********** Header CSS ***********/
/**********************************/
.header {
    position: relative;
    background: #ffffff;
}

.header .content-inner {
    padding: 100px 30px;
    background: url(../img/profile.png) right bottom no-repeat;
    background-size: contain;
}

.header p {
    color: #FF6F61;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.header h1 {
    color: #222222;
    font-size: 50px;
    font-weight: 700;
}

.header h2 {
    display: inline-block;
    margin: 0;
    height: 25px;
    font-size: 25px;
}

.header .typed-text {
    display: none;
}

.header .typed-cursor {
    font-size: 25px;
    font-weight: 300;
    color: #222222;
}

.large-btn .content-inner {
    font-size: 0;
    border-bottom: 30px solid #F6D155;
}

.large-btn .btn {
    position: relative;
    width: 50%;
    padding: 15px 0;
    color: #FF6F61;
    font-size: 20px;
    background: #222222;
    border-radius: 0;
}

.large-btn .btn:last-child {
    color: #222222;
    background: #FF6F61;
}

.large-btn .btn i {
    margin-right: 8px;
}

.large-btn .btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    transition: all .3s;
}

.large-btn .btn:hover::after {
    width: 100%;
    background: rgba(255, 255, 255, .1);
}


/**********************************/
/******* Content Header CSS *******/
/**********************************/
.content-header {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.content-header h2 {
    color: #222222;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0;
}

.content-header::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: #FF6F61;
}


/**********************************/
/*********** About CSS ************/
/**********************************/
.about {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}


.about img {
    width: 100%;
    height: auto;
}

@media(max-width: 767.98px) {
    .about img {
        margin-bottom: 15px;
    }
}

.about .btn {
    border-radius: 0;
    color: #222222;
    background: #FF6F61;
    transition: all .3s;
}

.about .btn:hover {
    color: #FF6F61;
    background: #222222;
}

.about .skills {
    padding-top: 15px;
}

.about .skill-name {
    margin-top: 15px;
}

.about .skill-name p {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 400;
}

.about .skill-name p:last-child {
    float: right;
}

.about .progress {
    height: 5px;
    border: 1px solid #FF6F61;
    border-radius: 0;
    background: #ffffff;
}

.about .progress .progress-bar {
    width: 1px;
    background: #FF6F61;
    border-radius: 0;
    transition: 1s;
}

.about-text {
  text-align: justify;
  text-justify: inter-word; 

}



/**********************************/
/********* Education CSS **********/
/**********************************/
.education {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.education .edu-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #FF6F61;
    border-bottom: 1px solid #FF6F61;
}

.education .col-md-6:first-child .edu-col {
    padding-top: 0;
}

.education .col-md-6:last-child .edu-col {
    border-bottom: none;
    padding-bottom: 0;
}
@media (min-width: 768px) {
    .education .col-md-6:nth-child(-n+2) .edu-col {
        padding-top: 0;
    }

    .education .col-md-6:last-child .edu-col,
    .education .col-md-6:nth-last-child(4) .edu-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.education .edu-col span {
    position: relative;
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.education .edu-col span::before {
    position: absolute;
    content: "";
    width: 11px;
    height: 11px;
    background: #FF6F61;
    top: 5px;
    left: -26px;
    border-radius: 5px;
}

.education .edu-col span i {
    color: #FF6F61;
}

.education .edu-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.education .edu-col p {
    margin: 0;
}


/**********************************/
/********* Experience CSS *********/
/**********************************/
.experience {
    position: relative;
    padding: 60px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.experience .exp-col {
    position: relative;
    width: 100%;
    padding: 20px 0 20px 20px;
    border-left: 1px solid #FF6F61;
    border-bottom: 1px solid #FF6F61;
}

.experience .col-md-6:first-child .exp-col {
    padding-top: 0;
}

.experience .col-md-6:last-child .exp-col {
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .experience .col-md-6:nth-child(-n+2) .exp-col {
        padding-top: 0;
    }

    .experience .col-md-6:last-child .exp-col,
    .experience .col-md-6:nth-last-child(2) .exp-col {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.experience .exp-col span {
    position: relative;
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.experience .exp-col span::before {
    position: absolute;
    content: "";
    width: 11px;
    height: 11px;
    background: #FF6F61;
    top: 5px;
    left: -26px;
    border-radius: 5px;
}

.experience .exp-col span i {
    color: #FF6F61;
}

.experience .exp-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.experience .exp-col h4 {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 5px;
}

.experience .exp-col h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.experience .exp-col p {
    margin: 0;
}


/**********************************/
/*********** Projects CSS **********/
/**********************************/
.projects {
    position: relative;
    /* padding: 72px 30px 84px; */
    padding: 60px 30px 30px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.projects .content-inner {
    position: relative;
}

.projects-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}

.projects-heading-copy {
    max-width: 560px;
}

.projects-header h2 {
    color: #222222;
    font-size: 35px;
    font-weight: 700;
    margin: 0;
    line-height: 0.95;
}

.projects-heading-copy::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 11px 0 11px;
    border-radius: 0px;
    background: #ff6f61;

}

.projects-heading-copy p {
    max-width: 520px;
    margin: 0;
    color: #666666;
    font-size: 20px;
    line-height: 1.45;
}

.projects-all-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 2px;
    background: linear-gradient(135deg, #ff6d5f 0%, #ff6f61 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 16px 30px rgba(255, 111, 97, 0.24);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #f1f1f1;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.project-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3.5;
    background: linear-gradient(135deg, #ece8e2 0%, #d9d3c9 100%);
}

.project-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-card-media-placeholder {
    padding: 8px;
}

.project-card-media-branding {
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.5), transparent 28%),
        linear-gradient(145deg, #b8b0a5 0%, #efe7db 100%);
}

.project-card-media-product {
    background:
        radial-gradient(circle at 58% 30%, rgba(255, 255, 255, 0.14), transparent 22%),
        linear-gradient(145deg, #101010 0%, #262626 48%, #0d0d0d 100%);
}

.project-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 14px;
    padding: 10px 14px 12px;
    border-top: 1px solid #ececec;
    color: #ff6f61;
    font-size: 15px;
    font-weight: 600;
}

.project-card-body {
    padding: 10px 14px 8px;
}

.project-card-body h3 {
    color: #222222;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
}

.project-card-body p {
    color: #666666;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.project-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.project-card-placeholder-mark {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.project-card-action:hover,
.project-card-action:focus {
    color: #d85d50;
    text-decoration: none;
}

.projects-all-link:hover,
.projects-all-link:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-header {
        flex-direction: column;
    }

    .projects-all-link {
        min-height: 58px;
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .projects {
        padding: 60px 30px 30px;
    }

    .projects-header h2 {
        font-size: 35px;
        line-height: 1;
    }

    .projects-heading-copy::before {
        width: 72px;
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .projects-heading-copy p {
        font-size: 17px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .project-card-media {
        aspect-ratio: 4 / 3.2;
    }

    .project-card-body {
        flex: 1;
    }

    .project-card-body {
        padding: 10px 12px 8px;
    }

    .project-card-action {
        padding: 9px 12px 10px;
        font-size: 14px;
    }

    .project-card-body h3 {
        font-size: 16px;
    }

    .project-card-body p {
        font-size: 13px;
    }

    .projects-all-link {
        width: 100%;
        min-height: 54px;
        font-size: 16px;
    }
}


/**********************************/
/*********** Service CSS **********/
/**********************************/
.service {
    position: relative;
    padding: 60px 30px 30px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.service .srv-col {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.service .srv-col i {
    font-size: 30px;
    color: #FF6F61;
    margin-bottom: 15px;
}

.service .srv-col h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.service .skill-grid {
    margin-top: 5px;
}

.service .compact-skills {
    margin-top: 5px;
}

.service .compact-skills .srv-col {
    margin-bottom: 0;
    padding: 18px 0 14px 20px;
    border-left: 1px solid rgba(255, 111, 97, 0.65);
    border-bottom: 1px solid rgba(255, 111, 97, 0.65);
}

.service .compact-skills .srv-col::before {
    position: absolute;
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #FF6F61;
    left: -6px;
    top: 24px;
}

.service .skill-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
}

.service .skill-chip {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    background: #fcfcfc;
    color: #444444;
    font-size: 13px;
    line-height: 1.4;
}

.service .skill-chip strong {
    color: #222222;
    font-weight: 700;
}

.service .compact-skills .srv-col i {
    font-size: 22px;
    margin-bottom: 8px;
}

.service .compact-skills .srv-col h3 {
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.service .skill-card {
    height: 100%;
    padding: 22px 20px;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 34, 34, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service .skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(34, 34, 34, 0.12);
}

.service .skill-card h3 {
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.service .skill-list {
    margin: 0;
    color: #555555;
    line-height: 1.65;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .service .skill-card {
        padding: 18px 16px;
    }

    .service .skill-list {
        font-size: 14px;
    }

    .service .skill-chip-wrap {
        gap: 7px;
    }

    .service .skill-chip {
        font-size: 12px;
        padding: 3px 7px;
    }
}

.experience .exp-col h4 {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 5px;
}

.experience .exp-col h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.experience .exp-col p {
    margin: 0;
}


/**********************************/
/********** Portfolio CSS *********/
/**********************************/
.portfolio {
    position: relative;
    padding: 44px 30px 30px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 30px 0;
    list-style: none;
    font-size: 0;
}

.portfolio #portfolio-flters li {
    cursor: pointer;
    margin: 15px -1px 0 0;
    display: inline-block;
    height: 35px;
    padding: 10px;
    color: #666666;
    font-size: 13px;
    line-height: 15px;
    text-transform: uppercase;
    border: 1px solid #FF6F61;
    background: #ffffff;
    transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: #FF6F61;
    color: #222222;
}

.portfolio .portfolio-item {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio .portfolio-item figure {
    background: #ffffff;
    overflow: hidden;
    height: 220px;
    position: relative;
    border-radius: 0;
    margin: 0; 
}

.portfolio .portfolio-item figure img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.portfolio .portfolio-item figure:hover img {
    opacity: 0.3;
    transition: 0.3s;
}

.portfolio .portfolio-item figure .link-preview,
.portfolio .portfolio-item figure .link-details,
.portfolio .portfolio-item figure .portfolio-title {
    position: absolute;
    display: inline-block;
    opacity: 0;
    line-height: 1;
    text-align: center;
    width: 45px;
    height: 35px;
    background: #FF6F61;
    transition: 0.2s linear;
}

.portfolio .portfolio-item figure .link-preview i,
.portfolio .portfolio-item figure .link-details i {
    color: #222222;
    padding-top: 10px;
    font-size: 16px;
}

.portfolio .portfolio-item figure .link-preview:hover,
.portfolio .portfolio-item figure .link-details:hover {
    background: #222222;
}

.portfolio .portfolio-item figure .link-preview:hover i,
.portfolio .portfolio-item figure .link-details:hover i {
    color: #FF6F61;
}

.portfolio .portfolio-item figure .link-preview {
    left: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .link-details {
    right: 50%;
    top: calc(25% - 18px);
}

.portfolio .portfolio-item figure .portfolio-title {
    margin: 0;
    width: 100%;
    height: 50%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 30px 10px;
    color: #222222;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 111, 97, .5);
    border-radius: 0;
}

.portfolio .portfolio-item figure .portfolio-title:hover {
    text-decoration: none;
}

.portfolio .portfolio-item figure .portfolio-title span {
    display: block;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 300;
}

.portfolio .portfolio-item figure:hover .link-preview {
    opacity: 1;
    left: calc(50% - 61px);
}

.portfolio .portfolio-item figure:hover .link-details {
    opacity: 1;
    right: calc(50% - 61px);
}

.portfolio .portfolio-item figure:hover .portfolio-title {
    opacity: 1;
    top: 50%;
}

@media (max-width: 767.98px) {
    .portfolio .row.portfolio-container {
        display: flex !important;
        flex-wrap: wrap !important;
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    
    .portfolio .portfolio-container .portfolio-item {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 5px !important;
        margin-bottom: 1px !important;
        height: 120px !important;
        float: none !important;
    }
    
    .portfolio .portfolio-item figure {
        height: 110px !important;
    }
    
    .portfolio .portfolio-item figure .link-preview {
        left: calc(50% - 50px) !important;
        top: calc(40% - 18px) !important;
    }
    
    .portfolio .portfolio-item figure .link-details {
        right: calc(50% - 50px) !important;
        top: calc(40% - 18px) !important;
    }
    
    .portfolio .portfolio-item figure:hover .link-preview {
        left: calc(50% - 50px) !important;
    }
    
    .portfolio .portfolio-item figure:hover .link-details {
        right: calc(50% - 50px) !important;
    }
    
    .portfolio .portfolio-item figure .portfolio-title {
        font-size: 11px !important;
        padding: 10px 5px !important;
        height: 40% !important;
    }
    
    .portfolio .portfolio-item figure:hover .portfolio-title {
        top: 60% !important;
    }
    
    .portfolio .portfolio-item figure .portfolio-title span {
        font-size: 10px !important;
        margin-top: 3px !important;
    }
    
    .portfolio .portfolio-item figure .link-preview,
    .portfolio .portfolio-item figure .link-details {
        width: 35px !important;
        height: 28px !important;
    }
    
    .portfolio .portfolio-item figure .link-preview i,
    .portfolio .portfolio-item figure .link-details i {
        font-size: 12px !important;
        padding-top: 8px !important;
    }
}
    


/**********************************/
/*********** Review CSS ***********/
/**********************************/
.review {
    position: relative;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
}

.review .content-inner {
    position: relative;
    padding: 60px 30px;
    background: url(../img/quote.png) right bottom no-repeat;
}

.review .review-text p {
    font-size: 18px;
    font-style: italic;
}

.review .review-img {
    display: flex;
    align-items: center;
}

.review .review-img img {
    width: 80px; 
    height: 80px; 
    object-fit: contain;
    margin-right: 15px;
}

.review .review-name h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.review .review-name p {
    font-size: 14px;
    margin-bottom: 0;
}

.review .review-text .ratting {
    margin-bottom: 5px;
}

.review .review-text .ratting i {
    color: #FF6F61;
    font-size: 14px;
}

.review .slick-slider:hover .slick-prev {
    left: 30px;
}

.review .slick-slider:hover .slick-next {
    right: 30px;
}

.review-slider .slick-prev,
.review-slider .slick-next {
    width: 35px;
    height: 35px;
    z-index: 1;
    opacity: 0;
    transition: .5s;
    background: rgba(255, 111, 97, .7);
}

.review-slider .slick-prev {
    left: 55px;
}

.review-slider .slick-next {
    right: 55px;
}

.review-slider.slick-slider:hover .slick-prev {
    left: 15px;
    opacity: 1;
}

.review-slider.slick-slider:hover .slick-next {
    right: 15px;
    opacity: 1;
}

.review-slider .slick-prev:hover,
.review-slider .slick-prev:focus,
.review-slider .slick-next:hover,
.review-slider .slick-next:focus {
    background: rgba(0, 0, 0, .7);
}

.review-slider .slick-prev:hover::before,
.review-slider .slick-prev:focus::before,
.review-slider .slick-next:hover::before,
.review-slider .slick-next:focus::before {
    color: #FF6F61;
}

.review-slider .slick-prev::before,
.review-slider .slick-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    color: #ffffff;
}

.review-slider .slick-prev::before {
    content: "\f104";
}

.review-slider .slick-next::before {
    content: "\f105";
}

.review-slider .slick-dots {
    bottom: 15px;
}

.review-slider .slick-dots li button:before {
    color: #ffffff;
    font-size: 15px;
}

.review-slider .slick-dots li.slick-active button:before {
    color: #FF6F61;
}

.review-slider.slick-slider {
    margin-bottom: 0;
}
.review .review-name p#review-email {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
.review-form {
    margin: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.review-form button {
    padding: 10px 20px;
    background-color: #FF6F61;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.review-form button:hover {
    background-color: #e65c54;
}

/**********************************/
/************ News css ************/
/**********************************/

.news {
    position: relative;
    padding: 60px 30px 30px 30px;
    background: #ffffff;
    border-bottom: 30px solid #F6D155;
} 

.news .content-header h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Scrollable container */
#news-container.scrollable {
    max-height: 300px; /* Set the height you want for the scrollable area */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 10px;
    border: 1px solid #ddd; /* Optional: Border for the scrollable area */
    background-color: #ffffff;
}

/* Style for individual news items */
.news-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.news-item h3 {
    font-size: 18px;
    margin: 0 0 5px;
}

.news-item h3 a {
    color: #FF6F61;
    text-decoration: none;
    font-size: 24px;
    font-family: 'impact', sans-serif;
    /* font-family: 'comic sans MS', cursive; */
}

.news-item h3 a:hover {
    text-decoration: underline;
}

.news-item p {
    margin: 0 0 5px;
    color: #555;
}

.news-item small {
    color: #666;
}
/**********************************/
/*********** Contact CSS ***********/
/**********************************/
.contact {
    position: relative;
    padding: 60px 30px 30px 30px;
    background: #ffffff;
}

.contact .contact-info {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.contact .contact-info p {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact .contact-info p i {
    width: 25px;
    color: #FF6F61;
}

.contact .contact-info p a {
    color: #666666;
}

.contact .contact-info p a:hover {
    color: #FF6F61;
    text-decoration: none;
}

.contact .social {
    font-size: 0;
}

.contact .social a {
    width: 35px;
    height: 35px;
    padding: 5px 0;
    color: #222222;
    background: #FF6F61;
    border-radius: 0;
    margin-top: 15px;
    margin-right: 15px;
    transition: all .3s;
}

.contact .social a:last-child {
    margin-right: 0;
}

.contact .social a:hover {
    color: #FF6F61;
    background: #222222;
}

.contact .form {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.contact .form .form-control {
    border-radius: 0;
}

.contact .form .form-control:focus {
    box-shadow: none;
    border-color: #FF6F61;
}

.contact .form .btn {
    color: #222222;
    background: #FF6F61;
    border-radius: 0;
    transition: all .3s;
}

.contact .form .btn:hover {
    color: #FF6F61;
    background: #222222;
}


/**********************************/
/*********** Footer CSS ***********/
/**********************************/
.footer {
    position: relative;
    width: 100%;
    padding: 30px 30px 0 30px;
    background: #F6D155;
}

.footer .col-md-6:last-child {
    text-align: right;
}

@media(max-width: 767.98px) {
    .footer .col-md-6,
    .footer .col-md-6:last-child{
        text-align: center;
    }
}

.footer p {
    color: #222222;
    margin: 0;
}

.footer a {
    color: #FF6F61;
    font-weight: 600;
}

.footer a:hover {
    color: #222222;
}

/**********************************/
/********** Notification CSS ******/
/**********************************/
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    font-family: 'Open Sans', sans-serif;
}

.notification {
    background: #ffffff;
    border-left: 4px solid #FF6F61;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FF6F61;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.success::before {
    background: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.error::before {
    background: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.warning::before {
    background: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification.info::before {
    background: #17a2b8;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 16px;
    color: #222222;
    margin: 0 0 4px 0;
}

.notification-message {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: #999999;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}

.notification-close:hover {
    color: #222222;
}

.notification.fade-out {
    animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 14px 16px;
    }
    
    .notification-title {
        font-size: 15px;
    }
    
    .notification-message {
        font-size: 13px;
    }
}