:root {
    color-scheme: dark;
    --bg-color: #020617;
    --card-bg: rgba(15, 23, 42, 0.7);
    --card-border: rgba(14, 165, 233, 0.15);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #0ea5e9;
    --accent-glow: rgba(14, 165, 233, 0.5);
    --accent-light: #38bdf8;
    --highlight: #7dd3fc;
}

body[data-theme="emerald"] {
    --bg-color: #022c22;
    --card-bg: rgba(6, 78, 59, 0.7);
    --card-border: rgba(16, 185, 129, 0.2);
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.5);
    --accent-light: #34d399;
    --highlight: #6ee7b7;
}

body[data-theme="purple"] {
    --bg-color: #2e1065;
    --card-bg: rgba(76, 29, 149, 0.7);
    --card-border: rgba(139, 92, 246, 0.2);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --accent-light: #a78bfa;
    --highlight: #c4b5fd;
}

[data-tilt] {
    transform-style: preserve-3d;
    will-change: transform;
}

.cursor-blink {
    color: var(--accent-light);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html, body {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    height: 100%;
}

body {
    position: relative;
    cursor: none !important;
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    width: 6px;
}
.scroll-container::-webkit-scrollbar-track {
    background: var(--bg-color);
}
.scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-glow);
    border-radius: 10px;
}

a, button, input, textarea, select {
    cursor: none !important;
}

@media (min-width: 1025px) {
    .cursor {
        width: 8px;
        height: 8px;
        background: var(--highlight);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10005;
        transition: transform 0.05s ease;
    }

    .cursor-follower {
        width: 30px;
        height: 30px;
        border: 1px solid var(--accent-light);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 10004;
        transition: transform 0.08s ease, width 0.2s, height 0.2s;
    }
}
@media (max-width: 1024px) {
    .cursor, .cursor-follower {
        display: none !important;
    }
    body, a, button, input, textarea, select {
        cursor: auto !important;
    }
    .scroll-container {
        scroll-snap-type: y proximity;
    }
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

.highlight {
    background: linear-gradient(to right, var(--highlight), var(--accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-link {
    color: var(--highlight) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.text-link:hover {
    color: var(--text-primary) !important;
    text-decoration: underline;
}

.text-link-icon {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    color: var(--highlight);
}

header {
    position: fixed;
    top: 20px;
    width: 100%;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50px;
    padding: 15px 30px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    pointer-events: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    z-index: 1002;
}

.logo span {
    color: var(--accent-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1002;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-btn:hover {
    color: var(--highlight);
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.search-container {
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
}

.search-container input {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-container input:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.search-results {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 50vh;
    overflow-y: auto;
}

.search-result-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.search-result-item:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1002;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(2, 6, 23, 0.98);
        width: 70%;
        height: 100vh;
        align-items: center;
        justify-content: center;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        border-left: 1px solid var(--card-border);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .nav-links a { font-size: 1.5rem; }

    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

.snap-section {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 100px 5% 50px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* Glass Card with smoother transitions */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: 0.5s;
    opacity: 0.5;
}

.glass-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px var(--accent-glow);
}
.glass-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--highlight), transparent);
}

/* Buttons with smooth hover */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover::after {
    transform: rotate(45deg) translate(100%, 100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0284c7);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--accent-glow);
    transform: translateY(-3px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

.hero {
    align-items: center;
    padding-top: 0;
}

.hero-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    position: relative;
    z-index: 2;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Image Wrapper */
.hero-image-wrapper {
    margin: 0 auto 2rem;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    animation: glow-pulse 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.hero-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 0 35px rgba(14, 165, 233, 0.8); }
    100% { box-shadow: 0 0 15px rgba(14, 165, 233, 0.4); }
}

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

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--highlight);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text strong {
    color: var(--text-primary);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-light);
    font-size: 2rem;
    animation: bounce 2s infinite cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 10;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-down:hover {
    color: var(--text-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

.blob-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, rgba(2, 6, 23, 0) 70%);
    filter: blur(100px);
    z-index: 0;
    animation: pulse 6s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--text-primary);
}

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.detail-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.detail-box:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateX(5px);
}

.detail-icon {
    width: 45px;
    height: 45px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 1.3rem;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: 0.2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding-bottom: 2.5rem;
}

.project-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--highlight);
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-card:hover .btn-project {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

.btn-project {
    margin-top: 2rem;
    width: 100%;
}

.timeline-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}
.timeline-container::-webkit-scrollbar {
    width: 4px;
}
.timeline-container::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 4px;
}
.timeline-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--card-border);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2.5rem;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--accent-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-content {
    padding: 2rem;
}

.timeline-content .date {
    font-size: 0.9rem;
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.timeline-content h4 {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content h4 a {
    color: var(--highlight);
    text-decoration: none;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-content h4 a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.timeline-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.review-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    font-size: 1.5rem;
}

.reviewer-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.review-body {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.review-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.quote-icon {
    color: var(--card-border);
    font-size: 1rem;
    margin: 0 0.5rem;
}

.rating {
    color: #38bdf8;
    font-size: 1rem;
    display: flex;
    gap: 0.2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    text-align: center;
    padding: 3rem 2rem;
}

.skill-icon {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.skill-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact {
    justify-content: space-between;
}
.contact-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-align: left;
}

.contact-item div span {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-item:hover div span {
    color: var(--accent-light);
}

footer {
    width: 100%;
    border-top: 1px solid var(--card-border);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 1.5rem;
}

.socials a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.socials a:hover {
    color: var(--text-primary);
    transform: translateY(-5px);
}

@media print {
    body, html { background: #fff !important; color: #000 !important; }
    * { cursor: auto !important; box-shadow: none !important; color-scheme: light !important; text-shadow: none !important;}
    h1, h2, h3, h4, h5, p, span, div { color: #000 !important; }
    .navbar, .cursor, .cursor-follower, .blob-bg, #contact, footer, .hero-actions, .admin-banner { display: none !important; }
    .glass-card { border: 1px solid #ccc !important; background: transparent !important; padding: 1.5rem !important; margin-bottom: 1rem !important; break-inside: avoid; }
    .timeline-item { border-left: 2px solid #ccc !important; }
    .timeline-dot { background: #000 !important; border: 2px solid #fff !important;}
    .badge, .pill, .highlight { border: 1px solid #000 !important; background: #fff !important; color: #000 !important; font-weight: bold !important; -webkit-text-fill-color: #000 !important; }
    .highlight { background: transparent !important; }
    
    .scroll-container { padding-top: 0 !important; }
    .hero { height: auto !important; min-height: 0 !important; padding: 20px 0 !important; }
    .section-content { background: transparent !important; }
    
    @page { margin: 1cm; size: A4 portrait; }
}

@media (max-width: 900px) {
    .snap-section {
        padding-top: 80px;
    }
    
    .hero-box {
        padding: 2rem;
        margin: 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item h4 {
        text-align: center;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: -6px;
    }

    .timeline-item {
        padding-left: 20px;
    }
}
