/* Color Variables */
:root {
    --gold: #FFD700;
    --gold-light: #FFED4A;
    --gold-dark: #D4AF37;
    --navy-blue: #1A237E;
    --navy-blue-dark: #000033;
    --navy-blue-light: #303F9F;
    --black: #000000;
    --black-light: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--black-light) 0%, var(--navy-blue-dark) 100%);
    min-height: 100vh;
    padding: 20px;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(135deg, var(--black-light) 0%, var(--navy-blue-dark) 100%); }
    50% { background: linear-gradient(135deg, var(--black) 0%, var(--navy-blue) 100%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: slideUp 0.8s ease-out;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header {
    background: linear-gradient(135deg, var(--black) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header-content {
    position: relative;
    z-index: 2;
}

.profile-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: var(--white);
}

.title {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 20px;
    color: var(--gold);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
    color: var(--white);
}

.contact-item:hover {
    transform: translateY(-3px);
    color: var(--gold);
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    min-height: 600px;
}

.sidebar {
    background: linear-gradient(180deg, var(--black) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 40px 30px;
    position: relative;
}

.sidebar::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.content {
    padding: 40px;
    background: var(--white);
    position: relative;
}

.section {
    margin-bottom: 40px;
    position: relative;
}

.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-left: 15px;
}

.sidebar .section-title {
    color: var(--white);
}

.sidebar .section-title::after {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.8), transparent);
}

.skill-item {
    margin-bottom: 20px;
    position: relative;
}

.skill-name {
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    transition: width 2s ease-in-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.experience-item {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--gray-light) 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 8px;
}

.company-info {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-style: italic;
}

.job-responsibilities {
    list-style: none;
    padding: 0;
}

.job-responsibilities li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.job-responsibilities li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.8rem;
}

.education-item {
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.degree {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.school {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.cert-item {
    background: linear-gradient(135deg, var(--black) 0%, var(--navy-blue) 100%);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.cert-item:hover::before {
    left: 100%;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.objective {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--black) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.objective::before {
    content: '💼';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

.footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--black) 100%);
    color: var(--white);
    padding: 43px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--gold);
    border-radius: 40px; /* Add this line for rounded corners */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: footerGlow 8s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-highlight {
    color: var(--gold);
    font-weight: bold;
}

.footer-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 20px auto;
    border-radius: 2px;
    animation: shimmer 2s infinite;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.print-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--black);
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.print-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.skills-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    background: rgba(255, 215, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--white);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.2);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gold);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .print-button {
        bottom: 20px;
        right: 20px;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .footer-text {
        font-size: 1rem;
    }
}

@media print {
    body {
        background: var(--white);
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .print-button {
        display: none;
    }
    
    .header::before {
        display: none;
    }
    
    .footer::before {
        display: none;
    }
    
    @page {
        margin: 0.5in;
    }
}
