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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #ffffff;
}

/* Blob Shapes Background */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #48dbfb, #0abde3);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ff9ff3, #f368e0);
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.blob-4 {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #54a0ff, #2e86de);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glassmorphism Effect */
.glass-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 3rem;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.big-name {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.job-title-main {
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 1.5rem;
    color: #cccccc;
    opacity: 0.4;
    /* font-style: italic; */
}

.job-title {
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 1.5rem;
    color: #cccccc;
    opacity: 0.7;
    /* font-style: italic; */
}

.about-description {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Main about section should inherit glass-section padding */
.glass-section.about-section {
    padding: 3rem;
}

/* Individual about cards */
.about-details .responsibility-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
}

.about-text-content {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.about-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Experience Section - Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.experience-card {
    flex: 0 0 33.333%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.experience-card.active {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.job-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.company-name {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.75;
    font-style: italic;
    color: #cccccc;
}

.company-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 1rem;
    margin-right: 1rem;
    /* font-style: italic; */
    opacity: 0.9;
}

.company-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.company-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.company-btn:hover::before {
    left: 100%;
}

.company-btn:active {
    transform: translateY(0) scale(0.98);
}

.job-description {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.job-role {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.role-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

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

.responsibility-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
    opacity: 0.85;
}

.task-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.task-list li:last-child {
    margin-bottom: 0;
}

.job-dates {
    font-weight: 600;
    opacity: 0.4;
    color: #cccccc;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.project-description {
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

.project-details {
    display: flex;
    flex-direction: column;
}

.detail-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
}

.description-text {
    line-height: 1.5;
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

.project-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.project-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.project-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Skills & Technologies */
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    min-height: 500px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skill-tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}


.skill-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}


.skill-tag.systems {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.skill-tag.development {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.skill-tag.cloud {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.skill-tag.tools {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}



/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .big-name {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .glass-section {
        padding: 2rem 1.5rem;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem 1rem;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .skill-category:last-child {
        border-bottom: none;
    }
    
    .skill-category:hover {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: none;
    }
    
    .skill-category:last-child:hover {
        border-bottom: none;
    }
    
    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .skill-tag {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    /* Remove frames on mobile - cleaner look */
    .about-details .responsibility-section {
        background: transparent;
        border-radius: 0;
        padding: 0.5rem 1rem;
        border: none;
    }
    
    .responsibility-section {
        background: transparent;
        border-radius: 0;
        padding: 1rem;
        border-left: none;
        border: none;
    }
    
    .experience-card {
        background: transparent;
        border: none;
        padding: 1.5rem 1rem;
        margin-right: 0;
    }
    
    .experience-card.active {
        background: transparent;
        border: none;
    }
    
    /* Improve content distribution on mobile */
    .job-role {
        display: none;
    }
    
    .job-description {
        margin-bottom: 1rem;
    }
    
    .responsibilities {
        gap: 1rem;
    }
    
    /* Center job title and company buttons on mobile */
    .experience-card .job-title {
        text-align: center;
    }
    
    .experience-card .company-btn {
        display: inline-block;
        margin: 0 0.5rem 1rem 0.5rem;
    }
    
    /* Center the company buttons by centering their parent container */
    .experience-card {
        text-align: center;
    }
    
    /* Reset text alignment for responsibility sections */
    .experience-card .responsibilities {
        text-align: left;
    }
    
    .project-card .detail-section {
        background: transparent;
        border-radius: 0;
        padding: 0.5rem 1rem;
        border-left: none;
        border: none;
    }
    
    .project-card {
        background: transparent;
        border: none;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .project-card:last-child {
        border-bottom: none;
    }
    
    .project-card:hover {
        background: transparent;
        transform: none;
        box-shadow: none;
    }
    
}

@media (max-width: 1200px) {
    .big-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .social-btn {
        min-width: 45px;
        height: 45px;
        padding: 0.8rem;
    }
    
    .social-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* some jpt update */
.carousel-btn {
    transition: opacity 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn[style*="visibility: hidden"] {
    opacity: 0;
    pointer-events: none; /* makes hidden buttons unclickable */
}

/* Notification popup */
.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 400px;
    min-width: 300px;
}

.notification-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.notification-popup.success::before {
    content: '✓';
    display: block;
    margin: 0 auto 1rem;
    color: #4ade80;
    font-weight: bold;
    font-size: 2rem;
}

.notification-popup.error::before {
    content: '⚠️';
    display: block;
    margin: 0 auto 1rem;
    font-size: 2rem;
}
