/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(45deg, rgba(14, 46, 75, 1.000) 0.000%, rgba(16, 49, 78, 1.000) 3.030%, rgba(18, 51, 82, 1.000) 6.061%, rgba(20, 53, 85, 1.000) 9.091%, rgba(22, 55, 88, 1.000) 12.121%, rgba(24, 57, 92, 1.000) 15.152%, rgba(26, 60, 96, 1.000) 18.182%, rgba(29, 62, 99, 1.000) 21.212%, rgba(31, 64, 103, 1.000) 24.242%, rgba(33, 67, 107, 1.000) 27.273%, rgba(36, 69, 111, 1.000) 30.303%, rgba(38, 72, 115, 1.000) 33.333%, rgba(40, 74, 119, 1.000) 36.364%, rgba(43, 77, 123, 1.000) 39.394%, rgba(45, 79, 127, 1.000) 42.424%, rgba(48, 82, 132, 1.000) 45.455%, rgba(50, 85, 136, 1.000) 48.485%, rgba(53, 87, 140, 1.000) 51.515%, rgba(56, 90, 145, 1.000) 54.545%, rgba(58, 93, 149, 1.000) 57.576%, rgba(61, 96, 154, 1.000) 60.606%, rgba(64, 98, 158, 1.000) 63.636%, rgba(67, 101, 163, 1.000) 66.667%, rgba(70, 104, 168, 1.000) 69.697%, rgba(72, 107, 172, 1.000) 72.727%, rgba(75, 110, 177, 1.000) 75.758%, rgba(78, 113, 181, 1.000) 78.788%, rgba(81, 116, 186, 1.000) 81.818%, rgba(84, 119, 191, 1.000) 84.848%, rgba(87, 122, 195, 1.000) 87.879%, rgba(90, 125, 200, 1.000) 90.909%, rgba(93, 128, 205, 1.000) 93.939%, rgba(96, 131, 209, 1.000) 96.970%, rgba(99, 134, 214, 1.000) 100.000%);
    font-weight: 400;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(240, 240, 240, 0.35) 25%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(230, 230, 230, 0.4) 75%,
        rgba(255, 255, 255, 0.35) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    margin: 2rem 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}


@keyframes liquidShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

@keyframes subtleShimmer {
    0%, 100% { transform: translateX(-20px) rotate(0deg); opacity: 0; }
    50% { transform: translateX(20px) rotate(2deg); opacity: 0.3; }
}

.contact-item::before,
.experience-item::before,
.skill-category::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    height: 40px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(192, 192, 192, 0.4),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: subtleShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.contact-item:hover::before,
.experience-item:hover::before,
.skill-category:hover::before {
    animation-duration: 2s;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.name {
    font-size: 3.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1.1rem;
    color: #2b6cb0;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.summary {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Main Content */
.content {
    padding: 3rem 0;
    display: grid;
    gap: 3rem;
}

/* Section Headers */
h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, #3182ce, rgba(49, 130, 206, 0.3));
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(240, 240, 240, 0.3) 30%,
        rgba(255, 255, 255, 0.35) 70%,
        rgba(230, 230, 230, 0.35) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(192, 192, 192, 0.15) 50%,
        rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(192, 192, 192, 0.5);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(192, 192, 192, 0.25) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    box-shadow: 
        0 12px 40px rgba(192, 192, 192, 0.3),
        0 0 80px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(192, 192, 192, 0.6);
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #2b6cb0;
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 2rem;
}

.experience-item {
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(240, 240, 240, 0.3) 40%,
        rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.experience-item.current {
    border-color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(240, 240, 240, 0.3) 40%,
        rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 0 80px rgba(255, 255, 255, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.experience-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.experience-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
}

.duration {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(192, 192, 192, 0.12) 40%,
        rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.company-name {
    font-size: 1rem;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 1rem;
}

.achievements {
    list-style: none;
    padding: 0;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    line-height: 1.6;
}

.achievements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
    font-size: 1.2rem;
}

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

.skill-category {
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(240, 240, 240, 0.3) 40%,
        rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 400;
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Education Section */
.education-item {
    padding: 2rem;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(240, 240, 240, 0.3) 40%,
        rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.education-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.school {
    color: #4a5568;
    font-weight: 500;
}

.year {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(192, 192, 192, 0.12) 40%,
        rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 12px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Mobile toggle button - hidden on desktop */
.mobile-toggle {
    display: none;
}

/* Resume Viewer Section */
.resume-viewer-section {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(240, 240, 240, 0.3) 40%,
        rgba(255, 255, 255, 0.32) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.12);
}

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

.resume-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(192, 192, 192, 0.15) 50%,
        rgba(169, 169, 169, 0.2) 100%);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(192, 192, 192, 0.4);
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.control-btn:hover {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(192, 192, 192, 0.25) 50%,
        rgba(169, 169, 169, 0.3) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 32px rgba(192, 192, 192, 0.25),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(192, 192, 192, 0.5);
}

.resume-container {
    max-width: 8.5in;
    min-height: 11in;
    margin: 0 auto;
    background: white;
    padding: 1in;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    font-family: 'Times New Roman', serif;
    line-height: 1.4;
    color: #000;
    position: relative;
}

.fancy-style .resume-name {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.plain-style .resume-name {
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 5px;
}

.resume-contact {
    text-align: center;
    font-size: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
}

.plain-style .resume-contact {
    text-align: left;
    border-bottom: none;
}

.resume-summary {
    margin-bottom: 20px;
    text-align: justify;
}

.section-title {
    font-size: 14px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    text-transform: uppercase;
}

.color .section-title {
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
    padding-bottom: 2px;
}

.fancy-style .section-title {
    text-align: center;
    letter-spacing: 1px;
}

.plain-style .section-title {
    text-align: left;
}

.skills-content {
    margin-bottom: 15px;
}

.skill-group {
    margin-bottom: 8px;
    text-align: justify;
}

.experience-entry {
    margin-bottom: 20px;
}

.company-header {
    font-size: 13px;
    margin-bottom: 5px;
}

.position {
    margin-bottom: 15px;
}

.position-header {
    font-size: 12px;
    margin-bottom: 5px;
}

.achievements-list {
    margin-left: 20px;
    margin-bottom: 10px;
}

.achievements-list li {
    margin-bottom: 3px;
    font-size: 11px;
    text-align: justify;
}

.education-entry {
    font-size: 12px;
}

.fancy-style {
    font-family: 'Georgia', serif;
}

.plain-style {
    font-family: 'Arial', sans-serif;
}

.no-color .section-title {
    color: #000;
    border-bottom: 1px solid #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .title {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .content {
        padding: 2rem 0;
        gap: 2rem;
    }
    
    /* Hide everything except hero and contact on mobile */
    .experience-section,
    .skills-section,
    .education-section,
    .resume-viewer-section {
        display: none;
    }
    
    /* Make contact section more prominent on mobile */
    .contact-section {
        margin-top: 1rem;
        border: 2px solid rgba(255, 255, 255, 0.6);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        text-align: center;
    }
    
    .contact-value {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Add mobile view toggle button */
    .mobile-toggle {
        display: block;
        width: 100%;
        margin: 2rem 0;
        padding: 1rem 2rem;
        background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.8) 0%,
            rgba(37, 99, 235, 0.7) 100%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 
            0 8px 32px rgba(30, 58, 138, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .mobile-toggle:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg,
            rgba(30, 58, 138, 0.9) 0%,
            rgba(37, 99, 235, 0.8) 100%);
        box-shadow: 
            0 12px 40px rgba(30, 58, 138, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resume-container {
        padding: 0.5in;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .contact-section,
    .experience-item,
    .skill-category,
    .education-item,
    .resume-viewer-section {
        padding: 1.5rem;
    }
    
    .resume-container {
        padding: 0.25in;
    }
    
    .control-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Footer Styles */
.site-footer {
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-content:hover {
    opacity: 1;
}

.footer-text {
    height: 1.5rem;
    filter: invert(1) brightness(0.9);
}

.footer-heart {
    height: 1.2rem;
    filter: brightness(0) saturate(100%) invert(68%) sepia(45%) saturate(1234%) hue-rotate(125deg) brightness(89%) contrast(96%);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .footer-text {
        height: 1.25rem;
    }
    
    .footer-heart {
        height: 1rem;
    }
}