.resume-cta {
    margin-top: 20px;
}

#projects img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

#projects img:hover {
    transform: scale(1.05);
}

#projects h2 {
    font-weight: 600;
    margin-bottom: 20px;
}

.owl-nav button {
    position: absolute;
    top: 35%;
    background: #333 !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.owl-nav .owl-prev {
    left: -20px;
}

.owl-nav .owl-next {
    right: -20px;
}

/* Tabs theme */
.nav-tabs .nav-link {
    color: #b30043;
    border: 2px solid transparent;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #fff;
    background-color: #b30043;
}

.tab-pane img {
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.tab-pane img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(179, 0, 67, 0.3);
}

#gallery .row div {
    padding: 10px;
}

/* Masonry Gallery */
.masonry-gallery {
    columns: 4;
    column-gap: 15px;
}

.masonry-gallery a {
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.masonry-gallery img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(179, 0, 67, 0.3);
}

#doodle h2 {
    color: #b30043;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Custom Cards */
.custom-card {
    background: #fff;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 16px rgba(179, 0, 67, 0.3);
}

.custom-card .card-body {
    padding: 20px;
}

.custom-card .card-title {
    color: #b30043;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-card .card-text {
    color: #555;
    font-size: 15px;
}

/* Sports Section */
#sports {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

.sports-desc {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Masonry Layout for Sports */
.masonry-gallery {
    column-count: 3;
    column-gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.masonry-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.masonry-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(179, 0, 67, 0.3);
}

/* Research Papers */
.paper-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.paper-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(179, 0, 67, 0.2);
}

.paper-card .date {
    color: #b30043;
    font-weight: 600;
}

.paper-card .date-title {
    margin-top: 8px;
    font-size: 1.1rem;
    color: #333;
}

.paper-card i {
    color: #b30043;
    margin-right: 6px;
}

.view-paper-btn {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    background: #b30043;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.view-paper-btn:hover {
    background: #8a0033;
    transform: scale(1.05);
}

#galleryTabsContent .row div {
    padding: 15px;
}

.last-card {
    display: flex;
    margin: 20px 0;
}

@media (max-width: 991px) {
    .masonry-gallery {
        columns: 3;
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .custom-card img {
        height: 290px;
    }

    .last-card {
        flex-direction: column;

    }

    #about img {
        margin: 15px auto;
    }


    .masonry-gallery {
        columns: 2;
        column-count: 1;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    .masonry-gallery {
        columns: 1;
    }
}