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

:root {
    --primary-color: #1a237e;
    --secondary-color: #3f51b5;
    --accent-color: #ff6f00;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-color: #5c6bc0;
    --secondary-color: #7986cb;
    --accent-color: #ffb74d;
    --text-dark: #f5f5f5;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --white: #121212;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #1e1e1e;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-color);
    z-index: 2000;
    transition: width 0.3s ease;
    width: 0%;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 5px 0;
    z-index: 2000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Remove outline for mouse clicks */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Remove default focus outline for all elements */
*:focus {
    outline: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Floating Theme Toggle */
.theme-toggle-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 100;
    opacity: 0.8;
}

.theme-toggle-float:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

[data-theme="dark"] .theme-toggle-float {
    background: var(--card-bg);
    border-color: var(--border-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-profile {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 5px solid var(--white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: profileFloat 3s ease-in-out infinite;
    position: relative;
}

.hero-profile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.hero-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes profileFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff8f00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Hero Social Links */
.hero-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-social-link svg,
.social-link svg {
    width: 100%;
    height: 100%;
    max-width: 24px;
    max-height: 24px;
}

/* Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 1rem 1.5rem 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.02);
}

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

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

.skill-tag {
    background: var(--card-bg);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Experience Section */
.experience-timeline {
    position: relative;
    padding-left: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.experience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -3.4rem;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid var(--white);
}

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

.experience-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company-name {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.experience-list {
    list-style: none;
    margin-top: 1rem;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.experience-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.highlight {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 111, 0, 0.2) 50%, transparent 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    padding-left: 1.8rem;
}

.highlight::before {
    content: '📈';
    position: absolute;
    left: 0.3rem;
    font-size: 1rem;
}

/* Education Section */
.education {
    background: var(--bg-light);
}

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

.education-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.degree-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.degree-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.university-name {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.degree-year {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    background: var(--white);
}

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

.project-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

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

.project-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-highlights {
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.project-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
    padding: 5rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    background: var(--card-bg);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form-submit:hover {
    background: #ff8f00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 35px;
    height: 35px;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 16px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 24px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 16px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 16px;
    transform: rotate(-135deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.3s ease;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-profile {
        width: 150px;
        height: 150px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }

    .experience-timeline {
        padding-left: 2rem;
    }

    .experience-header {
        flex-direction: column;
    }

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

/* Print Styles */
@media print {
    /* Hide navigation and non-essential elements */
    nav,
    .scroll-progress,
    .skip-link,
    .hero-social,
    .social-links,
    .theme-toggle-float,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    /* Reset colors for printing */
    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    /* Adjust hero section for print */
    .hero {
        min-height: auto;
        background: none !important;
        color: #000;
        padding: 2rem 0;
        page-break-after: always;
    }
    
    .hero-content {
        color: #000;
    }
    
    .hero h1 {
        font-size: 24pt;
        color: #000;
    }
    
    .hero-title {
        font-size: 14pt;
        color: #333;
    }
    
    .stat-number,
    .metric-value {
        color: #000 !important;
    }
    
    /* Ensure sections print properly */
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    .section-title {
        font-size: 18pt;
        color: #000;
        page-break-after: avoid;
    }
    
    /* Simplify cards and backgrounds */
    .experience-item,
    .education-card,
    .project-card,
    .testimonial-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        background: #fff !important;
        page-break-inside: avoid;
    }
    
    /* Ensure links are visible */
    a {
        color: #000;
        text-decoration: underline;
    }
    
    /* Show URLs for important links */
    .contact-item[href^="mailto:"]:after {
        content: " (" attr(href) ")";
    }
    
    /* Hide animations and transitions */
    * {
        animation: none !important;
        transition: none !important;
    }
}