/* Enhanced styling for the website with glassy/transparent theme */

/* Custom Cursor Styles */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #4a90e2;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
    mix-blend-mode: difference;
    display: none; /* Hide by default */
}

/* Show cursor only on non-touch devices */
@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block;
    }
}

.cursor--large {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #4a90e2;
    transition: all 0.2s ease-out;
}

.cursor--small {
    transition: transform 0.1s;
}

/* Hide cursor on touch devices */
@media (max-width: 1024px) {
    .cursor, .cursor--small, .cursor--large {
        display: none;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.team-details {
    text-align: center;
    flex: 1;
}

.team-details h3 {
    margin: 0 0 0.5rem;
    color: #e0e0e0;
    font-size: 1.4rem;
}

.team-role {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-bio {
    color: #d1d5db;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.education-details {
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #4a90e2;
}

.education-details p {
    margin: 0.5rem 0;
    color: #e0e0e0;
    font-size: 0.9rem;
}

.education-details i {
    color: #8b5cf6;
    width: 1.25rem;
    text-align: center;
    margin-right: 0.5rem;
}

.team-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: auto;
}

.team-link {
    color: #8b5cf6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
}

.team-link:hover {
    background: #8b5cf6;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Add this to the top of your existing CSS file */
.abstract-point {
    margin-bottom: 2.5em;
    padding: 1.5em;
    border-left: 3px solid #2196F3;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0 8px 8px 0;
    color: #fff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.abstract-point h4 {
    margin-top: 0;
    color: #4a90e2;
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.abstract-point ul {
    padding-left: 1.5em;
    color: #f8fafc;
}

.abstract-point li {
    margin-bottom: 0.5em;
    color: #f8fafc;
}

.abstract-point.highlight {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.model-visualization {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.model-text {
    flex: 1;
    color: #f8fafc;
}

.model-explanation {
    margin: 0;
    line-height: 1.6;
    color: #f8fafc;
}

.team-member {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.team-details p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8fafc;
}

/* Results Section Styles */
.results-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.results-section-header h2 {
    margin: 0;
    background: linear-gradient(135deg, #4a90e2, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(106, 17, 203, 0.3);
    font-size: 2rem;
}

.results-section-header .icon {
    margin-right: 1rem;
    font-size: 2rem;
    background: linear-gradient(135deg, #4a90e2, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.results-tabs {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    justify-content: center;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    min-width: 150px;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.tab-content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.tab-content-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(106, 17, 203, 0.5), transparent);
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    margin: 0 auto;
    max-width: 800px;
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.slide.active {
    display: block;
}

.slide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Image Comparison Styles */
.image-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto 1.5rem;
    max-width: 1000px;
}

.image-container {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .image-comparison {
        flex-direction: column;
        align-items: center;
    }
    
    .image-container {
        width: 100%;
        max-width: 100%;
    }
}

.slide-caption {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-caption:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.slide-caption h3 {
    margin-top: 0;
    background: linear-gradient(135deg, #4a90e2, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: inline-block;
    position: relative;
}

.slide-caption h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #6a11cb);
    border-radius: 2px;
}

/* Combined Methodology & Results Section */
#methodology-results .content-card {
    max-width: 1200px;
    margin: 0 auto;
}

#methodology-results .section-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    border-left: 4px solid #4f46e5;
}

.methodology-point {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.methodology-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4f46e5, #8b5cf6);
    transition: all 0.3s ease;
}

.methodology-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(99, 102, 241, 0.3);
}

.methodology-point h3 {
    color: #e0e0e0;
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.methodology-point h3 i {
    color: #8b5cf6;
    font-size: 1.3em;
}

/* Results Showcase */
.results-showcase {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.results-showcase h4 {
    color: #e0e0e0;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.results-showcase h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 3px;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.finding {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.finding:hover {
    transform: translateY(-3px);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.finding i {
    font-size: 1.8rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    display: inline-block;
}

.finding p {
    margin: 0.5rem 0 0;
    color: #d1d5db;
    line-height: 1.6;
}

.visualization-note {
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 10px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.visualization-note i {
    font-size: 1.8rem;
    color: #8b5cf6;
    margin-top: 0.2rem;
}

.visualization-note p {
    margin: 0;
    color: #d1d5db;
    line-height: 1.7;
    flex: 1;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Slideshow navigation arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(30, 30, 30, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 1;
    pointer-events: auto;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(74, 144, 226, 0.7);
    transform: translateY(-50%) scale(1.1);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Adjust slideshow content to account for arrow spacing */
.slideshow-container .slide {
    padding: 0 20px;
}

.slide-indicators {
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4a90e2, #6a11cb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indicator:hover::before {
    opacity: 0.5;
}

.indicator.active {
    background: transparent;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
}

.indicator.active::before {
    opacity: 1;
}

/* Map styles */
.map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    perspective: 1000px;
}

@media (max-width: 768px) {
    .map-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

.map-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.map-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.3);
    border-color: rgba(106, 17, 203, 0.3);
}

.map-title {
    padding: 1.25rem;
    margin: 0;
    background: rgba(106, 17, 203, 0.5);
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.map-item:hover .map-title::before {
    left: 100%;
}

.map-container {
    height: 300px;
    overflow: hidden;
}

.map-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(106, 17, 203, 0.3); }
    50% { box-shadow: 0 0 20px rgba(106, 17, 203, 0.6); }
    100% { box-shadow: 0 0 10px rgba(106, 17, 203, 0.3); }
}

/* Footer Layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section.footer-main {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.footer-section.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 300px;
    max-width: 400px;
}

/* Footer Quick Links */
.footer-section.quick-links {
    margin-top: 1.5rem;
    width: 100%;
}

.footer-section.quick-links h4 {
    margin: 0 0 0.75rem 0;
    white-space: nowrap;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.footer-section .links-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #e0e0e0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Footer Contact */
.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.footer-section .links-container a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .links-container a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.link-separator {
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    margin: 0 0.25rem;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .footer-section.footer-main,
    .footer-section.footer-right {
        width: 100%;
        max-width: 100%;
        align-items: center;
    }
    
    .footer-section.quick-links {
        margin: 1.5rem 0;
    }
    
    .footer-section .links-container {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}
