:root {
    --bg-color: #0b0f19;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.5);
    --card-bg: rgba(30, 41, 59, 0.5);
    --card-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 4rem 2rem;
}

/* Background animated blobs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #3b82f6; /* Blue */
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #14b8a6; /* Teal */
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(180deg); }
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease-out;
}

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

.profile-section {
    flex: 0 0 auto;
}

.image-wrapper {
    width: 320px;
    height: 420px;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px var(--accent-glow);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .profile-img {
    transform: scale(1.05);
}

.content-section {
    flex: 1;
}

.greeting {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 2.5rem;
}

.name {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.role {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 400;
    margin-top: 0.5rem;
    display: inline-block;
}

.philosophy {
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.philosophy p {
    margin-bottom: 1.25rem;
}

.philosophy p:last-child {
    margin-bottom: 0;
}

.philosophy strong {
    color: var(--text-primary);
    font-weight: 600;
}

.philosophy em {
    color: #e2e8f0;
    font-style: normal;
    font-weight: 600;
    border-bottom: 1px dashed var(--accent-color);
}

.action-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--accent-glow);
    background: #0ea5e9;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

/* Academic Section & Timeline Styles */
.academic-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
}

.section-header {
    width: 100%;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.academic-intro p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    width: 100%;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), rgba(56, 189, 248, 0.1));
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

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

.timeline-dot {
    position: absolute;
    left: -2.45rem;
    top: 0.2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-content {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: rgba(56, 189, 248, 0.3);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-date {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.timeline-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

.timeline-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(56, 189, 248, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #f8fafc;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .glass-card {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 3rem;
    }

    .name-badge {
        border-left: none;
        border-bottom: 4px solid var(--accent-color);
    }
    
    .action-buttons {
        justify-content: center;
    }

    .image-wrapper {
        width: 280px;
        height: 360px;
    }

    .title {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    body {
        padding: 1rem 0.5rem;
    }

    .title {
        font-size: 1.8rem;
    }
    
    .name {
        font-size: 1.3rem;
    }
    
    .role {
        font-size: 0.9rem;
    }
    
    .philosophy {
        font-size: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .glass-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        gap: 2rem;
    }

    .image-wrapper {
        width: 220px;
        height: 280px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-desc {
        font-size: 0.95rem;
    }

    .timeline-dot {
        left: -2.25rem;
        width: 14px;
        height: 14px;
    }

    .project-card {
        border-radius: 16px;
    }
    
    .project-iframe-container {
        height: 250px;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-desc {
        font-size: 0.95rem;
    }

    .interviewer-info {
        gap: 1rem;
    }
    
    .info-block {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .reference-card {
        padding: 1.5rem;
    }
    
    .ref-title {
        font-size: 1rem;
    }
    
    .ref-name {
        font-size: 1.1rem;
    }
    
    .ref-role, .ref-contact {
        font-size: 0.9rem;
    }
    
    .btn-antigravity {
        padding: 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
}

/* Projects Grid & IFrames */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.project-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.15);
}

.project-iframe-container {
    width: 100%;
    height: 320px;
    background: #000;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Optional scale trick if needed, but we built them responsive */
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(56, 189, 248, 0.2);
    letter-spacing: 0.5px;
}

.project-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-links {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.btn-link svg {
    transition: stroke 0.3s ease;
}
.btn-link:hover svg {
    stroke: var(--accent-color);
}

@media (min-width: 993px) {
    .project-card.center-last {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 1.25rem);
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Interviewer Section */
.interviewer-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
}

.interviewer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.interviewer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.info-block:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.05);
    transform: translateX(10px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
}

.info-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.reference-card {
    margin-top: 1rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(20, 184, 166, 0.2);
    padding: 2.2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), #2dd4bf);
}

.ref-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.ref-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.ref-role {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.ref-contact {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    display: inline-flex;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-top: 0.5rem;
}

/* Antigravity Buttons */
.interviewer-actions {
    display: flex;
    flex-direction: column;
}

.action-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.antigravity-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-wrapper {
    animation: antigravityFloat 4s ease-in-out infinite;
    will-change: transform;
}

.btn-wrapper:nth-child(2) { animation-delay: 1.3s; }
.btn-wrapper:nth-child(3) { animation-delay: 2.6s; }

.btn-antigravity {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 2rem;
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-antigravity:hover {
    transform: translateY(-8px) scale(1.02);
}

.primary-glow:hover {
    background: rgba(251, 191, 36, 0.15); /* Premium Gold */
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 15px 35px -10px rgba(251, 191, 36, 0.5), 
                0 0 20px rgba(251, 191, 36, 0.3);
    color: #fff;
}

.secondary-glow:hover {
    background: rgba(168, 85, 247, 0.15); /* Vibrant Violet */
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 15px 35px -10px rgba(168, 85, 247, 0.4), 
                0 0 20px rgba(168, 85, 247, 0.3);
    color: #fff;
}

.tertiary-glow:hover {
    background: rgba(16, 185, 129, 0.15); /* Tech Emerald Green */
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 15px 35px -10px rgba(16, 185, 129, 0.4), 
                0 0 20px rgba(16, 185, 129, 0.3);
    color: #fff;
}

.primary-glow:hover .btn-icon {
    color: #fbbf24; /* Premium Gold ICON */
    transform: translateY(-3px) scale(1.1);
}

.secondary-glow:hover .btn-icon {
    color: #a855f7; /* Vibrant Violet ICON */
    transform: translateY(-3px) scale(1.1);
}

.tertiary-glow:hover .btn-icon {
    color: #10b981; /* Tech Emerald Green ICON */
    transform: translateY(-3px) scale(1.1);
}

@keyframes antigravityFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .interviewer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .interviewer-section {
        padding: 3rem 2rem;
    }
}

