:root {
    --bg-dark: #0a0a0c;
    --card-bg: rgba(18, 18, 20, 0.65);
    --card-border: rgba(212, 175, 55, 0.15);
    --gold-primary: #d4af37;
    --gold-secondary: #f3e5ab;
    --gold-dark: #997a00;
    --text-primary: #f8fafc;
    --text-secondary: #a1a1aa;
    --glass-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    --glow-color: rgba(212, 175, 55, 0.2);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Premium Background */
.bg-shapes {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #1a1a1c 0%, #0a0a0c 100%);
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    z-index: 1;
}

.shape {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    animation: pulse 15s infinite ease-in-out alternate;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.shape-2 {
    bottom: -10%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(153, 122, 0, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
    animation-delay: -5s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.1) translate(5%, 5%); opacity: 0.8; }
    100% { transform: scale(0.9) translate(-5%, -5%); opacity: 0.5; }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
    z-index: 2;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

.premium-border::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

/* Sidebar & Photo */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 280px;
    flex-shrink: 0;
}

.profile-image-container {
    position: relative;
    width: 260px;
    height: 320px;
    border-radius: 12px;
    padding: 4px;
    background: linear-gradient(135deg, var(--gold-primary), transparent, var(--gold-primary));
}

.premium-ring {
    box-shadow: 0 0 30px var(--glow-color);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: contrast(1.05) saturate(1.1);
}
/* Contact Stack */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--glow-color);
    flex-shrink: 0;
}

.whatsapp-card .contact-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
    color: white;
}

.email-card .contact-icon {
    background: linear-gradient(135deg, #ea4335, #c5221f);
    box-shadow: 0 5px 15px rgba(234, 67, 53, 0.2);
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow: hidden;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.email-text {
    font-size: 0.85rem;
}

/* Content Area */
.profile-content {
    flex: 1;
}

.name {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--gold-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.title {
    font-size: 1.1rem;
    color: var(--gold-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.premium-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--gold-primary) 0%, rgba(212,175,55,0) 100%);
    margin: 2rem 0;
    opacity: 0.5;
}

/* Sections */
.about-section h2, .experience-section h2, .education-section h2, .skills-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-section h2::after, .experience-section h2::after, .education-section h2::after, .skills-section h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}

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

.sub-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.premium-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: var(--gold-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.premium-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--glow-color);
}

/* Premium Gallery */
.premium-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem 1rem 1rem;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.9), transparent);
    color: var(--gold-secondary);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Timeline / Experience */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 10px var(--glow-color);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--gold-primary);
    padding: 1.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-card:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.skill-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.skill-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.skill-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 1rem;
}

.role {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.company {
    color: var(--gold-secondary);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s ease;
    border: none;
    text-decoration: none;
}

.btn-premium {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--bg-dark);
    box-shadow: 0 10px 20px -5px var(--glow-color);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 950px) {
    .glass-card {
        flex-direction: column;
        align-items: center;
        padding: 2.5rem;
        gap: 3rem;
    }
    
    .profile-sidebar {
        width: 100%;
    }
    
    .profile-image-container {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .name {
        text-align: center;
        font-size: 3rem;
    }

    .title {
        justify-content: center;
        text-align: center;
    }
    
    .premium-divider {
        background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .profile-image-container {
        height: 300px;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    .premium-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }

    .about-section h2, .experience-section h2, .education-section h2, .skills-section h2 {
        font-size: 1.4rem;
    }

    .timeline {
        padding-left: 1.2rem;
    }

    .timeline-dot {
        left: -1.55rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-heading {
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 1rem;
    }
}
