
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    color: black;
    text-align: center;
    padding: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.heading_section h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

 .contributers {
     background-color: rgba(154, 193, 218, 0.1);
     padding: 1rem;
     border-radius: 5px;
     margin: 1rem auto;
     display: inline-block;
     text-align: center;
 }

.contributers strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contributers div {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    background-color: rgba(122, 171, 203, 0.2);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contributers div:hover{
    background-color: #4f9ff0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
}

.contributers a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.institutes h3 {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}


.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.links a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

.links div {
    cursor: pointer;
    transition: all 0.3s ease;
}

.links a:hover {
    color: #165182;
    font-size: 1.02rem;
}

/* Main content styles */
.main {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Image pair container styles */
.image-pair-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f1f8fe;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pair {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1rem;
}

.search-query,
.target-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.search-query img {
    width: 200px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.target-image img {
    width: 300px;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.search-query img:hover,
.target-image img:hover {
    transform: scale(1.02);
}

.search-query p,
.target-image p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.arrow {
    font-size: 2rem;
    color: #1976d2;
    margin: 0 1rem;
}

#left-btn,
#right-btn {
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

#left-btn:hover,
#right-btn:hover {
    background-color: #0d47a1;
}

/* Abstract and content sections */
.abstract,
.problem_statement,
.example_images,
.yt_video,
.bibletex,
.team_member,
.acknoweldgement {
    margin-bottom: 2.5rem;
}

.abstract {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-left: 4px solid #1976d2;
    border-radius: 0 5px 5px 0;
}

.content {
    margin-bottom: 1rem;
    text-align: justify;
}

.keywords {
    font-style: italic;
    color: #555;
    font-size: 0.9rem;
}

.problem_statement {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem;
    background-color: #e3f2fd;
    border-radius: 5px;
}

.example_images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

/* YouTube video container */
.yt_video {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.yt_video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* BibTeX section */
.bibletex {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 5px;
}

.bibletex h3 {
    margin-bottom: 1rem;
    color: black;
}

.bibletex pre {
    background-color: #fff;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    border: 1px solid #e0e0e0;
}

/* Team member section */
.team_member {
    text-align: center;
    padding: 1.5rem 0;
}

.team_member hr {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 1rem 0;
}

/* Acknowledgement section */
.acknoweldgement {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 5px;
}

.acknoweldgement h2 {
    color: black;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    /* background-color: #263238; */
    color: black;
    padding: 2rem;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.footer h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer p {
    opacity: 0.8;
}

.example_images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    /* space between images */
    justify-content: center;
    padding: 20px;
    max-width: 350px;
    /* optional, helps center smaller grids */
    margin: auto;
}

.example_images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }

    .heading_section h1 {
        font-size: 2rem;
    }

    .pair {
        flex-direction: column;
    }

    .search-query,
    .target-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .yt_video iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .heading_section h1 {
        font-size: 1.5rem;
    }

    .about h3,
    .institutes h3 {
        font-size: 1rem;
    }

    .image-pair-container {
        padding: 1rem 0.5rem;
    }

    #left-btn,
    #right-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .yt_video iframe {
        height: 200px;
    }
}


.team_section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.team_card {
    width: 160px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.team_img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.team_card h3 {
    font-size: 1rem;
    margin: 10px 0;
}

.team_links a {
    margin: 0 5px;
    font-size: 1.2rem;
    color: #0077b5;
    /* LinkedIn blue */
}

.team_links a:hover {
    color: #000;
}