:root {
    --purple-main: #6366f1;
    --purple-light: #8b5cf6;
    --purple-dark: #312e81;
    /* Darker for better contrast */
    --cyan-glow: #22d3ee;
    --amber-accent: #fbbf24;
    /* New high-contrast accent */
    --pink-accent: #f472b6;
    --text-dark: #0f172a;
    /* Sharper contrast */
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.4);
    --bg-light: #f1f5f9;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-brand p {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-left: 1.5rem;
}

.nav-brand p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--purple-main);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--purple-main);
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Individual Slides */
.slide {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#hero {
    background-image: url('slide-1-background.jpg');
}

.bg-purple {
    background: linear-gradient(135deg, #8A5CF5 0%, #6366f1 100%);
    color: var(--text-white);
}

/* Content Wrappers - Ensure High Z-Index */
.content-wrapper,
.glass-card,
.centered,
.glass-header,
.timeline-wrapper {
    position: relative;
    z-index: 100;
    /* Always above props */
}

.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
h1 {
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--purple-main);
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.org {
    font-size: 1.2rem;
    font-weight: 400;
}

.org span {
    font-weight: 600;
    color: var(--purple-light);
}

.college {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0.7;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
    animation: slideUp 0.8s ease-out forwards;
}

.glass-card.full-width {
    max-width: 1200px;
}

.card-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.icon-side {
    flex-shrink: 0;
}

.over-icon {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.text-side h2 {
    color: var(--text-dark);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.text-side p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
}

/* Grid for Categorization */
.card-header {
    margin-bottom: 3rem;
    text-align: center;
}

.tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--purple-dark);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.col h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--purple-light);
}

.col ul {
    list-style: none;
}

.col ul li {
    font-size: 1.05rem;
    color: var(--text-dark);
    /* High contrast */
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

.col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--purple-main);
    font-weight: 800;
}

/* Team Grid (Info.jpg Style) */
.team-container {
    width: 100%;
    max-width: 1200px;
}

.exec-card {
    background: #0056b3;
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 1rem;
}

.exec-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.member-item {
    display: flex;
    flex-direction: column;
}

.role-tag {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.team-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #0056b3;
}

.team-card-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.member-list {
    list-style: none;
}

.member-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.member-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #0056b3;
    border-radius: 50%;
}
.timeline-wrapper {
    width: 100%;
    max-width: 1100px;
}

.timeline-wrapper h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

.timeline-table {
    width: 100%;
    background: #fff;
    border-radius: 30px;
    border-collapse: separate;
    /* Required for border-radius */
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-table thead {
    background: var(--purple-main);
    color: #fff;
    text-align: left;
}

.timeline-table th {
    padding: 1.5rem 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
    line-height: 1.5;
}

.timeline-table tbody tr {
    transition: background 0.3s;
}

.timeline-table tbody tr:hover {
    background: #f8fafc;
}

.timeline-table th:nth-child(1),
.timeline-table td:nth-child(1) {
    width: 250px;
}

.timeline-table th:nth-child(3),
.timeline-table td:nth-child(3) {
    width: 200px;
}

.event-name {
    font-weight: 700;
    color: var(--purple-main);
}

/* Floating Props Base */
.prop {
    position: absolute;
    height: auto;
    z-index: -1; /* Placed behind all content */
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Floating Prop Variants */
.prop-sm {
    width: 120px !important;
}

.prop-md {
    width: 280px !important;
}

.prop-lg {
    width: 450px !important;
}

.prop-xl {
    width: 650px !important;
}

.pos-tl {
    top: 5%;
    left: 5%;
}

.pos-tr {
    top: 5%;
    right: 5%;
}

.pos-bl {
    bottom: 5%;
    left: 5%;
}

.pos-br {
    bottom: 5%;
    right: 5%;
}

.pos-left {
    top: 40%;
    left: -5%;
}

.pos-right {
    top: 30%;
    right: -10%;
}

/* Enhanced Typography Contrast */
.bg-purple h1,
.bg-purple h2 {
    color: var(--text-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.text-accent {
    color: var(--amber-accent) !important;
}

.bg-purple .tagline {
    color: var(--cyan-glow);
    font-weight: 800;
}

/* Background Particles (CSS-only variety) */
.dot-bg {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--purple-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

.dot-cyan {
    background: var(--cyan-glow);
}

.dot-pink {
    background: var(--pink-accent);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Entrance Animations for trigger */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Additional Utility Classes */
.text-white {
    color: var(--text-white) !important;
}

/* Flagship Header */
.highlight-text {
    font-size: 6rem;
    color: var(--text-white);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.desc {
    font-size: 1.5rem;
    max-width: 600px;
    margin-top: 2rem;
    opacity: 0.9;
}

/* TinkerVerse Section */
.glass-header {
    text-align: center;
    position: relative;
    z-index: 5;
}

.glass-header h2 {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.t-icon {
    width: 200px;
    margin-top: 2rem;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Project Cards */
.project-card {
    width: 100%;
    max-width: 1100px;
}

.project-info h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.project-info p {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 800px;
}

/* Light Theme Overrides for Purple Backgrounds */
.bg-purple .timeline-table {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-purple .timeline-table tbody tr {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

/* Force light data theme even on purple slides */
.bg-purple .timeline-table.light-data tbody tr {
    color: var(--text-dark) !important;
}

.bg-purple .timeline-table.light-data td {
    color: var(--text-dark) !important;
}

.bg-purple .timeline-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bg-purple .timeline-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-purple .event-name {
    color: var(--cyan-glow);
}

/* Final Polish */
.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}