/* GLOBAL */
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #0f0f0f;
}

/* STICKY PROFILE */
@media (min-width: 992px) {
    .dd-sticky-wrapper {
        position: sticky;
        top: 3rem;
        padding-right: 2rem;
    }
}

/* MOBILE RESPONSIVE PADDING */
@media (max-width: 991px) {
    .container {
        padding: 1.5rem;
    }
}

/* PROFILE */
.dd-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.dd-profile-name {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -1px;
}

.dd-profile-role {
    color: #666;
}

/* CARDS */
.dd-content-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 20px;
    padding: 1.2rem;
    transition: .2s ease;
    min-height: 210px;
}

.dd-content-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.dd-card-link,
.dd-card-link:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.dd-card-link:hover h6,
.dd-card-link:hover small {
    text-decoration: none;
}


.dd-content-card img {
    margin-bottom: 5px;
}

.dd-content-card h6 {
    margin-bottom: 5px;
    color: #000;
}

.dd-content-card small {
    color: #7a7a7a;
}

/* HEADERS */
.dd-main-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 20px;
    padding: 1.2rem;
    transition: .2s ease;
}

.dd-header-card {
    border-radius: 20px;
    transition: .2s ease;
    margin-top: 30px;
    color: #000;
    text-decoration: none;
}

.dd-header-text {
    font-size: 18px;
    font-weight: 600;
}

/* COLORS */
.dd-bg-pink {
    background: #fff3fb;
}

.dd-bg-blue {
    background: #f4fbff;
}

/* BEHANCE */
.dd-behance-card {
    background: #f4f7fe;
    justify-content: space-between;
}

.dd-content-card {
    display: flex;
    flex-direction: column;
}

.dd-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Space between header and grid */
.dd-card-grid {
    margin-top: 1rem; /* adjust as needed */
}

.dd-card-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


.dd-grid {
    background: #e9ecf1;
    padding-top: 100%;
    border-radius: 20px;
}

/* BUTTONS */
.dd-btn {
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 600;
}

.dd-btn-outline {
    background: #fff;
    border: 1px solid #ddd;
}

.dd-btn-primary {
    background: #2ea0f7;
    color: #fff;
    border: none;
}

/* CASE STUDY */
.dd-case-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e6e8eb;
    padding: 20px;
}

.dd-case-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.dd-case-title {
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.4;
    font-weight: 400;
    text-decoration: none !important;
    color: #000 !important;
}


.dd-case-image {
    height: 210px;
    background: #e5e7eb;
    margin-top: 30px;
    border-radius: 12px;
    width: 100%;
}

/* PROJECTS */
.dd-project-card {
    border: 1px solid #ededed;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.dd-project-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}


.dd-project-title {
    font-weight: 400;
    line-height: 1.2;
    margin-top: 10px;
    text-decoration: none;
    color: #000;
}

.dd-project-url {
    color: #777;
    font-size: 14px;
}

.dd-project-thumb {
    width: 160px;
    height: 120px;
    background: #e5e7eb;
    border-radius: 12px;
    min-width: 180px;
}

/* VIDEOS */
.dd-video-card {
    height: 320px;
    border-radius: 20px;
    border: 1px solid #ededed;
    position: relative;
}

.dd-video-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}


.dd-video-chip {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fafafa;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
}



.arrow-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;

}

.arrow-btn img {
    width: 8px;
}

.arrow-btn:hover {
    background-color: #e0e0e0;
}



/* TIMELINE */
.timeline {
    position: relative;
    padding-left: 30px;
    padding-top: 10px;
}


.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(0deg, #ffffff 0%, #aeaeae 50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .dot {
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #aeaeae;
    border-radius: 50%;
}

.timeline-item .content h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.timeline-item .content small {
    display: block;
    font-size: 13px;
    color: #7a7a7a;
    margin-bottom: 6px;
}

.timeline-item .content p {
    font-size: 14px;
    color: #7a7a7a;
    line-height: 1.5;
}

/* ===============================
   MOBILE RESPONSIVE FIXES
   =============================== */
@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* PROFILE */
    .dd-profile-image {
        width: 120px;
        height: 120px;
    }

    .dd-profile-name {
        font-size: 28px;
        line-height: 1.2;
    }

    /* CONTENT CARDS */
    .dd-content-card {
        min-height: auto;
        padding: 1rem;
    }

    /* GRID IMAGES */
    .dd-card-grid img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* PROJECT CARDS */
    .dd-project-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dd-project-thumb {
        width: 100%;
        height: auto;
        min-width: unset;
        aspect-ratio: 4 / 3;
    }

    /* CASE STUDY */
    .dd-case-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* VIDEO */
    .dd-video-card {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .dd-video-chip {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* BUTTONS */
    .dd-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* TIMELINE */
    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item .dot {
        left: -21px;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

    .container {
        padding: 1rem;
    }

    .dd-profile-name {
        font-size: 24px;
    }

    .dd-header-text {
        font-size: 16px;
    }

    .arrow-btn {
        width: 26px;
        height: 26px;
    }

    .arrow-btn img {
        width: 7px;
    }
}
