/* Place Your Custom Styles Here */
.signature-section {
    text-align: center; 
    font-family: 'Arial', sans-serif; 
    margin-top: 0;
}

.signature-section p {
    margin: 0;
    padding: 0;
}

.signature-section img {
    margin: 5px 0;
}

/* About section paragraph justification - only main content, not signature */
[data-anchor="about"] p {
    text-align: justify;
}

[data-anchor="about"] .signature-section p {
    text-align: center;
}

/* Initial style for the image */
.media-container .bg-image-holder {
    transition: transform 0.3s ease-in-out; 
    position: relative; /* Make sure your image holder is relatively positioned */
}

/* Effect when the mouse is hovered over the media container */
.media-container:hover .bg-image-holder {
    transform: translateY(-10px); /* This will make the image move upwards by 10 pixels */
}

/* Initial style for the button */
.custom-button {
    background-color: transparent;
    color: #FFF; /* White text */
    padding: 10px 20px; /* Padding for the button */
    border: 1px solid white; /* Border for the button */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Hand cursor on hover */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for color changes */
    font-size: 0.85em;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none; /* To remove the underline from the link */
}

/* Hover effect for the button */
.custom-button:hover {
    background-color: #FFF; /* White background */
    color: #000; /* Dark text */
}

h1, h2{
    color:#daa520;
}

.experiences-section {
    padding: 50px 20px;
}
.experiences-container {
    width: 80%;
    margin: auto;
}
.experience {
    background-color: #405be8;
    color: #fff;
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.experience img {
    width: 250px;
    margin-right: 20px;
    border-radius: 10px;
}
.experience h3 {
    margin-top: 0;
    font-weight: 700;
}
.experience-image {
    display: flex;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .experience {
        flex-direction: column;
    }
    .experience img {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0px;
    }
    
}

/* Experience card consistent heights */
.slider .slick-track {
    display: flex !important;
}

.slider .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.slider .slick-slide > div {
    width: 100%;
    display: flex !important;
}

.experience-card {
    width: 100%;
}

/* Slider arrow positioning */
.slick-prev,
.slick-next {
    width: 50px;
    height: 50px;
    z-index: 100;
    top: 50%;
    transform: translateY(-50%);
}

.slick-prev {
    left: -60px !important;
}

.slick-next {
    right: -60px !important;
}

.slick-prev i,
.slick-next i {
    font-size: 30px;
}

/* Project and Paper card styles */
.project-card,
.paper-card {
    width: 100%;
    max-height: 750px !important;
    padding: 1.5rem !important;
    justify-content: center !important;
    overflow: hidden;
}

#projects-slider .slick-track,
#papers-slider .slick-track {
    display: flex !important;
}

#projects-slider .slick-slide,
#papers-slider .slick-slide {
    height: inherit !important;
    display: flex !important;
}

#projects-slider .slick-slide > div,
#papers-slider .slick-slide > div {
    width: 100%;
    display: flex !important;
}

/* Project and paper image column container */
.project-card .col-md-6:has(img),
.paper-card .col-md-6:has(img) {
    display: flex !important;
    align-items: center !important;
    max-height: 400px;
}

/* Project and paper image container styles */
.project-card img,
.paper-card img {
    max-height: 300px;
    object-fit: contain !important;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    transition: transform 0.3s ease-in-out;
    font-size: 0.9rem;
}

/* Compress text content */
.project-card h4,
.paper-card h4 {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem !important;
}

.project-card p,
.paper-card p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}

.project-card img:hover,
.paper-card img:hover {
    transform: translateY(-10px);
}

/* Project and Paper button styles */
.project-card .btn,
.paper-card .btn {
    background-color: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.project-card .btn:hover,
.paper-card .btn:hover {
    background-color: #fff !important;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for project and paper cards */
@media screen and (max-width: 768px) {
    .project-card .row,
    .paper-card .row {
        flex-direction: column !important;
    }

    .project-card .order-md-1,
    .project-card .order-md-2,
    .paper-card .order-md-1,
    .paper-card .order-md-2 {
        order: 0 !important;
    }

    .project-card img,
    .paper-card img {
        max-height: 300px;
    }
}
